@streamoid/ui 0.6.45 → 0.6.46
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 +20 -2
- package/dist/index.d.mts +82 -3
- package/dist/index.d.ts +82 -3
- package/dist/index.js +993 -871
- package/dist/index.mjs +972 -847
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -198,7 +198,11 @@ var T = {
|
|
|
198
198
|
primary: "var(--alias-text---icons-primary, #f5f5f5)",
|
|
199
199
|
secondary: "var(--alias-text---icons-secondary, #dadada)",
|
|
200
200
|
tertiary: "var(--alias-text---icons-tertiary, #9e9e9e)",
|
|
201
|
-
|
|
201
|
+
/* The same token the rail uses, NOT `--font-family-font-family-body`.
|
|
202
|
+
That one is the app's BRAND face — Artifax maps it to Geist — so this
|
|
203
|
+
panel rendered in a different typeface in each product while claiming, two
|
|
204
|
+
comments down, to "render identically in every app". */
|
|
205
|
+
font: "var(--sc-rail-font-family, Inter, ui-sans-serif, system-ui, sans-serif)"
|
|
202
206
|
};
|
|
203
207
|
var PRODUCT_BRANDS = [
|
|
204
208
|
// Matched on `streamoid` too: the service catalog has named this group both
|
|
@@ -6048,6 +6052,81 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
6048
6052
|
return position;
|
|
6049
6053
|
}
|
|
6050
6054
|
|
|
6055
|
+
// src/SC-SidebarShell/ScSidebarPopover.tsx
|
|
6056
|
+
import {
|
|
6057
|
+
useEffect as useEffect5,
|
|
6058
|
+
useRef as useRef6
|
|
6059
|
+
} from "react";
|
|
6060
|
+
import { createPortal } from "react-dom";
|
|
6061
|
+
import { jsx as jsx53, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6062
|
+
var SURFACE = "var(--sc-sidebar-popover-surface, var(--alias-surface-base, #101010))";
|
|
6063
|
+
var BORDER = "var(--sc-sidebar-popover-border, var(--alias-border-default, #2a2a2a))";
|
|
6064
|
+
var RADIUS = "var(--radius-3xl, 16px)";
|
|
6065
|
+
function ScSidebarPopover({
|
|
6066
|
+
anchorRef,
|
|
6067
|
+
alignRef,
|
|
6068
|
+
width,
|
|
6069
|
+
onClose,
|
|
6070
|
+
children,
|
|
6071
|
+
role = "menu",
|
|
6072
|
+
ariaLabel,
|
|
6073
|
+
testId,
|
|
6074
|
+
className,
|
|
6075
|
+
style
|
|
6076
|
+
}) {
|
|
6077
|
+
const panelRef = useRef6(null);
|
|
6078
|
+
const { style: position, arrow } = useStreamoidAnchoredPopover(
|
|
6079
|
+
anchorRef,
|
|
6080
|
+
panelRef,
|
|
6081
|
+
{ width, alignRef }
|
|
6082
|
+
);
|
|
6083
|
+
useEffect5(() => {
|
|
6084
|
+
const onKeyDown = (event) => {
|
|
6085
|
+
if (event.key === "Escape") onClose();
|
|
6086
|
+
};
|
|
6087
|
+
document.addEventListener("keydown", onKeyDown);
|
|
6088
|
+
return () => document.removeEventListener("keydown", onKeyDown);
|
|
6089
|
+
}, [onClose]);
|
|
6090
|
+
if (typeof document === "undefined") return null;
|
|
6091
|
+
return createPortal(
|
|
6092
|
+
/* The backdrop is what makes a click anywhere else dismiss this, without
|
|
6093
|
+
a document-level listener that fires before the opening click has
|
|
6094
|
+
finished and closes the popover as it opens. */
|
|
6095
|
+
/* @__PURE__ */ jsx53(
|
|
6096
|
+
"div",
|
|
6097
|
+
{
|
|
6098
|
+
style: { position: "fixed", inset: 0, zIndex: 40 },
|
|
6099
|
+
onMouseDown: onClose,
|
|
6100
|
+
children: /* @__PURE__ */ jsxs42(
|
|
6101
|
+
"div",
|
|
6102
|
+
{
|
|
6103
|
+
ref: panelRef,
|
|
6104
|
+
onMouseDown: (event) => event.stopPropagation(),
|
|
6105
|
+
role,
|
|
6106
|
+
"aria-label": ariaLabel,
|
|
6107
|
+
"data-testid": testId,
|
|
6108
|
+
className,
|
|
6109
|
+
style: {
|
|
6110
|
+
...position,
|
|
6111
|
+
backgroundColor: SURFACE,
|
|
6112
|
+
border: `1px solid ${BORDER}`,
|
|
6113
|
+
borderRadius: RADIUS,
|
|
6114
|
+
boxShadow: "var(--sc-sidebar-popover-shadow, 0 12px 32px rgba(0, 0, 0, 0.24))",
|
|
6115
|
+
zIndex: 50,
|
|
6116
|
+
...style
|
|
6117
|
+
},
|
|
6118
|
+
children: [
|
|
6119
|
+
/* @__PURE__ */ jsx53(ScPopoverArrow, { arrow, background: SURFACE, borderColor: BORDER }),
|
|
6120
|
+
/* @__PURE__ */ jsx53("div", { style: { borderRadius: RADIUS, overflow: "hidden" }, children })
|
|
6121
|
+
]
|
|
6122
|
+
}
|
|
6123
|
+
)
|
|
6124
|
+
}
|
|
6125
|
+
),
|
|
6126
|
+
document.body
|
|
6127
|
+
);
|
|
6128
|
+
}
|
|
6129
|
+
|
|
6051
6130
|
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
6052
6131
|
import {
|
|
6053
6132
|
useCallback as useCallback3,
|
|
@@ -6084,26 +6163,30 @@ var ScArtifaxSidebar_default = {
|
|
|
6084
6163
|
footerToggle: "ScArtifaxSidebar_footerToggle",
|
|
6085
6164
|
footerCollapsed: "ScArtifaxSidebar_footerCollapsed",
|
|
6086
6165
|
placeholderIcon: "ScArtifaxSidebar_placeholderIcon",
|
|
6087
|
-
versionText: "ScArtifaxSidebar_versionText"
|
|
6166
|
+
versionText: "ScArtifaxSidebar_versionText",
|
|
6167
|
+
header: "ScArtifaxSidebar_header",
|
|
6168
|
+
headerCollapsed: "ScArtifaxSidebar_headerCollapsed",
|
|
6169
|
+
headerTriggerSlot: "ScArtifaxSidebar_headerTriggerSlot",
|
|
6170
|
+
headerDivider: "ScArtifaxSidebar_headerDivider"
|
|
6088
6171
|
};
|
|
6089
6172
|
|
|
6090
6173
|
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
6091
6174
|
import { SiconCollapse as SiconCollapse3, SiconDown, SiconUp } from "@streamoid/icons";
|
|
6092
|
-
import { Fragment as Fragment17, jsx as
|
|
6175
|
+
import { Fragment as Fragment17, jsx as jsx54, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6093
6176
|
function AppSidebarPlaceholderIcon() {
|
|
6094
|
-
return /* @__PURE__ */
|
|
6177
|
+
return /* @__PURE__ */ jsx54("span", { "aria-hidden": "true", className: ScArtifaxSidebar_default.placeholderIcon });
|
|
6095
6178
|
}
|
|
6096
6179
|
function resolveIcon2(iconMap, item, active, expanded) {
|
|
6097
6180
|
const renderer = iconMap?.[item.iconKey];
|
|
6098
|
-
if (renderer == null) return /* @__PURE__ */
|
|
6181
|
+
if (renderer == null) return /* @__PURE__ */ jsx54(AppSidebarPlaceholderIcon, {});
|
|
6099
6182
|
if (typeof renderer === "function") {
|
|
6100
|
-
return /* @__PURE__ */
|
|
6183
|
+
return /* @__PURE__ */ jsx54(Fragment17, { children: renderer({ item, active, expanded }) });
|
|
6101
6184
|
}
|
|
6102
|
-
return /* @__PURE__ */
|
|
6185
|
+
return /* @__PURE__ */ jsx54(Fragment17, { children: renderer });
|
|
6103
6186
|
}
|
|
6104
6187
|
function resolveToggleIcon2(toggleIcon, expanded) {
|
|
6105
6188
|
if (toggleIcon == null)
|
|
6106
|
-
return /* @__PURE__ */
|
|
6189
|
+
return /* @__PURE__ */ jsx54(SiconCollapse3, {});
|
|
6107
6190
|
if (typeof toggleIcon === "function") {
|
|
6108
6191
|
return toggleIcon(expanded);
|
|
6109
6192
|
}
|
|
@@ -6115,7 +6198,7 @@ function SectionHeader2({
|
|
|
6115
6198
|
onToggle
|
|
6116
6199
|
}) {
|
|
6117
6200
|
const Chevron2 = open ? SiconUp : SiconDown;
|
|
6118
|
-
return /* @__PURE__ */
|
|
6201
|
+
return /* @__PURE__ */ jsxs43(
|
|
6119
6202
|
"button",
|
|
6120
6203
|
{
|
|
6121
6204
|
type: "button",
|
|
@@ -6123,8 +6206,42 @@ function SectionHeader2({
|
|
|
6123
6206
|
onClick: onToggle,
|
|
6124
6207
|
disabled: !onToggle,
|
|
6125
6208
|
children: [
|
|
6126
|
-
/* @__PURE__ */
|
|
6127
|
-
/* @__PURE__ */
|
|
6209
|
+
/* @__PURE__ */ jsx54("span", { className: ScArtifaxSidebar_default.sectionLabel, children: label }),
|
|
6210
|
+
/* @__PURE__ */ jsx54(Chevron2, { className: ScArtifaxSidebar_default.sectionChevron })
|
|
6211
|
+
]
|
|
6212
|
+
}
|
|
6213
|
+
);
|
|
6214
|
+
}
|
|
6215
|
+
function SidebarHeader({
|
|
6216
|
+
header,
|
|
6217
|
+
expanded
|
|
6218
|
+
}) {
|
|
6219
|
+
const triggerRef = expanded ? header.workspaceTriggerExpandedRef : header.workspaceTriggerCollapsedRef;
|
|
6220
|
+
return /* @__PURE__ */ jsxs43(
|
|
6221
|
+
"div",
|
|
6222
|
+
{
|
|
6223
|
+
className: ScArtifaxSidebar_default.header + (expanded ? "" : " " + ScArtifaxSidebar_default.headerCollapsed),
|
|
6224
|
+
children: [
|
|
6225
|
+
/* @__PURE__ */ jsx54("div", { ref: triggerRef, className: ScArtifaxSidebar_default.headerTriggerSlot, children: /* @__PURE__ */ jsx54(
|
|
6226
|
+
ScSidebarWorkspaceTrigger,
|
|
6227
|
+
{
|
|
6228
|
+
workspaceName: header.workspaceName,
|
|
6229
|
+
workspaceImage: header.workspaceImage,
|
|
6230
|
+
expanded,
|
|
6231
|
+
open: header.workspaceMenuOpen,
|
|
6232
|
+
onClick: header.onWorkspaceClick
|
|
6233
|
+
}
|
|
6234
|
+
) }),
|
|
6235
|
+
header.hideSearch ? null : /* @__PURE__ */ jsx54(
|
|
6236
|
+
ScSidebarSearchTrigger,
|
|
6237
|
+
{
|
|
6238
|
+
expanded,
|
|
6239
|
+
label: header.searchLabel,
|
|
6240
|
+
shortcut: header.searchShortcut,
|
|
6241
|
+
onClick: header.onSearchClick
|
|
6242
|
+
}
|
|
6243
|
+
),
|
|
6244
|
+
/* @__PURE__ */ jsx54(ScHDivider, { fullBleed: true, className: ScArtifaxSidebar_default.headerDivider })
|
|
6128
6245
|
]
|
|
6129
6246
|
}
|
|
6130
6247
|
);
|
|
@@ -6146,6 +6263,7 @@ var ScAppSidebar = ({
|
|
|
6146
6263
|
iconMap,
|
|
6147
6264
|
activeItemId,
|
|
6148
6265
|
onItemSelect,
|
|
6266
|
+
header,
|
|
6149
6267
|
expandedLogo,
|
|
6150
6268
|
collapsedLogo,
|
|
6151
6269
|
creditWarning,
|
|
@@ -6197,7 +6315,7 @@ var ScAppSidebar = ({
|
|
|
6197
6315
|
const renderMenuItem2 = (item, sectionId) => {
|
|
6198
6316
|
const active = item.id === activeItemId;
|
|
6199
6317
|
const state = active ? "active" : "default";
|
|
6200
|
-
return /* @__PURE__ */
|
|
6318
|
+
return /* @__PURE__ */ jsx54(
|
|
6201
6319
|
ScSidebarMenu,
|
|
6202
6320
|
{
|
|
6203
6321
|
icon: resolveIcon2(iconMap, item, active, expanded),
|
|
@@ -6210,42 +6328,45 @@ var ScAppSidebar = ({
|
|
|
6210
6328
|
);
|
|
6211
6329
|
};
|
|
6212
6330
|
if (expanded) {
|
|
6213
|
-
return /* @__PURE__ */
|
|
6331
|
+
return /* @__PURE__ */ jsxs43(
|
|
6214
6332
|
"div",
|
|
6215
6333
|
{
|
|
6216
6334
|
className: ScArtifaxSidebar_default.scArtifaxSidebar + (className ? " " + className : ""),
|
|
6217
6335
|
style,
|
|
6218
6336
|
children: [
|
|
6219
|
-
resizable ? /* @__PURE__ */
|
|
6337
|
+
resizable ? /* @__PURE__ */ jsx54(
|
|
6220
6338
|
ScSidebarResizeHandle,
|
|
6221
6339
|
{
|
|
6222
6340
|
expanded: true,
|
|
6223
6341
|
onExpandedChange: changeExpanded
|
|
6224
6342
|
}
|
|
6225
6343
|
) : null,
|
|
6226
|
-
/* @__PURE__ */
|
|
6344
|
+
/* @__PURE__ */ jsxs43(
|
|
6227
6345
|
"div",
|
|
6228
6346
|
{
|
|
6229
6347
|
"data-streamoid-sidebar-card": true,
|
|
6230
6348
|
className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.expanded,
|
|
6231
6349
|
children: [
|
|
6232
|
-
/* @__PURE__ */
|
|
6233
|
-
/* @__PURE__ */
|
|
6350
|
+
/* @__PURE__ */ jsx54("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayExpanded }),
|
|
6351
|
+
/* @__PURE__ */ jsxs43(
|
|
6234
6352
|
"div",
|
|
6235
6353
|
{
|
|
6236
6354
|
className: ScArtifaxSidebar_default.body,
|
|
6237
6355
|
"data-scrolled": scrolled ? "true" : void 0,
|
|
6238
6356
|
onScroll,
|
|
6239
6357
|
children: [
|
|
6240
|
-
expandedLogo ? /* @__PURE__ */
|
|
6358
|
+
header || expandedLogo ? /* @__PURE__ */ jsxs43("div", { className: ScArtifaxSidebar_default.logoUnitExpanded, children: [
|
|
6359
|
+
header ? /* @__PURE__ */ jsx54(SidebarHeader, { header, expanded: true }) : null,
|
|
6360
|
+
expandedLogo
|
|
6361
|
+
] }) : null,
|
|
6241
6362
|
sections.map((section, idx) => {
|
|
6242
6363
|
const open = section.label ? section.collapsible !== false ? isSectionOpen(section.id) : true : true;
|
|
6243
6364
|
const showHeader = !!section.label;
|
|
6244
6365
|
const canToggle = showHeader && section.collapsible !== false;
|
|
6245
|
-
return /* @__PURE__ */
|
|
6246
|
-
idx > 0 ? /* @__PURE__ */
|
|
6247
|
-
/* @__PURE__ */
|
|
6248
|
-
showHeader ? /* @__PURE__ */
|
|
6366
|
+
return /* @__PURE__ */ jsxs43("div", { children: [
|
|
6367
|
+
idx > 0 ? /* @__PURE__ */ jsx54(ScHDivider, {}) : null,
|
|
6368
|
+
/* @__PURE__ */ jsxs43("div", { className: ScArtifaxSidebar_default.sectionContainer, children: [
|
|
6369
|
+
showHeader ? /* @__PURE__ */ jsx54(
|
|
6249
6370
|
SectionHeader2,
|
|
6250
6371
|
{
|
|
6251
6372
|
label: section.label,
|
|
@@ -6263,7 +6384,7 @@ var ScAppSidebar = ({
|
|
|
6263
6384
|
}
|
|
6264
6385
|
),
|
|
6265
6386
|
preFooterContent,
|
|
6266
|
-
creditWarning ? /* @__PURE__ */
|
|
6387
|
+
creditWarning ? /* @__PURE__ */ jsx54("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ jsx54(
|
|
6267
6388
|
CreditWarningBanner,
|
|
6268
6389
|
{
|
|
6269
6390
|
availableCredits: creditWarning.availableCredits,
|
|
@@ -6273,10 +6394,10 @@ var ScAppSidebar = ({
|
|
|
6273
6394
|
expanded: true
|
|
6274
6395
|
}
|
|
6275
6396
|
) }) : null,
|
|
6276
|
-
assistantCta ? /* @__PURE__ */
|
|
6277
|
-
!isMobile ? /* @__PURE__ */
|
|
6278
|
-
!isMobile ? /* @__PURE__ */
|
|
6279
|
-
appIdentity ? /* @__PURE__ */
|
|
6397
|
+
assistantCta ? /* @__PURE__ */ jsx54(ScAskAgentSlot, { cta: assistantCta }) : null,
|
|
6398
|
+
!isMobile ? /* @__PURE__ */ jsx54(ScHDivider, {}) : null,
|
|
6399
|
+
!isMobile ? /* @__PURE__ */ jsxs43("div", { className: ScArtifaxSidebar_default.profileRow, children: [
|
|
6400
|
+
appIdentity ? /* @__PURE__ */ jsx54(
|
|
6280
6401
|
"button",
|
|
6281
6402
|
{
|
|
6282
6403
|
type: "button",
|
|
@@ -6285,22 +6406,22 @@ var ScAppSidebar = ({
|
|
|
6285
6406
|
"aria-label": appIdentity.ariaLabel ?? "Switch apps",
|
|
6286
6407
|
children: appIdentity.content
|
|
6287
6408
|
}
|
|
6288
|
-
) : profile ? /* @__PURE__ */
|
|
6409
|
+
) : profile ? /* @__PURE__ */ jsxs43(
|
|
6289
6410
|
"button",
|
|
6290
6411
|
{
|
|
6291
6412
|
type: "button",
|
|
6292
6413
|
className: ScArtifaxSidebar_default.profileMain,
|
|
6293
6414
|
onClick: profile.onClick,
|
|
6294
6415
|
children: [
|
|
6295
|
-
/* @__PURE__ */
|
|
6296
|
-
/* @__PURE__ */
|
|
6297
|
-
/* @__PURE__ */
|
|
6298
|
-
profile.subtitle ? /* @__PURE__ */
|
|
6416
|
+
/* @__PURE__ */ jsx54("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar }),
|
|
6417
|
+
/* @__PURE__ */ jsxs43("div", { className: ScArtifaxSidebar_default.profileInfo, children: [
|
|
6418
|
+
/* @__PURE__ */ jsx54("span", { className: ScArtifaxSidebar_default.profileName, children: profile.name }),
|
|
6419
|
+
profile.subtitle ? /* @__PURE__ */ jsx54("span", { className: ScArtifaxSidebar_default.profileSubtitle, children: profile.subtitle }) : null
|
|
6299
6420
|
] })
|
|
6300
6421
|
]
|
|
6301
6422
|
}
|
|
6302
|
-
) : /* @__PURE__ */
|
|
6303
|
-
!hideToggle ? /* @__PURE__ */
|
|
6423
|
+
) : /* @__PURE__ */ jsx54("span", { className: ScArtifaxSidebar_default.profileMain, "aria-hidden": "true" }),
|
|
6424
|
+
!hideToggle ? /* @__PURE__ */ jsx54(
|
|
6304
6425
|
"button",
|
|
6305
6426
|
{
|
|
6306
6427
|
type: "button",
|
|
@@ -6311,7 +6432,7 @@ var ScAppSidebar = ({
|
|
|
6311
6432
|
}
|
|
6312
6433
|
) : null
|
|
6313
6434
|
] }) : null,
|
|
6314
|
-
versionText ? /* @__PURE__ */
|
|
6435
|
+
versionText ? /* @__PURE__ */ jsx54("p", { className: ScArtifaxSidebar_default.versionText, children: versionText }) : null
|
|
6315
6436
|
]
|
|
6316
6437
|
}
|
|
6317
6438
|
)
|
|
@@ -6319,43 +6440,46 @@ var ScAppSidebar = ({
|
|
|
6319
6440
|
}
|
|
6320
6441
|
);
|
|
6321
6442
|
}
|
|
6322
|
-
return /* @__PURE__ */
|
|
6443
|
+
return /* @__PURE__ */ jsxs43(
|
|
6323
6444
|
"div",
|
|
6324
6445
|
{
|
|
6325
6446
|
className: ScArtifaxSidebar_default.scArtifaxSidebar + (className ? " " + className : ""),
|
|
6326
6447
|
style,
|
|
6327
6448
|
children: [
|
|
6328
|
-
resizable ? /* @__PURE__ */
|
|
6449
|
+
resizable ? /* @__PURE__ */ jsx54(
|
|
6329
6450
|
ScSidebarResizeHandle,
|
|
6330
6451
|
{
|
|
6331
6452
|
expanded: false,
|
|
6332
6453
|
onExpandedChange: changeExpanded
|
|
6333
6454
|
}
|
|
6334
6455
|
) : null,
|
|
6335
|
-
/* @__PURE__ */
|
|
6456
|
+
/* @__PURE__ */ jsxs43(
|
|
6336
6457
|
"div",
|
|
6337
6458
|
{
|
|
6338
6459
|
"data-streamoid-sidebar-card": true,
|
|
6339
6460
|
className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.collapsed,
|
|
6340
6461
|
children: [
|
|
6341
|
-
/* @__PURE__ */
|
|
6342
|
-
/* @__PURE__ */
|
|
6462
|
+
/* @__PURE__ */ jsx54("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayCollapsed }),
|
|
6463
|
+
/* @__PURE__ */ jsxs43(
|
|
6343
6464
|
"div",
|
|
6344
6465
|
{
|
|
6345
6466
|
className: ScArtifaxSidebar_default.body + " " + ScArtifaxSidebar_default.bodyCollapsed,
|
|
6346
6467
|
"data-scrolled": scrolled ? "true" : void 0,
|
|
6347
6468
|
onScroll,
|
|
6348
6469
|
children: [
|
|
6349
|
-
collapsedLogo ? /* @__PURE__ */
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6470
|
+
header || collapsedLogo ? /* @__PURE__ */ jsxs43("div", { className: ScArtifaxSidebar_default.logoUnitCollapsed, children: [
|
|
6471
|
+
header ? /* @__PURE__ */ jsx54(SidebarHeader, { header, expanded: false }) : null,
|
|
6472
|
+
collapsedLogo
|
|
6473
|
+
] }) : null,
|
|
6474
|
+
sections.map((section, idx) => /* @__PURE__ */ jsxs43("div", { children: [
|
|
6475
|
+
idx > 0 ? /* @__PURE__ */ jsx54(ScHDivider, {}) : null,
|
|
6476
|
+
/* @__PURE__ */ jsx54("div", { className: ScArtifaxSidebar_default.sectionContainerCollapsed, children: section.items.map((item) => renderMenuItem2(item, section.id)) })
|
|
6353
6477
|
] }, section.id))
|
|
6354
6478
|
]
|
|
6355
6479
|
}
|
|
6356
6480
|
),
|
|
6357
6481
|
preFooterContent,
|
|
6358
|
-
creditWarning ? /* @__PURE__ */
|
|
6482
|
+
creditWarning ? /* @__PURE__ */ jsx54("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ jsx54(
|
|
6359
6483
|
CreditWarningBanner,
|
|
6360
6484
|
{
|
|
6361
6485
|
availableCredits: creditWarning.availableCredits,
|
|
@@ -6365,10 +6489,10 @@ var ScAppSidebar = ({
|
|
|
6365
6489
|
expanded: false
|
|
6366
6490
|
}
|
|
6367
6491
|
) }) : null,
|
|
6368
|
-
assistantCta ? /* @__PURE__ */
|
|
6369
|
-
!isMobile ? /* @__PURE__ */
|
|
6370
|
-
!isMobile ? /* @__PURE__ */
|
|
6371
|
-
appIdentity ? /* @__PURE__ */
|
|
6492
|
+
assistantCta ? /* @__PURE__ */ jsx54(ScAskAgentSlot, { cta: assistantCta, collapsed: true }) : null,
|
|
6493
|
+
!isMobile ? /* @__PURE__ */ jsx54(ScHDivider, {}) : null,
|
|
6494
|
+
!isMobile ? /* @__PURE__ */ jsxs43("div", { className: ScArtifaxSidebar_default.footerCollapsed, children: [
|
|
6495
|
+
appIdentity ? /* @__PURE__ */ jsx54(
|
|
6372
6496
|
"button",
|
|
6373
6497
|
{
|
|
6374
6498
|
type: "button",
|
|
@@ -6377,17 +6501,17 @@ var ScAppSidebar = ({
|
|
|
6377
6501
|
"aria-label": appIdentity.ariaLabel ?? "Switch apps",
|
|
6378
6502
|
children: appIdentity.content
|
|
6379
6503
|
}
|
|
6380
|
-
) : profile ? /* @__PURE__ */
|
|
6504
|
+
) : profile ? /* @__PURE__ */ jsx54(
|
|
6381
6505
|
"button",
|
|
6382
6506
|
{
|
|
6383
6507
|
type: "button",
|
|
6384
6508
|
className: ScArtifaxSidebar_default.profileRowCollapsed,
|
|
6385
6509
|
onClick: profile.onClick,
|
|
6386
6510
|
"aria-label": profile.name,
|
|
6387
|
-
children: /* @__PURE__ */
|
|
6511
|
+
children: /* @__PURE__ */ jsx54("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar })
|
|
6388
6512
|
}
|
|
6389
6513
|
) : null,
|
|
6390
|
-
!hideToggle ? /* @__PURE__ */
|
|
6514
|
+
!hideToggle ? /* @__PURE__ */ jsx54(
|
|
6391
6515
|
"button",
|
|
6392
6516
|
{
|
|
6393
6517
|
type: "button",
|
|
@@ -6398,7 +6522,7 @@ var ScAppSidebar = ({
|
|
|
6398
6522
|
}
|
|
6399
6523
|
) : null
|
|
6400
6524
|
] }) : null,
|
|
6401
|
-
versionText ? /* @__PURE__ */
|
|
6525
|
+
versionText ? /* @__PURE__ */ jsx54("p", { className: ScArtifaxSidebar_default.versionText, children: versionText }) : null
|
|
6402
6526
|
]
|
|
6403
6527
|
}
|
|
6404
6528
|
)
|
|
@@ -6427,7 +6551,7 @@ var ScSidebarSwitchMenu_default = {
|
|
|
6427
6551
|
};
|
|
6428
6552
|
|
|
6429
6553
|
// src/SC-Sidebar Switch menu/ScSidebarSwitchMenu.tsx
|
|
6430
|
-
import { Fragment as Fragment18, jsx as
|
|
6554
|
+
import { Fragment as Fragment18, jsx as jsx55, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6431
6555
|
var ScSidebarSwitchMenu = ({
|
|
6432
6556
|
icon,
|
|
6433
6557
|
state = "default",
|
|
@@ -6440,19 +6564,19 @@ var ScSidebarSwitchMenu = ({
|
|
|
6440
6564
|
...props
|
|
6441
6565
|
}) => {
|
|
6442
6566
|
const variantsClassName = ScSidebarSwitchMenu_default["state-" + state] + " " + ScSidebarSwitchMenu_default["variant-" + variant];
|
|
6443
|
-
return /* @__PURE__ */
|
|
6567
|
+
return /* @__PURE__ */ jsxs44(
|
|
6444
6568
|
"div",
|
|
6445
6569
|
{
|
|
6446
6570
|
className: ScSidebarSwitchMenu_default.scSidebarSwitchMenu + (className ? " " + className : "") + " " + variantsClassName,
|
|
6447
6571
|
...props,
|
|
6448
6572
|
children: [
|
|
6449
|
-
icon ? /* @__PURE__ */
|
|
6450
|
-
variant === "expanded" && /* @__PURE__ */
|
|
6451
|
-
/* @__PURE__ */
|
|
6452
|
-
/* @__PURE__ */
|
|
6453
|
-
/* @__PURE__ */
|
|
6573
|
+
icon ? /* @__PURE__ */ jsx55("div", { className: ScSidebarSwitchMenu_default.iconWrapper, children: icon }) : null,
|
|
6574
|
+
variant === "expanded" && /* @__PURE__ */ jsxs44(Fragment18, { children: [
|
|
6575
|
+
/* @__PURE__ */ jsxs44("div", { className: ScSidebarSwitchMenu_default.content, children: [
|
|
6576
|
+
/* @__PURE__ */ jsx55("div", { className: ScSidebarSwitchMenu_default.text, children: text }),
|
|
6577
|
+
/* @__PURE__ */ jsx55("div", { className: ScSidebarSwitchMenu_default.description, children: description })
|
|
6454
6578
|
] }),
|
|
6455
|
-
moreIcon && /* @__PURE__ */
|
|
6579
|
+
moreIcon && /* @__PURE__ */ jsx55(
|
|
6456
6580
|
"div",
|
|
6457
6581
|
{
|
|
6458
6582
|
className: ScSidebarSwitchMenu_default.moreIconWrapper,
|
|
@@ -6487,7 +6611,7 @@ var ScSideBarLogoUnit_default = {
|
|
|
6487
6611
|
import { SiconDoubleArrow as SiconDoubleArrow2 } from "@streamoid/icons";
|
|
6488
6612
|
|
|
6489
6613
|
// src/SC-SideBarLogoUnit/wordmarks.tsx
|
|
6490
|
-
import { jsx as
|
|
6614
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6491
6615
|
var WORDMARKS = {
|
|
6492
6616
|
"CXO": {
|
|
6493
6617
|
"viewBox": "0 0 56 32",
|
|
@@ -6854,7 +6978,7 @@ function ProductWordmark({
|
|
|
6854
6978
|
}) {
|
|
6855
6979
|
const mark = WORDMARKS[product];
|
|
6856
6980
|
if (!mark) return null;
|
|
6857
|
-
return /* @__PURE__ */
|
|
6981
|
+
return /* @__PURE__ */ jsx56(
|
|
6858
6982
|
"svg",
|
|
6859
6983
|
{
|
|
6860
6984
|
viewBox: mark.viewBox,
|
|
@@ -6865,7 +6989,7 @@ function ProductWordmark({
|
|
|
6865
6989
|
role: "img",
|
|
6866
6990
|
"aria-label": product,
|
|
6867
6991
|
style: { ...MARK_STYLE, ...style },
|
|
6868
|
-
children: mark.paths.map((p, i) => /* @__PURE__ */
|
|
6992
|
+
children: mark.paths.map((p, i) => /* @__PURE__ */ jsx56(
|
|
6869
6993
|
"path",
|
|
6870
6994
|
{
|
|
6871
6995
|
d: p.d,
|
|
@@ -6884,7 +7008,7 @@ function ProductCollapsedMark({
|
|
|
6884
7008
|
}) {
|
|
6885
7009
|
const mark = COLLAPSED_MARKS[product];
|
|
6886
7010
|
if (!mark) return null;
|
|
6887
|
-
return /* @__PURE__ */
|
|
7011
|
+
return /* @__PURE__ */ jsx56(
|
|
6888
7012
|
"svg",
|
|
6889
7013
|
{
|
|
6890
7014
|
viewBox: mark.viewBox,
|
|
@@ -6895,7 +7019,7 @@ function ProductCollapsedMark({
|
|
|
6895
7019
|
role: "img",
|
|
6896
7020
|
"aria-label": product,
|
|
6897
7021
|
style: { ...MARK_STYLE, ...style },
|
|
6898
|
-
children: mark.paths.map((p, i) => /* @__PURE__ */
|
|
7022
|
+
children: mark.paths.map((p, i) => /* @__PURE__ */ jsx56(
|
|
6899
7023
|
"path",
|
|
6900
7024
|
{
|
|
6901
7025
|
d: p.d,
|
|
@@ -6913,7 +7037,7 @@ function hasCollapsedMark(product) {
|
|
|
6913
7037
|
}
|
|
6914
7038
|
|
|
6915
7039
|
// src/SC-SideBarLogoUnit/ScSideBarLogoUnit.tsx
|
|
6916
|
-
import { jsx as
|
|
7040
|
+
import { jsx as jsx57, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6917
7041
|
var ScSideBarLogoUnit = ({
|
|
6918
7042
|
state = "expanded",
|
|
6919
7043
|
wordmark,
|
|
@@ -6928,8 +7052,8 @@ var ScSideBarLogoUnit = ({
|
|
|
6928
7052
|
style
|
|
6929
7053
|
}) => {
|
|
6930
7054
|
const interactive = !disabled && (!!onClick || !!onSwitchClick);
|
|
6931
|
-
const expandedMark = wordmark ?? (product ? /* @__PURE__ */
|
|
6932
|
-
const collapsedMark = wordmark ?? (product ? /* @__PURE__ */
|
|
7055
|
+
const expandedMark = wordmark ?? (product ? /* @__PURE__ */ jsx57(ProductWordmark, { product }) : null);
|
|
7056
|
+
const collapsedMark = wordmark ?? (product ? /* @__PURE__ */ jsx57(ProductCollapsedMark, { product }) : null);
|
|
6933
7057
|
const handleClick = () => {
|
|
6934
7058
|
if (!interactive) return;
|
|
6935
7059
|
onClick?.();
|
|
@@ -6941,12 +7065,12 @@ var ScSideBarLogoUnit = ({
|
|
|
6941
7065
|
interactive ? "" : ScSideBarLogoUnit_default.nonInteractive,
|
|
6942
7066
|
hover === true ? ScSideBarLogoUnit_default.forceHover : ""
|
|
6943
7067
|
].filter(Boolean).join(" ");
|
|
6944
|
-
return /* @__PURE__ */
|
|
7068
|
+
return /* @__PURE__ */ jsx57(
|
|
6945
7069
|
"div",
|
|
6946
7070
|
{
|
|
6947
7071
|
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + " " + ScSideBarLogoUnit_default.collapsed + (className ? " " + className : ""),
|
|
6948
7072
|
style,
|
|
6949
|
-
children: /* @__PURE__ */
|
|
7073
|
+
children: /* @__PURE__ */ jsxs45(
|
|
6950
7074
|
"button",
|
|
6951
7075
|
{
|
|
6952
7076
|
type: "button",
|
|
@@ -6957,8 +7081,8 @@ var ScSideBarLogoUnit = ({
|
|
|
6957
7081
|
"aria-disabled": !interactive || disabled,
|
|
6958
7082
|
style: hover === false ? { backgroundColor: "transparent" } : void 0,
|
|
6959
7083
|
children: [
|
|
6960
|
-
/* @__PURE__ */
|
|
6961
|
-
hideSwitch ? null : /* @__PURE__ */
|
|
7084
|
+
/* @__PURE__ */ jsx57("span", { className: ScSideBarLogoUnit_default.collapsedWordmarkSlot, children: collapsedMark }),
|
|
7085
|
+
hideSwitch ? null : /* @__PURE__ */ jsx57("span", { className: ScSideBarLogoUnit_default.switch, children: /* @__PURE__ */ jsx57("span", { className: ScSideBarLogoUnit_default.switchIcon, children: /* @__PURE__ */ jsx57(SiconDoubleArrow2, { size: 16, strokeWidth: 1.5 }) }) })
|
|
6962
7086
|
]
|
|
6963
7087
|
}
|
|
6964
7088
|
)
|
|
@@ -6970,7 +7094,7 @@ var ScSideBarLogoUnit = ({
|
|
|
6970
7094
|
interactive ? "" : ScSideBarLogoUnit_default.nonInteractive,
|
|
6971
7095
|
hover === true ? ScSideBarLogoUnit_default.forceHover : ""
|
|
6972
7096
|
].filter(Boolean).join(" ");
|
|
6973
|
-
return /* @__PURE__ */
|
|
7097
|
+
return /* @__PURE__ */ jsx57(
|
|
6974
7098
|
"div",
|
|
6975
7099
|
{
|
|
6976
7100
|
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + (className ? " " + className : ""),
|
|
@@ -6979,7 +7103,7 @@ var ScSideBarLogoUnit = ({
|
|
|
6979
7103
|
// Suppressing hover when `hover === false` — overrides CSS :hover.
|
|
6980
7104
|
...hover === false ? { pointerEvents: "auto" } : null
|
|
6981
7105
|
},
|
|
6982
|
-
children: /* @__PURE__ */
|
|
7106
|
+
children: /* @__PURE__ */ jsxs45(
|
|
6983
7107
|
"button",
|
|
6984
7108
|
{
|
|
6985
7109
|
type: "button",
|
|
@@ -6992,8 +7116,8 @@ var ScSideBarLogoUnit = ({
|
|
|
6992
7116
|
backgroundColor: "transparent"
|
|
6993
7117
|
} : void 0,
|
|
6994
7118
|
children: [
|
|
6995
|
-
/* @__PURE__ */
|
|
6996
|
-
hideSwitch ? null : /* @__PURE__ */
|
|
7119
|
+
/* @__PURE__ */ jsx57("span", { className: ScSideBarLogoUnit_default.wordmarkSlot, children: expandedMark }),
|
|
7120
|
+
hideSwitch ? null : /* @__PURE__ */ jsx57("span", { className: ScSideBarLogoUnit_default.switch, children: /* @__PURE__ */ jsx57("span", { className: ScSideBarLogoUnit_default.switchIcon, children: /* @__PURE__ */ jsx57(SiconDoubleArrow2, { size: 16, strokeWidth: 1.5 }) }) })
|
|
6997
7121
|
]
|
|
6998
7122
|
}
|
|
6999
7123
|
)
|
|
@@ -7009,7 +7133,7 @@ import {
|
|
|
7009
7133
|
SiconExpand,
|
|
7010
7134
|
SiconInsights
|
|
7011
7135
|
} from "@streamoid/icons";
|
|
7012
|
-
import { jsx as
|
|
7136
|
+
import { jsx as jsx58, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
7013
7137
|
var PRIMARY_COLOR = "var(--alias-text---icons-primary)";
|
|
7014
7138
|
var TERTIARY_COLOR = "var(--alias-text---icons-tertiary)";
|
|
7015
7139
|
var DEFAULT_ITEMS = [
|
|
@@ -7018,9 +7142,9 @@ var DEFAULT_ITEMS = [
|
|
|
7018
7142
|
{ id: "insights", label: "Insights", iconKey: "insights" }
|
|
7019
7143
|
];
|
|
7020
7144
|
var DEFAULT_ICON_MAP = {
|
|
7021
|
-
stores: ({ active }) => /* @__PURE__ */
|
|
7022
|
-
aiTraining: ({ active }) => /* @__PURE__ */
|
|
7023
|
-
insights: ({ active }) => /* @__PURE__ */
|
|
7145
|
+
stores: ({ active }) => /* @__PURE__ */ jsx58(SiconBag, { color: active ? PRIMARY_COLOR : TERTIARY_COLOR }),
|
|
7146
|
+
aiTraining: ({ active }) => /* @__PURE__ */ jsx58(SiconBrain, { color: active ? PRIMARY_COLOR : TERTIARY_COLOR }),
|
|
7147
|
+
insights: ({ active }) => /* @__PURE__ */ jsx58(SiconInsights, { color: active ? PRIMARY_COLOR : TERTIARY_COLOR })
|
|
7024
7148
|
};
|
|
7025
7149
|
function resolveIcon3(iconMap, item, active, expanded) {
|
|
7026
7150
|
const renderer = iconMap[item.iconKey];
|
|
@@ -7033,7 +7157,7 @@ function resolveIcon3(iconMap, item, active, expanded) {
|
|
|
7033
7157
|
function resolveToggleIcon3(toggleIcon, expanded) {
|
|
7034
7158
|
if (toggleIcon == null) {
|
|
7035
7159
|
const Icon = expanded ? SiconCollapse4 : SiconExpand;
|
|
7036
|
-
return /* @__PURE__ */
|
|
7160
|
+
return /* @__PURE__ */ jsx58(Icon, { className: "size-6", color: "var(--alias-text---icons-muted)" });
|
|
7037
7161
|
}
|
|
7038
7162
|
if (typeof toggleIcon === "function") {
|
|
7039
7163
|
return toggleIcon(expanded);
|
|
@@ -7062,7 +7186,7 @@ var ScCatalogixSidebar = ({
|
|
|
7062
7186
|
setAppListOpen((prev) => !prev);
|
|
7063
7187
|
onLogoClick?.();
|
|
7064
7188
|
};
|
|
7065
|
-
const switchPanelContent = expanded && switchApps && switchApps.length > 0 ? /* @__PURE__ */
|
|
7189
|
+
const switchPanelContent = expanded && switchApps && switchApps.length > 0 ? /* @__PURE__ */ jsx58(
|
|
7066
7190
|
"div",
|
|
7067
7191
|
{
|
|
7068
7192
|
className: "flex w-full flex-col items-stretch",
|
|
@@ -7071,7 +7195,7 @@ var ScCatalogixSidebar = ({
|
|
|
7071
7195
|
paddingTop: "var(--spacing-sm)",
|
|
7072
7196
|
paddingBottom: "var(--spacing-md)"
|
|
7073
7197
|
},
|
|
7074
|
-
children: switchApps.map((app) => /* @__PURE__ */
|
|
7198
|
+
children: switchApps.map((app) => /* @__PURE__ */ jsx58(
|
|
7075
7199
|
ScSidebarSwitchMenu,
|
|
7076
7200
|
{
|
|
7077
7201
|
icon: app.icon,
|
|
@@ -7085,7 +7209,7 @@ var ScCatalogixSidebar = ({
|
|
|
7085
7209
|
))
|
|
7086
7210
|
}
|
|
7087
7211
|
) : void 0;
|
|
7088
|
-
const collapsedSwitchList = !expanded && appListOpen && switchApps && switchApps.length > 0 ? /* @__PURE__ */
|
|
7212
|
+
const collapsedSwitchList = !expanded && appListOpen && switchApps && switchApps.length > 0 ? /* @__PURE__ */ jsx58(
|
|
7089
7213
|
"div",
|
|
7090
7214
|
{
|
|
7091
7215
|
className: "flex shrink-0 flex-col items-center",
|
|
@@ -7093,7 +7217,7 @@ var ScCatalogixSidebar = ({
|
|
|
7093
7217
|
gap: "var(--spacing-xxs)",
|
|
7094
7218
|
paddingBottom: "var(--spacing-xxs)"
|
|
7095
7219
|
},
|
|
7096
|
-
children: switchApps.map((app) => /* @__PURE__ */
|
|
7220
|
+
children: switchApps.map((app) => /* @__PURE__ */ jsx58(
|
|
7097
7221
|
ScSidebarSwitchMenu,
|
|
7098
7222
|
{
|
|
7099
7223
|
icon: app.icon,
|
|
@@ -7105,7 +7229,7 @@ var ScCatalogixSidebar = ({
|
|
|
7105
7229
|
))
|
|
7106
7230
|
}
|
|
7107
7231
|
) : null;
|
|
7108
|
-
const navItems = /* @__PURE__ */
|
|
7232
|
+
const navItems = /* @__PURE__ */ jsx58(
|
|
7109
7233
|
"div",
|
|
7110
7234
|
{
|
|
7111
7235
|
className: expanded ? "flex w-full shrink-0 flex-col items-stretch" : "flex shrink-0 flex-col items-center",
|
|
@@ -7116,7 +7240,7 @@ var ScCatalogixSidebar = ({
|
|
|
7116
7240
|
},
|
|
7117
7241
|
children: items.map((item) => {
|
|
7118
7242
|
const active = item.id === activeItemId;
|
|
7119
|
-
return /* @__PURE__ */
|
|
7243
|
+
return /* @__PURE__ */ jsx58(
|
|
7120
7244
|
ScSidebarMenu,
|
|
7121
7245
|
{
|
|
7122
7246
|
icon: resolveIcon3(iconMap, item, active, expanded),
|
|
@@ -7130,18 +7254,18 @@ var ScCatalogixSidebar = ({
|
|
|
7130
7254
|
})
|
|
7131
7255
|
}
|
|
7132
7256
|
);
|
|
7133
|
-
const bodyContent = /* @__PURE__ */
|
|
7257
|
+
const bodyContent = /* @__PURE__ */ jsxs46(
|
|
7134
7258
|
"div",
|
|
7135
7259
|
{
|
|
7136
7260
|
className: expanded ? "flex h-full min-h-0 flex-col" : "flex w-full flex-col items-center",
|
|
7137
7261
|
children: [
|
|
7138
7262
|
collapsedSwitchList,
|
|
7139
|
-
/* @__PURE__ */
|
|
7263
|
+
/* @__PURE__ */ jsx58(ScHDivider, {}),
|
|
7140
7264
|
navItems
|
|
7141
7265
|
]
|
|
7142
7266
|
}
|
|
7143
7267
|
);
|
|
7144
|
-
const defaultExpandedLogo = /* @__PURE__ */
|
|
7268
|
+
const defaultExpandedLogo = /* @__PURE__ */ jsx58(
|
|
7145
7269
|
ScSideBarLogoUnit,
|
|
7146
7270
|
{
|
|
7147
7271
|
product: "Catalogix",
|
|
@@ -7150,7 +7274,7 @@ var ScCatalogixSidebar = ({
|
|
|
7150
7274
|
style: { paddingBottom: 0 }
|
|
7151
7275
|
}
|
|
7152
7276
|
);
|
|
7153
|
-
const defaultCollapsedLogo = /* @__PURE__ */
|
|
7277
|
+
const defaultCollapsedLogo = /* @__PURE__ */ jsx58(
|
|
7154
7278
|
ScSideBarLogoUnit,
|
|
7155
7279
|
{
|
|
7156
7280
|
state: "collapsed",
|
|
@@ -7159,7 +7283,7 @@ var ScCatalogixSidebar = ({
|
|
|
7159
7283
|
hover: appListOpen ? true : void 0
|
|
7160
7284
|
}
|
|
7161
7285
|
);
|
|
7162
|
-
return /* @__PURE__ */
|
|
7286
|
+
return /* @__PURE__ */ jsx58(
|
|
7163
7287
|
StreamoidSidebar,
|
|
7164
7288
|
{
|
|
7165
7289
|
expanded,
|
|
@@ -7177,7 +7301,7 @@ var ScCatalogixSidebar = ({
|
|
|
7177
7301
|
toggleInProfile: true,
|
|
7178
7302
|
versionText: "",
|
|
7179
7303
|
toggleIcon: (exp) => resolveToggleIcon3(toggleIcon, exp),
|
|
7180
|
-
preFooterContent: creditWarning ? /* @__PURE__ */
|
|
7304
|
+
preFooterContent: creditWarning ? /* @__PURE__ */ jsx58(
|
|
7181
7305
|
CreditWarningBanner,
|
|
7182
7306
|
{
|
|
7183
7307
|
availableCredits: creditWarning.availableCredits,
|
|
@@ -7211,7 +7335,7 @@ var ScGuide_default = {
|
|
|
7211
7335
|
|
|
7212
7336
|
// src/SC-Guide/ScGuide.tsx
|
|
7213
7337
|
import { SiconRight as SiconRight4 } from "@streamoid/icons";
|
|
7214
|
-
import { jsx as
|
|
7338
|
+
import { jsx as jsx59, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7215
7339
|
var ScGuide = ({
|
|
7216
7340
|
title = "Title",
|
|
7217
7341
|
description = "Description",
|
|
@@ -7227,19 +7351,19 @@ var ScGuide = ({
|
|
|
7227
7351
|
className,
|
|
7228
7352
|
style
|
|
7229
7353
|
}) => {
|
|
7230
|
-
return /* @__PURE__ */
|
|
7354
|
+
return /* @__PURE__ */ jsxs47(
|
|
7231
7355
|
"div",
|
|
7232
7356
|
{
|
|
7233
7357
|
className: ScGuide_default.scGuide + (className ? " " + className : ""),
|
|
7234
7358
|
style,
|
|
7235
7359
|
children: [
|
|
7236
|
-
/* @__PURE__ */
|
|
7237
|
-
/* @__PURE__ */
|
|
7238
|
-
/* @__PURE__ */
|
|
7360
|
+
/* @__PURE__ */ jsxs47("div", { className: ScGuide_default.header, children: [
|
|
7361
|
+
/* @__PURE__ */ jsx59("p", { className: ScGuide_default.title, children: title }),
|
|
7362
|
+
/* @__PURE__ */ jsx59("p", { className: ScGuide_default.description, children: description })
|
|
7239
7363
|
] }),
|
|
7240
|
-
/* @__PURE__ */
|
|
7241
|
-
/* @__PURE__ */
|
|
7242
|
-
hideSkip ? /* @__PURE__ */
|
|
7364
|
+
/* @__PURE__ */ jsx59(ScHDivider, {}),
|
|
7365
|
+
/* @__PURE__ */ jsxs47("div", { className: ScGuide_default.actions, children: [
|
|
7366
|
+
hideSkip ? /* @__PURE__ */ jsx59("span", { className: ScGuide_default.skipSpacer, "aria-hidden": "true", children: skipLabel }) : /* @__PURE__ */ jsx59(
|
|
7243
7367
|
"button",
|
|
7244
7368
|
{
|
|
7245
7369
|
type: "button",
|
|
@@ -7249,8 +7373,8 @@ var ScGuide = ({
|
|
|
7249
7373
|
children: skipLabel
|
|
7250
7374
|
}
|
|
7251
7375
|
),
|
|
7252
|
-
stepLabel != null && /* @__PURE__ */
|
|
7253
|
-
!hideNext && /* @__PURE__ */
|
|
7376
|
+
stepLabel != null && /* @__PURE__ */ jsx59("span", { className: ScGuide_default.stepIndicator, children: stepLabel }),
|
|
7377
|
+
!hideNext && /* @__PURE__ */ jsxs47(
|
|
7254
7378
|
"button",
|
|
7255
7379
|
{
|
|
7256
7380
|
type: "button",
|
|
@@ -7258,8 +7382,8 @@ var ScGuide = ({
|
|
|
7258
7382
|
onClick: onNext,
|
|
7259
7383
|
disabled,
|
|
7260
7384
|
children: [
|
|
7261
|
-
/* @__PURE__ */
|
|
7262
|
-
/* @__PURE__ */
|
|
7385
|
+
/* @__PURE__ */ jsx59("span", { className: ScGuide_default.nextLabel, children: nextLabel }),
|
|
7386
|
+
/* @__PURE__ */ jsx59("span", { className: ScGuide_default.nextIcon, children: nextIcon ?? /* @__PURE__ */ jsx59(SiconRight4, { size: 16, strokeWidth: 1.5 }) })
|
|
7263
7387
|
]
|
|
7264
7388
|
}
|
|
7265
7389
|
)
|
|
@@ -7279,35 +7403,35 @@ var ScSlider_default = {
|
|
|
7279
7403
|
};
|
|
7280
7404
|
|
|
7281
7405
|
// src/SC-Slider/ScSlider.tsx
|
|
7282
|
-
import { jsx as
|
|
7406
|
+
import { jsx as jsx60, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7283
7407
|
var ScSlider = ({
|
|
7284
7408
|
className,
|
|
7285
7409
|
onValueChange,
|
|
7286
7410
|
...props
|
|
7287
7411
|
}) => {
|
|
7288
|
-
return /* @__PURE__ */
|
|
7289
|
-
/* @__PURE__ */
|
|
7290
|
-
/* @__PURE__ */
|
|
7291
|
-
/* @__PURE__ */
|
|
7292
|
-
/* @__PURE__ */
|
|
7293
|
-
/* @__PURE__ */
|
|
7294
|
-
/* @__PURE__ */
|
|
7295
|
-
/* @__PURE__ */
|
|
7296
|
-
/* @__PURE__ */
|
|
7297
|
-
/* @__PURE__ */
|
|
7298
|
-
/* @__PURE__ */
|
|
7412
|
+
return /* @__PURE__ */ jsxs48("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
7413
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressBar }),
|
|
7414
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressDot }),
|
|
7415
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressBar2 }),
|
|
7416
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressDot2 }),
|
|
7417
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressBar2 }),
|
|
7418
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressDot2 }),
|
|
7419
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressBar2 }),
|
|
7420
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressDot2 }),
|
|
7421
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressBar2 }),
|
|
7422
|
+
/* @__PURE__ */ jsx60("div", { className: ScSlider_default.progressDot2 })
|
|
7299
7423
|
] });
|
|
7300
7424
|
};
|
|
7301
7425
|
|
|
7302
7426
|
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
7303
|
-
import { useEffect as
|
|
7427
|
+
import { useEffect as useEffect6, useRef as useRef7 } from "react";
|
|
7304
7428
|
import {
|
|
7305
7429
|
SiconClose as SiconClose3,
|
|
7306
7430
|
SiconTeam as SiconTeam5,
|
|
7307
7431
|
SiconCrown,
|
|
7308
7432
|
SiconSwitch
|
|
7309
7433
|
} from "@streamoid/icons";
|
|
7310
|
-
import { jsx as
|
|
7434
|
+
import { jsx as jsx61, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7311
7435
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
7312
7436
|
function deriveInitials(name) {
|
|
7313
7437
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -7325,7 +7449,7 @@ function WorkspaceRow({
|
|
|
7325
7449
|
switchWorkspaceText,
|
|
7326
7450
|
onSwitch
|
|
7327
7451
|
}) {
|
|
7328
|
-
return /* @__PURE__ */
|
|
7452
|
+
return /* @__PURE__ */ jsxs49(
|
|
7329
7453
|
"div",
|
|
7330
7454
|
{
|
|
7331
7455
|
className: "relative shrink-0 w-full",
|
|
@@ -7335,7 +7459,7 @@ function WorkspaceRow({
|
|
|
7335
7459
|
backdropFilter: "blur(4px)"
|
|
7336
7460
|
},
|
|
7337
7461
|
children: [
|
|
7338
|
-
/* @__PURE__ */
|
|
7462
|
+
/* @__PURE__ */ jsx61(
|
|
7339
7463
|
"div",
|
|
7340
7464
|
{
|
|
7341
7465
|
"aria-hidden": "true",
|
|
@@ -7346,7 +7470,7 @@ function WorkspaceRow({
|
|
|
7346
7470
|
}
|
|
7347
7471
|
}
|
|
7348
7472
|
),
|
|
7349
|
-
/* @__PURE__ */
|
|
7473
|
+
/* @__PURE__ */ jsx61("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs49(
|
|
7350
7474
|
"div",
|
|
7351
7475
|
{
|
|
7352
7476
|
className: "flex items-center w-full",
|
|
@@ -7355,20 +7479,20 @@ function WorkspaceRow({
|
|
|
7355
7479
|
padding: "var(--spacing-6xl)"
|
|
7356
7480
|
},
|
|
7357
7481
|
children: [
|
|
7358
|
-
/* @__PURE__ */
|
|
7482
|
+
/* @__PURE__ */ jsxs49(
|
|
7359
7483
|
"div",
|
|
7360
7484
|
{
|
|
7361
7485
|
className: "flex flex-1 items-center min-w-0",
|
|
7362
7486
|
style: { gap: "var(--spacing-xl)" },
|
|
7363
7487
|
children: [
|
|
7364
|
-
/* @__PURE__ */
|
|
7488
|
+
/* @__PURE__ */ jsx61(
|
|
7365
7489
|
ScIntialProfileCover,
|
|
7366
7490
|
{
|
|
7367
7491
|
intial: workspace.initials || deriveInitials(workspace.name),
|
|
7368
7492
|
className: "shrink-0"
|
|
7369
7493
|
}
|
|
7370
7494
|
),
|
|
7371
|
-
/* @__PURE__ */
|
|
7495
|
+
/* @__PURE__ */ jsx61(
|
|
7372
7496
|
"p",
|
|
7373
7497
|
{
|
|
7374
7498
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
@@ -7388,7 +7512,7 @@ function WorkspaceRow({
|
|
|
7388
7512
|
]
|
|
7389
7513
|
}
|
|
7390
7514
|
),
|
|
7391
|
-
/* @__PURE__ */
|
|
7515
|
+
/* @__PURE__ */ jsxs49(
|
|
7392
7516
|
"div",
|
|
7393
7517
|
{
|
|
7394
7518
|
className: "flex items-center justify-center shrink-0",
|
|
@@ -7397,7 +7521,7 @@ function WorkspaceRow({
|
|
|
7397
7521
|
padding: "0 var(--spacing-3xl)"
|
|
7398
7522
|
},
|
|
7399
7523
|
children: [
|
|
7400
|
-
/* @__PURE__ */
|
|
7524
|
+
/* @__PURE__ */ jsx61(
|
|
7401
7525
|
ScRole,
|
|
7402
7526
|
{
|
|
7403
7527
|
type: normalizeRole(workspace.role),
|
|
@@ -7405,23 +7529,23 @@ function WorkspaceRow({
|
|
|
7405
7529
|
style: { width: 80 }
|
|
7406
7530
|
}
|
|
7407
7531
|
),
|
|
7408
|
-
/* @__PURE__ */
|
|
7532
|
+
/* @__PURE__ */ jsx61("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ jsxs49(
|
|
7409
7533
|
"div",
|
|
7410
7534
|
{
|
|
7411
7535
|
className: "flex items-center shrink-0",
|
|
7412
7536
|
style: { gap: "var(--spacing-3xl)" },
|
|
7413
7537
|
children: [
|
|
7414
|
-
/* @__PURE__ */
|
|
7538
|
+
/* @__PURE__ */ jsx61("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ jsx61(
|
|
7415
7539
|
ScPairtext,
|
|
7416
7540
|
{
|
|
7417
|
-
icon: /* @__PURE__ */
|
|
7541
|
+
icon: /* @__PURE__ */ jsx61(SiconTeam5, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
7418
7542
|
content: workspace.userCount || "\u2013",
|
|
7419
7543
|
iconPosition: "left",
|
|
7420
7544
|
type: "icon"
|
|
7421
7545
|
}
|
|
7422
7546
|
) }),
|
|
7423
|
-
/* @__PURE__ */
|
|
7424
|
-
/* @__PURE__ */
|
|
7547
|
+
/* @__PURE__ */ jsx61(ScVDivider, {}),
|
|
7548
|
+
/* @__PURE__ */ jsxs49(
|
|
7425
7549
|
"div",
|
|
7426
7550
|
{
|
|
7427
7551
|
className: "flex items-center",
|
|
@@ -7431,14 +7555,14 @@ function WorkspaceRow({
|
|
|
7431
7555
|
gap: "var(--spacing-md)"
|
|
7432
7556
|
},
|
|
7433
7557
|
children: [
|
|
7434
|
-
/* @__PURE__ */
|
|
7558
|
+
/* @__PURE__ */ jsx61(
|
|
7435
7559
|
SiconCrown,
|
|
7436
7560
|
{
|
|
7437
7561
|
className: "w-6 h-6 shrink-0",
|
|
7438
7562
|
color: PRIMARY_ICON
|
|
7439
7563
|
}
|
|
7440
7564
|
),
|
|
7441
|
-
/* @__PURE__ */
|
|
7565
|
+
/* @__PURE__ */ jsx61(
|
|
7442
7566
|
"span",
|
|
7443
7567
|
{
|
|
7444
7568
|
className: "truncate",
|
|
@@ -7460,7 +7584,7 @@ function WorkspaceRow({
|
|
|
7460
7584
|
]
|
|
7461
7585
|
}
|
|
7462
7586
|
),
|
|
7463
|
-
workspace.isCurrent ? /* @__PURE__ */
|
|
7587
|
+
workspace.isCurrent ? /* @__PURE__ */ jsx61(
|
|
7464
7588
|
ScButton,
|
|
7465
7589
|
{
|
|
7466
7590
|
text: currentWorkspaceText,
|
|
@@ -7469,14 +7593,14 @@ function WorkspaceRow({
|
|
|
7469
7593
|
size: "lg",
|
|
7470
7594
|
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
7471
7595
|
}
|
|
7472
|
-
) : /* @__PURE__ */
|
|
7596
|
+
) : /* @__PURE__ */ jsx61(
|
|
7473
7597
|
ScButton,
|
|
7474
7598
|
{
|
|
7475
7599
|
text: switchWorkspaceText,
|
|
7476
7600
|
variant: "secondary",
|
|
7477
7601
|
size: "lg",
|
|
7478
7602
|
styleVariant: "icon-left",
|
|
7479
|
-
icon: /* @__PURE__ */
|
|
7603
|
+
icon: /* @__PURE__ */ jsx61(SiconSwitch, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
7480
7604
|
style: { width: 200, flexShrink: 0 },
|
|
7481
7605
|
onClick: onSwitch
|
|
7482
7606
|
}
|
|
@@ -7496,12 +7620,12 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7496
7620
|
onSwitchWorkspace,
|
|
7497
7621
|
config
|
|
7498
7622
|
}) {
|
|
7499
|
-
const modalRef =
|
|
7623
|
+
const modalRef = useRef7(null);
|
|
7500
7624
|
const title = config?.title || "Switch workspace";
|
|
7501
7625
|
const loadingText = config?.loadingText || "Loading workspaces\u2026";
|
|
7502
7626
|
const currentWorkspaceText = config?.currentWorkspaceText || "Current workspace";
|
|
7503
7627
|
const switchWorkspaceText = config?.switchWorkspaceText || "Switch workspace";
|
|
7504
|
-
|
|
7628
|
+
useEffect6(() => {
|
|
7505
7629
|
if (!open) return;
|
|
7506
7630
|
function handleKeyDown(e) {
|
|
7507
7631
|
if (e.key === "Escape") onClose();
|
|
@@ -7510,7 +7634,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7510
7634
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
7511
7635
|
}, [open, onClose]);
|
|
7512
7636
|
if (!open) return null;
|
|
7513
|
-
return /* @__PURE__ */
|
|
7637
|
+
return /* @__PURE__ */ jsx61(
|
|
7514
7638
|
"div",
|
|
7515
7639
|
{
|
|
7516
7640
|
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
@@ -7518,7 +7642,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7518
7642
|
onClick: (e) => {
|
|
7519
7643
|
if (e.target === e.currentTarget) onClose();
|
|
7520
7644
|
},
|
|
7521
|
-
children: /* @__PURE__ */
|
|
7645
|
+
children: /* @__PURE__ */ jsxs49(
|
|
7522
7646
|
"div",
|
|
7523
7647
|
{
|
|
7524
7648
|
ref: modalRef,
|
|
@@ -7531,14 +7655,14 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7531
7655
|
height: "60vh"
|
|
7532
7656
|
},
|
|
7533
7657
|
children: [
|
|
7534
|
-
/* @__PURE__ */
|
|
7658
|
+
/* @__PURE__ */ jsx61(
|
|
7535
7659
|
"div",
|
|
7536
7660
|
{
|
|
7537
7661
|
className: "shrink-0 w-full relative",
|
|
7538
7662
|
style: {
|
|
7539
7663
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
7540
7664
|
},
|
|
7541
|
-
children: /* @__PURE__ */
|
|
7665
|
+
children: /* @__PURE__ */ jsx61("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs49(
|
|
7542
7666
|
"div",
|
|
7543
7667
|
{
|
|
7544
7668
|
className: "flex items-center w-full",
|
|
@@ -7547,7 +7671,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7547
7671
|
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
7548
7672
|
},
|
|
7549
7673
|
children: [
|
|
7550
|
-
/* @__PURE__ */
|
|
7674
|
+
/* @__PURE__ */ jsx61(
|
|
7551
7675
|
"p",
|
|
7552
7676
|
{
|
|
7553
7677
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
@@ -7561,20 +7685,20 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7561
7685
|
children: title
|
|
7562
7686
|
}
|
|
7563
7687
|
),
|
|
7564
|
-
/* @__PURE__ */
|
|
7688
|
+
/* @__PURE__ */ jsx61("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ jsx61(SiconClose3, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
7565
7689
|
]
|
|
7566
7690
|
}
|
|
7567
7691
|
) })
|
|
7568
7692
|
}
|
|
7569
7693
|
),
|
|
7570
|
-
/* @__PURE__ */
|
|
7694
|
+
/* @__PURE__ */ jsx61(
|
|
7571
7695
|
"div",
|
|
7572
7696
|
{
|
|
7573
7697
|
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
7574
7698
|
style: {
|
|
7575
7699
|
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
7576
7700
|
},
|
|
7577
|
-
children: /* @__PURE__ */
|
|
7701
|
+
children: /* @__PURE__ */ jsxs49(
|
|
7578
7702
|
"div",
|
|
7579
7703
|
{
|
|
7580
7704
|
className: "flex flex-col items-start",
|
|
@@ -7583,7 +7707,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7583
7707
|
gap: "var(--spacing-3xl)"
|
|
7584
7708
|
},
|
|
7585
7709
|
children: [
|
|
7586
|
-
loading && workspaces.length === 0 ? /* @__PURE__ */
|
|
7710
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ jsx61(
|
|
7587
7711
|
"p",
|
|
7588
7712
|
{
|
|
7589
7713
|
style: {
|
|
@@ -7594,7 +7718,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7594
7718
|
children: loadingText
|
|
7595
7719
|
}
|
|
7596
7720
|
) : null,
|
|
7597
|
-
workspaces.map((ws) => /* @__PURE__ */
|
|
7721
|
+
workspaces.map((ws) => /* @__PURE__ */ jsx61(
|
|
7598
7722
|
WorkspaceRow,
|
|
7599
7723
|
{
|
|
7600
7724
|
workspace: ws,
|
|
@@ -7633,23 +7757,23 @@ var ScAppListingCard_default = {
|
|
|
7633
7757
|
|
|
7634
7758
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
7635
7759
|
import { SiconCart } from "@streamoid/icons";
|
|
7636
|
-
import { jsx as
|
|
7760
|
+
import { jsx as jsx62, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7637
7761
|
var ScAppListingCard = ({
|
|
7638
|
-
icon = /* @__PURE__ */
|
|
7762
|
+
icon = /* @__PURE__ */ jsx62(SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
7639
7763
|
title = "Stores",
|
|
7640
7764
|
descrp = "Centralized product and asset management for every storefront",
|
|
7641
7765
|
className,
|
|
7642
7766
|
...props
|
|
7643
7767
|
}) => {
|
|
7644
|
-
return /* @__PURE__ */
|
|
7645
|
-
/* @__PURE__ */
|
|
7646
|
-
/* @__PURE__ */
|
|
7647
|
-
/* @__PURE__ */
|
|
7768
|
+
return /* @__PURE__ */ jsxs50("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
7769
|
+
/* @__PURE__ */ jsxs50("div", { className: ScAppListingCard_default.header, children: [
|
|
7770
|
+
/* @__PURE__ */ jsx62("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
7771
|
+
/* @__PURE__ */ jsxs50("div", { className: ScAppListingCard_default.title, children: [
|
|
7648
7772
|
title,
|
|
7649
7773
|
" "
|
|
7650
7774
|
] })
|
|
7651
7775
|
] }),
|
|
7652
|
-
/* @__PURE__ */
|
|
7776
|
+
/* @__PURE__ */ jsxs50("div", { className: ScAppListingCard_default.description, children: [
|
|
7653
7777
|
descrp,
|
|
7654
7778
|
" "
|
|
7655
7779
|
] })
|
|
@@ -7667,22 +7791,22 @@ var ScAppCard_default = {
|
|
|
7667
7791
|
|
|
7668
7792
|
// src/SC-appCard/ScAppCard.tsx
|
|
7669
7793
|
import { SiconArtifacts as SiconArtifacts2 } from "@streamoid/icons";
|
|
7670
|
-
import { jsx as
|
|
7794
|
+
import { jsx as jsx63, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7671
7795
|
var ScAppCard = ({
|
|
7672
|
-
appIcon = /* @__PURE__ */
|
|
7796
|
+
appIcon = /* @__PURE__ */ jsx63(SiconArtifacts2, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
7673
7797
|
appName = "Artifax",
|
|
7674
7798
|
appDescription = "Info about artifax",
|
|
7675
7799
|
className,
|
|
7676
7800
|
...props
|
|
7677
7801
|
}) => {
|
|
7678
|
-
return /* @__PURE__ */
|
|
7679
|
-
/* @__PURE__ */
|
|
7680
|
-
/* @__PURE__ */
|
|
7681
|
-
/* @__PURE__ */
|
|
7802
|
+
return /* @__PURE__ */ jsxs51("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
7803
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
7804
|
+
/* @__PURE__ */ jsxs51("div", { className: ScAppCard_default.textContainer, children: [
|
|
7805
|
+
/* @__PURE__ */ jsxs51("div", { className: ScAppCard_default.title, children: [
|
|
7682
7806
|
appName,
|
|
7683
7807
|
" "
|
|
7684
7808
|
] }),
|
|
7685
|
-
/* @__PURE__ */
|
|
7809
|
+
/* @__PURE__ */ jsxs51("div", { className: ScAppCard_default.subtitle, children: [
|
|
7686
7810
|
appDescription,
|
|
7687
7811
|
" "
|
|
7688
7812
|
] })
|
|
@@ -7709,9 +7833,9 @@ var ScAppCardV3_default = {
|
|
|
7709
7833
|
|
|
7710
7834
|
// src/SC-AppCardV3/ScAppCardV3.tsx
|
|
7711
7835
|
import { SiconCart as SiconCart2 } from "@streamoid/icons";
|
|
7712
|
-
import { jsx as
|
|
7836
|
+
import { jsx as jsx64, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7713
7837
|
var ScAppCardV3 = ({
|
|
7714
|
-
appIcon = /* @__PURE__ */
|
|
7838
|
+
appIcon = /* @__PURE__ */ jsx64(SiconCart2, { className: ScAppCardV3_default.iconPillIcon }),
|
|
7715
7839
|
appName = "Stores",
|
|
7716
7840
|
description = "Centralized product and asset management for every storefront",
|
|
7717
7841
|
active = false,
|
|
@@ -7723,25 +7847,25 @@ var ScAppCardV3 = ({
|
|
|
7723
7847
|
ScAppCardV3_default.scAppCardV3,
|
|
7724
7848
|
active ? ScAppCardV3_default.scAppCardV3Active : ""
|
|
7725
7849
|
].filter(Boolean).join(" ");
|
|
7726
|
-
return /* @__PURE__ */
|
|
7850
|
+
return /* @__PURE__ */ jsx64(
|
|
7727
7851
|
"div",
|
|
7728
7852
|
{
|
|
7729
7853
|
className: [ScAppCardV3_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
7730
7854
|
style,
|
|
7731
7855
|
...props,
|
|
7732
|
-
children: /* @__PURE__ */
|
|
7733
|
-
/* @__PURE__ */
|
|
7734
|
-
/* @__PURE__ */
|
|
7735
|
-
/* @__PURE__ */
|
|
7736
|
-
/* @__PURE__ */
|
|
7737
|
-
/* @__PURE__ */
|
|
7738
|
-
/* @__PURE__ */
|
|
7739
|
-
/* @__PURE__ */
|
|
7740
|
-
/* @__PURE__ */
|
|
7741
|
-
/* @__PURE__ */
|
|
7856
|
+
children: /* @__PURE__ */ jsxs52("div", { className: cardClass, children: [
|
|
7857
|
+
/* @__PURE__ */ jsx64("div", { className: ScAppCardV3_default.glow }),
|
|
7858
|
+
/* @__PURE__ */ jsx64("div", { className: ScAppCardV3_default.glowHover }),
|
|
7859
|
+
/* @__PURE__ */ jsxs52("div", { className: ScAppCardV3_default.header, children: [
|
|
7860
|
+
/* @__PURE__ */ jsxs52("div", { className: ScAppCardV3_default.iconRow, children: [
|
|
7861
|
+
/* @__PURE__ */ jsx64("p", { className: ScAppCardV3_default.appName, children: appName }),
|
|
7862
|
+
/* @__PURE__ */ jsxs52("div", { className: ScAppCardV3_default.iconPill, children: [
|
|
7863
|
+
/* @__PURE__ */ jsx64("div", { className: ScAppCardV3_default.iconPillBg }),
|
|
7864
|
+
/* @__PURE__ */ jsx64("div", { className: ScAppCardV3_default.iconPillIcon, children: appIcon }),
|
|
7865
|
+
/* @__PURE__ */ jsx64("div", { className: ScAppCardV3_default.iconPillShadow })
|
|
7742
7866
|
] })
|
|
7743
7867
|
] }),
|
|
7744
|
-
/* @__PURE__ */
|
|
7868
|
+
/* @__PURE__ */ jsx64("p", { className: ScAppCardV3_default.description, children: description })
|
|
7745
7869
|
] })
|
|
7746
7870
|
] })
|
|
7747
7871
|
}
|
|
@@ -7760,7 +7884,7 @@ var ScBriefCard_default = {
|
|
|
7760
7884
|
};
|
|
7761
7885
|
|
|
7762
7886
|
// src/SC-BriefCard/ScBriefCard.tsx
|
|
7763
|
-
import { jsx as
|
|
7887
|
+
import { jsx as jsx65, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7764
7888
|
var ScBriefCard = ({
|
|
7765
7889
|
description = "Centralized product and asset management for every storefront",
|
|
7766
7890
|
active = false,
|
|
@@ -7772,16 +7896,16 @@ var ScBriefCard = ({
|
|
|
7772
7896
|
ScBriefCard_default.scBriefCard,
|
|
7773
7897
|
active ? ScBriefCard_default.scBriefCardActive : ""
|
|
7774
7898
|
].filter(Boolean).join(" ");
|
|
7775
|
-
return /* @__PURE__ */
|
|
7899
|
+
return /* @__PURE__ */ jsx65(
|
|
7776
7900
|
"div",
|
|
7777
7901
|
{
|
|
7778
7902
|
className: [ScBriefCard_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
7779
7903
|
style,
|
|
7780
7904
|
...props,
|
|
7781
|
-
children: /* @__PURE__ */
|
|
7782
|
-
/* @__PURE__ */
|
|
7783
|
-
/* @__PURE__ */
|
|
7784
|
-
/* @__PURE__ */
|
|
7905
|
+
children: /* @__PURE__ */ jsxs53("div", { className: cardClass, children: [
|
|
7906
|
+
/* @__PURE__ */ jsx65("div", { className: ScBriefCard_default.glow }),
|
|
7907
|
+
/* @__PURE__ */ jsx65("div", { className: ScBriefCard_default.glowHover }),
|
|
7908
|
+
/* @__PURE__ */ jsx65("div", { className: ScBriefCard_default.body, children: /* @__PURE__ */ jsx65("p", { className: ScBriefCard_default.description, children: description }) })
|
|
7785
7909
|
] })
|
|
7786
7910
|
}
|
|
7787
7911
|
);
|
|
@@ -7818,7 +7942,7 @@ var ScToggleSwitch_default = {
|
|
|
7818
7942
|
};
|
|
7819
7943
|
|
|
7820
7944
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
7821
|
-
import { jsx as
|
|
7945
|
+
import { jsx as jsx66, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7822
7946
|
var ScToggleSwitch = ({
|
|
7823
7947
|
active = "false",
|
|
7824
7948
|
checked,
|
|
@@ -7829,7 +7953,7 @@ var ScToggleSwitch = ({
|
|
|
7829
7953
|
}) => {
|
|
7830
7954
|
const isActive = checked !== void 0 ? checked : active === "true";
|
|
7831
7955
|
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
7832
|
-
return /* @__PURE__ */
|
|
7956
|
+
return /* @__PURE__ */ jsx66(
|
|
7833
7957
|
"div",
|
|
7834
7958
|
{
|
|
7835
7959
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
@@ -7844,20 +7968,20 @@ var ScToggleSwitch = ({
|
|
|
7844
7968
|
...disabled ? { opacity: 0.5 } : {},
|
|
7845
7969
|
...props.style
|
|
7846
7970
|
},
|
|
7847
|
-
children: isActive ? /* @__PURE__ */
|
|
7848
|
-
/* @__PURE__ */
|
|
7849
|
-
/* @__PURE__ */
|
|
7850
|
-
] }) : /* @__PURE__ */
|
|
7851
|
-
/* @__PURE__ */
|
|
7852
|
-
/* @__PURE__ */
|
|
7853
|
-
/* @__PURE__ */
|
|
7971
|
+
children: isActive ? /* @__PURE__ */ jsxs54("svg", { width: "40", height: "24", viewBox: "0 0 40 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
7972
|
+
/* @__PURE__ */ jsx66("rect", { width: "40", height: "24", rx: "12", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
7973
|
+
/* @__PURE__ */ jsx66("circle", { cx: "28", cy: "12", r: "10", fill: "var(--alias-text---icons-inverse, #101010)" })
|
|
7974
|
+
] }) : /* @__PURE__ */ jsxs54("svg", { width: "41", height: "25", viewBox: "0 0 41 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
7975
|
+
/* @__PURE__ */ jsx66("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)" }),
|
|
7976
|
+
/* @__PURE__ */ jsx66("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)" }),
|
|
7977
|
+
/* @__PURE__ */ jsx66("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)" })
|
|
7854
7978
|
] })
|
|
7855
7979
|
}
|
|
7856
7980
|
);
|
|
7857
7981
|
};
|
|
7858
7982
|
|
|
7859
7983
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
7860
|
-
import { jsx as
|
|
7984
|
+
import { jsx as jsx67, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7861
7985
|
var ScArtifaxInvite = ({
|
|
7862
7986
|
active = "true",
|
|
7863
7987
|
appName = "Artifax",
|
|
@@ -7870,22 +7994,22 @@ var ScArtifaxInvite = ({
|
|
|
7870
7994
|
}) => {
|
|
7871
7995
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
7872
7996
|
const variantsClassName = ScArtifaxInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
7873
|
-
return /* @__PURE__ */
|
|
7997
|
+
return /* @__PURE__ */ jsxs55(
|
|
7874
7998
|
"div",
|
|
7875
7999
|
{
|
|
7876
8000
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
7877
8001
|
...props,
|
|
7878
8002
|
children: [
|
|
7879
|
-
/* @__PURE__ */
|
|
8003
|
+
/* @__PURE__ */ jsx67(
|
|
7880
8004
|
ScAppCard,
|
|
7881
8005
|
{
|
|
7882
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
8006
|
+
appIcon: appIcon || /* @__PURE__ */ jsx67(SiconArtifacts3, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
7883
8007
|
appName,
|
|
7884
8008
|
appDescription,
|
|
7885
8009
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
7886
8010
|
}
|
|
7887
8011
|
),
|
|
7888
|
-
/* @__PURE__ */
|
|
8012
|
+
/* @__PURE__ */ jsx67(
|
|
7889
8013
|
ScToggleSwitch,
|
|
7890
8014
|
{
|
|
7891
8015
|
checked: isEnabled,
|
|
@@ -7911,12 +8035,12 @@ var ScPhtogenixInvite_default = {
|
|
|
7911
8035
|
|
|
7912
8036
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
7913
8037
|
import { SiconArtifacts as SiconArtifacts4 } from "@streamoid/icons";
|
|
7914
|
-
import { jsx as
|
|
8038
|
+
import { jsx as jsx68, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7915
8039
|
var ScPhtogenixInvite = ({
|
|
7916
8040
|
active = "true",
|
|
7917
8041
|
scAppCardappDescription = "Info about photogenix",
|
|
7918
8042
|
scAppCardappName = "Photogenix",
|
|
7919
|
-
scAppCardappIcon = /* @__PURE__ */
|
|
8043
|
+
scAppCardappIcon = /* @__PURE__ */ jsx68(SiconArtifacts4, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
7920
8044
|
className,
|
|
7921
8045
|
enabled,
|
|
7922
8046
|
onToggle,
|
|
@@ -7924,12 +8048,12 @@ var ScPhtogenixInvite = ({
|
|
|
7924
8048
|
}) => {
|
|
7925
8049
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
7926
8050
|
const variantsClassName = ScPhtogenixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
7927
|
-
return /* @__PURE__ */
|
|
8051
|
+
return /* @__PURE__ */ jsxs56(
|
|
7928
8052
|
"div",
|
|
7929
8053
|
{
|
|
7930
8054
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
7931
8055
|
children: [
|
|
7932
|
-
/* @__PURE__ */
|
|
8056
|
+
/* @__PURE__ */ jsx68(
|
|
7933
8057
|
ScAppCard,
|
|
7934
8058
|
{
|
|
7935
8059
|
appIcon: scAppCardappIcon,
|
|
@@ -7938,7 +8062,7 @@ var ScPhtogenixInvite = ({
|
|
|
7938
8062
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
7939
8063
|
}
|
|
7940
8064
|
),
|
|
7941
|
-
/* @__PURE__ */
|
|
8065
|
+
/* @__PURE__ */ jsx68(
|
|
7942
8066
|
ScToggleSwitch,
|
|
7943
8067
|
{
|
|
7944
8068
|
checked: isEnabled,
|
|
@@ -7988,10 +8112,10 @@ var ScOnlyField_default = {
|
|
|
7988
8112
|
|
|
7989
8113
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
7990
8114
|
import { SiconBolt as SiconBolt4 } from "@streamoid/icons";
|
|
7991
|
-
import { jsx as
|
|
8115
|
+
import { jsx as jsx69, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7992
8116
|
var ScOnlyField = ({
|
|
7993
|
-
tfRightIcon = /* @__PURE__ */
|
|
7994
|
-
tfLeftIcon = /* @__PURE__ */
|
|
8117
|
+
tfRightIcon = /* @__PURE__ */ jsx69(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
8118
|
+
tfLeftIcon = /* @__PURE__ */ jsx69(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
7995
8119
|
state = "default",
|
|
7996
8120
|
tfGroup = "icon-right",
|
|
7997
8121
|
labelGroup = "none",
|
|
@@ -8004,14 +8128,14 @@ var ScOnlyField = ({
|
|
|
8004
8128
|
...props
|
|
8005
8129
|
}) => {
|
|
8006
8130
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup] + (size !== "default" ? " " + ScOnlyField_default["size-" + size] : "");
|
|
8007
|
-
return /* @__PURE__ */
|
|
8131
|
+
return /* @__PURE__ */ jsx69(
|
|
8008
8132
|
"div",
|
|
8009
8133
|
{
|
|
8010
8134
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
8011
8135
|
...props,
|
|
8012
|
-
children: /* @__PURE__ */
|
|
8013
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
8014
|
-
/* @__PURE__ */
|
|
8136
|
+
children: /* @__PURE__ */ jsxs57("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
8137
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx69("div", { className: ScOnlyField_default.iconWrapper, children: tfLeftIcon }),
|
|
8138
|
+
/* @__PURE__ */ jsx69(
|
|
8015
8139
|
"input",
|
|
8016
8140
|
{
|
|
8017
8141
|
className: ScOnlyField_default.inputText,
|
|
@@ -8031,7 +8155,7 @@ var ScOnlyField = ({
|
|
|
8031
8155
|
...inputProps
|
|
8032
8156
|
}
|
|
8033
8157
|
),
|
|
8034
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
8158
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx69("div", { className: ScOnlyField_default.iconWrapper, children: tfRightIcon })
|
|
8035
8159
|
] })
|
|
8036
8160
|
}
|
|
8037
8161
|
);
|
|
@@ -8039,7 +8163,7 @@ var ScOnlyField = ({
|
|
|
8039
8163
|
|
|
8040
8164
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
8041
8165
|
import { SiconHome as SiconHome9 } from "@streamoid/icons";
|
|
8042
|
-
import { Fragment as Fragment19, jsx as
|
|
8166
|
+
import { Fragment as Fragment19, jsx as jsx70, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
8043
8167
|
var ScCatalogixInvite = ({
|
|
8044
8168
|
active = "false",
|
|
8045
8169
|
appName = "Catalogix",
|
|
@@ -8061,23 +8185,23 @@ var ScCatalogixInvite = ({
|
|
|
8061
8185
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
8062
8186
|
const variantsClassName = ScCatalogixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
8063
8187
|
const displayCount = selectedStores ? `${selectedStores.length} Selected` : selectedCount;
|
|
8064
|
-
return /* @__PURE__ */
|
|
8188
|
+
return /* @__PURE__ */ jsxs58(
|
|
8065
8189
|
"div",
|
|
8066
8190
|
{
|
|
8067
8191
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
8068
8192
|
...props,
|
|
8069
8193
|
children: [
|
|
8070
|
-
/* @__PURE__ */
|
|
8071
|
-
/* @__PURE__ */
|
|
8194
|
+
/* @__PURE__ */ jsxs58("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
8195
|
+
/* @__PURE__ */ jsx70(
|
|
8072
8196
|
ScAppCard,
|
|
8073
8197
|
{
|
|
8074
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
8198
|
+
appIcon: appIcon || /* @__PURE__ */ jsx70(SiconArtifacts5, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
8075
8199
|
appDescription,
|
|
8076
8200
|
appName,
|
|
8077
8201
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
8078
8202
|
}
|
|
8079
8203
|
),
|
|
8080
|
-
/* @__PURE__ */
|
|
8204
|
+
/* @__PURE__ */ jsx70(
|
|
8081
8205
|
ScToggleSwitch,
|
|
8082
8206
|
{
|
|
8083
8207
|
checked: isEnabled,
|
|
@@ -8086,29 +8210,29 @@ var ScCatalogixInvite = ({
|
|
|
8086
8210
|
}
|
|
8087
8211
|
)
|
|
8088
8212
|
] }),
|
|
8089
|
-
isEnabled && /* @__PURE__ */
|
|
8090
|
-
/* @__PURE__ */
|
|
8091
|
-
/* @__PURE__ */
|
|
8213
|
+
isEnabled && /* @__PURE__ */ jsx70(Fragment19, { children: /* @__PURE__ */ jsxs58("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
8214
|
+
/* @__PURE__ */ jsxs58("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
8215
|
+
/* @__PURE__ */ jsxs58("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
8092
8216
|
storeAccessTitle,
|
|
8093
8217
|
" "
|
|
8094
8218
|
] }),
|
|
8095
|
-
/* @__PURE__ */
|
|
8219
|
+
/* @__PURE__ */ jsxs58("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
8096
8220
|
displayCount,
|
|
8097
8221
|
" "
|
|
8098
8222
|
] })
|
|
8099
8223
|
] }),
|
|
8100
|
-
/* @__PURE__ */
|
|
8224
|
+
/* @__PURE__ */ jsx70(
|
|
8101
8225
|
ScOnlyField,
|
|
8102
8226
|
{
|
|
8103
|
-
tfLeftIcon: /* @__PURE__ */
|
|
8104
|
-
tfRightIcon: /* @__PURE__ */
|
|
8227
|
+
tfLeftIcon: /* @__PURE__ */ jsx70(SiconSearch2, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
8228
|
+
tfRightIcon: /* @__PURE__ */ jsx70(SiconSearch2, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
8105
8229
|
placeholderFilled: searchPlaceholder,
|
|
8106
8230
|
value: searchValue,
|
|
8107
8231
|
onInputChange: onSearchChange,
|
|
8108
8232
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
8109
8233
|
}
|
|
8110
8234
|
),
|
|
8111
|
-
/* @__PURE__ */
|
|
8235
|
+
/* @__PURE__ */ jsx70("div", { className: ScCatalogixInvite_default.storeListContainer, children: stores ? stores.length > 0 ? stores.map((store) => /* @__PURE__ */ jsx70(
|
|
8112
8236
|
ScPairtext,
|
|
8113
8237
|
{
|
|
8114
8238
|
content: store.name,
|
|
@@ -8119,53 +8243,53 @@ var ScCatalogixInvite = ({
|
|
|
8119
8243
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
8120
8244
|
},
|
|
8121
8245
|
store.id
|
|
8122
|
-
)) : /* @__PURE__ */
|
|
8246
|
+
)) : /* @__PURE__ */ jsx70("div", { style: {
|
|
8123
8247
|
padding: "var(--spacing-3xl, 16px)",
|
|
8124
8248
|
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
8125
8249
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
8126
8250
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
8127
8251
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
8128
|
-
}, children: "No stores found" }) : /* @__PURE__ */
|
|
8129
|
-
/* @__PURE__ */
|
|
8252
|
+
}, children: "No stores found" }) : /* @__PURE__ */ jsxs58(Fragment19, { children: [
|
|
8253
|
+
/* @__PURE__ */ jsx70(
|
|
8130
8254
|
ScPairtext,
|
|
8131
8255
|
{
|
|
8132
|
-
icon: /* @__PURE__ */
|
|
8256
|
+
icon: /* @__PURE__ */ jsx70(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
8133
8257
|
iconPosition: "right",
|
|
8134
8258
|
type: "checkbox",
|
|
8135
8259
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
8136
8260
|
}
|
|
8137
8261
|
),
|
|
8138
|
-
/* @__PURE__ */
|
|
8262
|
+
/* @__PURE__ */ jsx70(
|
|
8139
8263
|
ScPairtext,
|
|
8140
8264
|
{
|
|
8141
|
-
icon: /* @__PURE__ */
|
|
8265
|
+
icon: /* @__PURE__ */ jsx70(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
8142
8266
|
iconPosition: "right",
|
|
8143
8267
|
type: "checkbox",
|
|
8144
8268
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
8145
8269
|
}
|
|
8146
8270
|
),
|
|
8147
|
-
/* @__PURE__ */
|
|
8271
|
+
/* @__PURE__ */ jsx70(
|
|
8148
8272
|
ScPairtext,
|
|
8149
8273
|
{
|
|
8150
|
-
icon: /* @__PURE__ */
|
|
8274
|
+
icon: /* @__PURE__ */ jsx70(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
8151
8275
|
iconPosition: "right",
|
|
8152
8276
|
type: "checkbox",
|
|
8153
8277
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
8154
8278
|
}
|
|
8155
8279
|
),
|
|
8156
|
-
/* @__PURE__ */
|
|
8280
|
+
/* @__PURE__ */ jsx70(
|
|
8157
8281
|
ScPairtext,
|
|
8158
8282
|
{
|
|
8159
|
-
icon: /* @__PURE__ */
|
|
8283
|
+
icon: /* @__PURE__ */ jsx70(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
8160
8284
|
iconPosition: "right",
|
|
8161
8285
|
type: "checkbox",
|
|
8162
8286
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
8163
8287
|
}
|
|
8164
8288
|
),
|
|
8165
|
-
/* @__PURE__ */
|
|
8289
|
+
/* @__PURE__ */ jsx70(
|
|
8166
8290
|
ScPairtext,
|
|
8167
8291
|
{
|
|
8168
|
-
icon: /* @__PURE__ */
|
|
8292
|
+
icon: /* @__PURE__ */ jsx70(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
8169
8293
|
iconPosition: "right",
|
|
8170
8294
|
type: "checkbox",
|
|
8171
8295
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -8179,7 +8303,7 @@ var ScCatalogixInvite = ({
|
|
|
8179
8303
|
};
|
|
8180
8304
|
|
|
8181
8305
|
// src/SC-appField/ScAppField.tsx
|
|
8182
|
-
import { jsx as
|
|
8306
|
+
import { jsx as jsx71, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
8183
8307
|
var ScAppField = ({
|
|
8184
8308
|
appFieldTitle = "App permission",
|
|
8185
8309
|
className,
|
|
@@ -8196,13 +8320,13 @@ var ScAppField = ({
|
|
|
8196
8320
|
onCatalogixSearchChange,
|
|
8197
8321
|
...props
|
|
8198
8322
|
}) => {
|
|
8199
|
-
return /* @__PURE__ */
|
|
8200
|
-
/* @__PURE__ */
|
|
8323
|
+
return /* @__PURE__ */ jsxs59("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
8324
|
+
/* @__PURE__ */ jsx71("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ jsxs59("div", { className: ScAppField_default.title, children: [
|
|
8201
8325
|
appFieldTitle,
|
|
8202
8326
|
" "
|
|
8203
8327
|
] }) }),
|
|
8204
|
-
/* @__PURE__ */
|
|
8205
|
-
/* @__PURE__ */
|
|
8328
|
+
/* @__PURE__ */ jsxs59("div", { className: ScAppField_default.inputContainer, children: [
|
|
8329
|
+
/* @__PURE__ */ jsx71(
|
|
8206
8330
|
ScArtifaxInvite,
|
|
8207
8331
|
{
|
|
8208
8332
|
enabled: artifaxEnabled,
|
|
@@ -8210,18 +8334,18 @@ var ScAppField = ({
|
|
|
8210
8334
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
8211
8335
|
}
|
|
8212
8336
|
),
|
|
8213
|
-
/* @__PURE__ */
|
|
8337
|
+
/* @__PURE__ */ jsx71(
|
|
8214
8338
|
ScPhtogenixInvite,
|
|
8215
8339
|
{
|
|
8216
8340
|
enabled: photogenixEnabled,
|
|
8217
8341
|
onToggle: onPhotogenixToggle,
|
|
8218
8342
|
scAppCardappDescription: "Info about photogenix",
|
|
8219
8343
|
scAppCardappName: "Photogenix",
|
|
8220
|
-
scAppCardappIcon: /* @__PURE__ */
|
|
8344
|
+
scAppCardappIcon: /* @__PURE__ */ jsx71(SiconPhotogenix2, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
8221
8345
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
8222
8346
|
}
|
|
8223
8347
|
),
|
|
8224
|
-
/* @__PURE__ */
|
|
8348
|
+
/* @__PURE__ */ jsx71(
|
|
8225
8349
|
ScCatalogixInvite,
|
|
8226
8350
|
{
|
|
8227
8351
|
enabled: catalogixEnabled,
|
|
@@ -8248,13 +8372,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
8248
8372
|
};
|
|
8249
8373
|
|
|
8250
8374
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
8251
|
-
import { jsx as
|
|
8375
|
+
import { jsx as jsx72, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
8252
8376
|
var ScBillingHistoryHeader = ({
|
|
8253
8377
|
className,
|
|
8254
8378
|
...props
|
|
8255
8379
|
}) => {
|
|
8256
|
-
return /* @__PURE__ */
|
|
8257
|
-
/* @__PURE__ */
|
|
8380
|
+
return /* @__PURE__ */ jsxs60("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
8381
|
+
/* @__PURE__ */ jsx72(
|
|
8258
8382
|
ScHeader,
|
|
8259
8383
|
{
|
|
8260
8384
|
text: "Invoice",
|
|
@@ -8262,7 +8386,7 @@ var ScBillingHistoryHeader = ({
|
|
|
8262
8386
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
8263
8387
|
}
|
|
8264
8388
|
),
|
|
8265
|
-
/* @__PURE__ */
|
|
8389
|
+
/* @__PURE__ */ jsx72(
|
|
8266
8390
|
ScHeader,
|
|
8267
8391
|
{
|
|
8268
8392
|
text: "Amount",
|
|
@@ -8270,7 +8394,7 @@ var ScBillingHistoryHeader = ({
|
|
|
8270
8394
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
8271
8395
|
}
|
|
8272
8396
|
),
|
|
8273
|
-
/* @__PURE__ */
|
|
8397
|
+
/* @__PURE__ */ jsx72(
|
|
8274
8398
|
ScHeader,
|
|
8275
8399
|
{
|
|
8276
8400
|
text: "Date",
|
|
@@ -8278,7 +8402,7 @@ var ScBillingHistoryHeader = ({
|
|
|
8278
8402
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
8279
8403
|
}
|
|
8280
8404
|
),
|
|
8281
|
-
/* @__PURE__ */
|
|
8405
|
+
/* @__PURE__ */ jsx72(
|
|
8282
8406
|
ScHeader,
|
|
8283
8407
|
{
|
|
8284
8408
|
text: "Action",
|
|
@@ -8300,19 +8424,19 @@ var ScCheckField_default = {
|
|
|
8300
8424
|
|
|
8301
8425
|
// src/SC-checkField/ScCheckField.tsx
|
|
8302
8426
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
8303
|
-
import { Fragment as Fragment20, jsx as
|
|
8427
|
+
import { Fragment as Fragment20, jsx as jsx73, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
8304
8428
|
var ScCheckField = ({
|
|
8305
8429
|
label = "Label",
|
|
8306
8430
|
className,
|
|
8307
8431
|
checkboxes,
|
|
8308
8432
|
...props
|
|
8309
8433
|
}) => {
|
|
8310
|
-
return /* @__PURE__ */
|
|
8311
|
-
/* @__PURE__ */
|
|
8434
|
+
return /* @__PURE__ */ jsxs61("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
8435
|
+
/* @__PURE__ */ jsx73("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ jsxs61("div", { className: ScCheckField_default.label, children: [
|
|
8312
8436
|
label,
|
|
8313
8437
|
" "
|
|
8314
8438
|
] }) }),
|
|
8315
|
-
/* @__PURE__ */
|
|
8439
|
+
/* @__PURE__ */ jsx73("div", { className: ScCheckField_default.tabSwitcher, children: checkboxes ? checkboxes.map((item, i) => /* @__PURE__ */ jsx73(
|
|
8316
8440
|
ScPairtext,
|
|
8317
8441
|
{
|
|
8318
8442
|
content: item.label,
|
|
@@ -8322,19 +8446,19 @@ var ScCheckField = ({
|
|
|
8322
8446
|
className: ScCheckField_default.scPairtextInstance
|
|
8323
8447
|
},
|
|
8324
8448
|
i
|
|
8325
|
-
)) : /* @__PURE__ */
|
|
8326
|
-
/* @__PURE__ */
|
|
8449
|
+
)) : /* @__PURE__ */ jsxs61(Fragment20, { children: [
|
|
8450
|
+
/* @__PURE__ */ jsx73(
|
|
8327
8451
|
ScPairtext,
|
|
8328
8452
|
{
|
|
8329
|
-
icon: /* @__PURE__ */
|
|
8453
|
+
icon: /* @__PURE__ */ jsx73(SiconHome10, { className: ScCheckField_default.siconHomeInstance }),
|
|
8330
8454
|
type: "checkbox",
|
|
8331
8455
|
className: ScCheckField_default.scPairtextInstance
|
|
8332
8456
|
}
|
|
8333
8457
|
),
|
|
8334
|
-
/* @__PURE__ */
|
|
8458
|
+
/* @__PURE__ */ jsx73(
|
|
8335
8459
|
ScPairtext,
|
|
8336
8460
|
{
|
|
8337
|
-
icon: /* @__PURE__ */
|
|
8461
|
+
icon: /* @__PURE__ */ jsx73(SiconHome10, { className: ScCheckField_default.siconHomeInstance }),
|
|
8338
8462
|
type: "checkbox",
|
|
8339
8463
|
className: ScCheckField_default.scPairtextInstance
|
|
8340
8464
|
}
|
|
@@ -8355,9 +8479,9 @@ var ScFieldButton_default = {
|
|
|
8355
8479
|
|
|
8356
8480
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
8357
8481
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
8358
|
-
import { Fragment as Fragment21, jsx as
|
|
8482
|
+
import { Fragment as Fragment21, jsx as jsx74, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
8359
8483
|
var ScFieldButton = ({
|
|
8360
|
-
icon = /* @__PURE__ */
|
|
8484
|
+
icon = /* @__PURE__ */ jsx74(SiconHome11, { className: ScFieldButton_default.siconHomeInstance }),
|
|
8361
8485
|
type = "default",
|
|
8362
8486
|
state = "default",
|
|
8363
8487
|
className,
|
|
@@ -8365,18 +8489,18 @@ var ScFieldButton = ({
|
|
|
8365
8489
|
...props
|
|
8366
8490
|
}) => {
|
|
8367
8491
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
8368
|
-
return /* @__PURE__ */
|
|
8492
|
+
return /* @__PURE__ */ jsx74(
|
|
8369
8493
|
"div",
|
|
8370
8494
|
{
|
|
8371
8495
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
8372
8496
|
...props,
|
|
8373
|
-
children: /* @__PURE__ */
|
|
8374
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */
|
|
8375
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */
|
|
8497
|
+
children: /* @__PURE__ */ jsxs62("div", { className: ScFieldButton_default.container, children: [
|
|
8498
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx74(Fragment21, { children: icon }),
|
|
8499
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx74(Fragment21, { children: /* @__PURE__ */ jsxs62("div", { className: ScFieldButton_default.label, children: [
|
|
8376
8500
|
text,
|
|
8377
8501
|
" "
|
|
8378
8502
|
] }) }),
|
|
8379
|
-
type === "icon-left" && /* @__PURE__ */
|
|
8503
|
+
type === "icon-left" && /* @__PURE__ */ jsx74(Fragment21, { children: icon })
|
|
8380
8504
|
] })
|
|
8381
8505
|
}
|
|
8382
8506
|
);
|
|
@@ -8391,16 +8515,16 @@ var ScPendingAction_default = {
|
|
|
8391
8515
|
|
|
8392
8516
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
8393
8517
|
import { SiconHome as SiconHome12 } from "@streamoid/icons";
|
|
8394
|
-
import { jsx as
|
|
8518
|
+
import { jsx as jsx75, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
8395
8519
|
var ScPendingAction = ({
|
|
8396
8520
|
className,
|
|
8397
8521
|
...props
|
|
8398
8522
|
}) => {
|
|
8399
|
-
return /* @__PURE__ */
|
|
8400
|
-
/* @__PURE__ */
|
|
8523
|
+
return /* @__PURE__ */ jsxs63("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
8524
|
+
/* @__PURE__ */ jsx75(
|
|
8401
8525
|
ScButton,
|
|
8402
8526
|
{
|
|
8403
|
-
icon: /* @__PURE__ */
|
|
8527
|
+
icon: /* @__PURE__ */ jsx75(SiconHome12, { className: ScPendingAction_default.siconHomeInstance }),
|
|
8404
8528
|
text: "Cancel",
|
|
8405
8529
|
variant: "error",
|
|
8406
8530
|
type: "tertiary",
|
|
@@ -8408,11 +8532,11 @@ var ScPendingAction = ({
|
|
|
8408
8532
|
className: ScPendingAction_default.scButtonInstance
|
|
8409
8533
|
}
|
|
8410
8534
|
),
|
|
8411
|
-
/* @__PURE__ */
|
|
8412
|
-
/* @__PURE__ */
|
|
8535
|
+
/* @__PURE__ */ jsx75(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
8536
|
+
/* @__PURE__ */ jsx75(
|
|
8413
8537
|
ScButton,
|
|
8414
8538
|
{
|
|
8415
|
-
icon: /* @__PURE__ */
|
|
8539
|
+
icon: /* @__PURE__ */ jsx75(SiconHome12, { className: ScPendingAction_default.siconHomeInstance }),
|
|
8416
8540
|
text: "Resend",
|
|
8417
8541
|
variant: "tertiary",
|
|
8418
8542
|
size: "sm",
|
|
@@ -8436,7 +8560,7 @@ var ScQuickPrompt_default = {
|
|
|
8436
8560
|
|
|
8437
8561
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
8438
8562
|
import { SiconBolt as SiconBolt5 } from "@streamoid/icons";
|
|
8439
|
-
import { jsx as
|
|
8563
|
+
import { jsx as jsx76, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
8440
8564
|
var ScQuickPrompt = ({
|
|
8441
8565
|
appName = "Photogenix",
|
|
8442
8566
|
heading = "Swap Model and Background",
|
|
@@ -8444,20 +8568,20 @@ var ScQuickPrompt = ({
|
|
|
8444
8568
|
className,
|
|
8445
8569
|
...props
|
|
8446
8570
|
}) => {
|
|
8447
|
-
return /* @__PURE__ */
|
|
8448
|
-
/* @__PURE__ */
|
|
8449
|
-
/* @__PURE__ */
|
|
8450
|
-
/* @__PURE__ */
|
|
8571
|
+
return /* @__PURE__ */ jsxs64("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
8572
|
+
/* @__PURE__ */ jsxs64("div", { className: ScQuickPrompt_default.header, children: [
|
|
8573
|
+
/* @__PURE__ */ jsx76("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ jsx76(SiconBolt5, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
8574
|
+
/* @__PURE__ */ jsx76("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ jsxs64("div", { className: ScQuickPrompt_default.title, children: [
|
|
8451
8575
|
appName,
|
|
8452
8576
|
" "
|
|
8453
8577
|
] }) })
|
|
8454
8578
|
] }),
|
|
8455
|
-
/* @__PURE__ */
|
|
8456
|
-
/* @__PURE__ */
|
|
8579
|
+
/* @__PURE__ */ jsxs64("div", { className: ScQuickPrompt_default.body, children: [
|
|
8580
|
+
/* @__PURE__ */ jsxs64("div", { className: ScQuickPrompt_default.heading, children: [
|
|
8457
8581
|
heading,
|
|
8458
8582
|
" "
|
|
8459
8583
|
] }),
|
|
8460
|
-
/* @__PURE__ */
|
|
8584
|
+
/* @__PURE__ */ jsxs64("div", { className: ScQuickPrompt_default.description, children: [
|
|
8461
8585
|
description,
|
|
8462
8586
|
" "
|
|
8463
8587
|
] })
|
|
@@ -8474,13 +8598,13 @@ var ScReferralTableHeader_default = {
|
|
|
8474
8598
|
};
|
|
8475
8599
|
|
|
8476
8600
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
8477
|
-
import { jsx as
|
|
8601
|
+
import { jsx as jsx77, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
8478
8602
|
var ScReferralTableHeader = ({
|
|
8479
8603
|
className,
|
|
8480
8604
|
...props
|
|
8481
8605
|
}) => {
|
|
8482
|
-
return /* @__PURE__ */
|
|
8483
|
-
/* @__PURE__ */
|
|
8606
|
+
return /* @__PURE__ */ jsxs65("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
8607
|
+
/* @__PURE__ */ jsx77(
|
|
8484
8608
|
ScHeader,
|
|
8485
8609
|
{
|
|
8486
8610
|
text: "User",
|
|
@@ -8488,7 +8612,7 @@ var ScReferralTableHeader = ({
|
|
|
8488
8612
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
8489
8613
|
}
|
|
8490
8614
|
),
|
|
8491
|
-
/* @__PURE__ */
|
|
8615
|
+
/* @__PURE__ */ jsx77(
|
|
8492
8616
|
ScHeader,
|
|
8493
8617
|
{
|
|
8494
8618
|
text: "Date",
|
|
@@ -8496,7 +8620,7 @@ var ScReferralTableHeader = ({
|
|
|
8496
8620
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
8497
8621
|
}
|
|
8498
8622
|
),
|
|
8499
|
-
/* @__PURE__ */
|
|
8623
|
+
/* @__PURE__ */ jsx77(
|
|
8500
8624
|
ScHeader,
|
|
8501
8625
|
{
|
|
8502
8626
|
text: "Status",
|
|
@@ -8504,7 +8628,7 @@ var ScReferralTableHeader = ({
|
|
|
8504
8628
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
8505
8629
|
}
|
|
8506
8630
|
),
|
|
8507
|
-
/* @__PURE__ */
|
|
8631
|
+
/* @__PURE__ */ jsx77(
|
|
8508
8632
|
ScHeader,
|
|
8509
8633
|
{
|
|
8510
8634
|
text: "Reward",
|
|
@@ -8525,7 +8649,7 @@ var ScReferralTableList_default = {
|
|
|
8525
8649
|
};
|
|
8526
8650
|
|
|
8527
8651
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
8528
|
-
import { jsx as
|
|
8652
|
+
import { jsx as jsx78, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
8529
8653
|
var ScReferralTableList = ({
|
|
8530
8654
|
userEmail = "chris@kepler.com",
|
|
8531
8655
|
userName,
|
|
@@ -8535,8 +8659,8 @@ var ScReferralTableList = ({
|
|
|
8535
8659
|
className,
|
|
8536
8660
|
...props
|
|
8537
8661
|
}) => {
|
|
8538
|
-
return /* @__PURE__ */
|
|
8539
|
-
/* @__PURE__ */
|
|
8662
|
+
return /* @__PURE__ */ jsxs66("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
8663
|
+
/* @__PURE__ */ jsx78(
|
|
8540
8664
|
ScProfile,
|
|
8541
8665
|
{
|
|
8542
8666
|
subText: userEmail,
|
|
@@ -8544,12 +8668,12 @@ var ScReferralTableList = ({
|
|
|
8544
8668
|
className: ScReferralTableList_default.scProfileInstance
|
|
8545
8669
|
}
|
|
8546
8670
|
),
|
|
8547
|
-
/* @__PURE__ */
|
|
8671
|
+
/* @__PURE__ */ jsxs66("div", { className: ScReferralTableList_default.date, children: [
|
|
8548
8672
|
date,
|
|
8549
8673
|
" "
|
|
8550
8674
|
] }),
|
|
8551
|
-
/* @__PURE__ */
|
|
8552
|
-
/* @__PURE__ */
|
|
8675
|
+
/* @__PURE__ */ jsx78(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
8676
|
+
/* @__PURE__ */ jsxs66("div", { className: ScReferralTableList_default.points, children: [
|
|
8553
8677
|
points,
|
|
8554
8678
|
" "
|
|
8555
8679
|
] })
|
|
@@ -8565,33 +8689,33 @@ var ScSettingsNav_default = {
|
|
|
8565
8689
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
8566
8690
|
import { SiconTeam as SiconTeam6 } from "@streamoid/icons";
|
|
8567
8691
|
import { SiconWorkspace as SiconWorkspace2, SiconReferral } from "@streamoid/icons";
|
|
8568
|
-
import { jsx as
|
|
8692
|
+
import { jsx as jsx79, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
8569
8693
|
var ScSettingsNav = ({
|
|
8570
8694
|
className,
|
|
8571
8695
|
...props
|
|
8572
8696
|
}) => {
|
|
8573
|
-
return /* @__PURE__ */
|
|
8574
|
-
/* @__PURE__ */
|
|
8697
|
+
return /* @__PURE__ */ jsx79("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ jsxs67("div", { className: ScSettingsNav_default.container, children: [
|
|
8698
|
+
/* @__PURE__ */ jsx79(
|
|
8575
8699
|
ScSidebarMenu,
|
|
8576
8700
|
{
|
|
8577
|
-
icon: /* @__PURE__ */
|
|
8701
|
+
icon: /* @__PURE__ */ jsx79(SiconTeam6, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
8578
8702
|
text: "Profile",
|
|
8579
8703
|
state: "active",
|
|
8580
8704
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
8581
8705
|
}
|
|
8582
8706
|
),
|
|
8583
|
-
/* @__PURE__ */
|
|
8707
|
+
/* @__PURE__ */ jsx79(
|
|
8584
8708
|
ScSidebarMenu,
|
|
8585
8709
|
{
|
|
8586
|
-
icon: /* @__PURE__ */
|
|
8710
|
+
icon: /* @__PURE__ */ jsx79(SiconWorkspace2, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
8587
8711
|
text: "Workspace",
|
|
8588
8712
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
8589
8713
|
}
|
|
8590
8714
|
),
|
|
8591
|
-
/* @__PURE__ */
|
|
8715
|
+
/* @__PURE__ */ jsx79(
|
|
8592
8716
|
ScSidebarMenu,
|
|
8593
8717
|
{
|
|
8594
|
-
icon: /* @__PURE__ */
|
|
8718
|
+
icon: /* @__PURE__ */ jsx79(SiconReferral, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
8595
8719
|
text: "Referral",
|
|
8596
8720
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
8597
8721
|
}
|
|
@@ -8607,7 +8731,7 @@ var ScTabField_default = {
|
|
|
8607
8731
|
};
|
|
8608
8732
|
|
|
8609
8733
|
// src/SC-tabField/ScTabField.tsx
|
|
8610
|
-
import { jsx as
|
|
8734
|
+
import { jsx as jsx80, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
8611
8735
|
var ScTabField = ({
|
|
8612
8736
|
label = "Label",
|
|
8613
8737
|
className,
|
|
@@ -8616,17 +8740,17 @@ var ScTabField = ({
|
|
|
8616
8740
|
onTabChange,
|
|
8617
8741
|
...props
|
|
8618
8742
|
}) => {
|
|
8619
|
-
return /* @__PURE__ */
|
|
8620
|
-
/* @__PURE__ */
|
|
8743
|
+
return /* @__PURE__ */ jsxs68("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
8744
|
+
/* @__PURE__ */ jsx80("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ jsxs68("div", { className: ScTabField_default.label, children: [
|
|
8621
8745
|
label,
|
|
8622
8746
|
" "
|
|
8623
8747
|
] }) }),
|
|
8624
|
-
tabs ? /* @__PURE__ */
|
|
8748
|
+
tabs ? /* @__PURE__ */ jsx80(
|
|
8625
8749
|
ScTabSwitcher,
|
|
8626
8750
|
{
|
|
8627
8751
|
tabCount: String(tabs.length),
|
|
8628
8752
|
className: ScTabField_default.scTabSwitcherInstance,
|
|
8629
|
-
component: tabs[0] ? /* @__PURE__ */
|
|
8753
|
+
component: tabs[0] ? /* @__PURE__ */ jsx80(
|
|
8630
8754
|
ScTabComp,
|
|
8631
8755
|
{
|
|
8632
8756
|
text: tabs[0].label,
|
|
@@ -8636,7 +8760,7 @@ var ScTabField = ({
|
|
|
8636
8760
|
style: { flex: 1 }
|
|
8637
8761
|
}
|
|
8638
8762
|
) : void 0,
|
|
8639
|
-
component2: tabs[1] ? /* @__PURE__ */
|
|
8763
|
+
component2: tabs[1] ? /* @__PURE__ */ jsx80(
|
|
8640
8764
|
ScTabComp,
|
|
8641
8765
|
{
|
|
8642
8766
|
text: tabs[1].label,
|
|
@@ -8647,7 +8771,7 @@ var ScTabField = ({
|
|
|
8647
8771
|
}
|
|
8648
8772
|
) : void 0
|
|
8649
8773
|
}
|
|
8650
|
-
) : /* @__PURE__ */
|
|
8774
|
+
) : /* @__PURE__ */ jsx80(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
8651
8775
|
] });
|
|
8652
8776
|
};
|
|
8653
8777
|
|
|
@@ -8664,19 +8788,19 @@ var ScTableHeader_default = {
|
|
|
8664
8788
|
};
|
|
8665
8789
|
|
|
8666
8790
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
8667
|
-
import { Fragment as Fragment22, jsx as
|
|
8791
|
+
import { Fragment as Fragment22, jsx as jsx81, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
8668
8792
|
var ScTableHeader = ({
|
|
8669
8793
|
type = "default",
|
|
8670
8794
|
className,
|
|
8671
8795
|
...props
|
|
8672
8796
|
}) => {
|
|
8673
8797
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
8674
|
-
return /* @__PURE__ */
|
|
8798
|
+
return /* @__PURE__ */ jsxs69(
|
|
8675
8799
|
"div",
|
|
8676
8800
|
{
|
|
8677
8801
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
8678
8802
|
children: [
|
|
8679
|
-
/* @__PURE__ */
|
|
8803
|
+
/* @__PURE__ */ jsx81(
|
|
8680
8804
|
ScHeader,
|
|
8681
8805
|
{
|
|
8682
8806
|
text: "User",
|
|
@@ -8684,7 +8808,7 @@ var ScTableHeader = ({
|
|
|
8684
8808
|
className: ScTableHeader_default.scHeaderInstance
|
|
8685
8809
|
}
|
|
8686
8810
|
),
|
|
8687
|
-
/* @__PURE__ */
|
|
8811
|
+
/* @__PURE__ */ jsx81(
|
|
8688
8812
|
ScHeader,
|
|
8689
8813
|
{
|
|
8690
8814
|
text: "Role",
|
|
@@ -8692,7 +8816,7 @@ var ScTableHeader = ({
|
|
|
8692
8816
|
className: ScTableHeader_default.scHeaderInstance2
|
|
8693
8817
|
}
|
|
8694
8818
|
),
|
|
8695
|
-
/* @__PURE__ */
|
|
8819
|
+
/* @__PURE__ */ jsx81(
|
|
8696
8820
|
ScHeader,
|
|
8697
8821
|
{
|
|
8698
8822
|
text: "Access",
|
|
@@ -8700,7 +8824,7 @@ var ScTableHeader = ({
|
|
|
8700
8824
|
className: ScTableHeader_default.scHeaderInstance3
|
|
8701
8825
|
}
|
|
8702
8826
|
),
|
|
8703
|
-
/* @__PURE__ */
|
|
8827
|
+
/* @__PURE__ */ jsx81(
|
|
8704
8828
|
ScHeader,
|
|
8705
8829
|
{
|
|
8706
8830
|
text: "Invited by",
|
|
@@ -8708,7 +8832,7 @@ var ScTableHeader = ({
|
|
|
8708
8832
|
className: ScTableHeader_default.scHeaderInstance4
|
|
8709
8833
|
}
|
|
8710
8834
|
),
|
|
8711
|
-
type === "pending" && /* @__PURE__ */
|
|
8835
|
+
type === "pending" && /* @__PURE__ */ jsx81(Fragment22, { children: /* @__PURE__ */ jsx81(
|
|
8712
8836
|
ScHeader,
|
|
8713
8837
|
{
|
|
8714
8838
|
text: "Invite action",
|
|
@@ -8716,7 +8840,7 @@ var ScTableHeader = ({
|
|
|
8716
8840
|
className: ScTableHeader_default.scHeaderInstance5
|
|
8717
8841
|
}
|
|
8718
8842
|
) }),
|
|
8719
|
-
type === "default" && /* @__PURE__ */
|
|
8843
|
+
type === "default" && /* @__PURE__ */ jsx81(Fragment22, { children: /* @__PURE__ */ jsx81(
|
|
8720
8844
|
ScHeader,
|
|
8721
8845
|
{
|
|
8722
8846
|
text: "Signed On",
|
|
@@ -8750,7 +8874,7 @@ var ScTableList_default = {
|
|
|
8750
8874
|
// src/SC-tableList/ScTableList.tsx
|
|
8751
8875
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
8752
8876
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
8753
|
-
import { Fragment as Fragment23, jsx as
|
|
8877
|
+
import { Fragment as Fragment23, jsx as jsx82, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
8754
8878
|
var ScTableList = ({
|
|
8755
8879
|
invitedBy = "Rohan",
|
|
8756
8880
|
signedOn = "Nov 9th, 2025",
|
|
@@ -8762,51 +8886,51 @@ var ScTableList = ({
|
|
|
8762
8886
|
...props
|
|
8763
8887
|
}) => {
|
|
8764
8888
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
8765
|
-
return /* @__PURE__ */
|
|
8889
|
+
return /* @__PURE__ */ jsxs70(
|
|
8766
8890
|
"div",
|
|
8767
8891
|
{
|
|
8768
8892
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
8769
8893
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
8770
8894
|
...props,
|
|
8771
8895
|
children: [
|
|
8772
|
-
/* @__PURE__ */
|
|
8896
|
+
/* @__PURE__ */ jsx82(
|
|
8773
8897
|
ScProfile,
|
|
8774
8898
|
{
|
|
8775
8899
|
subText: userEmail,
|
|
8776
8900
|
className: ScTableList_default.scProfileInstance
|
|
8777
8901
|
}
|
|
8778
8902
|
),
|
|
8779
|
-
/* @__PURE__ */
|
|
8780
|
-
/* @__PURE__ */
|
|
8781
|
-
/* @__PURE__ */
|
|
8903
|
+
/* @__PURE__ */ jsx82(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
8904
|
+
/* @__PURE__ */ jsxs70("div", { className: ScTableList_default.accessInfo, children: [
|
|
8905
|
+
/* @__PURE__ */ jsx82(
|
|
8782
8906
|
ScAccess,
|
|
8783
8907
|
{
|
|
8784
|
-
component: /* @__PURE__ */
|
|
8785
|
-
component2: /* @__PURE__ */
|
|
8908
|
+
component: /* @__PURE__ */ jsx82(SiconArtifacts6, { className: ScTableList_default.siconArtifactsInstance }),
|
|
8909
|
+
component2: /* @__PURE__ */ jsx82(SiconPhotogenix3, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
8786
8910
|
className: ScTableList_default.scAccessInstance
|
|
8787
8911
|
}
|
|
8788
8912
|
),
|
|
8789
|
-
/* @__PURE__ */
|
|
8913
|
+
/* @__PURE__ */ jsx82(
|
|
8790
8914
|
ScAccess,
|
|
8791
8915
|
{
|
|
8792
|
-
component: /* @__PURE__ */
|
|
8793
|
-
component2: /* @__PURE__ */
|
|
8916
|
+
component: /* @__PURE__ */ jsx82(SiconUserAdd, { className: ScTableList_default.siconUserAddInstance }),
|
|
8917
|
+
component2: /* @__PURE__ */ jsx82(SiconCoins, { className: ScTableList_default.siconCoinsInstance }),
|
|
8794
8918
|
visibleSiconCatalogix: false,
|
|
8795
8919
|
className: ScTableList_default.scAccessInstance
|
|
8796
8920
|
}
|
|
8797
8921
|
)
|
|
8798
8922
|
] }),
|
|
8799
|
-
/* @__PURE__ */
|
|
8923
|
+
/* @__PURE__ */ jsxs70("div", { className: ScTableList_default.userName, children: [
|
|
8800
8924
|
invitedBy,
|
|
8801
8925
|
" "
|
|
8802
8926
|
] }),
|
|
8803
|
-
variant === "pending" && /* @__PURE__ */
|
|
8927
|
+
variant === "pending" && /* @__PURE__ */ jsx82(Fragment23, { children: /* @__PURE__ */ jsx82(
|
|
8804
8928
|
ScPendingAction,
|
|
8805
8929
|
{
|
|
8806
8930
|
className: ScTableList_default.scPendingActionInstance
|
|
8807
8931
|
}
|
|
8808
8932
|
) }),
|
|
8809
|
-
variant === "active" && /* @__PURE__ */
|
|
8933
|
+
variant === "active" && /* @__PURE__ */ jsx82(Fragment23, { children: /* @__PURE__ */ jsxs70("div", { className: ScTableList_default.date, children: [
|
|
8810
8934
|
signedOn,
|
|
8811
8935
|
" "
|
|
8812
8936
|
] }) })
|
|
@@ -8841,7 +8965,7 @@ import {
|
|
|
8841
8965
|
SiconSwitch as SiconSwitch2,
|
|
8842
8966
|
SiconLogout as SiconLogout2
|
|
8843
8967
|
} from "@streamoid/icons";
|
|
8844
|
-
import { jsx as
|
|
8968
|
+
import { jsx as jsx83, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
8845
8969
|
var ScWorkspaceCard = ({
|
|
8846
8970
|
workspaceName = "Stores",
|
|
8847
8971
|
role = "Admin",
|
|
@@ -8851,21 +8975,21 @@ var ScWorkspaceCard = ({
|
|
|
8851
8975
|
className,
|
|
8852
8976
|
...props
|
|
8853
8977
|
}) => {
|
|
8854
|
-
return /* @__PURE__ */
|
|
8855
|
-
/* @__PURE__ */
|
|
8856
|
-
/* @__PURE__ */
|
|
8978
|
+
return /* @__PURE__ */ jsxs71("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
8979
|
+
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
8980
|
+
/* @__PURE__ */ jsx83(
|
|
8857
8981
|
ScIntialProfileCover,
|
|
8858
8982
|
{
|
|
8859
8983
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
8860
8984
|
}
|
|
8861
8985
|
),
|
|
8862
|
-
/* @__PURE__ */
|
|
8986
|
+
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
8863
8987
|
workspaceName,
|
|
8864
8988
|
" "
|
|
8865
8989
|
] })
|
|
8866
8990
|
] }),
|
|
8867
|
-
/* @__PURE__ */
|
|
8868
|
-
/* @__PURE__ */
|
|
8991
|
+
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
8992
|
+
/* @__PURE__ */ jsx83(
|
|
8869
8993
|
ScBadges,
|
|
8870
8994
|
{
|
|
8871
8995
|
text: role,
|
|
@@ -8873,41 +8997,41 @@ var ScWorkspaceCard = ({
|
|
|
8873
8997
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
8874
8998
|
}
|
|
8875
8999
|
),
|
|
8876
|
-
/* @__PURE__ */
|
|
8877
|
-
/* @__PURE__ */
|
|
9000
|
+
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
9001
|
+
/* @__PURE__ */ jsx83(
|
|
8878
9002
|
ScPairtext,
|
|
8879
9003
|
{
|
|
8880
|
-
icon: /* @__PURE__ */
|
|
9004
|
+
icon: /* @__PURE__ */ jsx83(SiconTeam7, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
8881
9005
|
content: userCount,
|
|
8882
9006
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
8883
9007
|
}
|
|
8884
9008
|
),
|
|
8885
|
-
/* @__PURE__ */
|
|
8886
|
-
/* @__PURE__ */
|
|
9009
|
+
/* @__PURE__ */ jsx83(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
9010
|
+
/* @__PURE__ */ jsx83(
|
|
8887
9011
|
ScPairtext,
|
|
8888
9012
|
{
|
|
8889
|
-
icon: /* @__PURE__ */
|
|
9013
|
+
icon: /* @__PURE__ */ jsx83(SiconCrown2, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
8890
9014
|
content: ownerEmail,
|
|
8891
9015
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
8892
9016
|
}
|
|
8893
9017
|
)
|
|
8894
9018
|
] })
|
|
8895
9019
|
] }),
|
|
8896
|
-
/* @__PURE__ */
|
|
9020
|
+
/* @__PURE__ */ jsx83(
|
|
8897
9021
|
ScButton,
|
|
8898
9022
|
{
|
|
8899
|
-
icon: /* @__PURE__ */
|
|
9023
|
+
icon: /* @__PURE__ */ jsx83(SiconSwitch2, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
8900
9024
|
text: buttonText,
|
|
8901
9025
|
state: "disabled",
|
|
8902
9026
|
variant: "outline",
|
|
8903
9027
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
8904
9028
|
}
|
|
8905
9029
|
),
|
|
8906
|
-
/* @__PURE__ */
|
|
9030
|
+
/* @__PURE__ */ jsx83(
|
|
8907
9031
|
ScButton,
|
|
8908
9032
|
{
|
|
8909
9033
|
text: "Leave workspace",
|
|
8910
|
-
icon: /* @__PURE__ */
|
|
9034
|
+
icon: /* @__PURE__ */ jsx83(SiconLogout2, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
8911
9035
|
styleVariant: "icon-only",
|
|
8912
9036
|
variant: "error",
|
|
8913
9037
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -8943,7 +9067,7 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
8943
9067
|
};
|
|
8944
9068
|
|
|
8945
9069
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
8946
|
-
import { jsx as
|
|
9070
|
+
import { jsx as jsx84, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
8947
9071
|
function ScWorkspaceSwitchCard({
|
|
8948
9072
|
wsName = "Workspace name is kepler",
|
|
8949
9073
|
role = "Admin",
|
|
@@ -8973,7 +9097,7 @@ function ScWorkspaceSwitchCard({
|
|
|
8973
9097
|
].filter(Boolean).join(" ");
|
|
8974
9098
|
const dpBg = isCurrent ? "var(--alias-fill-neutral-neutralactive, #313131)" : "var(--alias-fill-neutral-neutralselected, #242424)";
|
|
8975
9099
|
const roleColorClass = isAdmin ? ScWorkspaceSwitchCard_default.detailValueRole : ScWorkspaceSwitchCard_default.detailValueInfo;
|
|
8976
|
-
return /* @__PURE__ */
|
|
9100
|
+
return /* @__PURE__ */ jsx84(
|
|
8977
9101
|
"div",
|
|
8978
9102
|
{
|
|
8979
9103
|
className: cardClass,
|
|
@@ -8995,8 +9119,8 @@ function ScWorkspaceSwitchCard({
|
|
|
8995
9119
|
onSwitch();
|
|
8996
9120
|
}
|
|
8997
9121
|
} : void 0,
|
|
8998
|
-
children: /* @__PURE__ */
|
|
8999
|
-
/* @__PURE__ */
|
|
9122
|
+
children: /* @__PURE__ */ jsxs72("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
9123
|
+
/* @__PURE__ */ jsx84(
|
|
9000
9124
|
ScDp,
|
|
9001
9125
|
{
|
|
9002
9126
|
type: imageUrl ? "image" : "initial",
|
|
@@ -9010,26 +9134,26 @@ function ScWorkspaceSwitchCard({
|
|
|
9010
9134
|
}
|
|
9011
9135
|
}
|
|
9012
9136
|
),
|
|
9013
|
-
/* @__PURE__ */
|
|
9014
|
-
/* @__PURE__ */
|
|
9015
|
-
/* @__PURE__ */
|
|
9016
|
-
/* @__PURE__ */
|
|
9017
|
-
/* @__PURE__ */
|
|
9018
|
-
/* @__PURE__ */
|
|
9137
|
+
/* @__PURE__ */ jsxs72("div", { className: ScWorkspaceSwitchCard_default.infoCol, children: [
|
|
9138
|
+
/* @__PURE__ */ jsx84("p", { className: ScWorkspaceSwitchCard_default.wsName, children: wsName }),
|
|
9139
|
+
/* @__PURE__ */ jsxs72("div", { className: ScWorkspaceSwitchCard_default.detailsRow, children: [
|
|
9140
|
+
/* @__PURE__ */ jsxs72("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
9141
|
+
/* @__PURE__ */ jsx84("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Role" }),
|
|
9142
|
+
/* @__PURE__ */ jsx84("span", { className: roleColorClass, children: displayRole })
|
|
9019
9143
|
] }),
|
|
9020
|
-
/* @__PURE__ */
|
|
9021
|
-
/* @__PURE__ */
|
|
9022
|
-
/* @__PURE__ */
|
|
9023
|
-
/* @__PURE__ */
|
|
9144
|
+
/* @__PURE__ */ jsx84(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
9145
|
+
/* @__PURE__ */ jsxs72("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
9146
|
+
/* @__PURE__ */ jsx84("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Plan" }),
|
|
9147
|
+
/* @__PURE__ */ jsx84("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: plan })
|
|
9024
9148
|
] }),
|
|
9025
|
-
/* @__PURE__ */
|
|
9026
|
-
/* @__PURE__ */
|
|
9027
|
-
/* @__PURE__ */
|
|
9028
|
-
/* @__PURE__ */
|
|
9149
|
+
/* @__PURE__ */ jsx84(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
9150
|
+
/* @__PURE__ */ jsxs72("div", { className: ScWorkspaceSwitchCard_default.detailItemFlex, children: [
|
|
9151
|
+
/* @__PURE__ */ jsx84("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Workspace Owner" }),
|
|
9152
|
+
/* @__PURE__ */ jsx84("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: ownerId })
|
|
9029
9153
|
] })
|
|
9030
9154
|
] })
|
|
9031
9155
|
] }),
|
|
9032
|
-
isHover && isOther && /* @__PURE__ */
|
|
9156
|
+
isHover && isOther && /* @__PURE__ */ jsx84(
|
|
9033
9157
|
"div",
|
|
9034
9158
|
{
|
|
9035
9159
|
onClick: (e) => {
|
|
@@ -9037,19 +9161,19 @@ function ScWorkspaceSwitchCard({
|
|
|
9037
9161
|
onSwitch?.();
|
|
9038
9162
|
},
|
|
9039
9163
|
style: { cursor: "pointer" },
|
|
9040
|
-
children: /* @__PURE__ */
|
|
9164
|
+
children: /* @__PURE__ */ jsx84(
|
|
9041
9165
|
ScButton,
|
|
9042
9166
|
{
|
|
9043
9167
|
text: "Switch Workspace",
|
|
9044
9168
|
variant: "secondary",
|
|
9045
9169
|
size: "sm",
|
|
9046
9170
|
styleVariant: "icon-left",
|
|
9047
|
-
icon: /* @__PURE__ */
|
|
9171
|
+
icon: /* @__PURE__ */ jsx84(SiconSwitch3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
9048
9172
|
}
|
|
9049
9173
|
)
|
|
9050
9174
|
}
|
|
9051
9175
|
),
|
|
9052
|
-
isHover && isAdmin && /* @__PURE__ */
|
|
9176
|
+
isHover && isAdmin && /* @__PURE__ */ jsx84(
|
|
9053
9177
|
"div",
|
|
9054
9178
|
{
|
|
9055
9179
|
onClick: (e) => {
|
|
@@ -9057,18 +9181,18 @@ function ScWorkspaceSwitchCard({
|
|
|
9057
9181
|
onSettings?.();
|
|
9058
9182
|
},
|
|
9059
9183
|
style: { cursor: "pointer" },
|
|
9060
|
-
children: /* @__PURE__ */
|
|
9184
|
+
children: /* @__PURE__ */ jsx84(
|
|
9061
9185
|
ScButton,
|
|
9062
9186
|
{
|
|
9063
9187
|
styleVariant: "icon-only",
|
|
9064
9188
|
variant: "outline",
|
|
9065
9189
|
size: "sm",
|
|
9066
|
-
icon: /* @__PURE__ */
|
|
9190
|
+
icon: /* @__PURE__ */ jsx84(SiconSettings3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
9067
9191
|
}
|
|
9068
9192
|
)
|
|
9069
9193
|
}
|
|
9070
9194
|
),
|
|
9071
|
-
isHover && !isAdmin && /* @__PURE__ */
|
|
9195
|
+
isHover && !isAdmin && /* @__PURE__ */ jsx84(
|
|
9072
9196
|
"div",
|
|
9073
9197
|
{
|
|
9074
9198
|
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
@@ -9076,7 +9200,7 @@ function ScWorkspaceSwitchCard({
|
|
|
9076
9200
|
e.stopPropagation();
|
|
9077
9201
|
onLeave?.();
|
|
9078
9202
|
},
|
|
9079
|
-
children: /* @__PURE__ */
|
|
9203
|
+
children: /* @__PURE__ */ jsx84(SiconLogout3, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
9080
9204
|
}
|
|
9081
9205
|
)
|
|
9082
9206
|
] })
|
|
@@ -9086,8 +9210,8 @@ function ScWorkspaceSwitchCard({
|
|
|
9086
9210
|
var NscWorkspaceSwitch = ScWorkspaceSwitchCard;
|
|
9087
9211
|
|
|
9088
9212
|
// src/SC-Modal/ScModal.tsx
|
|
9089
|
-
import { useEffect as
|
|
9090
|
-
import { createPortal } from "react-dom";
|
|
9213
|
+
import { useEffect as useEffect7 } from "react";
|
|
9214
|
+
import { createPortal as createPortal2 } from "react-dom";
|
|
9091
9215
|
|
|
9092
9216
|
// src/SC-Modal/ScModal.module.css
|
|
9093
9217
|
var ScModal_default = {
|
|
@@ -9096,7 +9220,7 @@ var ScModal_default = {
|
|
|
9096
9220
|
};
|
|
9097
9221
|
|
|
9098
9222
|
// src/SC-Modal/ScModal.tsx
|
|
9099
|
-
import { jsx as
|
|
9223
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
9100
9224
|
var ScModal = ({
|
|
9101
9225
|
children,
|
|
9102
9226
|
onClose,
|
|
@@ -9108,7 +9232,7 @@ var ScModal = ({
|
|
|
9108
9232
|
closeOnBackdrop = true,
|
|
9109
9233
|
closeOnEsc = true
|
|
9110
9234
|
}) => {
|
|
9111
|
-
|
|
9235
|
+
useEffect7(() => {
|
|
9112
9236
|
if (!open || !closeOnEsc) return;
|
|
9113
9237
|
const onKey = (e) => {
|
|
9114
9238
|
if (e.key === "Escape") onClose?.();
|
|
@@ -9117,8 +9241,8 @@ var ScModal = ({
|
|
|
9117
9241
|
return () => document.removeEventListener("keydown", onKey);
|
|
9118
9242
|
}, [open, closeOnEsc, onClose]);
|
|
9119
9243
|
if (!open || typeof document === "undefined") return null;
|
|
9120
|
-
return
|
|
9121
|
-
/* @__PURE__ */
|
|
9244
|
+
return createPortal2(
|
|
9245
|
+
/* @__PURE__ */ jsx85(
|
|
9122
9246
|
"div",
|
|
9123
9247
|
{
|
|
9124
9248
|
className: [ScModal_default.backdrop, className].filter(Boolean).join(" "),
|
|
@@ -9126,7 +9250,7 @@ var ScModal = ({
|
|
|
9126
9250
|
onMouseDown: (e) => {
|
|
9127
9251
|
if (closeOnBackdrop && e.target === e.currentTarget) onClose?.();
|
|
9128
9252
|
},
|
|
9129
|
-
children: /* @__PURE__ */
|
|
9253
|
+
children: /* @__PURE__ */ jsx85(
|
|
9130
9254
|
"div",
|
|
9131
9255
|
{
|
|
9132
9256
|
className: [ScModal_default.content, contentClassName].filter(Boolean).join(" "),
|
|
@@ -9141,8 +9265,8 @@ var ScModal = ({
|
|
|
9141
9265
|
};
|
|
9142
9266
|
|
|
9143
9267
|
// src/SC-Drawer/ScDrawer.tsx
|
|
9144
|
-
import { useEffect as
|
|
9145
|
-
import { createPortal as
|
|
9268
|
+
import { useEffect as useEffect8, useRef as useRef8 } from "react";
|
|
9269
|
+
import { createPortal as createPortal3 } from "react-dom";
|
|
9146
9270
|
|
|
9147
9271
|
// src/SC-Drawer/ScDrawer.module.css
|
|
9148
9272
|
var ScDrawer_default = {
|
|
@@ -9154,7 +9278,7 @@ var ScDrawer_default = {
|
|
|
9154
9278
|
};
|
|
9155
9279
|
|
|
9156
9280
|
// src/SC-Drawer/ScDrawer.tsx
|
|
9157
|
-
import { Fragment as Fragment24, jsx as
|
|
9281
|
+
import { Fragment as Fragment24, jsx as jsx86, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
9158
9282
|
var ScDrawer = ({
|
|
9159
9283
|
children,
|
|
9160
9284
|
onClose,
|
|
@@ -9169,8 +9293,8 @@ var ScDrawer = ({
|
|
|
9169
9293
|
backdrop = false,
|
|
9170
9294
|
zIndex
|
|
9171
9295
|
}) => {
|
|
9172
|
-
const panelRef =
|
|
9173
|
-
|
|
9296
|
+
const panelRef = useRef8(null);
|
|
9297
|
+
useEffect8(() => {
|
|
9174
9298
|
if (!open) return;
|
|
9175
9299
|
const onKey = (e) => {
|
|
9176
9300
|
if (closeOnEsc && e.key === "Escape") onClose?.();
|
|
@@ -9188,9 +9312,9 @@ var ScDrawer = ({
|
|
|
9188
9312
|
};
|
|
9189
9313
|
}, [open, closeOnEsc, closeOnOutside, onClose]);
|
|
9190
9314
|
if (!open || typeof document === "undefined") return null;
|
|
9191
|
-
return
|
|
9192
|
-
/* @__PURE__ */
|
|
9193
|
-
backdrop && /* @__PURE__ */
|
|
9315
|
+
return createPortal3(
|
|
9316
|
+
/* @__PURE__ */ jsxs73(Fragment24, { children: [
|
|
9317
|
+
backdrop && /* @__PURE__ */ jsx86(
|
|
9194
9318
|
"div",
|
|
9195
9319
|
{
|
|
9196
9320
|
className: ScDrawer_default.backdrop,
|
|
@@ -9198,13 +9322,13 @@ var ScDrawer = ({
|
|
|
9198
9322
|
"aria-hidden": true
|
|
9199
9323
|
}
|
|
9200
9324
|
),
|
|
9201
|
-
/* @__PURE__ */
|
|
9325
|
+
/* @__PURE__ */ jsx86(
|
|
9202
9326
|
"div",
|
|
9203
9327
|
{
|
|
9204
9328
|
ref: panelRef,
|
|
9205
9329
|
className: [ScDrawer_default.drawer, ScDrawer_default["side-" + side], className].filter(Boolean).join(" "),
|
|
9206
9330
|
style: zIndex != null ? { ...style, zIndex } : style,
|
|
9207
|
-
children: /* @__PURE__ */
|
|
9331
|
+
children: /* @__PURE__ */ jsx86(
|
|
9208
9332
|
"div",
|
|
9209
9333
|
{
|
|
9210
9334
|
className: [ScDrawer_default.content, contentClassName].filter(Boolean).join(" "),
|
|
@@ -9230,7 +9354,7 @@ var ScTabs_default = {
|
|
|
9230
9354
|
};
|
|
9231
9355
|
|
|
9232
9356
|
// src/SC-Tabs/ScTabs.tsx
|
|
9233
|
-
import { jsx as
|
|
9357
|
+
import { jsx as jsx87 } from "react/jsx-runtime";
|
|
9234
9358
|
var ScTabs = ({
|
|
9235
9359
|
tabs,
|
|
9236
9360
|
activeTab,
|
|
@@ -9240,7 +9364,7 @@ var ScTabs = ({
|
|
|
9240
9364
|
isCompact,
|
|
9241
9365
|
className
|
|
9242
9366
|
}) => {
|
|
9243
|
-
return /* @__PURE__ */
|
|
9367
|
+
return /* @__PURE__ */ jsx87(
|
|
9244
9368
|
"div",
|
|
9245
9369
|
{
|
|
9246
9370
|
className: [
|
|
@@ -9253,7 +9377,7 @@ var ScTabs = ({
|
|
|
9253
9377
|
children: tabs.map((tab, idx) => {
|
|
9254
9378
|
const label = typeof tab === "string" ? tab : tab.label ?? tab.value ?? "";
|
|
9255
9379
|
const value = typeof tab === "string" ? tab : tab.value ?? tab.label ?? "";
|
|
9256
|
-
return /* @__PURE__ */
|
|
9380
|
+
return /* @__PURE__ */ jsx87(
|
|
9257
9381
|
"div",
|
|
9258
9382
|
{
|
|
9259
9383
|
className: [ScTabs_default.tab, activeTab === value && ScTabs_default.active].filter(Boolean).join(" "),
|
|
@@ -9280,7 +9404,7 @@ var ScCounter_default = {
|
|
|
9280
9404
|
};
|
|
9281
9405
|
|
|
9282
9406
|
// src/SC-Counter/ScCounter.tsx
|
|
9283
|
-
import { jsx as
|
|
9407
|
+
import { jsx as jsx88, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
9284
9408
|
var ScCounter = ({
|
|
9285
9409
|
count,
|
|
9286
9410
|
onChange,
|
|
@@ -9297,15 +9421,15 @@ var ScCounter = ({
|
|
|
9297
9421
|
if (max !== void 0) v = Math.min(max, v);
|
|
9298
9422
|
onChange(v);
|
|
9299
9423
|
};
|
|
9300
|
-
return /* @__PURE__ */
|
|
9424
|
+
return /* @__PURE__ */ jsxs74(
|
|
9301
9425
|
"div",
|
|
9302
9426
|
{
|
|
9303
9427
|
className: [ScCounter_default.counter, className].filter(Boolean).join(" "),
|
|
9304
9428
|
style,
|
|
9305
9429
|
children: [
|
|
9306
|
-
/* @__PURE__ */
|
|
9307
|
-
showInput ? /* @__PURE__ */
|
|
9308
|
-
/* @__PURE__ */
|
|
9430
|
+
/* @__PURE__ */ jsx88("div", { className: ScCounter_default.step, onClick: () => set(count - 1), children: /* @__PURE__ */ jsx88(SiconMinus, { size: 24, color: "var(--alias-text-and-icons-primary)" }) }),
|
|
9431
|
+
showInput ? /* @__PURE__ */ jsxs74("div", { className: ScCounter_default.inputContainer, children: [
|
|
9432
|
+
/* @__PURE__ */ jsx88(
|
|
9309
9433
|
"input",
|
|
9310
9434
|
{
|
|
9311
9435
|
value: count,
|
|
@@ -9316,13 +9440,13 @@ var ScCounter = ({
|
|
|
9316
9440
|
onBlur: () => setShowInput(false)
|
|
9317
9441
|
}
|
|
9318
9442
|
),
|
|
9319
|
-
/* @__PURE__ */
|
|
9320
|
-
] }) : /* @__PURE__ */
|
|
9443
|
+
/* @__PURE__ */ jsx88("div", { children: label })
|
|
9444
|
+
] }) : /* @__PURE__ */ jsxs74("div", { className: ScCounter_default.value, onClick: () => setShowInput(true), children: [
|
|
9321
9445
|
count,
|
|
9322
9446
|
" ",
|
|
9323
9447
|
label
|
|
9324
9448
|
] }),
|
|
9325
|
-
/* @__PURE__ */
|
|
9449
|
+
/* @__PURE__ */ jsx88("div", { className: ScCounter_default.step, onClick: () => set(count + 1), children: /* @__PURE__ */ jsx88(SiconPlus2, { size: 24, color: "var(--alias-text-and-icons-primary)" }) })
|
|
9326
9450
|
]
|
|
9327
9451
|
}
|
|
9328
9452
|
);
|
|
@@ -9341,7 +9465,7 @@ var ScPagination_default = {
|
|
|
9341
9465
|
};
|
|
9342
9466
|
|
|
9343
9467
|
// src/SC-Pagination/ScPagination.tsx
|
|
9344
|
-
import { jsx as
|
|
9468
|
+
import { jsx as jsx89, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
9345
9469
|
var ScPagination = ({
|
|
9346
9470
|
itemsCount,
|
|
9347
9471
|
itemsPerPage,
|
|
@@ -9380,8 +9504,8 @@ var ScPagination = ({
|
|
|
9380
9504
|
onPageChangeAction();
|
|
9381
9505
|
}
|
|
9382
9506
|
};
|
|
9383
|
-
return /* @__PURE__ */
|
|
9384
|
-
/* @__PURE__ */
|
|
9507
|
+
return /* @__PURE__ */ jsx89("div", { className: ScPagination_default.scPagination + (className ? " " + className : ""), children: /* @__PURE__ */ jsxs75("div", { className: ScPagination_default.section, children: [
|
|
9508
|
+
/* @__PURE__ */ jsx89(
|
|
9385
9509
|
SiconRight5,
|
|
9386
9510
|
{
|
|
9387
9511
|
size: 24,
|
|
@@ -9390,7 +9514,7 @@ var ScPagination = ({
|
|
|
9390
9514
|
onClick: () => step("dec")
|
|
9391
9515
|
}
|
|
9392
9516
|
),
|
|
9393
|
-
/* @__PURE__ */
|
|
9517
|
+
/* @__PURE__ */ jsx89("span", { className: ScPagination_default.page, children: /* @__PURE__ */ jsx89(
|
|
9394
9518
|
"input",
|
|
9395
9519
|
{
|
|
9396
9520
|
type: "number",
|
|
@@ -9400,7 +9524,7 @@ var ScPagination = ({
|
|
|
9400
9524
|
onBlur: commit
|
|
9401
9525
|
}
|
|
9402
9526
|
) }),
|
|
9403
|
-
/* @__PURE__ */
|
|
9527
|
+
/* @__PURE__ */ jsx89(
|
|
9404
9528
|
SiconRight5,
|
|
9405
9529
|
{
|
|
9406
9530
|
size: 24,
|
|
@@ -9408,7 +9532,7 @@ var ScPagination = ({
|
|
|
9408
9532
|
onClick: () => step("inc")
|
|
9409
9533
|
}
|
|
9410
9534
|
),
|
|
9411
|
-
/* @__PURE__ */
|
|
9535
|
+
/* @__PURE__ */ jsxs75("span", { className: ScPagination_default.pageCount, children: [
|
|
9412
9536
|
"of ",
|
|
9413
9537
|
maxPage
|
|
9414
9538
|
] })
|
|
@@ -9425,19 +9549,19 @@ var ScBeacon_default = {
|
|
|
9425
9549
|
};
|
|
9426
9550
|
|
|
9427
9551
|
// src/SC-Beacon/ScBeacon.tsx
|
|
9428
|
-
import { jsx as
|
|
9552
|
+
import { jsx as jsx90, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
9429
9553
|
var ScBeacon = ({
|
|
9430
9554
|
tone = "neutral",
|
|
9431
9555
|
className,
|
|
9432
9556
|
...props
|
|
9433
9557
|
}) => {
|
|
9434
|
-
return /* @__PURE__ */
|
|
9558
|
+
return /* @__PURE__ */ jsx90(
|
|
9435
9559
|
"span",
|
|
9436
9560
|
{
|
|
9437
9561
|
className: ScBeacon_default.scBeacon + " " + ScBeacon_default[tone] + (className ? " " + className : ""),
|
|
9438
9562
|
"aria-hidden": "true",
|
|
9439
9563
|
...props,
|
|
9440
|
-
children: /* @__PURE__ */
|
|
9564
|
+
children: /* @__PURE__ */ jsxs76(
|
|
9441
9565
|
"svg",
|
|
9442
9566
|
{
|
|
9443
9567
|
viewBox: "0 0 20 20",
|
|
@@ -9446,8 +9570,8 @@ var ScBeacon = ({
|
|
|
9446
9570
|
fill: "none",
|
|
9447
9571
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9448
9572
|
children: [
|
|
9449
|
-
/* @__PURE__ */
|
|
9450
|
-
/* @__PURE__ */
|
|
9573
|
+
/* @__PURE__ */ jsx90("circle", { cx: "10", cy: "10", r: "10", fill: "currentColor", fillOpacity: "0.24" }),
|
|
9574
|
+
/* @__PURE__ */ jsx90("circle", { cx: "10", cy: "10", r: "4", fill: "currentColor" })
|
|
9451
9575
|
]
|
|
9452
9576
|
}
|
|
9453
9577
|
)
|
|
@@ -9467,7 +9591,7 @@ var ScStoreCard_default = {
|
|
|
9467
9591
|
};
|
|
9468
9592
|
|
|
9469
9593
|
// src/SC-StoreCard/ScStoreCard.tsx
|
|
9470
|
-
import { jsx as
|
|
9594
|
+
import { jsx as jsx91, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
9471
9595
|
var ScStoreCard = ({
|
|
9472
9596
|
storeName = "Store Name",
|
|
9473
9597
|
noOfProducts = "1490 Products",
|
|
@@ -9476,18 +9600,18 @@ var ScStoreCard = ({
|
|
|
9476
9600
|
className,
|
|
9477
9601
|
...props
|
|
9478
9602
|
}) => {
|
|
9479
|
-
return /* @__PURE__ */
|
|
9603
|
+
return /* @__PURE__ */ jsxs77(
|
|
9480
9604
|
"div",
|
|
9481
9605
|
{
|
|
9482
9606
|
className: ScStoreCard_default.scStoreCard + (className ? " " + className : ""),
|
|
9483
9607
|
...props,
|
|
9484
9608
|
children: [
|
|
9485
|
-
/* @__PURE__ */
|
|
9486
|
-
/* @__PURE__ */
|
|
9487
|
-
/* @__PURE__ */
|
|
9488
|
-
/* @__PURE__ */
|
|
9489
|
-
/* @__PURE__ */
|
|
9490
|
-
/* @__PURE__ */
|
|
9609
|
+
/* @__PURE__ */ jsx91("div", { className: ScStoreCard_default.nameSection, children: /* @__PURE__ */ jsx91("p", { className: ScStoreCard_default.storeName, title: storeName, children: storeName }) }),
|
|
9610
|
+
/* @__PURE__ */ jsx91(ScHDivider, { className: ScStoreCard_default.divider }),
|
|
9611
|
+
/* @__PURE__ */ jsxs77("div", { className: ScStoreCard_default.footer, children: [
|
|
9612
|
+
/* @__PURE__ */ jsx91(ScBeacon, { tone }),
|
|
9613
|
+
/* @__PURE__ */ jsx91("span", { className: ScStoreCard_default.products, children: noOfProducts }),
|
|
9614
|
+
/* @__PURE__ */ jsx91("span", { className: ScStoreCard_default.date, children: dateCreated })
|
|
9491
9615
|
] })
|
|
9492
9616
|
]
|
|
9493
9617
|
}
|
|
@@ -9506,7 +9630,7 @@ var ScCatalogixStoreHeader_default = {
|
|
|
9506
9630
|
};
|
|
9507
9631
|
|
|
9508
9632
|
// src/SC-Catalogix-Store-Header/ScCatalogixStoreHeader.tsx
|
|
9509
|
-
import { jsx as
|
|
9633
|
+
import { jsx as jsx92, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
9510
9634
|
var ScCatalogixStoreHeader = ({
|
|
9511
9635
|
storeNameLabel = "Store name",
|
|
9512
9636
|
statusLabel = "Status",
|
|
@@ -9519,18 +9643,18 @@ var ScCatalogixStoreHeader = ({
|
|
|
9519
9643
|
className,
|
|
9520
9644
|
...props
|
|
9521
9645
|
}) => {
|
|
9522
|
-
return /* @__PURE__ */
|
|
9646
|
+
return /* @__PURE__ */ jsxs78(
|
|
9523
9647
|
"div",
|
|
9524
9648
|
{
|
|
9525
9649
|
className: ScCatalogixStoreHeader_default.scCatalogixStoreHeader + (className ? " " + className : ""),
|
|
9526
9650
|
...props,
|
|
9527
9651
|
children: [
|
|
9528
|
-
/* @__PURE__ */
|
|
9529
|
-
/* @__PURE__ */
|
|
9530
|
-
/* @__PURE__ */
|
|
9531
|
-
showAssets && /* @__PURE__ */
|
|
9532
|
-
/* @__PURE__ */
|
|
9533
|
-
showCreatedBy && /* @__PURE__ */
|
|
9652
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colName, children: storeNameLabel }),
|
|
9653
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colStatus, children: statusLabel }),
|
|
9654
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: productsLabel }),
|
|
9655
|
+
showAssets && /* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: assetsLabel }),
|
|
9656
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colDate, children: createdOnLabel }),
|
|
9657
|
+
showCreatedBy && /* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colBy, children: createdByLabel })
|
|
9534
9658
|
]
|
|
9535
9659
|
}
|
|
9536
9660
|
);
|
|
@@ -9552,7 +9676,7 @@ var ScCatalogixStoreTableList_default = {
|
|
|
9552
9676
|
};
|
|
9553
9677
|
|
|
9554
9678
|
// src/SC-CatalogixStoreTableList/ScCatalogixStoreTableList.tsx
|
|
9555
|
-
import { jsx as
|
|
9679
|
+
import { jsx as jsx93, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
9556
9680
|
var STATUS_TONE_CLASS = {
|
|
9557
9681
|
success: "statusSuccess",
|
|
9558
9682
|
warning: "statusWarning",
|
|
@@ -9573,18 +9697,18 @@ var ScCatalogixStoreTableList = ({
|
|
|
9573
9697
|
...props
|
|
9574
9698
|
}) => {
|
|
9575
9699
|
const toneClass = ScCatalogixStoreTableList_default[STATUS_TONE_CLASS[statusTone] || "statusNeutral"];
|
|
9576
|
-
return /* @__PURE__ */
|
|
9700
|
+
return /* @__PURE__ */ jsxs79(
|
|
9577
9701
|
"div",
|
|
9578
9702
|
{
|
|
9579
9703
|
className: ScCatalogixStoreTableList_default.scCatalogixStoreTableList + (className ? " " + className : ""),
|
|
9580
9704
|
...props,
|
|
9581
9705
|
children: [
|
|
9582
|
-
/* @__PURE__ */
|
|
9583
|
-
/* @__PURE__ */
|
|
9584
|
-
/* @__PURE__ */
|
|
9585
|
-
showAssets && /* @__PURE__ */
|
|
9586
|
-
/* @__PURE__ */
|
|
9587
|
-
showCreatedBy && /* @__PURE__ */
|
|
9706
|
+
/* @__PURE__ */ jsx93("span", { className: ScCatalogixStoreTableList_default.name, title: storeName, children: storeName }),
|
|
9707
|
+
/* @__PURE__ */ jsx93("span", { className: ScCatalogixStoreTableList_default.status + " " + toneClass, children: status }),
|
|
9708
|
+
/* @__PURE__ */ jsx93("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: products }),
|
|
9709
|
+
showAssets && /* @__PURE__ */ jsx93("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: assets }),
|
|
9710
|
+
/* @__PURE__ */ jsx93("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colDate, children: createdOn }),
|
|
9711
|
+
showCreatedBy && /* @__PURE__ */ jsx93("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colBy, children: createdBy })
|
|
9588
9712
|
]
|
|
9589
9713
|
}
|
|
9590
9714
|
);
|
|
@@ -9600,7 +9724,7 @@ var ScDefaultCard_default = {
|
|
|
9600
9724
|
};
|
|
9601
9725
|
|
|
9602
9726
|
// src/SC-DefaultCard/ScDefaultCard.tsx
|
|
9603
|
-
import { jsx as
|
|
9727
|
+
import { jsx as jsx94, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
9604
9728
|
var ScDefaultCard = ({
|
|
9605
9729
|
title = "Title",
|
|
9606
9730
|
description = "Description",
|
|
@@ -9611,14 +9735,14 @@ var ScDefaultCard = ({
|
|
|
9611
9735
|
}) => {
|
|
9612
9736
|
const variantsClassName = ScDefaultCard_default["state-" + state];
|
|
9613
9737
|
const hasDescription = showDescription && Boolean(description);
|
|
9614
|
-
return /* @__PURE__ */
|
|
9738
|
+
return /* @__PURE__ */ jsx94(
|
|
9615
9739
|
"div",
|
|
9616
9740
|
{
|
|
9617
9741
|
className: [ScDefaultCard_default.scDefaultCard, variantsClassName, className].filter(Boolean).join(" "),
|
|
9618
9742
|
...props,
|
|
9619
|
-
children: /* @__PURE__ */
|
|
9620
|
-
/* @__PURE__ */
|
|
9621
|
-
hasDescription && /* @__PURE__ */
|
|
9743
|
+
children: /* @__PURE__ */ jsxs80("div", { className: ScDefaultCard_default.content, children: [
|
|
9744
|
+
/* @__PURE__ */ jsx94("p", { className: ScDefaultCard_default.title, children: title }),
|
|
9745
|
+
hasDescription && /* @__PURE__ */ jsx94("p", { className: ScDefaultCard_default.description, children: description })
|
|
9622
9746
|
] })
|
|
9623
9747
|
}
|
|
9624
9748
|
);
|
|
@@ -9637,7 +9761,7 @@ var ScValueMappingL1_default = {
|
|
|
9637
9761
|
};
|
|
9638
9762
|
|
|
9639
9763
|
// src/SC-ValueMappingL1/ScValueMappingL1.tsx
|
|
9640
|
-
import { jsx as
|
|
9764
|
+
import { jsx as jsx95, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
9641
9765
|
var ScValueMappingL1 = ({
|
|
9642
9766
|
label = "Title",
|
|
9643
9767
|
state = "default",
|
|
@@ -9646,7 +9770,7 @@ var ScValueMappingL1 = ({
|
|
|
9646
9770
|
...props
|
|
9647
9771
|
}) => {
|
|
9648
9772
|
const variantsClassName = ScValueMappingL1_default["state-" + state];
|
|
9649
|
-
return /* @__PURE__ */
|
|
9773
|
+
return /* @__PURE__ */ jsxs81(
|
|
9650
9774
|
"div",
|
|
9651
9775
|
{
|
|
9652
9776
|
className: [
|
|
@@ -9657,8 +9781,8 @@ var ScValueMappingL1 = ({
|
|
|
9657
9781
|
].filter(Boolean).join(" "),
|
|
9658
9782
|
...props,
|
|
9659
9783
|
children: [
|
|
9660
|
-
/* @__PURE__ */
|
|
9661
|
-
updated && /* @__PURE__ */
|
|
9784
|
+
/* @__PURE__ */ jsx95("div", { className: ScValueMappingL1_default.labelWrap, children: /* @__PURE__ */ jsx95("span", { className: ScValueMappingL1_default.label, title: label, children: label }) }),
|
|
9785
|
+
updated && /* @__PURE__ */ jsx95("span", { className: ScValueMappingL1_default.dot, "aria-hidden": true, children: /* @__PURE__ */ jsx95("span", { className: ScValueMappingL1_default.dotInner }) })
|
|
9662
9786
|
]
|
|
9663
9787
|
}
|
|
9664
9788
|
);
|
|
@@ -9678,7 +9802,7 @@ var ScTaxonomyPill_default = {
|
|
|
9678
9802
|
|
|
9679
9803
|
// src/SC-TaxonomyPill/ScTaxonomyPill.tsx
|
|
9680
9804
|
import { SiconDown as SiconDown2, SiconUp as SiconUp2 } from "@streamoid/icons";
|
|
9681
|
-
import { Fragment as Fragment25, jsx as
|
|
9805
|
+
import { Fragment as Fragment25, jsx as jsx96, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
9682
9806
|
var ScTaxonomyPill = ({
|
|
9683
9807
|
type = "pill",
|
|
9684
9808
|
state = "default",
|
|
@@ -9693,13 +9817,13 @@ var ScTaxonomyPill = ({
|
|
|
9693
9817
|
ScTaxonomyPill_default["state-" + state],
|
|
9694
9818
|
className
|
|
9695
9819
|
].filter(Boolean).join(" ");
|
|
9696
|
-
return /* @__PURE__ */
|
|
9697
|
-
type === "pill" && /* @__PURE__ */
|
|
9698
|
-
type === "expand" && /* @__PURE__ */
|
|
9699
|
-
/* @__PURE__ */
|
|
9700
|
-
/* @__PURE__ */
|
|
9820
|
+
return /* @__PURE__ */ jsx96("div", { className: cls, ...props, children: /* @__PURE__ */ jsxs82("div", { className: ScTaxonomyPill_default.inner, children: [
|
|
9821
|
+
type === "pill" && /* @__PURE__ */ jsx96("span", { className: ScTaxonomyPill_default.label, children: label }),
|
|
9822
|
+
type === "expand" && /* @__PURE__ */ jsxs82(Fragment25, { children: [
|
|
9823
|
+
/* @__PURE__ */ jsx96("span", { className: ScTaxonomyPill_default.label, children: count }),
|
|
9824
|
+
/* @__PURE__ */ jsx96(SiconDown2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
9701
9825
|
] }),
|
|
9702
|
-
type === "collapse" && /* @__PURE__ */
|
|
9826
|
+
type === "collapse" && /* @__PURE__ */ jsx96(SiconUp2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
9703
9827
|
] }) });
|
|
9704
9828
|
};
|
|
9705
9829
|
|
|
@@ -9712,7 +9836,7 @@ var ScSelectionPill_default = {
|
|
|
9712
9836
|
};
|
|
9713
9837
|
|
|
9714
9838
|
// src/SC-SelectionPill/ScSelectionPill.tsx
|
|
9715
|
-
import { jsx as
|
|
9839
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
9716
9840
|
var ScSelectionPill = ({
|
|
9717
9841
|
label = "All Products",
|
|
9718
9842
|
selected = false,
|
|
@@ -9727,7 +9851,7 @@ var ScSelectionPill = ({
|
|
|
9727
9851
|
onClick?.(event);
|
|
9728
9852
|
onSelect?.(value);
|
|
9729
9853
|
};
|
|
9730
|
-
return /* @__PURE__ */
|
|
9854
|
+
return /* @__PURE__ */ jsx97(
|
|
9731
9855
|
"button",
|
|
9732
9856
|
{
|
|
9733
9857
|
type: "button",
|
|
@@ -9735,7 +9859,7 @@ var ScSelectionPill = ({
|
|
|
9735
9859
|
"aria-pressed": selected,
|
|
9736
9860
|
onClick: handleClick,
|
|
9737
9861
|
...props,
|
|
9738
|
-
children: /* @__PURE__ */
|
|
9862
|
+
children: /* @__PURE__ */ jsx97("span", { className: ScSelectionPill_default.label, children: label })
|
|
9739
9863
|
}
|
|
9740
9864
|
);
|
|
9741
9865
|
};
|
|
@@ -9746,7 +9870,7 @@ var ScSelectionPillGroup_default = {
|
|
|
9746
9870
|
};
|
|
9747
9871
|
|
|
9748
9872
|
// src/SC-SelectionPillGroup/ScSelectionPillGroup.tsx
|
|
9749
|
-
import { jsx as
|
|
9873
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
9750
9874
|
var ScSelectionPillGroup = ({
|
|
9751
9875
|
options = [],
|
|
9752
9876
|
value,
|
|
@@ -9754,13 +9878,13 @@ var ScSelectionPillGroup = ({
|
|
|
9754
9878
|
className,
|
|
9755
9879
|
...props
|
|
9756
9880
|
}) => {
|
|
9757
|
-
return /* @__PURE__ */
|
|
9881
|
+
return /* @__PURE__ */ jsx98(
|
|
9758
9882
|
"div",
|
|
9759
9883
|
{
|
|
9760
9884
|
className: [ScSelectionPillGroup_default.scSelectionPillGroup, className].filter(Boolean).join(" "),
|
|
9761
9885
|
role: "tablist",
|
|
9762
9886
|
...props,
|
|
9763
|
-
children: options.map((opt) => /* @__PURE__ */
|
|
9887
|
+
children: options.map((opt) => /* @__PURE__ */ jsx98(
|
|
9764
9888
|
ScSelectionPill,
|
|
9765
9889
|
{
|
|
9766
9890
|
label: opt.label,
|
|
@@ -9823,7 +9947,7 @@ var ScMappingCard_default = {
|
|
|
9823
9947
|
};
|
|
9824
9948
|
|
|
9825
9949
|
// src/SC-MappingCard/ScMappingCard.tsx
|
|
9826
|
-
import { Fragment as Fragment26, jsx as
|
|
9950
|
+
import { Fragment as Fragment26, jsx as jsx99, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
9827
9951
|
var ScMappingCard = ({
|
|
9828
9952
|
badge,
|
|
9829
9953
|
columnName,
|
|
@@ -9844,25 +9968,25 @@ var ScMappingCard = ({
|
|
|
9844
9968
|
const isDefault = status === "default";
|
|
9845
9969
|
const isConfirmed = status === "confirmed";
|
|
9846
9970
|
const isIgnored = status === "ignored";
|
|
9847
|
-
return /* @__PURE__ */
|
|
9971
|
+
return /* @__PURE__ */ jsxs83(
|
|
9848
9972
|
"div",
|
|
9849
9973
|
{
|
|
9850
9974
|
className: [ScMappingCard_default.scMappingCard, ScMappingCard_default["status-" + status], className].filter(Boolean).join(" "),
|
|
9851
9975
|
...props,
|
|
9852
9976
|
children: [
|
|
9853
|
-
badge != null && /* @__PURE__ */
|
|
9854
|
-
/* @__PURE__ */
|
|
9855
|
-
isDefault ? /* @__PURE__ */
|
|
9856
|
-
/* @__PURE__ */
|
|
9857
|
-
/* @__PURE__ */
|
|
9858
|
-
/* @__PURE__ */
|
|
9977
|
+
badge != null && /* @__PURE__ */ jsx99("div", { className: ScMappingCard_default.badge, "aria-hidden": true, children: /* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.badgeLetter, children: badge }) }),
|
|
9978
|
+
/* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.content, children: [
|
|
9979
|
+
isDefault ? /* @__PURE__ */ jsxs83("div", { className: [ScMappingCard_default.source, ScMappingCard_default.sourceCard].join(" "), children: [
|
|
9980
|
+
/* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.sourceHeader, children: [
|
|
9981
|
+
/* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.columnName, title: columnName, children: columnName }),
|
|
9982
|
+
/* @__PURE__ */ jsx99(
|
|
9859
9983
|
"button",
|
|
9860
9984
|
{
|
|
9861
9985
|
type: "button",
|
|
9862
9986
|
className: ScMappingCard_default.addBtn,
|
|
9863
9987
|
onClick: onAddColumn,
|
|
9864
9988
|
"aria-label": "Add column",
|
|
9865
|
-
children: /* @__PURE__ */
|
|
9989
|
+
children: /* @__PURE__ */ jsx99(
|
|
9866
9990
|
SiconPlus3,
|
|
9867
9991
|
{
|
|
9868
9992
|
size: 24,
|
|
@@ -9872,12 +9996,12 @@ var ScMappingCard = ({
|
|
|
9872
9996
|
}
|
|
9873
9997
|
)
|
|
9874
9998
|
] }),
|
|
9875
|
-
sampleRows.length > 0 && /* @__PURE__ */
|
|
9876
|
-
] }) : /* @__PURE__ */
|
|
9877
|
-
/* @__PURE__ */
|
|
9999
|
+
sampleRows.length > 0 && /* @__PURE__ */ jsx99("div", { className: ScMappingCard_default.sampleRows, children: sampleRows.map((row, i) => /* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.sampleRow, title: row, children: row }, i)) })
|
|
10000
|
+
] }) : /* @__PURE__ */ jsx99("div", { className: [ScMappingCard_default.source, ScMappingCard_default.sourceCollapsed].join(" "), children: /* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.columnName, title: columnName, children: columnName }) }),
|
|
10001
|
+
/* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.targetRegion, children: [
|
|
9878
10002
|
isDefault && targets,
|
|
9879
|
-
isConfirmed && confirmedTargets.map((t, i) => /* @__PURE__ */
|
|
9880
|
-
/* @__PURE__ */
|
|
10003
|
+
isConfirmed && confirmedTargets.map((t, i) => /* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.targetRow, children: [
|
|
10004
|
+
/* @__PURE__ */ jsx99(
|
|
9881
10005
|
SiconRight6,
|
|
9882
10006
|
{
|
|
9883
10007
|
size: 20,
|
|
@@ -9885,10 +10009,10 @@ var ScMappingCard = ({
|
|
|
9885
10009
|
className: ScMappingCard_default.connector
|
|
9886
10010
|
}
|
|
9887
10011
|
),
|
|
9888
|
-
/* @__PURE__ */
|
|
10012
|
+
/* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.targetBox, title: t, children: t })
|
|
9889
10013
|
] }, i)),
|
|
9890
|
-
isIgnored && /* @__PURE__ */
|
|
9891
|
-
/* @__PURE__ */
|
|
10014
|
+
isIgnored && /* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.targetRow, children: [
|
|
10015
|
+
/* @__PURE__ */ jsx99(
|
|
9892
10016
|
SiconRight6,
|
|
9893
10017
|
{
|
|
9894
10018
|
size: 24,
|
|
@@ -9896,23 +10020,23 @@ var ScMappingCard = ({
|
|
|
9896
10020
|
className: ScMappingCard_default.connector
|
|
9897
10021
|
}
|
|
9898
10022
|
),
|
|
9899
|
-
/* @__PURE__ */
|
|
10023
|
+
/* @__PURE__ */ jsx99("span", { className: [ScMappingCard_default.targetBox, ScMappingCard_default.targetBoxDash].join(" "), children: "-" })
|
|
9900
10024
|
] }),
|
|
9901
|
-
isDefault && warning != null && /* @__PURE__ */
|
|
9902
|
-
/* @__PURE__ */
|
|
10025
|
+
isDefault && warning != null && /* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.warning, children: [
|
|
10026
|
+
/* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.warningIcon, "aria-hidden": true, children: /* @__PURE__ */ jsx99(
|
|
9903
10027
|
SiconWarning,
|
|
9904
10028
|
{
|
|
9905
10029
|
size: 20,
|
|
9906
10030
|
color: "var(--alias-text-and-icons-error, #d11a1a)"
|
|
9907
10031
|
}
|
|
9908
10032
|
) }),
|
|
9909
|
-
/* @__PURE__ */
|
|
10033
|
+
/* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.warningText, children: warning })
|
|
9910
10034
|
] })
|
|
9911
10035
|
] }),
|
|
9912
|
-
/* @__PURE__ */
|
|
9913
|
-
isDefault && /* @__PURE__ */
|
|
9914
|
-
/* @__PURE__ */
|
|
9915
|
-
/* @__PURE__ */
|
|
10036
|
+
/* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.actions, children: [
|
|
10037
|
+
isDefault && /* @__PURE__ */ jsxs83(Fragment26, { children: [
|
|
10038
|
+
/* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.actionRow, children: [
|
|
10039
|
+
/* @__PURE__ */ jsx99(
|
|
9916
10040
|
"button",
|
|
9917
10041
|
{
|
|
9918
10042
|
type: "button",
|
|
@@ -9921,7 +10045,7 @@ var ScMappingCard = ({
|
|
|
9921
10045
|
children: "Ignore Column"
|
|
9922
10046
|
}
|
|
9923
10047
|
),
|
|
9924
|
-
canConfirm && /* @__PURE__ */
|
|
10048
|
+
canConfirm && /* @__PURE__ */ jsx99(
|
|
9925
10049
|
"button",
|
|
9926
10050
|
{
|
|
9927
10051
|
type: "button",
|
|
@@ -9933,15 +10057,15 @@ var ScMappingCard = ({
|
|
|
9933
10057
|
}
|
|
9934
10058
|
)
|
|
9935
10059
|
] }),
|
|
9936
|
-
validityText && /* @__PURE__ */
|
|
10060
|
+
validityText && /* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.validityText, children: validityText })
|
|
9937
10061
|
] }),
|
|
9938
|
-
isConfirmed && /* @__PURE__ */
|
|
9939
|
-
/* @__PURE__ */
|
|
10062
|
+
isConfirmed && /* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.actionRow, children: [
|
|
10063
|
+
/* @__PURE__ */ jsxs83(
|
|
9940
10064
|
"span",
|
|
9941
10065
|
{
|
|
9942
10066
|
className: [ScMappingCard_default.statusLabel, ScMappingCard_default.statusSuccess].join(" "),
|
|
9943
10067
|
children: [
|
|
9944
|
-
/* @__PURE__ */
|
|
10068
|
+
/* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.statusIcon, children: /* @__PURE__ */ jsx99(
|
|
9945
10069
|
SiconCheck,
|
|
9946
10070
|
{
|
|
9947
10071
|
size: 24,
|
|
@@ -9952,7 +10076,7 @@ var ScMappingCard = ({
|
|
|
9952
10076
|
]
|
|
9953
10077
|
}
|
|
9954
10078
|
),
|
|
9955
|
-
/* @__PURE__ */
|
|
10079
|
+
/* @__PURE__ */ jsx99(
|
|
9956
10080
|
"button",
|
|
9957
10081
|
{
|
|
9958
10082
|
type: "button",
|
|
@@ -9962,9 +10086,9 @@ var ScMappingCard = ({
|
|
|
9962
10086
|
}
|
|
9963
10087
|
)
|
|
9964
10088
|
] }),
|
|
9965
|
-
isIgnored && /* @__PURE__ */
|
|
9966
|
-
/* @__PURE__ */
|
|
9967
|
-
/* @__PURE__ */
|
|
10089
|
+
isIgnored && /* @__PURE__ */ jsxs83("div", { className: ScMappingCard_default.actionRow, children: [
|
|
10090
|
+
/* @__PURE__ */ jsxs83("span", { className: [ScMappingCard_default.statusLabel, ScMappingCard_default.statusError].join(" "), children: [
|
|
10091
|
+
/* @__PURE__ */ jsx99("span", { className: ScMappingCard_default.statusIcon, children: /* @__PURE__ */ jsx99(
|
|
9968
10092
|
SiconClose4,
|
|
9969
10093
|
{
|
|
9970
10094
|
size: 24,
|
|
@@ -9973,7 +10097,7 @@ var ScMappingCard = ({
|
|
|
9973
10097
|
) }),
|
|
9974
10098
|
"Column Ignored"
|
|
9975
10099
|
] }),
|
|
9976
|
-
/* @__PURE__ */
|
|
10100
|
+
/* @__PURE__ */ jsx99(
|
|
9977
10101
|
"button",
|
|
9978
10102
|
{
|
|
9979
10103
|
type: "button",
|
|
@@ -10004,7 +10128,7 @@ var ScThinkingStepIcon_default = {
|
|
|
10004
10128
|
};
|
|
10005
10129
|
|
|
10006
10130
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.tsx
|
|
10007
|
-
import { jsx as
|
|
10131
|
+
import { jsx as jsx100, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
10008
10132
|
var ScThinkingStepIcon = ({
|
|
10009
10133
|
state = "default",
|
|
10010
10134
|
size = 12,
|
|
@@ -10013,13 +10137,13 @@ var ScThinkingStepIcon = ({
|
|
|
10013
10137
|
...props
|
|
10014
10138
|
}) => {
|
|
10015
10139
|
const variantsClassName = ScThinkingStepIcon_default["state-" + state];
|
|
10016
|
-
return /* @__PURE__ */
|
|
10140
|
+
return /* @__PURE__ */ jsx100(
|
|
10017
10141
|
"span",
|
|
10018
10142
|
{
|
|
10019
10143
|
className: ScThinkingStepIcon_default.scThinkingStepIcon + " " + (className ?? "") + " " + variantsClassName,
|
|
10020
10144
|
style: { width: size, height: size, ...style },
|
|
10021
10145
|
...props,
|
|
10022
|
-
children: /* @__PURE__ */
|
|
10146
|
+
children: /* @__PURE__ */ jsxs84(
|
|
10023
10147
|
"svg",
|
|
10024
10148
|
{
|
|
10025
10149
|
className: ScThinkingStepIcon_default.glyph,
|
|
@@ -10030,7 +10154,7 @@ var ScThinkingStepIcon = ({
|
|
|
10030
10154
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10031
10155
|
"aria-hidden": "true",
|
|
10032
10156
|
children: [
|
|
10033
|
-
state === "default" && /* @__PURE__ */
|
|
10157
|
+
state === "default" && /* @__PURE__ */ jsx100(
|
|
10034
10158
|
"circle",
|
|
10035
10159
|
{
|
|
10036
10160
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -10041,7 +10165,7 @@ var ScThinkingStepIcon = ({
|
|
|
10041
10165
|
strokeLinecap: "round"
|
|
10042
10166
|
}
|
|
10043
10167
|
),
|
|
10044
|
-
state === "working" && /* @__PURE__ */
|
|
10168
|
+
state === "working" && /* @__PURE__ */ jsx100(
|
|
10045
10169
|
"path",
|
|
10046
10170
|
{
|
|
10047
10171
|
className: ScThinkingStepIcon_default.stroke + " " + ScThinkingStepIcon_default.spinner,
|
|
@@ -10051,7 +10175,7 @@ var ScThinkingStepIcon = ({
|
|
|
10051
10175
|
strokeLinejoin: "round"
|
|
10052
10176
|
}
|
|
10053
10177
|
),
|
|
10054
|
-
state === "completed" && /* @__PURE__ */
|
|
10178
|
+
state === "completed" && /* @__PURE__ */ jsx100(
|
|
10055
10179
|
"path",
|
|
10056
10180
|
{
|
|
10057
10181
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -10061,7 +10185,7 @@ var ScThinkingStepIcon = ({
|
|
|
10061
10185
|
strokeLinejoin: "round"
|
|
10062
10186
|
}
|
|
10063
10187
|
),
|
|
10064
|
-
state === "error" && /* @__PURE__ */
|
|
10188
|
+
state === "error" && /* @__PURE__ */ jsx100(
|
|
10065
10189
|
"path",
|
|
10066
10190
|
{
|
|
10067
10191
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -10101,7 +10225,7 @@ var ScInChatList_default = {
|
|
|
10101
10225
|
|
|
10102
10226
|
// src/SC-InChatList/ScInChatList.tsx
|
|
10103
10227
|
import { SiconUp as SiconUp3, SiconDown as SiconDown3, SiconDot as SiconDot2 } from "@streamoid/icons";
|
|
10104
|
-
import { jsx as
|
|
10228
|
+
import { jsx as jsx101, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
10105
10229
|
var ScInChatList = ({
|
|
10106
10230
|
title = "Infrastructure that helps modern brands scale",
|
|
10107
10231
|
description = "Description",
|
|
@@ -10118,33 +10242,33 @@ var ScInChatList = ({
|
|
|
10118
10242
|
}) => {
|
|
10119
10243
|
const isExpandable = descriptionVisibility === "hidden" || descriptionVisibility === "visible";
|
|
10120
10244
|
const isExpanded = descriptionVisibility === "visible";
|
|
10121
|
-
return /* @__PURE__ */
|
|
10245
|
+
return /* @__PURE__ */ jsxs85(
|
|
10122
10246
|
"div",
|
|
10123
10247
|
{
|
|
10124
10248
|
className: ScInChatList_default.scInChatList + (className ? " " + className : ""),
|
|
10125
10249
|
style,
|
|
10126
10250
|
children: [
|
|
10127
|
-
leadingIndicator && /* @__PURE__ */
|
|
10128
|
-
/* @__PURE__ */
|
|
10129
|
-
/* @__PURE__ */
|
|
10130
|
-
showSteps && /* @__PURE__ */
|
|
10131
|
-
/* @__PURE__ */
|
|
10251
|
+
leadingIndicator && /* @__PURE__ */ jsx101("div", { className: ScInChatList_default.indicatorWrapper, children: /* @__PURE__ */ jsx101(ScThinkingStepIcon, { state: iconState }) }),
|
|
10252
|
+
/* @__PURE__ */ jsxs85("div", { className: ScInChatList_default.content, children: [
|
|
10253
|
+
/* @__PURE__ */ jsxs85("div", { className: ScInChatList_default.headerArea, children: [
|
|
10254
|
+
showSteps && /* @__PURE__ */ jsx101("p", { className: ScInChatList_default.stepCount, children: stepCount }),
|
|
10255
|
+
/* @__PURE__ */ jsxs85(
|
|
10132
10256
|
"div",
|
|
10133
10257
|
{
|
|
10134
10258
|
className: ScInChatList_default.titleRow + " " + (isExpandable ? ScInChatList_default.titleRowClickable : ScInChatList_default.titleRowStatic),
|
|
10135
10259
|
onClick: isExpandable ? onToggle : void 0,
|
|
10136
10260
|
children: [
|
|
10137
|
-
/* @__PURE__ */
|
|
10138
|
-
isExpandable && /* @__PURE__ */
|
|
10261
|
+
/* @__PURE__ */ jsx101("p", { className: ScInChatList_default.title, children: title }),
|
|
10262
|
+
isExpandable && /* @__PURE__ */ jsx101("div", { className: ScInChatList_default.chevronWrapper, children: isExpanded ? /* @__PURE__ */ jsx101(SiconUp3, { size: 12, className: ScInChatList_default.chevronIcon }) : /* @__PURE__ */ jsx101(SiconDown3, { size: 12, className: ScInChatList_default.chevronIcon }) })
|
|
10139
10263
|
]
|
|
10140
10264
|
}
|
|
10141
10265
|
),
|
|
10142
|
-
isExpanded && /* @__PURE__ */
|
|
10143
|
-
/* @__PURE__ */
|
|
10144
|
-
/* @__PURE__ */
|
|
10266
|
+
isExpanded && /* @__PURE__ */ jsxs85("div", { className: ScInChatList_default.descriptionRow, children: [
|
|
10267
|
+
/* @__PURE__ */ jsx101("div", { className: ScInChatList_default.descriptionIcon, children: /* @__PURE__ */ jsx101(SiconDot2, { size: 20, className: ScInChatList_default.descriptionDot }) }),
|
|
10268
|
+
/* @__PURE__ */ jsx101("p", { className: ScInChatList_default.descriptionText, children: description })
|
|
10145
10269
|
] })
|
|
10146
10270
|
] }),
|
|
10147
|
-
showTool && /* @__PURE__ */
|
|
10271
|
+
showTool && /* @__PURE__ */ jsx101("div", { className: ScInChatList_default.toolPill, children: /* @__PURE__ */ jsx101("p", { className: ScInChatList_default.toolText, children: toolUsing }) })
|
|
10148
10272
|
] })
|
|
10149
10273
|
]
|
|
10150
10274
|
}
|
|
@@ -10158,7 +10282,7 @@ var ScSubAgent_default = {
|
|
|
10158
10282
|
};
|
|
10159
10283
|
|
|
10160
10284
|
// src/SC-SubAgent/ScSubAgent.tsx
|
|
10161
|
-
import { jsx as
|
|
10285
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
10162
10286
|
function formatSubAgentLabel(agentName) {
|
|
10163
10287
|
const normalized = (agentName ?? "").trim();
|
|
10164
10288
|
if (!normalized) return "Using sub-agent...";
|
|
@@ -10171,12 +10295,12 @@ var ScSubAgent = ({
|
|
|
10171
10295
|
...props
|
|
10172
10296
|
}) => {
|
|
10173
10297
|
const label = text ?? formatSubAgentLabel(agentName);
|
|
10174
|
-
return /* @__PURE__ */
|
|
10298
|
+
return /* @__PURE__ */ jsx102(
|
|
10175
10299
|
"div",
|
|
10176
10300
|
{
|
|
10177
10301
|
className: [ScSubAgent_default.scSubAgent, className].filter(Boolean).join(" "),
|
|
10178
10302
|
...props,
|
|
10179
|
-
children: /* @__PURE__ */
|
|
10303
|
+
children: /* @__PURE__ */ jsx102("p", { className: ScSubAgent_default.label, children: label })
|
|
10180
10304
|
}
|
|
10181
10305
|
);
|
|
10182
10306
|
};
|
|
@@ -10190,7 +10314,7 @@ var ScInChatMessage_default = {
|
|
|
10190
10314
|
};
|
|
10191
10315
|
|
|
10192
10316
|
// src/SC-InChatMessage/ScInChatMessage.tsx
|
|
10193
|
-
import { jsx as
|
|
10317
|
+
import { jsx as jsx103 } from "react/jsx-runtime";
|
|
10194
10318
|
var ScInChatMessage = ({
|
|
10195
10319
|
type = "input",
|
|
10196
10320
|
text,
|
|
@@ -10200,13 +10324,13 @@ var ScInChatMessage = ({
|
|
|
10200
10324
|
...props
|
|
10201
10325
|
}) => {
|
|
10202
10326
|
const variantsClassName = ScInChatMessage_default["type-" + type];
|
|
10203
|
-
return /* @__PURE__ */
|
|
10327
|
+
return /* @__PURE__ */ jsx103(
|
|
10204
10328
|
"div",
|
|
10205
10329
|
{
|
|
10206
10330
|
className: [ScInChatMessage_default.scInChatMessage, variantsClassName, className].filter(Boolean).join(" "),
|
|
10207
10331
|
id,
|
|
10208
10332
|
...props,
|
|
10209
|
-
children: /* @__PURE__ */
|
|
10333
|
+
children: /* @__PURE__ */ jsx103("p", { className: ScInChatMessage_default.text, children: children ?? text })
|
|
10210
10334
|
}
|
|
10211
10335
|
);
|
|
10212
10336
|
};
|
|
@@ -10223,7 +10347,7 @@ var ScSelection_default = {
|
|
|
10223
10347
|
};
|
|
10224
10348
|
|
|
10225
10349
|
// src/SC-Selection/ScSelection.tsx
|
|
10226
|
-
import { jsx as
|
|
10350
|
+
import { jsx as jsx104, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
10227
10351
|
var ScSelection = ({
|
|
10228
10352
|
title = "Title",
|
|
10229
10353
|
description = "Description",
|
|
@@ -10239,23 +10363,23 @@ var ScSelection = ({
|
|
|
10239
10363
|
onClick?.(event);
|
|
10240
10364
|
onSelect?.(value);
|
|
10241
10365
|
};
|
|
10242
|
-
return /* @__PURE__ */
|
|
10366
|
+
return /* @__PURE__ */ jsxs86(
|
|
10243
10367
|
"div",
|
|
10244
10368
|
{
|
|
10245
10369
|
className: [ScSelection_default.scSelection, variantsClassName, className].filter(Boolean).join(" "),
|
|
10246
10370
|
onClick: handleClick,
|
|
10247
10371
|
...props,
|
|
10248
10372
|
children: [
|
|
10249
|
-
/* @__PURE__ */
|
|
10373
|
+
/* @__PURE__ */ jsx104(
|
|
10250
10374
|
ScRadio,
|
|
10251
10375
|
{
|
|
10252
10376
|
state: active ? "selected" : "default",
|
|
10253
10377
|
className: ScSelection_default.scRadioInstance
|
|
10254
10378
|
}
|
|
10255
10379
|
),
|
|
10256
|
-
/* @__PURE__ */
|
|
10257
|
-
/* @__PURE__ */
|
|
10258
|
-
description && /* @__PURE__ */
|
|
10380
|
+
/* @__PURE__ */ jsxs86("div", { className: ScSelection_default.wrapper, children: [
|
|
10381
|
+
/* @__PURE__ */ jsx104("p", { className: ScSelection_default.title, children: title }),
|
|
10382
|
+
description && /* @__PURE__ */ jsx104("p", { className: ScSelection_default.description, children: description })
|
|
10259
10383
|
] })
|
|
10260
10384
|
]
|
|
10261
10385
|
}
|
|
@@ -10282,7 +10406,7 @@ var ScSelectionList_default = {
|
|
|
10282
10406
|
};
|
|
10283
10407
|
|
|
10284
10408
|
// src/SC-SelectionList/ScSelectionList.tsx
|
|
10285
|
-
import { jsx as
|
|
10409
|
+
import { jsx as jsx105, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
10286
10410
|
var ScSelectionList = ({
|
|
10287
10411
|
state = "default",
|
|
10288
10412
|
label = "Suggested Colours: ",
|
|
@@ -10305,14 +10429,14 @@ var ScSelectionList = ({
|
|
|
10305
10429
|
onChange?.(next);
|
|
10306
10430
|
if (next === "rejected") onReject?.();
|
|
10307
10431
|
};
|
|
10308
|
-
return /* @__PURE__ */
|
|
10432
|
+
return /* @__PURE__ */ jsxs87(
|
|
10309
10433
|
"div",
|
|
10310
10434
|
{
|
|
10311
10435
|
className: ScSelectionList_default.scSelectionList + (disabled ? " " + ScSelectionList_default.disabled : "") + (className ? " " + className : "") + " " + variantsClassName,
|
|
10312
10436
|
...props,
|
|
10313
10437
|
children: [
|
|
10314
|
-
/* @__PURE__ */
|
|
10315
|
-
/* @__PURE__ */
|
|
10438
|
+
/* @__PURE__ */ jsxs87("div", { className: ScSelectionList_default.toggles, children: [
|
|
10439
|
+
/* @__PURE__ */ jsx105(
|
|
10316
10440
|
"button",
|
|
10317
10441
|
{
|
|
10318
10442
|
type: "button",
|
|
@@ -10321,7 +10445,7 @@ var ScSelectionList = ({
|
|
|
10321
10445
|
disabled,
|
|
10322
10446
|
"aria-pressed": state === "approved",
|
|
10323
10447
|
"aria-label": state === "approved" ? "Revoke approval" : "Approve",
|
|
10324
|
-
children: /* @__PURE__ */
|
|
10448
|
+
children: /* @__PURE__ */ jsx105(
|
|
10325
10449
|
"svg",
|
|
10326
10450
|
{
|
|
10327
10451
|
className: ScSelectionList_default.checkIcon,
|
|
@@ -10330,7 +10454,7 @@ var ScSelectionList = ({
|
|
|
10330
10454
|
viewBox: "0 0 8 6",
|
|
10331
10455
|
fill: "none",
|
|
10332
10456
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10333
|
-
children: /* @__PURE__ */
|
|
10457
|
+
children: /* @__PURE__ */ jsx105(
|
|
10334
10458
|
"path",
|
|
10335
10459
|
{
|
|
10336
10460
|
d: "M0.5 3.5L2.5 5.5L7.5 0.5",
|
|
@@ -10343,7 +10467,7 @@ var ScSelectionList = ({
|
|
|
10343
10467
|
)
|
|
10344
10468
|
}
|
|
10345
10469
|
),
|
|
10346
|
-
/* @__PURE__ */
|
|
10470
|
+
/* @__PURE__ */ jsx105(
|
|
10347
10471
|
"button",
|
|
10348
10472
|
{
|
|
10349
10473
|
type: "button",
|
|
@@ -10352,7 +10476,7 @@ var ScSelectionList = ({
|
|
|
10352
10476
|
disabled,
|
|
10353
10477
|
"aria-pressed": state === "rejected",
|
|
10354
10478
|
"aria-label": state === "rejected" ? "Revoke rejection" : "Reject",
|
|
10355
|
-
children: /* @__PURE__ */
|
|
10479
|
+
children: /* @__PURE__ */ jsx105(
|
|
10356
10480
|
"svg",
|
|
10357
10481
|
{
|
|
10358
10482
|
className: ScSelectionList_default.closeIcon,
|
|
@@ -10361,7 +10485,7 @@ var ScSelectionList = ({
|
|
|
10361
10485
|
viewBox: "0 0 6.24261 6.24262",
|
|
10362
10486
|
fill: "none",
|
|
10363
10487
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10364
|
-
children: /* @__PURE__ */
|
|
10488
|
+
children: /* @__PURE__ */ jsx105(
|
|
10365
10489
|
"path",
|
|
10366
10490
|
{
|
|
10367
10491
|
d: "M0.5 5.74262L3.12132 3.12132M3.12132 3.12132L5.74261 0.5M3.12132 3.12132L0.5 0.5M3.12132 3.12132L5.74261 5.74262",
|
|
@@ -10375,9 +10499,9 @@ var ScSelectionList = ({
|
|
|
10375
10499
|
}
|
|
10376
10500
|
)
|
|
10377
10501
|
] }),
|
|
10378
|
-
/* @__PURE__ */
|
|
10379
|
-
/* @__PURE__ */
|
|
10380
|
-
/* @__PURE__ */
|
|
10502
|
+
/* @__PURE__ */ jsx105("div", { className: ScSelectionList_default.content, children: /* @__PURE__ */ jsxs87("div", { className: ScSelectionList_default.row, children: [
|
|
10503
|
+
/* @__PURE__ */ jsx105("span", { className: ScSelectionList_default.label, children: label }),
|
|
10504
|
+
/* @__PURE__ */ jsx105("span", { className: ScSelectionList_default.valuesPill, children: /* @__PURE__ */ jsx105("span", { className: ScSelectionList_default.valuesText, children: optionValues }) })
|
|
10381
10505
|
] }) })
|
|
10382
10506
|
]
|
|
10383
10507
|
}
|
|
@@ -10404,7 +10528,7 @@ var ScTextArea_default = {
|
|
|
10404
10528
|
};
|
|
10405
10529
|
|
|
10406
10530
|
// src/SC-textArea/ScTextArea.tsx
|
|
10407
|
-
import { jsx as
|
|
10531
|
+
import { jsx as jsx106, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
10408
10532
|
var ScTextArea = ({
|
|
10409
10533
|
state,
|
|
10410
10534
|
labelGroup = "",
|
|
@@ -10419,23 +10543,23 @@ var ScTextArea = ({
|
|
|
10419
10543
|
const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
|
|
10420
10544
|
const stateClass = ScTextArea_default["state-" + derivedState];
|
|
10421
10545
|
const labelGroupClass = ScTextArea_default["label-group-" + (labelGroup || "none")];
|
|
10422
|
-
return /* @__PURE__ */
|
|
10546
|
+
return /* @__PURE__ */ jsxs88(
|
|
10423
10547
|
"div",
|
|
10424
10548
|
{
|
|
10425
10549
|
className: [ScTextArea_default.scTextArea, stateClass, labelGroupClass, className].filter(Boolean).join(" "),
|
|
10426
10550
|
style,
|
|
10427
10551
|
children: [
|
|
10428
|
-
labelGroup && /* @__PURE__ */
|
|
10429
|
-
/* @__PURE__ */
|
|
10552
|
+
labelGroup && /* @__PURE__ */ jsxs88("div", { className: ScTextArea_default.labelContainer, children: [
|
|
10553
|
+
/* @__PURE__ */ jsxs88("div", { className: ScTextArea_default.label, children: [
|
|
10430
10554
|
label,
|
|
10431
10555
|
" "
|
|
10432
10556
|
] }),
|
|
10433
|
-
labelGroup === "text" && /* @__PURE__ */
|
|
10557
|
+
labelGroup === "text" && /* @__PURE__ */ jsxs88("div", { className: ScTextArea_default.info, children: [
|
|
10434
10558
|
info,
|
|
10435
10559
|
" "
|
|
10436
10560
|
] })
|
|
10437
10561
|
] }),
|
|
10438
|
-
/* @__PURE__ */
|
|
10562
|
+
/* @__PURE__ */ jsx106("div", { className: ScTextArea_default.inputContainer, children: /* @__PURE__ */ jsx106(
|
|
10439
10563
|
"textarea",
|
|
10440
10564
|
{
|
|
10441
10565
|
className: ScTextArea_default.inputText,
|
|
@@ -10457,7 +10581,7 @@ var ScTextArea = ({
|
|
|
10457
10581
|
};
|
|
10458
10582
|
|
|
10459
10583
|
// src/SC-select/ScSelect.tsx
|
|
10460
|
-
import { useState as useState20, useRef as
|
|
10584
|
+
import { useState as useState20, useRef as useRef9, useEffect as useEffect9 } from "react";
|
|
10461
10585
|
|
|
10462
10586
|
// src/SC-select/ScSelect.module.css
|
|
10463
10587
|
var ScSelect_default = {
|
|
@@ -10482,7 +10606,7 @@ var ScSelect_default = {
|
|
|
10482
10606
|
};
|
|
10483
10607
|
|
|
10484
10608
|
// src/SC-select/ScSelect.tsx
|
|
10485
|
-
import { jsx as
|
|
10609
|
+
import { jsx as jsx107, jsxs as jsxs89 } from "react/jsx-runtime";
|
|
10486
10610
|
var ScSelect = (props) => {
|
|
10487
10611
|
const {
|
|
10488
10612
|
value,
|
|
@@ -10495,8 +10619,8 @@ var ScSelect = (props) => {
|
|
|
10495
10619
|
className
|
|
10496
10620
|
} = props;
|
|
10497
10621
|
const [open, setOpen] = useState20(false);
|
|
10498
|
-
const rootRef =
|
|
10499
|
-
|
|
10622
|
+
const rootRef = useRef9(null);
|
|
10623
|
+
useEffect9(() => {
|
|
10500
10624
|
if (!open) return;
|
|
10501
10625
|
const handleClick = (e) => {
|
|
10502
10626
|
if (rootRef.current && !rootRef.current.contains(e.target)) {
|
|
@@ -10522,10 +10646,10 @@ var ScSelect = (props) => {
|
|
|
10522
10646
|
labelGroup ? ScSelect_default["label-group-" + labelGroup] : void 0,
|
|
10523
10647
|
className
|
|
10524
10648
|
].filter(Boolean).join(" ");
|
|
10525
|
-
return /* @__PURE__ */
|
|
10526
|
-
labelGroup === "label" && label ? /* @__PURE__ */
|
|
10527
|
-
/* @__PURE__ */
|
|
10528
|
-
/* @__PURE__ */
|
|
10649
|
+
return /* @__PURE__ */ jsxs89("div", { className: rootClass, ref: rootRef, children: [
|
|
10650
|
+
labelGroup === "label" && label ? /* @__PURE__ */ jsx107("div", { className: ScSelect_default.labelContainer, children: /* @__PURE__ */ jsx107("div", { className: ScSelect_default.label, children: label }) }) : null,
|
|
10651
|
+
/* @__PURE__ */ jsxs89("div", { className: ScSelect_default.selectArea, children: [
|
|
10652
|
+
/* @__PURE__ */ jsxs89(
|
|
10529
10653
|
"button",
|
|
10530
10654
|
{
|
|
10531
10655
|
type: "button",
|
|
@@ -10535,18 +10659,18 @@ var ScSelect = (props) => {
|
|
|
10535
10659
|
"aria-haspopup": "listbox",
|
|
10536
10660
|
"aria-expanded": open,
|
|
10537
10661
|
children: [
|
|
10538
|
-
/* @__PURE__ */
|
|
10662
|
+
/* @__PURE__ */ jsx107(
|
|
10539
10663
|
"span",
|
|
10540
10664
|
{
|
|
10541
10665
|
className: [ScSelect_default.triggerText, selected ? void 0 : ScSelect_default.placeholder].filter(Boolean).join(" "),
|
|
10542
10666
|
children: selected ? selected.label : placeholder
|
|
10543
10667
|
}
|
|
10544
10668
|
),
|
|
10545
|
-
/* @__PURE__ */
|
|
10669
|
+
/* @__PURE__ */ jsx107(
|
|
10546
10670
|
"span",
|
|
10547
10671
|
{
|
|
10548
10672
|
className: [ScSelect_default.chevron, open ? ScSelect_default.chevronOpen : void 0].filter(Boolean).join(" "),
|
|
10549
|
-
children: /* @__PURE__ */
|
|
10673
|
+
children: /* @__PURE__ */ jsx107("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx107(
|
|
10550
10674
|
"path",
|
|
10551
10675
|
{
|
|
10552
10676
|
d: "M5 7.5L10 12.5L15 7.5",
|
|
@@ -10561,13 +10685,13 @@ var ScSelect = (props) => {
|
|
|
10561
10685
|
]
|
|
10562
10686
|
}
|
|
10563
10687
|
),
|
|
10564
|
-
open ? /* @__PURE__ */
|
|
10688
|
+
open ? /* @__PURE__ */ jsx107("div", { className: ScSelect_default.menu, role: "listbox", children: options.map((option) => {
|
|
10565
10689
|
const isSelected = option.id === value;
|
|
10566
10690
|
const optionClass = [
|
|
10567
10691
|
ScSelect_default.option,
|
|
10568
10692
|
isSelected ? ScSelect_default["option-selected"] : void 0
|
|
10569
10693
|
].filter(Boolean).join(" ");
|
|
10570
|
-
return /* @__PURE__ */
|
|
10694
|
+
return /* @__PURE__ */ jsxs89(
|
|
10571
10695
|
"div",
|
|
10572
10696
|
{
|
|
10573
10697
|
className: optionClass,
|
|
@@ -10575,8 +10699,8 @@ var ScSelect = (props) => {
|
|
|
10575
10699
|
"aria-selected": isSelected,
|
|
10576
10700
|
onClick: () => handleSelect(option.id),
|
|
10577
10701
|
children: [
|
|
10578
|
-
/* @__PURE__ */
|
|
10579
|
-
option.description ? /* @__PURE__ */
|
|
10702
|
+
/* @__PURE__ */ jsx107("span", { className: ScSelect_default.optionLabel, children: option.label }),
|
|
10703
|
+
option.description ? /* @__PURE__ */ jsx107("span", { className: ScSelect_default.optionDescription, children: option.description }) : null
|
|
10580
10704
|
]
|
|
10581
10705
|
},
|
|
10582
10706
|
option.id
|
|
@@ -10587,7 +10711,7 @@ var ScSelect = (props) => {
|
|
|
10587
10711
|
};
|
|
10588
10712
|
|
|
10589
10713
|
// src/SC-fileField/ScFileField.tsx
|
|
10590
|
-
import { useRef as
|
|
10714
|
+
import { useRef as useRef10 } from "react";
|
|
10591
10715
|
|
|
10592
10716
|
// src/SC-fileField/ScFileField.module.css
|
|
10593
10717
|
var ScFileField_default = {
|
|
@@ -10611,7 +10735,7 @@ var ScFileField_default = {
|
|
|
10611
10735
|
};
|
|
10612
10736
|
|
|
10613
10737
|
// src/SC-fileField/ScFileField.tsx
|
|
10614
|
-
import { jsx as
|
|
10738
|
+
import { jsx as jsx108, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
10615
10739
|
var ScFileField = (props) => {
|
|
10616
10740
|
const {
|
|
10617
10741
|
onFileSelect,
|
|
@@ -10625,7 +10749,7 @@ var ScFileField = (props) => {
|
|
|
10625
10749
|
label,
|
|
10626
10750
|
className
|
|
10627
10751
|
} = props;
|
|
10628
|
-
const inputRef =
|
|
10752
|
+
const inputRef = useRef10(null);
|
|
10629
10753
|
const hasFile = Boolean(fileName);
|
|
10630
10754
|
const isUploading = Boolean(uploading);
|
|
10631
10755
|
const clampedProgress = Math.max(0, Math.min(100, progress));
|
|
@@ -10634,7 +10758,7 @@ var ScFileField = (props) => {
|
|
|
10634
10758
|
onFileSelect(e.target.files);
|
|
10635
10759
|
}
|
|
10636
10760
|
};
|
|
10637
|
-
const uploadIcon = /* @__PURE__ */
|
|
10761
|
+
const uploadIcon = /* @__PURE__ */ jsxs90(
|
|
10638
10762
|
"svg",
|
|
10639
10763
|
{
|
|
10640
10764
|
className: ScFileField_default.uploadIcon,
|
|
@@ -10648,13 +10772,13 @@ var ScFileField = (props) => {
|
|
|
10648
10772
|
strokeLinejoin: "round",
|
|
10649
10773
|
"aria-hidden": "true",
|
|
10650
10774
|
children: [
|
|
10651
|
-
/* @__PURE__ */
|
|
10652
|
-
/* @__PURE__ */
|
|
10653
|
-
/* @__PURE__ */
|
|
10775
|
+
/* @__PURE__ */ jsx108("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
10776
|
+
/* @__PURE__ */ jsx108("path", { d: "M12 16V4" }),
|
|
10777
|
+
/* @__PURE__ */ jsx108("path", { d: "M7 9l5-5 5 5" })
|
|
10654
10778
|
]
|
|
10655
10779
|
}
|
|
10656
10780
|
);
|
|
10657
|
-
const fileIcon = /* @__PURE__ */
|
|
10781
|
+
const fileIcon = /* @__PURE__ */ jsxs90(
|
|
10658
10782
|
"svg",
|
|
10659
10783
|
{
|
|
10660
10784
|
className: ScFileField_default.fileIcon,
|
|
@@ -10668,12 +10792,12 @@ var ScFileField = (props) => {
|
|
|
10668
10792
|
strokeLinejoin: "round",
|
|
10669
10793
|
"aria-hidden": "true",
|
|
10670
10794
|
children: [
|
|
10671
|
-
/* @__PURE__ */
|
|
10672
|
-
/* @__PURE__ */
|
|
10795
|
+
/* @__PURE__ */ jsx108("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
|
|
10796
|
+
/* @__PURE__ */ jsx108("path", { d: "M14 2v6h6" })
|
|
10673
10797
|
]
|
|
10674
10798
|
}
|
|
10675
10799
|
);
|
|
10676
|
-
const clearIcon = /* @__PURE__ */
|
|
10800
|
+
const clearIcon = /* @__PURE__ */ jsxs90(
|
|
10677
10801
|
"svg",
|
|
10678
10802
|
{
|
|
10679
10803
|
width: "20",
|
|
@@ -10686,20 +10810,20 @@ var ScFileField = (props) => {
|
|
|
10686
10810
|
strokeLinejoin: "round",
|
|
10687
10811
|
"aria-hidden": "true",
|
|
10688
10812
|
children: [
|
|
10689
|
-
/* @__PURE__ */
|
|
10690
|
-
/* @__PURE__ */
|
|
10813
|
+
/* @__PURE__ */ jsx108("path", { d: "M18 6L6 18" }),
|
|
10814
|
+
/* @__PURE__ */ jsx108("path", { d: "M6 6l12 12" })
|
|
10691
10815
|
]
|
|
10692
10816
|
}
|
|
10693
10817
|
);
|
|
10694
10818
|
const rootClass = [ScFileField_default.scFileField, className].filter(Boolean).join(" ");
|
|
10695
10819
|
const showRow = hasFile || isUploading;
|
|
10696
|
-
return /* @__PURE__ */
|
|
10697
|
-
label ? /* @__PURE__ */
|
|
10698
|
-
showRow ? /* @__PURE__ */
|
|
10820
|
+
return /* @__PURE__ */ jsxs90("div", { className: rootClass, children: [
|
|
10821
|
+
label ? /* @__PURE__ */ jsx108("div", { className: ScFileField_default.labelContainer, children: /* @__PURE__ */ jsx108("div", { className: ScFileField_default.label, children: label }) }) : null,
|
|
10822
|
+
showRow ? /* @__PURE__ */ jsxs90("div", { className: ScFileField_default.inputContainer, children: [
|
|
10699
10823
|
fileIcon,
|
|
10700
|
-
/* @__PURE__ */
|
|
10701
|
-
/* @__PURE__ */
|
|
10702
|
-
isUploading ? /* @__PURE__ */
|
|
10824
|
+
/* @__PURE__ */ jsxs90("div", { className: ScFileField_default.fileInfo, children: [
|
|
10825
|
+
/* @__PURE__ */ jsx108("span", { className: ScFileField_default.fileName, children: fileName }),
|
|
10826
|
+
isUploading ? /* @__PURE__ */ jsx108("div", { className: ScFileField_default.progressTrack, children: /* @__PURE__ */ jsx108(
|
|
10703
10827
|
"div",
|
|
10704
10828
|
{
|
|
10705
10829
|
className: ScFileField_default.progressFill,
|
|
@@ -10707,7 +10831,7 @@ var ScFileField = (props) => {
|
|
|
10707
10831
|
}
|
|
10708
10832
|
) }) : null
|
|
10709
10833
|
] }),
|
|
10710
|
-
!isUploading ? /* @__PURE__ */
|
|
10834
|
+
!isUploading ? /* @__PURE__ */ jsx108(
|
|
10711
10835
|
"button",
|
|
10712
10836
|
{
|
|
10713
10837
|
type: "button",
|
|
@@ -10717,8 +10841,8 @@ var ScFileField = (props) => {
|
|
|
10717
10841
|
children: clearIcon
|
|
10718
10842
|
}
|
|
10719
10843
|
) : null
|
|
10720
|
-
] }) : /* @__PURE__ */
|
|
10721
|
-
/* @__PURE__ */
|
|
10844
|
+
] }) : /* @__PURE__ */ jsxs90("label", { className: ScFileField_default.dropzone, children: [
|
|
10845
|
+
/* @__PURE__ */ jsx108(
|
|
10722
10846
|
"input",
|
|
10723
10847
|
{
|
|
10724
10848
|
ref: inputRef,
|
|
@@ -10730,21 +10854,21 @@ var ScFileField = (props) => {
|
|
|
10730
10854
|
}
|
|
10731
10855
|
),
|
|
10732
10856
|
uploadIcon,
|
|
10733
|
-
/* @__PURE__ */
|
|
10734
|
-
/* @__PURE__ */
|
|
10857
|
+
/* @__PURE__ */ jsxs90("div", { className: ScFileField_default.dropzoneText, children: [
|
|
10858
|
+
/* @__PURE__ */ jsx108("span", { className: ScFileField_default.dropzoneAction, children: "Click to upload" }),
|
|
10735
10859
|
" or drag and drop"
|
|
10736
10860
|
] }),
|
|
10737
|
-
accept ? /* @__PURE__ */
|
|
10861
|
+
accept ? /* @__PURE__ */ jsxs90("div", { className: ScFileField_default.acceptedText, children: [
|
|
10738
10862
|
"Accepted: ",
|
|
10739
10863
|
accept
|
|
10740
10864
|
] }) : null
|
|
10741
10865
|
] }),
|
|
10742
|
-
error ? /* @__PURE__ */
|
|
10866
|
+
error ? /* @__PURE__ */ jsx108("div", { className: ScFileField_default.errorText, children: error }) : null
|
|
10743
10867
|
] });
|
|
10744
10868
|
};
|
|
10745
10869
|
|
|
10746
10870
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
10747
|
-
import { useState as useState21, useEffect as
|
|
10871
|
+
import { useState as useState21, useEffect as useEffect10 } from "react";
|
|
10748
10872
|
|
|
10749
10873
|
// src/SC-mediaApproval/ScMediaApproval.module.css
|
|
10750
10874
|
var ScMediaApproval_default = {
|
|
@@ -10769,7 +10893,7 @@ var ScMediaApproval_default = {
|
|
|
10769
10893
|
};
|
|
10770
10894
|
|
|
10771
10895
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
10772
|
-
import { Fragment as Fragment27, jsx as
|
|
10896
|
+
import { Fragment as Fragment27, jsx as jsx109, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
10773
10897
|
var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
|
|
10774
10898
|
var isVideoUrl = (url, mediaType) => {
|
|
10775
10899
|
if (mediaType === "video") return true;
|
|
@@ -10793,7 +10917,7 @@ var ScMediaApproval = (props) => {
|
|
|
10793
10917
|
const total = mediaUrls.length;
|
|
10794
10918
|
const [index, setIndex] = useState21(activeIndex ?? 0);
|
|
10795
10919
|
const [mediaLoading, setMediaLoading] = useState21(false);
|
|
10796
|
-
|
|
10920
|
+
useEffect10(() => {
|
|
10797
10921
|
if (typeof activeIndex === "number") {
|
|
10798
10922
|
setIndex(activeIndex);
|
|
10799
10923
|
}
|
|
@@ -10811,9 +10935,9 @@ var ScMediaApproval = (props) => {
|
|
|
10811
10935
|
const handlePreview = () => {
|
|
10812
10936
|
if (currentUrl && onPreview) onPreview(currentUrl);
|
|
10813
10937
|
};
|
|
10814
|
-
return /* @__PURE__ */
|
|
10815
|
-
/* @__PURE__ */
|
|
10816
|
-
currentUrl ? currentIsVideo ? /* @__PURE__ */
|
|
10938
|
+
return /* @__PURE__ */ jsxs91("div", { className: [ScMediaApproval_default.scMediaApproval, className].filter(Boolean).join(" "), children: [
|
|
10939
|
+
/* @__PURE__ */ jsxs91("div", { className: ScMediaApproval_default.mediaFrame, children: [
|
|
10940
|
+
currentUrl ? currentIsVideo ? /* @__PURE__ */ jsx109(
|
|
10817
10941
|
"video",
|
|
10818
10942
|
{
|
|
10819
10943
|
className: ScMediaApproval_default.media,
|
|
@@ -10822,7 +10946,7 @@ var ScMediaApproval = (props) => {
|
|
|
10822
10946
|
onClick: handlePreview,
|
|
10823
10947
|
onLoadedData: () => setMediaLoading(false)
|
|
10824
10948
|
}
|
|
10825
|
-
) : /* @__PURE__ */
|
|
10949
|
+
) : /* @__PURE__ */ jsx109(
|
|
10826
10950
|
"img",
|
|
10827
10951
|
{
|
|
10828
10952
|
className: ScMediaApproval_default.media,
|
|
@@ -10831,8 +10955,8 @@ var ScMediaApproval = (props) => {
|
|
|
10831
10955
|
onClick: handlePreview,
|
|
10832
10956
|
onLoad: () => setMediaLoading(false)
|
|
10833
10957
|
}
|
|
10834
|
-
) : /* @__PURE__ */
|
|
10835
|
-
(loading || mediaLoading) && /* @__PURE__ */
|
|
10958
|
+
) : /* @__PURE__ */ jsx109("div", { className: ScMediaApproval_default.mediaEmpty }),
|
|
10959
|
+
(loading || mediaLoading) && /* @__PURE__ */ jsx109("div", { className: ScMediaApproval_default.spinnerOverlay, children: /* @__PURE__ */ jsx109(
|
|
10836
10960
|
"svg",
|
|
10837
10961
|
{
|
|
10838
10962
|
className: ScMediaApproval_default.spinner,
|
|
@@ -10840,7 +10964,7 @@ var ScMediaApproval = (props) => {
|
|
|
10840
10964
|
height: "32",
|
|
10841
10965
|
viewBox: "0 0 24 24",
|
|
10842
10966
|
fill: "none",
|
|
10843
|
-
children: /* @__PURE__ */
|
|
10967
|
+
children: /* @__PURE__ */ jsx109(
|
|
10844
10968
|
"path",
|
|
10845
10969
|
{
|
|
10846
10970
|
d: "M12 3a9 9 0 1 0 9 9",
|
|
@@ -10851,15 +10975,15 @@ var ScMediaApproval = (props) => {
|
|
|
10851
10975
|
)
|
|
10852
10976
|
}
|
|
10853
10977
|
) }),
|
|
10854
|
-
total > 1 && /* @__PURE__ */
|
|
10855
|
-
/* @__PURE__ */
|
|
10978
|
+
total > 1 && /* @__PURE__ */ jsxs91(Fragment27, { children: [
|
|
10979
|
+
/* @__PURE__ */ jsx109(
|
|
10856
10980
|
"button",
|
|
10857
10981
|
{
|
|
10858
10982
|
type: "button",
|
|
10859
10983
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navPrev].join(" "),
|
|
10860
10984
|
"aria-label": "Previous",
|
|
10861
10985
|
onClick: () => goTo(safeIndex - 1),
|
|
10862
|
-
children: /* @__PURE__ */
|
|
10986
|
+
children: /* @__PURE__ */ jsx109("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx109(
|
|
10863
10987
|
"path",
|
|
10864
10988
|
{
|
|
10865
10989
|
d: "M15 6L9 12L15 18",
|
|
@@ -10871,14 +10995,14 @@ var ScMediaApproval = (props) => {
|
|
|
10871
10995
|
) })
|
|
10872
10996
|
}
|
|
10873
10997
|
),
|
|
10874
|
-
/* @__PURE__ */
|
|
10998
|
+
/* @__PURE__ */ jsx109(
|
|
10875
10999
|
"button",
|
|
10876
11000
|
{
|
|
10877
11001
|
type: "button",
|
|
10878
11002
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navNext].join(" "),
|
|
10879
11003
|
"aria-label": "Next",
|
|
10880
11004
|
onClick: () => goTo(safeIndex + 1),
|
|
10881
|
-
children: /* @__PURE__ */
|
|
11005
|
+
children: /* @__PURE__ */ jsx109("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx109(
|
|
10882
11006
|
"path",
|
|
10883
11007
|
{
|
|
10884
11008
|
d: "M9 6L15 12L9 18",
|
|
@@ -10890,12 +11014,12 @@ var ScMediaApproval = (props) => {
|
|
|
10890
11014
|
) })
|
|
10891
11015
|
}
|
|
10892
11016
|
),
|
|
10893
|
-
/* @__PURE__ */
|
|
11017
|
+
/* @__PURE__ */ jsxs91("div", { className: ScMediaApproval_default.counterBadge, children: [
|
|
10894
11018
|
safeIndex + 1,
|
|
10895
11019
|
" / ",
|
|
10896
11020
|
total
|
|
10897
11021
|
] }),
|
|
10898
|
-
/* @__PURE__ */
|
|
11022
|
+
/* @__PURE__ */ jsx109("div", { className: ScMediaApproval_default.dots, children: mediaUrls.map((_, i) => /* @__PURE__ */ jsx109(
|
|
10899
11023
|
"button",
|
|
10900
11024
|
{
|
|
10901
11025
|
type: "button",
|
|
@@ -10910,9 +11034,9 @@ var ScMediaApproval = (props) => {
|
|
|
10910
11034
|
)) })
|
|
10911
11035
|
] })
|
|
10912
11036
|
] }),
|
|
10913
|
-
/* @__PURE__ */
|
|
10914
|
-
/* @__PURE__ */
|
|
10915
|
-
/* @__PURE__ */
|
|
11037
|
+
/* @__PURE__ */ jsxs91("div", { className: ScMediaApproval_default.feedbackBlock, children: [
|
|
11038
|
+
/* @__PURE__ */ jsx109("div", { className: ScMediaApproval_default.label, children: feedbackLabel }),
|
|
11039
|
+
/* @__PURE__ */ jsx109("div", { className: ScMediaApproval_default.inputContainer, children: /* @__PURE__ */ jsx109(
|
|
10916
11040
|
"textarea",
|
|
10917
11041
|
{
|
|
10918
11042
|
className: ScMediaApproval_default.textArea,
|
|
@@ -10948,8 +11072,8 @@ var ScMediaSelect_default = {
|
|
|
10948
11072
|
};
|
|
10949
11073
|
|
|
10950
11074
|
// src/SC-mediaSelect/ScMediaSelect.tsx
|
|
10951
|
-
import { jsx as
|
|
10952
|
-
var CheckBadge = () => /* @__PURE__ */
|
|
11075
|
+
import { jsx as jsx110, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
11076
|
+
var CheckBadge = () => /* @__PURE__ */ jsx110("span", { className: ScMediaSelect_default.checkBadge, children: /* @__PURE__ */ jsx110("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx110(
|
|
10953
11077
|
"path",
|
|
10954
11078
|
{
|
|
10955
11079
|
d: "M3.5 7.25L6 9.75L10.5 4.75",
|
|
@@ -10959,7 +11083,7 @@ var CheckBadge = () => /* @__PURE__ */ jsx109("span", { className: ScMediaSelect
|
|
|
10959
11083
|
strokeLinejoin: "round"
|
|
10960
11084
|
}
|
|
10961
11085
|
) }) });
|
|
10962
|
-
var MaximizeIcon = () => /* @__PURE__ */
|
|
11086
|
+
var MaximizeIcon = () => /* @__PURE__ */ jsx110("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx110(
|
|
10963
11087
|
"path",
|
|
10964
11088
|
{
|
|
10965
11089
|
d: "M15 3H21V9M9 21H3V15M21 3L14 10M3 21L10 14",
|
|
@@ -10989,11 +11113,11 @@ var ScMediaSelect = (props) => {
|
|
|
10989
11113
|
let countLabel = selectedCount + " of " + total + " selected";
|
|
10990
11114
|
if (min > 0) countLabel += " (min " + min + ")";
|
|
10991
11115
|
if (resolvedMax < total) countLabel += " (max " + resolvedMax + ")";
|
|
10992
|
-
return /* @__PURE__ */
|
|
10993
|
-
/* @__PURE__ */
|
|
10994
|
-
/* @__PURE__ */
|
|
10995
|
-
/* @__PURE__ */
|
|
10996
|
-
/* @__PURE__ */
|
|
11116
|
+
return /* @__PURE__ */ jsxs92("div", { className: [ScMediaSelect_default.scMediaSelect, className].filter(Boolean).join(" "), children: [
|
|
11117
|
+
/* @__PURE__ */ jsxs92("div", { className: ScMediaSelect_default.header, children: [
|
|
11118
|
+
/* @__PURE__ */ jsx110("span", { className: ScMediaSelect_default.countLabel, children: countLabel }),
|
|
11119
|
+
/* @__PURE__ */ jsxs92("div", { className: ScMediaSelect_default.actions, children: [
|
|
11120
|
+
/* @__PURE__ */ jsx110(
|
|
10997
11121
|
"button",
|
|
10998
11122
|
{
|
|
10999
11123
|
type: "button",
|
|
@@ -11002,8 +11126,8 @@ var ScMediaSelect = (props) => {
|
|
|
11002
11126
|
children: "Select all"
|
|
11003
11127
|
}
|
|
11004
11128
|
),
|
|
11005
|
-
/* @__PURE__ */
|
|
11006
|
-
/* @__PURE__ */
|
|
11129
|
+
/* @__PURE__ */ jsx110("span", { className: ScMediaSelect_default.divider, children: "|" }),
|
|
11130
|
+
/* @__PURE__ */ jsx110(
|
|
11007
11131
|
"button",
|
|
11008
11132
|
{
|
|
11009
11133
|
type: "button",
|
|
@@ -11014,13 +11138,13 @@ var ScMediaSelect = (props) => {
|
|
|
11014
11138
|
)
|
|
11015
11139
|
] })
|
|
11016
11140
|
] }),
|
|
11017
|
-
/* @__PURE__ */
|
|
11141
|
+
/* @__PURE__ */ jsx110("div", { className: ScMediaSelect_default.grid, children: items.map((url, index) => {
|
|
11018
11142
|
const isSelected = selectedSet.has(url);
|
|
11019
11143
|
const itemClass = [
|
|
11020
11144
|
ScMediaSelect_default.item,
|
|
11021
11145
|
isSelected ? ScMediaSelect_default["state-selected"] : ScMediaSelect_default["state-default"]
|
|
11022
11146
|
].filter(Boolean).join(" ");
|
|
11023
|
-
return /* @__PURE__ */
|
|
11147
|
+
return /* @__PURE__ */ jsxs92(
|
|
11024
11148
|
"div",
|
|
11025
11149
|
{
|
|
11026
11150
|
className: itemClass,
|
|
@@ -11029,9 +11153,9 @@ var ScMediaSelect = (props) => {
|
|
|
11029
11153
|
tabIndex: 0,
|
|
11030
11154
|
"aria-pressed": isSelected,
|
|
11031
11155
|
children: [
|
|
11032
|
-
mediaType === "video" ? /* @__PURE__ */
|
|
11033
|
-
isSelected && /* @__PURE__ */
|
|
11034
|
-
onPreview && /* @__PURE__ */
|
|
11156
|
+
mediaType === "video" ? /* @__PURE__ */ jsx110("video", { className: ScMediaSelect_default.media, src: url, muted: true, playsInline: true }) : /* @__PURE__ */ jsx110("img", { className: ScMediaSelect_default.media, src: url, alt: "" }),
|
|
11157
|
+
isSelected && /* @__PURE__ */ jsx110(CheckBadge, {}),
|
|
11158
|
+
onPreview && /* @__PURE__ */ jsx110(
|
|
11035
11159
|
"button",
|
|
11036
11160
|
{
|
|
11037
11161
|
type: "button",
|
|
@@ -11041,7 +11165,7 @@ var ScMediaSelect = (props) => {
|
|
|
11041
11165
|
onPreview(url);
|
|
11042
11166
|
},
|
|
11043
11167
|
"aria-label": "Preview",
|
|
11044
|
-
children: /* @__PURE__ */
|
|
11168
|
+
children: /* @__PURE__ */ jsx110(MaximizeIcon, {})
|
|
11045
11169
|
}
|
|
11046
11170
|
)
|
|
11047
11171
|
]
|
|
@@ -11076,7 +11200,7 @@ var ScTodoList_default = {
|
|
|
11076
11200
|
};
|
|
11077
11201
|
|
|
11078
11202
|
// src/SC-todoList/ScTodoList.tsx
|
|
11079
|
-
import { jsx as
|
|
11203
|
+
import { jsx as jsx111, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
11080
11204
|
var ScTodoList = ({
|
|
11081
11205
|
items = [],
|
|
11082
11206
|
onToggle,
|
|
@@ -11110,9 +11234,9 @@ var ScTodoList = ({
|
|
|
11110
11234
|
onAdd?.(newValue);
|
|
11111
11235
|
setNewValue("");
|
|
11112
11236
|
};
|
|
11113
|
-
return /* @__PURE__ */
|
|
11114
|
-
total > 0 && /* @__PURE__ */
|
|
11115
|
-
/* @__PURE__ */
|
|
11237
|
+
return /* @__PURE__ */ jsxs93("div", { className: [ScTodoList_default.scTodoList, className].filter(Boolean).join(" "), children: [
|
|
11238
|
+
total > 0 && /* @__PURE__ */ jsxs93("div", { className: ScTodoList_default.progress, children: [
|
|
11239
|
+
/* @__PURE__ */ jsx111(
|
|
11116
11240
|
"svg",
|
|
11117
11241
|
{
|
|
11118
11242
|
className: ScTodoList_default.progressIcon,
|
|
@@ -11121,7 +11245,7 @@ var ScTodoList = ({
|
|
|
11121
11245
|
viewBox: "0 0 14 14",
|
|
11122
11246
|
fill: "none",
|
|
11123
11247
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11124
|
-
children: /* @__PURE__ */
|
|
11248
|
+
children: /* @__PURE__ */ jsx111(
|
|
11125
11249
|
"path",
|
|
11126
11250
|
{
|
|
11127
11251
|
d: "M3 7L6 10L11 4",
|
|
@@ -11133,25 +11257,25 @@ var ScTodoList = ({
|
|
|
11133
11257
|
)
|
|
11134
11258
|
}
|
|
11135
11259
|
),
|
|
11136
|
-
/* @__PURE__ */
|
|
11260
|
+
/* @__PURE__ */ jsxs93("span", { className: ScTodoList_default.progressText, children: [
|
|
11137
11261
|
completed,
|
|
11138
11262
|
" of ",
|
|
11139
11263
|
total,
|
|
11140
11264
|
" completed"
|
|
11141
11265
|
] })
|
|
11142
11266
|
] }),
|
|
11143
|
-
/* @__PURE__ */
|
|
11267
|
+
/* @__PURE__ */ jsx111("div", { className: ScTodoList_default.rows, children: items.map((item) => {
|
|
11144
11268
|
const isEditing = editingId === item.id;
|
|
11145
11269
|
const isCompleted = item.status === "completed";
|
|
11146
|
-
return /* @__PURE__ */
|
|
11147
|
-
/* @__PURE__ */
|
|
11270
|
+
return /* @__PURE__ */ jsxs93("div", { className: ScTodoList_default.row, children: [
|
|
11271
|
+
/* @__PURE__ */ jsx111(
|
|
11148
11272
|
"button",
|
|
11149
11273
|
{
|
|
11150
11274
|
type: "button",
|
|
11151
11275
|
className: ScTodoList_default.checkbox,
|
|
11152
11276
|
"aria-label": isCompleted ? "Mark as pending" : "Mark as completed",
|
|
11153
11277
|
onClick: () => onToggle?.(item.id),
|
|
11154
|
-
children: isCompleted ? /* @__PURE__ */
|
|
11278
|
+
children: isCompleted ? /* @__PURE__ */ jsxs93(
|
|
11155
11279
|
"svg",
|
|
11156
11280
|
{
|
|
11157
11281
|
width: "18",
|
|
@@ -11160,8 +11284,8 @@ var ScTodoList = ({
|
|
|
11160
11284
|
fill: "none",
|
|
11161
11285
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11162
11286
|
children: [
|
|
11163
|
-
/* @__PURE__ */
|
|
11164
|
-
/* @__PURE__ */
|
|
11287
|
+
/* @__PURE__ */ jsx111("circle", { cx: "9", cy: "9", r: "9", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
11288
|
+
/* @__PURE__ */ jsx111(
|
|
11165
11289
|
"path",
|
|
11166
11290
|
{
|
|
11167
11291
|
d: "M5.25 9L7.75 11.5L12.75 6.5",
|
|
@@ -11173,7 +11297,7 @@ var ScTodoList = ({
|
|
|
11173
11297
|
)
|
|
11174
11298
|
]
|
|
11175
11299
|
}
|
|
11176
|
-
) : /* @__PURE__ */
|
|
11300
|
+
) : /* @__PURE__ */ jsx111(
|
|
11177
11301
|
"svg",
|
|
11178
11302
|
{
|
|
11179
11303
|
width: "18",
|
|
@@ -11181,7 +11305,7 @@ var ScTodoList = ({
|
|
|
11181
11305
|
viewBox: "0 0 18 18",
|
|
11182
11306
|
fill: "none",
|
|
11183
11307
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11184
|
-
children: /* @__PURE__ */
|
|
11308
|
+
children: /* @__PURE__ */ jsx111(
|
|
11185
11309
|
"circle",
|
|
11186
11310
|
{
|
|
11187
11311
|
cx: "9",
|
|
@@ -11195,7 +11319,7 @@ var ScTodoList = ({
|
|
|
11195
11319
|
)
|
|
11196
11320
|
}
|
|
11197
11321
|
),
|
|
11198
|
-
isEditing ? /* @__PURE__ */
|
|
11322
|
+
isEditing ? /* @__PURE__ */ jsx111(
|
|
11199
11323
|
"input",
|
|
11200
11324
|
{
|
|
11201
11325
|
className: ScTodoList_default.editInput,
|
|
@@ -11213,7 +11337,7 @@ var ScTodoList = ({
|
|
|
11213
11337
|
}
|
|
11214
11338
|
}
|
|
11215
11339
|
}
|
|
11216
|
-
) : /* @__PURE__ */
|
|
11340
|
+
) : /* @__PURE__ */ jsx111(
|
|
11217
11341
|
"span",
|
|
11218
11342
|
{
|
|
11219
11343
|
className: [
|
|
@@ -11223,15 +11347,15 @@ var ScTodoList = ({
|
|
|
11223
11347
|
children: item.content
|
|
11224
11348
|
}
|
|
11225
11349
|
),
|
|
11226
|
-
!isEditing && /* @__PURE__ */
|
|
11227
|
-
/* @__PURE__ */
|
|
11350
|
+
!isEditing && /* @__PURE__ */ jsxs93("div", { className: ScTodoList_default.actions, children: [
|
|
11351
|
+
/* @__PURE__ */ jsx111(
|
|
11228
11352
|
"button",
|
|
11229
11353
|
{
|
|
11230
11354
|
type: "button",
|
|
11231
11355
|
className: ScTodoList_default.actionButton,
|
|
11232
11356
|
"aria-label": "Edit item",
|
|
11233
11357
|
onClick: () => startEditing(item),
|
|
11234
|
-
children: /* @__PURE__ */
|
|
11358
|
+
children: /* @__PURE__ */ jsx111(
|
|
11235
11359
|
"svg",
|
|
11236
11360
|
{
|
|
11237
11361
|
width: "16",
|
|
@@ -11239,7 +11363,7 @@ var ScTodoList = ({
|
|
|
11239
11363
|
viewBox: "0 0 16 16",
|
|
11240
11364
|
fill: "none",
|
|
11241
11365
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11242
|
-
children: /* @__PURE__ */
|
|
11366
|
+
children: /* @__PURE__ */ jsx111(
|
|
11243
11367
|
"path",
|
|
11244
11368
|
{
|
|
11245
11369
|
d: "M11.333 2.667a1.414 1.414 0 0 1 2 2L5.333 12.667l-2.667.667.667-2.667 8-8Z",
|
|
@@ -11253,14 +11377,14 @@ var ScTodoList = ({
|
|
|
11253
11377
|
)
|
|
11254
11378
|
}
|
|
11255
11379
|
),
|
|
11256
|
-
/* @__PURE__ */
|
|
11380
|
+
/* @__PURE__ */ jsx111(
|
|
11257
11381
|
"button",
|
|
11258
11382
|
{
|
|
11259
11383
|
type: "button",
|
|
11260
11384
|
className: [ScTodoList_default.actionButton, ScTodoList_default.actionButtonDanger].filter(Boolean).join(" "),
|
|
11261
11385
|
"aria-label": "Delete item",
|
|
11262
11386
|
onClick: () => onDelete?.(item.id),
|
|
11263
|
-
children: /* @__PURE__ */
|
|
11387
|
+
children: /* @__PURE__ */ jsx111(
|
|
11264
11388
|
"svg",
|
|
11265
11389
|
{
|
|
11266
11390
|
width: "16",
|
|
@@ -11268,7 +11392,7 @@ var ScTodoList = ({
|
|
|
11268
11392
|
viewBox: "0 0 16 16",
|
|
11269
11393
|
fill: "none",
|
|
11270
11394
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11271
|
-
children: /* @__PURE__ */
|
|
11395
|
+
children: /* @__PURE__ */ jsx111(
|
|
11272
11396
|
"path",
|
|
11273
11397
|
{
|
|
11274
11398
|
d: "M2.667 4h10.666M6.667 7.333v3.334M9.333 7.333v3.334M3.333 4l.667 8a1.333 1.333 0 0 0 1.333 1.333h5.334A1.333 1.333 0 0 0 12 12l.667-8M6 4V2.667a.667.667 0 0 1 .667-.667h2.666a.667.667 0 0 1 .667.667V4",
|
|
@@ -11285,8 +11409,8 @@ var ScTodoList = ({
|
|
|
11285
11409
|
] })
|
|
11286
11410
|
] }, item.id);
|
|
11287
11411
|
}) }),
|
|
11288
|
-
/* @__PURE__ */
|
|
11289
|
-
/* @__PURE__ */
|
|
11412
|
+
/* @__PURE__ */ jsxs93("div", { className: ScTodoList_default.addRow, children: [
|
|
11413
|
+
/* @__PURE__ */ jsx111(
|
|
11290
11414
|
"input",
|
|
11291
11415
|
{
|
|
11292
11416
|
className: ScTodoList_default.addInput,
|
|
@@ -11301,7 +11425,7 @@ var ScTodoList = ({
|
|
|
11301
11425
|
}
|
|
11302
11426
|
}
|
|
11303
11427
|
),
|
|
11304
|
-
/* @__PURE__ */
|
|
11428
|
+
/* @__PURE__ */ jsx111(
|
|
11305
11429
|
"button",
|
|
11306
11430
|
{
|
|
11307
11431
|
type: "button",
|
|
@@ -11309,7 +11433,7 @@ var ScTodoList = ({
|
|
|
11309
11433
|
"aria-label": "Add item",
|
|
11310
11434
|
disabled: newValue.trim().length === 0,
|
|
11311
11435
|
onClick: commitAdd,
|
|
11312
|
-
children: /* @__PURE__ */
|
|
11436
|
+
children: /* @__PURE__ */ jsx111(
|
|
11313
11437
|
"svg",
|
|
11314
11438
|
{
|
|
11315
11439
|
width: "18",
|
|
@@ -11317,7 +11441,7 @@ var ScTodoList = ({
|
|
|
11317
11441
|
viewBox: "0 0 18 18",
|
|
11318
11442
|
fill: "none",
|
|
11319
11443
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11320
|
-
children: /* @__PURE__ */
|
|
11444
|
+
children: /* @__PURE__ */ jsx111(
|
|
11321
11445
|
"path",
|
|
11322
11446
|
{
|
|
11323
11447
|
d: "M9 4v10M4 9h10",
|
|
@@ -11344,18 +11468,18 @@ var ScRoleMobile_default = {
|
|
|
11344
11468
|
};
|
|
11345
11469
|
|
|
11346
11470
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
11347
|
-
import { jsx as
|
|
11471
|
+
import { jsx as jsx112 } from "react/jsx-runtime";
|
|
11348
11472
|
var ScRoleMobile = ({
|
|
11349
11473
|
role = "admin",
|
|
11350
11474
|
className,
|
|
11351
11475
|
...props
|
|
11352
11476
|
}) => {
|
|
11353
|
-
return /* @__PURE__ */
|
|
11477
|
+
return /* @__PURE__ */ jsx112(
|
|
11354
11478
|
"div",
|
|
11355
11479
|
{
|
|
11356
11480
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
11357
11481
|
...props,
|
|
11358
|
-
children: /* @__PURE__ */
|
|
11482
|
+
children: /* @__PURE__ */ jsx112("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
11359
11483
|
}
|
|
11360
11484
|
);
|
|
11361
11485
|
};
|
|
@@ -11372,7 +11496,7 @@ var ScProfileV2Mobile_default = {
|
|
|
11372
11496
|
};
|
|
11373
11497
|
|
|
11374
11498
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
11375
|
-
import { jsx as
|
|
11499
|
+
import { jsx as jsx113, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
11376
11500
|
var ScProfileV2Mobile = ({
|
|
11377
11501
|
name = "Chris Hemsworth",
|
|
11378
11502
|
email = "chris@kepler.com",
|
|
@@ -11382,17 +11506,17 @@ var ScProfileV2Mobile = ({
|
|
|
11382
11506
|
...props
|
|
11383
11507
|
}) => {
|
|
11384
11508
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
11385
|
-
const profileImage = /* @__PURE__ */
|
|
11386
|
-
return /* @__PURE__ */
|
|
11509
|
+
const profileImage = /* @__PURE__ */ jsx113("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx113("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ jsx113("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
11510
|
+
return /* @__PURE__ */ jsxs94(
|
|
11387
11511
|
"div",
|
|
11388
11512
|
{
|
|
11389
11513
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
11390
11514
|
...props,
|
|
11391
11515
|
children: [
|
|
11392
11516
|
dpPosition === "left" && profileImage,
|
|
11393
|
-
/* @__PURE__ */
|
|
11394
|
-
/* @__PURE__ */
|
|
11395
|
-
/* @__PURE__ */
|
|
11517
|
+
/* @__PURE__ */ jsxs94("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
11518
|
+
/* @__PURE__ */ jsx113("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
11519
|
+
/* @__PURE__ */ jsx113("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
11396
11520
|
] }),
|
|
11397
11521
|
dpPosition === "right" && profileImage
|
|
11398
11522
|
]
|
|
@@ -11419,7 +11543,7 @@ var ScTableListMobile_default = {
|
|
|
11419
11543
|
};
|
|
11420
11544
|
|
|
11421
11545
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
11422
|
-
import { jsx as
|
|
11546
|
+
import { jsx as jsx114, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
11423
11547
|
var ScTableListMobile = ({
|
|
11424
11548
|
name = "Chris Hemsworth",
|
|
11425
11549
|
email = "chris@kepler.com",
|
|
@@ -11432,25 +11556,25 @@ var ScTableListMobile = ({
|
|
|
11432
11556
|
...props
|
|
11433
11557
|
}) => {
|
|
11434
11558
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
11435
|
-
return /* @__PURE__ */
|
|
11559
|
+
return /* @__PURE__ */ jsxs95(
|
|
11436
11560
|
"div",
|
|
11437
11561
|
{
|
|
11438
11562
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
11439
11563
|
onClick: onRowClick,
|
|
11440
11564
|
...props,
|
|
11441
11565
|
children: [
|
|
11442
|
-
/* @__PURE__ */
|
|
11443
|
-
/* @__PURE__ */
|
|
11444
|
-
/* @__PURE__ */
|
|
11445
|
-
/* @__PURE__ */
|
|
11566
|
+
/* @__PURE__ */ jsxs95("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
11567
|
+
/* @__PURE__ */ jsxs95("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
11568
|
+
/* @__PURE__ */ jsx114("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
11569
|
+
/* @__PURE__ */ jsx114("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
11446
11570
|
] }),
|
|
11447
|
-
/* @__PURE__ */
|
|
11571
|
+
/* @__PURE__ */ jsx114("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx114("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ jsx114("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
11448
11572
|
] }),
|
|
11449
|
-
/* @__PURE__ */
|
|
11450
|
-
/* @__PURE__ */
|
|
11451
|
-
/* @__PURE__ */
|
|
11452
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */
|
|
11453
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */
|
|
11573
|
+
/* @__PURE__ */ jsxs95("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
11574
|
+
/* @__PURE__ */ jsx114("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ jsx114("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
11575
|
+
/* @__PURE__ */ jsxs95("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
11576
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ jsx114("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ jsx114("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
11577
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ jsx114("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ jsx114("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
11454
11578
|
] })
|
|
11455
11579
|
] })
|
|
11456
11580
|
]
|
|
@@ -11478,7 +11602,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
11478
11602
|
};
|
|
11479
11603
|
|
|
11480
11604
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
11481
|
-
import { jsx as
|
|
11605
|
+
import { jsx as jsx115, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
11482
11606
|
var ScWorkspaceSwitchMobile = ({
|
|
11483
11607
|
storeName = "Stores",
|
|
11484
11608
|
initials = "WS",
|
|
@@ -11491,24 +11615,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
11491
11615
|
...props
|
|
11492
11616
|
}) => {
|
|
11493
11617
|
const variant = currentWs ? "current" : "other";
|
|
11494
|
-
return /* @__PURE__ */
|
|
11618
|
+
return /* @__PURE__ */ jsxs96(
|
|
11495
11619
|
"div",
|
|
11496
11620
|
{
|
|
11497
11621
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
11498
11622
|
onClick,
|
|
11499
11623
|
...props,
|
|
11500
11624
|
children: [
|
|
11501
|
-
/* @__PURE__ */
|
|
11502
|
-
/* @__PURE__ */
|
|
11503
|
-
/* @__PURE__ */
|
|
11504
|
-
/* @__PURE__ */
|
|
11625
|
+
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
11626
|
+
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
11627
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ jsx115("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
11628
|
+
/* @__PURE__ */ jsx115("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
11505
11629
|
] }),
|
|
11506
|
-
/* @__PURE__ */
|
|
11630
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx115("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
11507
11631
|
] }),
|
|
11508
|
-
/* @__PURE__ */
|
|
11509
|
-
/* @__PURE__ */
|
|
11510
|
-
/* @__PURE__ */
|
|
11511
|
-
/* @__PURE__ */
|
|
11632
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
11633
|
+
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
11634
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ jsx115("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
11635
|
+
/* @__PURE__ */ jsx115("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
11512
11636
|
] })
|
|
11513
11637
|
]
|
|
11514
11638
|
}
|
|
@@ -11535,7 +11659,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
11535
11659
|
};
|
|
11536
11660
|
|
|
11537
11661
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
11538
|
-
import { jsx as
|
|
11662
|
+
import { jsx as jsx116, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
11539
11663
|
var ScWorkspaceSettingsMobile = ({
|
|
11540
11664
|
storeName = "Stores",
|
|
11541
11665
|
initials = "WS",
|
|
@@ -11550,28 +11674,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
11550
11674
|
...props
|
|
11551
11675
|
}) => {
|
|
11552
11676
|
const variant = currentWs ? "current" : "other";
|
|
11553
|
-
return /* @__PURE__ */
|
|
11677
|
+
return /* @__PURE__ */ jsxs97(
|
|
11554
11678
|
"div",
|
|
11555
11679
|
{
|
|
11556
11680
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
11557
11681
|
onClick,
|
|
11558
11682
|
...props,
|
|
11559
11683
|
children: [
|
|
11560
|
-
/* @__PURE__ */
|
|
11561
|
-
/* @__PURE__ */
|
|
11562
|
-
/* @__PURE__ */
|
|
11563
|
-
/* @__PURE__ */
|
|
11684
|
+
/* @__PURE__ */ jsxs97("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
11685
|
+
/* @__PURE__ */ jsxs97("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
11686
|
+
/* @__PURE__ */ jsx116("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ jsx116("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
11687
|
+
/* @__PURE__ */ jsx116("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
11564
11688
|
] }),
|
|
11565
|
-
/* @__PURE__ */
|
|
11689
|
+
/* @__PURE__ */ jsx116("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx116("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
11566
11690
|
] }),
|
|
11567
|
-
/* @__PURE__ */
|
|
11568
|
-
/* @__PURE__ */
|
|
11569
|
-
/* @__PURE__ */
|
|
11570
|
-
/* @__PURE__ */
|
|
11691
|
+
/* @__PURE__ */ jsx116("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
11692
|
+
/* @__PURE__ */ jsxs97("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
11693
|
+
/* @__PURE__ */ jsx116("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ jsx116("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
11694
|
+
/* @__PURE__ */ jsx116("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
11571
11695
|
] }),
|
|
11572
|
-
/* @__PURE__ */
|
|
11573
|
-
/* @__PURE__ */
|
|
11574
|
-
/* @__PURE__ */
|
|
11696
|
+
/* @__PURE__ */ jsxs97("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
11697
|
+
/* @__PURE__ */ jsx116("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ jsx116("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
11698
|
+
/* @__PURE__ */ jsx116("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
11575
11699
|
] })
|
|
11576
11700
|
]
|
|
11577
11701
|
}
|
|
@@ -11594,7 +11718,7 @@ var ScMobileTopNav_default = {
|
|
|
11594
11718
|
};
|
|
11595
11719
|
|
|
11596
11720
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
11597
|
-
import { Fragment as Fragment28, jsx as
|
|
11721
|
+
import { Fragment as Fragment28, jsx as jsx117, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
11598
11722
|
var ScMobileTopNav = ({
|
|
11599
11723
|
type = "home",
|
|
11600
11724
|
searchIcon = false,
|
|
@@ -11617,22 +11741,22 @@ var ScMobileTopNav = ({
|
|
|
11617
11741
|
}) => {
|
|
11618
11742
|
const hasBorder = type === "chat" || type === "inApp";
|
|
11619
11743
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
11620
|
-
return /* @__PURE__ */
|
|
11744
|
+
return /* @__PURE__ */ jsxs98(
|
|
11621
11745
|
"div",
|
|
11622
11746
|
{
|
|
11623
11747
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
11624
11748
|
...props,
|
|
11625
11749
|
children: [
|
|
11626
|
-
type === "home" && /* @__PURE__ */
|
|
11627
|
-
type === "chat" && /* @__PURE__ */
|
|
11628
|
-
/* @__PURE__ */
|
|
11629
|
-
/* @__PURE__ */
|
|
11630
|
-
/* @__PURE__ */
|
|
11750
|
+
type === "home" && /* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11751
|
+
type === "chat" && /* @__PURE__ */ jsxs98(Fragment28, { children: [
|
|
11752
|
+
/* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11753
|
+
/* @__PURE__ */ jsx117("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
11754
|
+
/* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
11631
11755
|
] }),
|
|
11632
|
-
showSearch && /* @__PURE__ */
|
|
11633
|
-
/* @__PURE__ */
|
|
11634
|
-
/* @__PURE__ */
|
|
11635
|
-
/* @__PURE__ */
|
|
11756
|
+
showSearch && /* @__PURE__ */ jsxs98(Fragment28, { children: [
|
|
11757
|
+
/* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs98("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
11758
|
+
/* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11759
|
+
/* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx117(
|
|
11636
11760
|
"input",
|
|
11637
11761
|
{
|
|
11638
11762
|
type: "text",
|
|
@@ -11643,17 +11767,17 @@ var ScMobileTopNav = ({
|
|
|
11643
11767
|
}
|
|
11644
11768
|
) })
|
|
11645
11769
|
] }) }),
|
|
11646
|
-
/* @__PURE__ */
|
|
11770
|
+
/* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
11647
11771
|
] }),
|
|
11648
|
-
type === "inApp" && !search && /* @__PURE__ */
|
|
11649
|
-
/* @__PURE__ */
|
|
11650
|
-
/* @__PURE__ */
|
|
11651
|
-
/* @__PURE__ */
|
|
11772
|
+
type === "inApp" && !search && /* @__PURE__ */ jsxs98(Fragment28, { children: [
|
|
11773
|
+
/* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11774
|
+
/* @__PURE__ */ jsx117("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
11775
|
+
/* @__PURE__ */ jsx117(
|
|
11652
11776
|
"div",
|
|
11653
11777
|
{
|
|
11654
11778
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
11655
11779
|
onClick: onSearchClick,
|
|
11656
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */
|
|
11780
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx117("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
11657
11781
|
}
|
|
11658
11782
|
)
|
|
11659
11783
|
] })
|
|
@@ -11674,7 +11798,7 @@ var ScMobileBottomAction_default = {
|
|
|
11674
11798
|
};
|
|
11675
11799
|
|
|
11676
11800
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
11677
|
-
import { jsx as
|
|
11801
|
+
import { jsx as jsx118, jsxs as jsxs99 } from "react/jsx-runtime";
|
|
11678
11802
|
var ScMobileBottomAction = ({
|
|
11679
11803
|
text = "Save Changes",
|
|
11680
11804
|
disabled = false,
|
|
@@ -11686,28 +11810,28 @@ var ScMobileBottomAction = ({
|
|
|
11686
11810
|
...props
|
|
11687
11811
|
}) => {
|
|
11688
11812
|
const isTwoButton = !!secondaryText;
|
|
11689
|
-
return /* @__PURE__ */
|
|
11813
|
+
return /* @__PURE__ */ jsxs99(
|
|
11690
11814
|
"div",
|
|
11691
11815
|
{
|
|
11692
11816
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
11693
11817
|
...props,
|
|
11694
11818
|
children: [
|
|
11695
|
-
isTwoButton && /* @__PURE__ */
|
|
11819
|
+
isTwoButton && /* @__PURE__ */ jsx118(
|
|
11696
11820
|
"button",
|
|
11697
11821
|
{
|
|
11698
11822
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
11699
11823
|
onClick: onSecondaryClick,
|
|
11700
11824
|
disabled: secondaryDisabled,
|
|
11701
|
-
children: /* @__PURE__ */
|
|
11825
|
+
children: /* @__PURE__ */ jsx118("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
11702
11826
|
}
|
|
11703
11827
|
),
|
|
11704
|
-
/* @__PURE__ */
|
|
11828
|
+
/* @__PURE__ */ jsx118(
|
|
11705
11829
|
"button",
|
|
11706
11830
|
{
|
|
11707
11831
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
11708
11832
|
onClick,
|
|
11709
11833
|
disabled,
|
|
11710
|
-
children: /* @__PURE__ */
|
|
11834
|
+
children: /* @__PURE__ */ jsx118("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
11711
11835
|
}
|
|
11712
11836
|
)
|
|
11713
11837
|
]
|
|
@@ -11725,7 +11849,7 @@ var ScPopUpMenu_default = {
|
|
|
11725
11849
|
};
|
|
11726
11850
|
|
|
11727
11851
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
11728
|
-
import { jsx as
|
|
11852
|
+
import { jsx as jsx119, jsxs as jsxs100 } from "react/jsx-runtime";
|
|
11729
11853
|
var ScPopUpMenu = ({
|
|
11730
11854
|
menu = "Options",
|
|
11731
11855
|
state = "default",
|
|
@@ -11734,15 +11858,15 @@ var ScPopUpMenu = ({
|
|
|
11734
11858
|
className,
|
|
11735
11859
|
...props
|
|
11736
11860
|
}) => {
|
|
11737
|
-
return /* @__PURE__ */
|
|
11861
|
+
return /* @__PURE__ */ jsxs100(
|
|
11738
11862
|
"div",
|
|
11739
11863
|
{
|
|
11740
11864
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
11741
11865
|
onClick,
|
|
11742
11866
|
...props,
|
|
11743
11867
|
children: [
|
|
11744
|
-
icon && /* @__PURE__ */
|
|
11745
|
-
/* @__PURE__ */
|
|
11868
|
+
icon && /* @__PURE__ */ jsx119("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
11869
|
+
/* @__PURE__ */ jsx119("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
11746
11870
|
]
|
|
11747
11871
|
}
|
|
11748
11872
|
);
|
|
@@ -11768,7 +11892,7 @@ var ScReferralCardMobile_default = {
|
|
|
11768
11892
|
};
|
|
11769
11893
|
|
|
11770
11894
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
11771
|
-
import { jsx as
|
|
11895
|
+
import { jsx as jsx120, jsxs as jsxs101 } from "react/jsx-runtime";
|
|
11772
11896
|
var ScReferralCardMobile = ({
|
|
11773
11897
|
name = "Chris Hemsworth",
|
|
11774
11898
|
email = "chris@kepler.com",
|
|
@@ -11781,27 +11905,27 @@ var ScReferralCardMobile = ({
|
|
|
11781
11905
|
...props
|
|
11782
11906
|
}) => {
|
|
11783
11907
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
11784
|
-
return /* @__PURE__ */
|
|
11908
|
+
return /* @__PURE__ */ jsxs101(
|
|
11785
11909
|
"div",
|
|
11786
11910
|
{
|
|
11787
11911
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
11788
11912
|
onClick,
|
|
11789
11913
|
...props,
|
|
11790
11914
|
children: [
|
|
11791
|
-
/* @__PURE__ */
|
|
11792
|
-
/* @__PURE__ */
|
|
11793
|
-
/* @__PURE__ */
|
|
11794
|
-
/* @__PURE__ */
|
|
11795
|
-
/* @__PURE__ */
|
|
11796
|
-
/* @__PURE__ */
|
|
11915
|
+
/* @__PURE__ */ jsxs101("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
11916
|
+
/* @__PURE__ */ jsxs101("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
11917
|
+
/* @__PURE__ */ jsx120("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx120("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ jsx120("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
11918
|
+
/* @__PURE__ */ jsxs101("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
11919
|
+
/* @__PURE__ */ jsx120("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
11920
|
+
/* @__PURE__ */ jsx120("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
11797
11921
|
] })
|
|
11798
11922
|
] }),
|
|
11799
|
-
/* @__PURE__ */
|
|
11923
|
+
/* @__PURE__ */ jsx120("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx120("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
11800
11924
|
] }),
|
|
11801
|
-
/* @__PURE__ */
|
|
11802
|
-
/* @__PURE__ */
|
|
11803
|
-
/* @__PURE__ */
|
|
11804
|
-
/* @__PURE__ */
|
|
11925
|
+
/* @__PURE__ */ jsx120("div", { className: ScReferralCardMobile_default.divider }),
|
|
11926
|
+
/* @__PURE__ */ jsxs101("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
11927
|
+
/* @__PURE__ */ jsx120("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
11928
|
+
/* @__PURE__ */ jsx120("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
11805
11929
|
] })
|
|
11806
11930
|
]
|
|
11807
11931
|
}
|
|
@@ -11818,19 +11942,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
11818
11942
|
};
|
|
11819
11943
|
|
|
11820
11944
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
11821
|
-
import { jsx as
|
|
11945
|
+
import { jsx as jsx121, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
11822
11946
|
var InvoiceHistoryMobile = ({
|
|
11823
11947
|
invoiceId = "# INV-2800-2026",
|
|
11824
11948
|
date = "Nov 9th, 2025",
|
|
11825
11949
|
amount = "\u20B9320.89",
|
|
11826
11950
|
className
|
|
11827
11951
|
}) => {
|
|
11828
|
-
return /* @__PURE__ */
|
|
11829
|
-
/* @__PURE__ */
|
|
11830
|
-
/* @__PURE__ */
|
|
11831
|
-
/* @__PURE__ */
|
|
11952
|
+
return /* @__PURE__ */ jsxs102("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
11953
|
+
/* @__PURE__ */ jsxs102("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
11954
|
+
/* @__PURE__ */ jsx121("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
11955
|
+
/* @__PURE__ */ jsx121("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
11832
11956
|
] }),
|
|
11833
|
-
/* @__PURE__ */
|
|
11957
|
+
/* @__PURE__ */ jsx121("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
11834
11958
|
] });
|
|
11835
11959
|
};
|
|
11836
11960
|
|
|
@@ -11848,7 +11972,7 @@ var UsageHistoryMobile_default = {
|
|
|
11848
11972
|
};
|
|
11849
11973
|
|
|
11850
11974
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
11851
|
-
import { jsx as
|
|
11975
|
+
import { jsx as jsx122, jsxs as jsxs103 } from "react/jsx-runtime";
|
|
11852
11976
|
var UsageHistoryMobile = ({
|
|
11853
11977
|
serviceName = "Artifax Generation",
|
|
11854
11978
|
credits = "50",
|
|
@@ -11857,18 +11981,18 @@ var UsageHistoryMobile = ({
|
|
|
11857
11981
|
balance = "84,902",
|
|
11858
11982
|
className
|
|
11859
11983
|
}) => {
|
|
11860
|
-
return /* @__PURE__ */
|
|
11861
|
-
/* @__PURE__ */
|
|
11862
|
-
/* @__PURE__ */
|
|
11863
|
-
/* @__PURE__ */
|
|
11984
|
+
return /* @__PURE__ */ jsxs103("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
11985
|
+
/* @__PURE__ */ jsxs103("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
11986
|
+
/* @__PURE__ */ jsx122("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
11987
|
+
/* @__PURE__ */ jsx122("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
11864
11988
|
] }),
|
|
11865
|
-
/* @__PURE__ */
|
|
11866
|
-
/* @__PURE__ */
|
|
11867
|
-
/* @__PURE__ */
|
|
11868
|
-
/* @__PURE__ */
|
|
11869
|
-
/* @__PURE__ */
|
|
11989
|
+
/* @__PURE__ */ jsxs103("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
11990
|
+
/* @__PURE__ */ jsxs103("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
11991
|
+
/* @__PURE__ */ jsx122("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
11992
|
+
/* @__PURE__ */ jsx122("div", { className: UsageHistoryMobile_default.divider }),
|
|
11993
|
+
/* @__PURE__ */ jsx122("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
11870
11994
|
] }),
|
|
11871
|
-
/* @__PURE__ */
|
|
11995
|
+
/* @__PURE__ */ jsx122("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
11872
11996
|
] })
|
|
11873
11997
|
] });
|
|
11874
11998
|
};
|
|
@@ -11892,7 +12016,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
11892
12016
|
};
|
|
11893
12017
|
|
|
11894
12018
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
11895
|
-
import { jsx as
|
|
12019
|
+
import { jsx as jsx123, jsxs as jsxs104 } from "react/jsx-runtime";
|
|
11896
12020
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
11897
12021
|
wsName = "Workspace name is kepler",
|
|
11898
12022
|
initials = "WS",
|
|
@@ -11905,14 +12029,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
11905
12029
|
className,
|
|
11906
12030
|
...props
|
|
11907
12031
|
}) => {
|
|
11908
|
-
return /* @__PURE__ */
|
|
12032
|
+
return /* @__PURE__ */ jsx123(
|
|
11909
12033
|
"div",
|
|
11910
12034
|
{
|
|
11911
12035
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
11912
12036
|
onClick,
|
|
11913
12037
|
...props,
|
|
11914
|
-
children: /* @__PURE__ */
|
|
11915
|
-
/* @__PURE__ */
|
|
12038
|
+
children: /* @__PURE__ */ jsxs104("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
12039
|
+
/* @__PURE__ */ jsx123("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx123(
|
|
11916
12040
|
ScDp,
|
|
11917
12041
|
{
|
|
11918
12042
|
type: imageUrl ? "image" : "initial",
|
|
@@ -11926,14 +12050,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
11926
12050
|
}
|
|
11927
12051
|
}
|
|
11928
12052
|
) }),
|
|
11929
|
-
/* @__PURE__ */
|
|
11930
|
-
/* @__PURE__ */
|
|
11931
|
-
/* @__PURE__ */
|
|
11932
|
-
/* @__PURE__ */
|
|
11933
|
-
/* @__PURE__ */
|
|
11934
|
-
/* @__PURE__ */
|
|
11935
|
-
/* @__PURE__ */
|
|
11936
|
-
/* @__PURE__ */
|
|
12053
|
+
/* @__PURE__ */ jsxs104("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
12054
|
+
/* @__PURE__ */ jsx123("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
12055
|
+
/* @__PURE__ */ jsxs104("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
12056
|
+
/* @__PURE__ */ jsx123("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
12057
|
+
/* @__PURE__ */ jsx123("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
12058
|
+
/* @__PURE__ */ jsx123("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
12059
|
+
/* @__PURE__ */ jsx123("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
12060
|
+
/* @__PURE__ */ jsx123("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
11937
12061
|
] })
|
|
11938
12062
|
] })
|
|
11939
12063
|
] })
|
|
@@ -11942,7 +12066,7 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
11942
12066
|
};
|
|
11943
12067
|
|
|
11944
12068
|
// src/SC-imageField/ScImageField.tsx
|
|
11945
|
-
import { useRef as
|
|
12069
|
+
import { useRef as useRef11 } from "react";
|
|
11946
12070
|
|
|
11947
12071
|
// src/SC-imageField/ScImageField.module.css
|
|
11948
12072
|
var ScImageField_default = {
|
|
@@ -11960,7 +12084,7 @@ var ScImageField_default = {
|
|
|
11960
12084
|
|
|
11961
12085
|
// src/SC-imageField/ScImageField.tsx
|
|
11962
12086
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
11963
|
-
import { jsx as
|
|
12087
|
+
import { jsx as jsx124, jsxs as jsxs105 } from "react/jsx-runtime";
|
|
11964
12088
|
var ScImageField = ({
|
|
11965
12089
|
label = "Label",
|
|
11966
12090
|
imagePreview,
|
|
@@ -11969,7 +12093,7 @@ var ScImageField = ({
|
|
|
11969
12093
|
onRemove,
|
|
11970
12094
|
className
|
|
11971
12095
|
}) => {
|
|
11972
|
-
const inputRef =
|
|
12096
|
+
const inputRef = useRef11(null);
|
|
11973
12097
|
const hasImage = !!imagePreview;
|
|
11974
12098
|
function handleClick() {
|
|
11975
12099
|
if (!hasImage) {
|
|
@@ -11983,8 +12107,8 @@ var ScImageField = ({
|
|
|
11983
12107
|
}
|
|
11984
12108
|
e.target.value = "";
|
|
11985
12109
|
}
|
|
11986
|
-
return /* @__PURE__ */
|
|
11987
|
-
/* @__PURE__ */
|
|
12110
|
+
return /* @__PURE__ */ jsxs105("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
12111
|
+
/* @__PURE__ */ jsx124(
|
|
11988
12112
|
"input",
|
|
11989
12113
|
{
|
|
11990
12114
|
ref: inputRef,
|
|
@@ -11994,9 +12118,9 @@ var ScImageField = ({
|
|
|
11994
12118
|
onChange: handleChange
|
|
11995
12119
|
}
|
|
11996
12120
|
),
|
|
11997
|
-
/* @__PURE__ */
|
|
11998
|
-
hasImage ? /* @__PURE__ */
|
|
11999
|
-
/* @__PURE__ */
|
|
12121
|
+
/* @__PURE__ */ jsx124("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ jsx124("div", { className: ScImageField_default.label, children: label }) }),
|
|
12122
|
+
hasImage ? /* @__PURE__ */ jsxs105("div", { className: ScImageField_default.previewArea, children: [
|
|
12123
|
+
/* @__PURE__ */ jsx124(
|
|
12000
12124
|
"img",
|
|
12001
12125
|
{
|
|
12002
12126
|
className: ScImageField_default.previewImage,
|
|
@@ -12004,8 +12128,8 @@ var ScImageField = ({
|
|
|
12004
12128
|
alt: "preview"
|
|
12005
12129
|
}
|
|
12006
12130
|
),
|
|
12007
|
-
/* @__PURE__ */
|
|
12008
|
-
/* @__PURE__ */
|
|
12131
|
+
/* @__PURE__ */ jsx124("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
12132
|
+
/* @__PURE__ */ jsx124(
|
|
12009
12133
|
SiconDelete2,
|
|
12010
12134
|
{
|
|
12011
12135
|
className: ScImageField_default.removeIcon,
|
|
@@ -12016,9 +12140,9 @@ var ScImageField = ({
|
|
|
12016
12140
|
}
|
|
12017
12141
|
}
|
|
12018
12142
|
)
|
|
12019
|
-
] }) : /* @__PURE__ */
|
|
12020
|
-
/* @__PURE__ */
|
|
12021
|
-
/* @__PURE__ */
|
|
12143
|
+
] }) : /* @__PURE__ */ jsxs105("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
12144
|
+
/* @__PURE__ */ jsx124(SiconUpload2, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
12145
|
+
/* @__PURE__ */ jsx124("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
12022
12146
|
] })
|
|
12023
12147
|
] });
|
|
12024
12148
|
};
|
|
@@ -12032,7 +12156,7 @@ var ScSettingsTabComp_default = {
|
|
|
12032
12156
|
};
|
|
12033
12157
|
|
|
12034
12158
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
12035
|
-
import { jsx as
|
|
12159
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
12036
12160
|
var ScSettingsTabComp = ({
|
|
12037
12161
|
tabName = "Tab",
|
|
12038
12162
|
active = false,
|
|
@@ -12040,12 +12164,12 @@ var ScSettingsTabComp = ({
|
|
|
12040
12164
|
className
|
|
12041
12165
|
}) => {
|
|
12042
12166
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
12043
|
-
return /* @__PURE__ */
|
|
12167
|
+
return /* @__PURE__ */ jsx125(
|
|
12044
12168
|
"div",
|
|
12045
12169
|
{
|
|
12046
12170
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
12047
12171
|
onClick,
|
|
12048
|
-
children: /* @__PURE__ */
|
|
12172
|
+
children: /* @__PURE__ */ jsx125("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
12049
12173
|
}
|
|
12050
12174
|
);
|
|
12051
12175
|
};
|
|
@@ -12065,7 +12189,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
12065
12189
|
|
|
12066
12190
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
12067
12191
|
import { SiconCredits as SiconCredits2 } from "@streamoid/icons";
|
|
12068
|
-
import { jsx as
|
|
12192
|
+
import { jsx as jsx126, jsxs as jsxs106 } from "react/jsx-runtime";
|
|
12069
12193
|
var ScCreditsUsageCardMobile = ({
|
|
12070
12194
|
usageLabel = "Credits usage",
|
|
12071
12195
|
usageText = "8,450 / 30,000",
|
|
@@ -12075,23 +12199,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
12075
12199
|
className,
|
|
12076
12200
|
...props
|
|
12077
12201
|
}) => {
|
|
12078
|
-
return /* @__PURE__ */
|
|
12079
|
-
/* @__PURE__ */
|
|
12080
|
-
/* @__PURE__ */
|
|
12202
|
+
return /* @__PURE__ */ jsxs106("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
12203
|
+
/* @__PURE__ */ jsxs106("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
12204
|
+
/* @__PURE__ */ jsx126(
|
|
12081
12205
|
SiconCredits2,
|
|
12082
12206
|
{
|
|
12083
12207
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
12084
12208
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
12085
12209
|
}
|
|
12086
12210
|
),
|
|
12087
|
-
/* @__PURE__ */
|
|
12211
|
+
/* @__PURE__ */ jsx126("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
12088
12212
|
] }),
|
|
12089
|
-
/* @__PURE__ */
|
|
12090
|
-
/* @__PURE__ */
|
|
12091
|
-
/* @__PURE__ */
|
|
12092
|
-
/* @__PURE__ */
|
|
12213
|
+
/* @__PURE__ */ jsx126("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
12214
|
+
/* @__PURE__ */ jsxs106("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
12215
|
+
/* @__PURE__ */ jsx126("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
12216
|
+
/* @__PURE__ */ jsx126("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
12093
12217
|
] }),
|
|
12094
|
-
/* @__PURE__ */
|
|
12218
|
+
/* @__PURE__ */ jsx126(
|
|
12095
12219
|
ScButton,
|
|
12096
12220
|
{
|
|
12097
12221
|
text: buyButtonText,
|
|
@@ -12133,7 +12257,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
12133
12257
|
|
|
12134
12258
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
12135
12259
|
import { SiconBilling as SiconBilling5 } from "@streamoid/icons";
|
|
12136
|
-
import { Fragment as Fragment29, jsx as
|
|
12260
|
+
import { Fragment as Fragment29, jsx as jsx127, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
12137
12261
|
var ScPlanDetailsCardMobile = ({
|
|
12138
12262
|
planName = "Pro",
|
|
12139
12263
|
planCredits = "30,000 credits",
|
|
@@ -12147,20 +12271,20 @@ var ScPlanDetailsCardMobile = ({
|
|
|
12147
12271
|
className,
|
|
12148
12272
|
...props
|
|
12149
12273
|
}) => {
|
|
12150
|
-
return /* @__PURE__ */
|
|
12151
|
-
/* @__PURE__ */
|
|
12152
|
-
/* @__PURE__ */
|
|
12153
|
-
/* @__PURE__ */
|
|
12274
|
+
return /* @__PURE__ */ jsxs107("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
12275
|
+
/* @__PURE__ */ jsxs107("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
12276
|
+
/* @__PURE__ */ jsxs107("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
12277
|
+
/* @__PURE__ */ jsx127(
|
|
12154
12278
|
SiconBilling5,
|
|
12155
12279
|
{
|
|
12156
12280
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
12157
12281
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
12158
12282
|
}
|
|
12159
12283
|
),
|
|
12160
|
-
/* @__PURE__ */
|
|
12284
|
+
/* @__PURE__ */ jsx127("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
12161
12285
|
] }),
|
|
12162
|
-
/* @__PURE__ */
|
|
12163
|
-
/* @__PURE__ */
|
|
12286
|
+
/* @__PURE__ */ jsx127("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx127("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs107(Fragment29, { children: [
|
|
12287
|
+
/* @__PURE__ */ jsx127(
|
|
12164
12288
|
ScBadges,
|
|
12165
12289
|
{
|
|
12166
12290
|
text: badgeText,
|
|
@@ -12169,28 +12293,28 @@ var ScPlanDetailsCardMobile = ({
|
|
|
12169
12293
|
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
12170
12294
|
}
|
|
12171
12295
|
),
|
|
12172
|
-
badgeSubText && /* @__PURE__ */
|
|
12173
|
-
/* @__PURE__ */
|
|
12174
|
-
/* @__PURE__ */
|
|
12296
|
+
badgeSubText && /* @__PURE__ */ jsxs107(Fragment29, { children: [
|
|
12297
|
+
/* @__PURE__ */ jsx127("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
12298
|
+
/* @__PURE__ */ jsx127("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
12175
12299
|
] })
|
|
12176
12300
|
] }) })
|
|
12177
12301
|
] }),
|
|
12178
|
-
/* @__PURE__ */
|
|
12179
|
-
/* @__PURE__ */
|
|
12180
|
-
/* @__PURE__ */
|
|
12181
|
-
/* @__PURE__ */
|
|
12182
|
-
/* @__PURE__ */
|
|
12302
|
+
/* @__PURE__ */ jsx127("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
12303
|
+
/* @__PURE__ */ jsx127("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs107(Fragment29, { children: [
|
|
12304
|
+
/* @__PURE__ */ jsxs107("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
12305
|
+
/* @__PURE__ */ jsx127("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
12306
|
+
/* @__PURE__ */ jsx127("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
12183
12307
|
] }),
|
|
12184
|
-
/* @__PURE__ */
|
|
12185
|
-
] }) : /* @__PURE__ */
|
|
12186
|
-
/* @__PURE__ */
|
|
12187
|
-
/* @__PURE__ */
|
|
12188
|
-
/* @__PURE__ */
|
|
12189
|
-
/* @__PURE__ */
|
|
12308
|
+
/* @__PURE__ */ jsx127("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
12309
|
+
] }) : /* @__PURE__ */ jsxs107(Fragment29, { children: [
|
|
12310
|
+
/* @__PURE__ */ jsxs107("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
12311
|
+
/* @__PURE__ */ jsx127("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
12312
|
+
/* @__PURE__ */ jsx127("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
12313
|
+
/* @__PURE__ */ jsx127("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
12190
12314
|
] }),
|
|
12191
|
-
/* @__PURE__ */
|
|
12315
|
+
/* @__PURE__ */ jsx127("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
12192
12316
|
] }) }),
|
|
12193
|
-
isLoading ? /* @__PURE__ */
|
|
12317
|
+
isLoading ? /* @__PURE__ */ jsx127("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx127(
|
|
12194
12318
|
ScButton,
|
|
12195
12319
|
{
|
|
12196
12320
|
text: upgradeButtonText,
|
|
@@ -12242,7 +12366,7 @@ import {
|
|
|
12242
12366
|
SiconLight as SiconLight3,
|
|
12243
12367
|
SiconDark as SiconDark3
|
|
12244
12368
|
} from "@streamoid/icons";
|
|
12245
|
-
import { Fragment as Fragment30, jsx as
|
|
12369
|
+
import { Fragment as Fragment30, jsx as jsx128, jsxs as jsxs108 } from "react/jsx-runtime";
|
|
12246
12370
|
var activateOnKey = (handler) => (event) => {
|
|
12247
12371
|
if (!handler) return;
|
|
12248
12372
|
if (event.key === "Enter" || event.key === " ") {
|
|
@@ -12293,7 +12417,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
12293
12417
|
}, ref) => {
|
|
12294
12418
|
const hasWorkspaceBlock = showWorkspace || showSwitchWorkspace || !!workspaceContent;
|
|
12295
12419
|
const hasMenuBlock = showTeams || showBilling || showSettings || showWhatsNew || !!menuContent;
|
|
12296
|
-
const menuRow = (icon, text, onClick, extra) => /* @__PURE__ */
|
|
12420
|
+
const menuRow = (icon, text, onClick, extra) => /* @__PURE__ */ jsx128(
|
|
12297
12421
|
ScMenuOptions,
|
|
12298
12422
|
{
|
|
12299
12423
|
icon,
|
|
@@ -12308,7 +12432,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
12308
12432
|
);
|
|
12309
12433
|
const themeTab = (mode, icon, label) => {
|
|
12310
12434
|
const active = themeMode === mode;
|
|
12311
|
-
return /* @__PURE__ */
|
|
12435
|
+
return /* @__PURE__ */ jsx128(
|
|
12312
12436
|
ScTabComp,
|
|
12313
12437
|
{
|
|
12314
12438
|
type: "icon-only",
|
|
@@ -12324,7 +12448,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
12324
12448
|
}
|
|
12325
12449
|
);
|
|
12326
12450
|
};
|
|
12327
|
-
const profile = /* @__PURE__ */
|
|
12451
|
+
const profile = /* @__PURE__ */ jsx128(
|
|
12328
12452
|
ScProfile,
|
|
12329
12453
|
{
|
|
12330
12454
|
name,
|
|
@@ -12333,15 +12457,15 @@ var ScProfilePopup = forwardRef2(
|
|
|
12333
12457
|
className: ScProfilePopup_default.scProfileInstance
|
|
12334
12458
|
}
|
|
12335
12459
|
);
|
|
12336
|
-
return /* @__PURE__ */
|
|
12460
|
+
return /* @__PURE__ */ jsxs108(
|
|
12337
12461
|
"div",
|
|
12338
12462
|
{
|
|
12339
12463
|
ref,
|
|
12340
12464
|
className: ScProfilePopup_default.scProfilePopup + (className ? " " + className : ""),
|
|
12341
12465
|
...props,
|
|
12342
12466
|
children: [
|
|
12343
|
-
/* @__PURE__ */
|
|
12344
|
-
onProfileClick ? /* @__PURE__ */
|
|
12467
|
+
/* @__PURE__ */ jsxs108("div", { className: ScProfilePopup_default.profileHeader, children: [
|
|
12468
|
+
onProfileClick ? /* @__PURE__ */ jsx128(
|
|
12345
12469
|
"button",
|
|
12346
12470
|
{
|
|
12347
12471
|
type: "button",
|
|
@@ -12349,10 +12473,10 @@ var ScProfilePopup = forwardRef2(
|
|
|
12349
12473
|
onClick: onProfileClick,
|
|
12350
12474
|
children: profile
|
|
12351
12475
|
}
|
|
12352
|
-
) : /* @__PURE__ */
|
|
12353
|
-
(headerActions || showLogout) && /* @__PURE__ */
|
|
12476
|
+
) : /* @__PURE__ */ jsx128("div", { className: ScProfilePopup_default.profileBlock, children: profile }),
|
|
12477
|
+
(headerActions || showLogout) && /* @__PURE__ */ jsxs108("div", { className: ScProfilePopup_default.headerActions, children: [
|
|
12354
12478
|
headerActions,
|
|
12355
|
-
showLogout && /* @__PURE__ */
|
|
12479
|
+
showLogout && /* @__PURE__ */ jsx128(
|
|
12356
12480
|
"button",
|
|
12357
12481
|
{
|
|
12358
12482
|
type: "button",
|
|
@@ -12360,16 +12484,16 @@ var ScProfilePopup = forwardRef2(
|
|
|
12360
12484
|
onClick: onLogout,
|
|
12361
12485
|
"aria-label": logoutLabel,
|
|
12362
12486
|
title: logoutLabel,
|
|
12363
|
-
children: /* @__PURE__ */
|
|
12487
|
+
children: /* @__PURE__ */ jsx128(SiconLogout4, { size: 24 })
|
|
12364
12488
|
}
|
|
12365
12489
|
)
|
|
12366
12490
|
] })
|
|
12367
12491
|
] }),
|
|
12368
|
-
hasWorkspaceBlock && /* @__PURE__ */
|
|
12369
|
-
/* @__PURE__ */
|
|
12370
|
-
/* @__PURE__ */
|
|
12371
|
-
showWorkspace && /* @__PURE__ */
|
|
12372
|
-
/* @__PURE__ */
|
|
12492
|
+
hasWorkspaceBlock && /* @__PURE__ */ jsxs108(Fragment30, { children: [
|
|
12493
|
+
/* @__PURE__ */ jsx128(ScHDivider, { className: "" }),
|
|
12494
|
+
/* @__PURE__ */ jsxs108("div", { className: ScProfilePopup_default.profileDetails, children: [
|
|
12495
|
+
showWorkspace && /* @__PURE__ */ jsxs108("div", { className: ScProfilePopup_default.workspaceInfo, children: [
|
|
12496
|
+
/* @__PURE__ */ jsx128(
|
|
12373
12497
|
ScWorkspace,
|
|
12374
12498
|
{
|
|
12375
12499
|
workspaceName,
|
|
@@ -12378,17 +12502,17 @@ var ScProfilePopup = forwardRef2(
|
|
|
12378
12502
|
className: ScProfilePopup_default.scWorkspaceInstance
|
|
12379
12503
|
}
|
|
12380
12504
|
),
|
|
12381
|
-
credits != null && /* @__PURE__ */
|
|
12382
|
-
/* @__PURE__ */
|
|
12383
|
-
/* @__PURE__ */
|
|
12505
|
+
credits != null && /* @__PURE__ */ jsxs108("div", { className: ScProfilePopup_default.creditsPill, children: [
|
|
12506
|
+
/* @__PURE__ */ jsx128(SiconCredits3, { size: 16 }),
|
|
12507
|
+
/* @__PURE__ */ jsx128("span", { className: ScProfilePopup_default.creditsValue, children: credits })
|
|
12384
12508
|
] })
|
|
12385
12509
|
] }),
|
|
12386
|
-
(showSwitchWorkspace || workspaceContent) && /* @__PURE__ */
|
|
12387
|
-
showSwitchWorkspace && /* @__PURE__ */
|
|
12510
|
+
(showSwitchWorkspace || workspaceContent) && /* @__PURE__ */ jsxs108("div", { className: ScProfilePopup_default.switchWorkspaceRow, children: [
|
|
12511
|
+
showSwitchWorkspace && /* @__PURE__ */ jsx128(
|
|
12388
12512
|
ScButton,
|
|
12389
12513
|
{
|
|
12390
12514
|
text: switchWorkspaceLabel,
|
|
12391
|
-
icon: /* @__PURE__ */
|
|
12515
|
+
icon: /* @__PURE__ */ jsx128(SiconWorkspace3, { size: 20 }),
|
|
12392
12516
|
styleVariant: "icon-left",
|
|
12393
12517
|
variant: "outline",
|
|
12394
12518
|
size: "md",
|
|
@@ -12400,13 +12524,13 @@ var ScProfilePopup = forwardRef2(
|
|
|
12400
12524
|
] })
|
|
12401
12525
|
] })
|
|
12402
12526
|
] }),
|
|
12403
|
-
hasMenuBlock && /* @__PURE__ */
|
|
12404
|
-
/* @__PURE__ */
|
|
12405
|
-
/* @__PURE__ */
|
|
12406
|
-
showTeams && menuRow(/* @__PURE__ */
|
|
12407
|
-
showBilling && menuRow(/* @__PURE__ */
|
|
12408
|
-
showSettings && menuRow(/* @__PURE__ */
|
|
12409
|
-
showWhatsNew && menuRow(/* @__PURE__ */
|
|
12527
|
+
hasMenuBlock && /* @__PURE__ */ jsxs108(Fragment30, { children: [
|
|
12528
|
+
/* @__PURE__ */ jsx128(ScHDivider, { className: "" }),
|
|
12529
|
+
/* @__PURE__ */ jsxs108("div", { className: ScProfilePopup_default.settingsOptions, children: [
|
|
12530
|
+
showTeams && menuRow(/* @__PURE__ */ jsx128(SiconTeam8, { size: 24 }), teamsLabel, onTeams),
|
|
12531
|
+
showBilling && menuRow(/* @__PURE__ */ jsx128(SiconBilling6, { size: 24 }), billingLabel, onBilling),
|
|
12532
|
+
showSettings && menuRow(/* @__PURE__ */ jsx128(SiconSettings4, { size: 24 }), settingsLabel, onSettings),
|
|
12533
|
+
showWhatsNew && menuRow(/* @__PURE__ */ jsx128(SiconBolt6, { size: 24 }), whatsNewLabel, onWhatsNew, {
|
|
12410
12534
|
variant: version ? "with-v" : "default",
|
|
12411
12535
|
...version ? { version } : {}
|
|
12412
12536
|
}),
|
|
@@ -12414,16 +12538,16 @@ var ScProfilePopup = forwardRef2(
|
|
|
12414
12538
|
] })
|
|
12415
12539
|
] }),
|
|
12416
12540
|
preFooterContent,
|
|
12417
|
-
showThemeSwitcher && /* @__PURE__ */
|
|
12541
|
+
showThemeSwitcher && /* @__PURE__ */ jsx128(
|
|
12418
12542
|
ScTabSwitcher,
|
|
12419
12543
|
{
|
|
12420
12544
|
tabCount: "3",
|
|
12421
12545
|
role: "radiogroup",
|
|
12422
12546
|
"aria-label": "Theme",
|
|
12423
12547
|
className: "",
|
|
12424
|
-
component: themeTab("system", /* @__PURE__ */
|
|
12425
|
-
component2: themeTab("light", /* @__PURE__ */
|
|
12426
|
-
component3: themeTab("dark", /* @__PURE__ */
|
|
12548
|
+
component: themeTab("system", /* @__PURE__ */ jsx128(SiconSystem3, { size: 20 }), "System theme"),
|
|
12549
|
+
component2: themeTab("light", /* @__PURE__ */ jsx128(SiconLight3, { size: 20 }), "Light theme"),
|
|
12550
|
+
component3: themeTab("dark", /* @__PURE__ */ jsx128(SiconDark3, { size: 20 }), "Dark theme")
|
|
12427
12551
|
}
|
|
12428
12552
|
),
|
|
12429
12553
|
children
|
|
@@ -12540,6 +12664,7 @@ export {
|
|
|
12540
12664
|
ScSidebarAppIdentity,
|
|
12541
12665
|
ScSidebarIcons,
|
|
12542
12666
|
ScSidebarMenu,
|
|
12667
|
+
ScSidebarPopover,
|
|
12543
12668
|
ScSidebarProfile,
|
|
12544
12669
|
ScSidebarResizeHandle,
|
|
12545
12670
|
ScSidebarSearchTrigger,
|