@streamoid/ui 0.6.12 → 0.6.13
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 +125 -0
- package/dist/index.d.mts +35 -3
- package/dist/index.d.ts +35 -3
- package/dist/index.js +726 -375
- package/dist/index.mjs +717 -366
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -65,6 +65,7 @@ __export(index_exports, {
|
|
|
65
65
|
ScImageField: () => ScImageField,
|
|
66
66
|
ScInChatList: () => ScInChatList,
|
|
67
67
|
ScInChatMessage: () => ScInChatMessage,
|
|
68
|
+
ScInfoPopup: () => ScInfoPopup,
|
|
68
69
|
ScIntialProfileCover: () => ScIntialProfileCover,
|
|
69
70
|
ScLogoUnit: () => ScLogoUnit,
|
|
70
71
|
ScMediaApproval: () => ScMediaApproval,
|
|
@@ -72,8 +73,10 @@ __export(index_exports, {
|
|
|
72
73
|
ScMenuOptions: () => ScMenuOptions,
|
|
73
74
|
ScMobileBottomAction: () => ScMobileBottomAction,
|
|
74
75
|
ScMobileTopNav: () => ScMobileTopNav,
|
|
76
|
+
ScModal: () => ScModal,
|
|
75
77
|
ScOnlyField: () => ScOnlyField,
|
|
76
78
|
ScOnlyIcon: () => ScOnlyIcon,
|
|
79
|
+
ScPagination: () => ScPagination,
|
|
77
80
|
ScPairtext: () => ScPairtext,
|
|
78
81
|
ScPendingAction: () => ScPendingAction,
|
|
79
82
|
ScPhtogenixInvite: () => ScPhtogenixInvite,
|
|
@@ -854,8 +857,11 @@ var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
|
854
857
|
var ScCheckbox = ({
|
|
855
858
|
state = "default",
|
|
856
859
|
checked,
|
|
860
|
+
disabled = false,
|
|
857
861
|
onChange,
|
|
858
862
|
className,
|
|
863
|
+
style,
|
|
864
|
+
onClick,
|
|
859
865
|
...props
|
|
860
866
|
}) => {
|
|
861
867
|
const effectiveState = checked !== void 0 ? checked ? "selected" : "default" : state;
|
|
@@ -864,18 +870,100 @@ var ScCheckbox = ({
|
|
|
864
870
|
"div",
|
|
865
871
|
{
|
|
866
872
|
className: ScCheckbox_default.scCheckbox + " " + className + " " + variantsClassName,
|
|
867
|
-
style: {
|
|
868
|
-
|
|
873
|
+
style: {
|
|
874
|
+
cursor: disabled ? "not-allowed" : "pointer",
|
|
875
|
+
...disabled ? { opacity: 0.5 } : {},
|
|
876
|
+
...style
|
|
877
|
+
},
|
|
869
878
|
onClick: (e) => {
|
|
879
|
+
if (disabled) return;
|
|
870
880
|
onChange?.(
|
|
871
881
|
checked !== void 0 ? !checked : effectiveState !== "selected"
|
|
872
882
|
);
|
|
873
|
-
|
|
883
|
+
onClick?.(e);
|
|
874
884
|
},
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
885
|
+
...props,
|
|
886
|
+
children: effectiveState === "selected" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
887
|
+
"svg",
|
|
888
|
+
{
|
|
889
|
+
width: "24",
|
|
890
|
+
height: "24",
|
|
891
|
+
viewBox: "0 0 24 24",
|
|
892
|
+
fill: "none",
|
|
893
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
894
|
+
children: [
|
|
895
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
896
|
+
"rect",
|
|
897
|
+
{
|
|
898
|
+
width: "24",
|
|
899
|
+
height: "24",
|
|
900
|
+
rx: "6",
|
|
901
|
+
fill: "var(--alias-fill-base-base, #f5f5f5)"
|
|
902
|
+
}
|
|
903
|
+
),
|
|
904
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
905
|
+
"path",
|
|
906
|
+
{
|
|
907
|
+
d: "M7.5 12L10.5 15L16.5 9",
|
|
908
|
+
stroke: "var(--alias-text---icons-inverse, #101010)",
|
|
909
|
+
strokeWidth: "2",
|
|
910
|
+
strokeLinecap: "round",
|
|
911
|
+
strokeLinejoin: "round"
|
|
912
|
+
}
|
|
913
|
+
)
|
|
914
|
+
]
|
|
915
|
+
}
|
|
916
|
+
) : effectiveState === "partial" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
917
|
+
"svg",
|
|
918
|
+
{
|
|
919
|
+
width: "24",
|
|
920
|
+
height: "24",
|
|
921
|
+
viewBox: "0 0 24 24",
|
|
922
|
+
fill: "none",
|
|
923
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
924
|
+
children: [
|
|
925
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
926
|
+
"rect",
|
|
927
|
+
{
|
|
928
|
+
width: "24",
|
|
929
|
+
height: "24",
|
|
930
|
+
rx: "6",
|
|
931
|
+
fill: "var(--alias-fill-base-base, #f5f5f5)"
|
|
932
|
+
}
|
|
933
|
+
),
|
|
934
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
935
|
+
"path",
|
|
936
|
+
{
|
|
937
|
+
d: "M7.5 12H16.5",
|
|
938
|
+
stroke: "var(--alias-text---icons-inverse, #101010)",
|
|
939
|
+
strokeWidth: "2",
|
|
940
|
+
strokeLinecap: "round"
|
|
941
|
+
}
|
|
942
|
+
)
|
|
943
|
+
]
|
|
944
|
+
}
|
|
945
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
946
|
+
"svg",
|
|
947
|
+
{
|
|
948
|
+
width: "24",
|
|
949
|
+
height: "24",
|
|
950
|
+
viewBox: "0 0 24 24",
|
|
951
|
+
fill: "none",
|
|
952
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
953
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
954
|
+
"rect",
|
|
955
|
+
{
|
|
956
|
+
x: "0.75",
|
|
957
|
+
y: "0.75",
|
|
958
|
+
width: "22.5",
|
|
959
|
+
height: "22.5",
|
|
960
|
+
rx: "5.25",
|
|
961
|
+
stroke: "var(--alias-border-default, #3e3e3e)",
|
|
962
|
+
strokeWidth: "1.5"
|
|
963
|
+
}
|
|
964
|
+
)
|
|
965
|
+
}
|
|
966
|
+
)
|
|
879
967
|
}
|
|
880
968
|
);
|
|
881
969
|
};
|
|
@@ -6002,6 +6090,7 @@ var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
|
6002
6090
|
var ScToggleSwitch = ({
|
|
6003
6091
|
active = "false",
|
|
6004
6092
|
checked,
|
|
6093
|
+
disabled = false,
|
|
6005
6094
|
onToggle,
|
|
6006
6095
|
className,
|
|
6007
6096
|
...props
|
|
@@ -6014,10 +6103,15 @@ var ScToggleSwitch = ({
|
|
|
6014
6103
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
6015
6104
|
...props,
|
|
6016
6105
|
onClick: (e) => {
|
|
6106
|
+
if (disabled) return;
|
|
6017
6107
|
onToggle?.(!isActive);
|
|
6018
6108
|
props.onClick?.(e);
|
|
6019
6109
|
},
|
|
6020
|
-
style: {
|
|
6110
|
+
style: {
|
|
6111
|
+
cursor: disabled ? "not-allowed" : "pointer",
|
|
6112
|
+
...disabled ? { opacity: 0.5 } : {},
|
|
6113
|
+
...props.style
|
|
6114
|
+
},
|
|
6021
6115
|
children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("svg", { width: "40", height: "24", viewBox: "0 0 40 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6022
6116
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("rect", { width: "40", height: "24", rx: "12", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
6023
6117
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("circle", { cx: "28", cy: "12", r: "10", fill: "var(--alias-text---icons-inverse, #101010)" })
|
|
@@ -7238,6 +7332,263 @@ function ScWorkspaceSwitchCard({
|
|
|
7238
7332
|
}
|
|
7239
7333
|
var NscWorkspaceSwitch = ScWorkspaceSwitchCard;
|
|
7240
7334
|
|
|
7335
|
+
// src/SC-Modal/ScModal.tsx
|
|
7336
|
+
var import_react15 = require("react");
|
|
7337
|
+
var import_react_dom = require("react-dom");
|
|
7338
|
+
|
|
7339
|
+
// src/SC-Modal/ScModal.module.css
|
|
7340
|
+
var ScModal_default = {
|
|
7341
|
+
backdrop: "ScModal_backdrop",
|
|
7342
|
+
content: "ScModal_content"
|
|
7343
|
+
};
|
|
7344
|
+
|
|
7345
|
+
// src/SC-Modal/ScModal.tsx
|
|
7346
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
7347
|
+
var ScModal = ({
|
|
7348
|
+
children,
|
|
7349
|
+
onClose,
|
|
7350
|
+
open = true,
|
|
7351
|
+
className,
|
|
7352
|
+
style,
|
|
7353
|
+
contentClassName,
|
|
7354
|
+
contentStyle,
|
|
7355
|
+
closeOnBackdrop = true,
|
|
7356
|
+
closeOnEsc = true
|
|
7357
|
+
}) => {
|
|
7358
|
+
(0, import_react15.useEffect)(() => {
|
|
7359
|
+
if (!open || !closeOnEsc) return;
|
|
7360
|
+
const onKey = (e) => {
|
|
7361
|
+
if (e.key === "Escape") onClose?.();
|
|
7362
|
+
};
|
|
7363
|
+
document.addEventListener("keydown", onKey);
|
|
7364
|
+
return () => document.removeEventListener("keydown", onKey);
|
|
7365
|
+
}, [open, closeOnEsc, onClose]);
|
|
7366
|
+
if (!open || typeof document === "undefined") return null;
|
|
7367
|
+
return (0, import_react_dom.createPortal)(
|
|
7368
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
7369
|
+
"div",
|
|
7370
|
+
{
|
|
7371
|
+
className: [ScModal_default.backdrop, className].filter(Boolean).join(" "),
|
|
7372
|
+
style,
|
|
7373
|
+
onMouseDown: (e) => {
|
|
7374
|
+
if (closeOnBackdrop && e.target === e.currentTarget) onClose?.();
|
|
7375
|
+
},
|
|
7376
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
7377
|
+
"div",
|
|
7378
|
+
{
|
|
7379
|
+
className: [ScModal_default.content, contentClassName].filter(Boolean).join(" "),
|
|
7380
|
+
style: contentStyle,
|
|
7381
|
+
children
|
|
7382
|
+
}
|
|
7383
|
+
)
|
|
7384
|
+
}
|
|
7385
|
+
),
|
|
7386
|
+
document.body
|
|
7387
|
+
);
|
|
7388
|
+
};
|
|
7389
|
+
|
|
7390
|
+
// src/SC-InfoPopup/ScInfoPopup.tsx
|
|
7391
|
+
var import_react16 = require("react");
|
|
7392
|
+
var import_icons61 = require("@streamoid/icons");
|
|
7393
|
+
|
|
7394
|
+
// src/SC-InfoPopup/ScInfoPopup.module.css
|
|
7395
|
+
var ScInfoPopup_default = {
|
|
7396
|
+
scInfoPopup: "ScInfoPopup_scInfoPopup",
|
|
7397
|
+
infoIcon: "ScInfoPopup_infoIcon",
|
|
7398
|
+
content: "ScInfoPopup_content",
|
|
7399
|
+
closeIconContainer: "ScInfoPopup_closeIconContainer",
|
|
7400
|
+
closeIcon: "ScInfoPopup_closeIcon",
|
|
7401
|
+
contentText: "ScInfoPopup_contentText"
|
|
7402
|
+
};
|
|
7403
|
+
|
|
7404
|
+
// src/SC-InfoPopup/ScInfoPopup.tsx
|
|
7405
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
7406
|
+
var ScInfoPopup = ({
|
|
7407
|
+
content,
|
|
7408
|
+
className
|
|
7409
|
+
}) => {
|
|
7410
|
+
const [open, setOpen] = (0, import_react16.useState)(false);
|
|
7411
|
+
const ref = (0, import_react16.useRef)(null);
|
|
7412
|
+
(0, import_react16.useEffect)(() => {
|
|
7413
|
+
if (!open) return;
|
|
7414
|
+
const onDown = (e) => {
|
|
7415
|
+
if (ref.current && !ref.current.contains(e.target)) setOpen(false);
|
|
7416
|
+
};
|
|
7417
|
+
document.addEventListener("mousedown", onDown);
|
|
7418
|
+
return () => document.removeEventListener("mousedown", onDown);
|
|
7419
|
+
}, [open]);
|
|
7420
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
7421
|
+
"div",
|
|
7422
|
+
{
|
|
7423
|
+
className: ScInfoPopup_default.scInfoPopup + (className ? " " + className : ""),
|
|
7424
|
+
ref,
|
|
7425
|
+
children: [
|
|
7426
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
7427
|
+
"span",
|
|
7428
|
+
{
|
|
7429
|
+
className: ScInfoPopup_default.infoIcon,
|
|
7430
|
+
role: "button",
|
|
7431
|
+
tabIndex: 0,
|
|
7432
|
+
"aria-label": "More info",
|
|
7433
|
+
onClick: (e) => {
|
|
7434
|
+
e.stopPropagation();
|
|
7435
|
+
setOpen(true);
|
|
7436
|
+
},
|
|
7437
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
7438
|
+
"svg",
|
|
7439
|
+
{
|
|
7440
|
+
width: "18",
|
|
7441
|
+
height: "18",
|
|
7442
|
+
viewBox: "0 0 18 18",
|
|
7443
|
+
fill: "none",
|
|
7444
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7445
|
+
children: [
|
|
7446
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
7447
|
+
"circle",
|
|
7448
|
+
{
|
|
7449
|
+
cx: "9",
|
|
7450
|
+
cy: "9",
|
|
7451
|
+
r: "8",
|
|
7452
|
+
stroke: "var(--alias-text-and-icons-tertiary, #9e9e9e)",
|
|
7453
|
+
strokeWidth: "1.25"
|
|
7454
|
+
}
|
|
7455
|
+
),
|
|
7456
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
7457
|
+
"path",
|
|
7458
|
+
{
|
|
7459
|
+
d: "M9 8.25V12.75",
|
|
7460
|
+
stroke: "var(--alias-text-and-icons-tertiary, #9e9e9e)",
|
|
7461
|
+
strokeWidth: "1.5",
|
|
7462
|
+
strokeLinecap: "round"
|
|
7463
|
+
}
|
|
7464
|
+
),
|
|
7465
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
7466
|
+
"circle",
|
|
7467
|
+
{
|
|
7468
|
+
cx: "9",
|
|
7469
|
+
cy: "5.25",
|
|
7470
|
+
r: "0.9",
|
|
7471
|
+
fill: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
7472
|
+
}
|
|
7473
|
+
)
|
|
7474
|
+
]
|
|
7475
|
+
}
|
|
7476
|
+
)
|
|
7477
|
+
}
|
|
7478
|
+
),
|
|
7479
|
+
open && /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: ScInfoPopup_default.content, children: [
|
|
7480
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
7481
|
+
"div",
|
|
7482
|
+
{
|
|
7483
|
+
className: ScInfoPopup_default.closeIconContainer,
|
|
7484
|
+
onClick: (e) => {
|
|
7485
|
+
e.stopPropagation();
|
|
7486
|
+
setOpen(false);
|
|
7487
|
+
},
|
|
7488
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
7489
|
+
import_icons61.SiconClose,
|
|
7490
|
+
{
|
|
7491
|
+
size: 18,
|
|
7492
|
+
color: "var(--alias-text-and-icons-tertiary)",
|
|
7493
|
+
className: ScInfoPopup_default.closeIcon
|
|
7494
|
+
}
|
|
7495
|
+
)
|
|
7496
|
+
}
|
|
7497
|
+
),
|
|
7498
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: ScInfoPopup_default.contentText, children: content })
|
|
7499
|
+
] })
|
|
7500
|
+
]
|
|
7501
|
+
}
|
|
7502
|
+
);
|
|
7503
|
+
};
|
|
7504
|
+
|
|
7505
|
+
// src/SC-Pagination/ScPagination.tsx
|
|
7506
|
+
var import_icons62 = require("@streamoid/icons");
|
|
7507
|
+
|
|
7508
|
+
// src/SC-Pagination/ScPagination.module.css
|
|
7509
|
+
var ScPagination_default = {
|
|
7510
|
+
scPagination: "ScPagination_scPagination",
|
|
7511
|
+
section: "ScPagination_section",
|
|
7512
|
+
leftArrow: "ScPagination_leftArrow",
|
|
7513
|
+
page: "ScPagination_page",
|
|
7514
|
+
pageCount: "ScPagination_pageCount"
|
|
7515
|
+
};
|
|
7516
|
+
|
|
7517
|
+
// src/SC-Pagination/ScPagination.tsx
|
|
7518
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
7519
|
+
var ScPagination = ({
|
|
7520
|
+
itemsCount,
|
|
7521
|
+
itemsPerPage,
|
|
7522
|
+
page,
|
|
7523
|
+
setPage,
|
|
7524
|
+
setOffsetValue,
|
|
7525
|
+
onPageChangeAction,
|
|
7526
|
+
className
|
|
7527
|
+
}) => {
|
|
7528
|
+
const perPage = parseInt(String(itemsPerPage), 10) || 1;
|
|
7529
|
+
const maxPage = itemsCount % perPage ? Math.floor(itemsCount / perPage) + 1 : itemsCount / perPage;
|
|
7530
|
+
const handlePageValue = (e) => {
|
|
7531
|
+
const raw = e.target.value;
|
|
7532
|
+
if (raw.length) {
|
|
7533
|
+
const n = parseInt(raw, 10);
|
|
7534
|
+
if (n < 1) setPage(1);
|
|
7535
|
+
else if (n > maxPage) setPage(maxPage);
|
|
7536
|
+
else setPage(raw);
|
|
7537
|
+
} else {
|
|
7538
|
+
setPage(raw);
|
|
7539
|
+
}
|
|
7540
|
+
};
|
|
7541
|
+
const commit = (e) => {
|
|
7542
|
+
setOffsetValue((Number(e.target.value) - 1) * perPage);
|
|
7543
|
+
onPageChangeAction();
|
|
7544
|
+
};
|
|
7545
|
+
const step = (type) => {
|
|
7546
|
+
const p = Number(page);
|
|
7547
|
+
if (type === "dec" && p > 1) {
|
|
7548
|
+
setPage(p - 1);
|
|
7549
|
+
setOffsetValue((p - 2) * perPage);
|
|
7550
|
+
onPageChangeAction();
|
|
7551
|
+
} else if (type === "inc" && p < maxPage) {
|
|
7552
|
+
setPage(p + 1);
|
|
7553
|
+
setOffsetValue(p * perPage);
|
|
7554
|
+
onPageChangeAction();
|
|
7555
|
+
}
|
|
7556
|
+
};
|
|
7557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: ScPagination_default.scPagination + (className ? " " + className : ""), children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: ScPagination_default.section, children: [
|
|
7558
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
7559
|
+
import_icons62.SiconRight,
|
|
7560
|
+
{
|
|
7561
|
+
size: 24,
|
|
7562
|
+
color: "var(--alias-text-and-icons-primary)",
|
|
7563
|
+
className: ScPagination_default.leftArrow,
|
|
7564
|
+
onClick: () => step("dec")
|
|
7565
|
+
}
|
|
7566
|
+
),
|
|
7567
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: ScPagination_default.page, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
7568
|
+
"input",
|
|
7569
|
+
{
|
|
7570
|
+
type: "number",
|
|
7571
|
+
pattern: "\\d*",
|
|
7572
|
+
value: page,
|
|
7573
|
+
onChange: handlePageValue,
|
|
7574
|
+
onBlur: commit
|
|
7575
|
+
}
|
|
7576
|
+
) }),
|
|
7577
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
7578
|
+
import_icons62.SiconRight,
|
|
7579
|
+
{
|
|
7580
|
+
size: 24,
|
|
7581
|
+
color: "var(--alias-text-and-icons-primary)",
|
|
7582
|
+
onClick: () => step("inc")
|
|
7583
|
+
}
|
|
7584
|
+
),
|
|
7585
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("span", { className: ScPagination_default.pageCount, children: [
|
|
7586
|
+
"of ",
|
|
7587
|
+
maxPage
|
|
7588
|
+
] })
|
|
7589
|
+
] }) });
|
|
7590
|
+
};
|
|
7591
|
+
|
|
7241
7592
|
// src/SC-Beacon/ScBeacon.module.css
|
|
7242
7593
|
var ScBeacon_default = {
|
|
7243
7594
|
scBeacon: "ScBeacon_scBeacon",
|
|
@@ -7248,19 +7599,19 @@ var ScBeacon_default = {
|
|
|
7248
7599
|
};
|
|
7249
7600
|
|
|
7250
7601
|
// src/SC-Beacon/ScBeacon.tsx
|
|
7251
|
-
var
|
|
7602
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
7252
7603
|
var ScBeacon = ({
|
|
7253
7604
|
tone = "neutral",
|
|
7254
7605
|
className,
|
|
7255
7606
|
...props
|
|
7256
7607
|
}) => {
|
|
7257
|
-
return /* @__PURE__ */ (0,
|
|
7608
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
7258
7609
|
"span",
|
|
7259
7610
|
{
|
|
7260
7611
|
className: ScBeacon_default.scBeacon + " " + ScBeacon_default[tone] + (className ? " " + className : ""),
|
|
7261
7612
|
"aria-hidden": "true",
|
|
7262
7613
|
...props,
|
|
7263
|
-
children: /* @__PURE__ */ (0,
|
|
7614
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
7264
7615
|
"svg",
|
|
7265
7616
|
{
|
|
7266
7617
|
viewBox: "0 0 20 20",
|
|
@@ -7269,8 +7620,8 @@ var ScBeacon = ({
|
|
|
7269
7620
|
fill: "none",
|
|
7270
7621
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7271
7622
|
children: [
|
|
7272
|
-
/* @__PURE__ */ (0,
|
|
7273
|
-
/* @__PURE__ */ (0,
|
|
7623
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("circle", { cx: "10", cy: "10", r: "10", fill: "currentColor", fillOpacity: "0.24" }),
|
|
7624
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("circle", { cx: "10", cy: "10", r: "4", fill: "currentColor" })
|
|
7274
7625
|
]
|
|
7275
7626
|
}
|
|
7276
7627
|
)
|
|
@@ -7290,7 +7641,7 @@ var ScStoreCard_default = {
|
|
|
7290
7641
|
};
|
|
7291
7642
|
|
|
7292
7643
|
// src/SC-StoreCard/ScStoreCard.tsx
|
|
7293
|
-
var
|
|
7644
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
7294
7645
|
var ScStoreCard = ({
|
|
7295
7646
|
storeName = "Store Name",
|
|
7296
7647
|
noOfProducts = "1490 Products",
|
|
@@ -7299,18 +7650,18 @@ var ScStoreCard = ({
|
|
|
7299
7650
|
className,
|
|
7300
7651
|
...props
|
|
7301
7652
|
}) => {
|
|
7302
|
-
return /* @__PURE__ */ (0,
|
|
7653
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
7303
7654
|
"div",
|
|
7304
7655
|
{
|
|
7305
7656
|
className: ScStoreCard_default.scStoreCard + (className ? " " + className : ""),
|
|
7306
7657
|
...props,
|
|
7307
7658
|
children: [
|
|
7308
|
-
/* @__PURE__ */ (0,
|
|
7309
|
-
/* @__PURE__ */ (0,
|
|
7310
|
-
/* @__PURE__ */ (0,
|
|
7311
|
-
/* @__PURE__ */ (0,
|
|
7312
|
-
/* @__PURE__ */ (0,
|
|
7313
|
-
/* @__PURE__ */ (0,
|
|
7659
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: ScStoreCard_default.nameSection, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: ScStoreCard_default.storeName, title: storeName, children: storeName }) }),
|
|
7660
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ScHDivider, { className: ScStoreCard_default.divider }),
|
|
7661
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: ScStoreCard_default.footer, children: [
|
|
7662
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ScBeacon, { tone }),
|
|
7663
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: ScStoreCard_default.products, children: noOfProducts }),
|
|
7664
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: ScStoreCard_default.date, children: dateCreated })
|
|
7314
7665
|
] })
|
|
7315
7666
|
]
|
|
7316
7667
|
}
|
|
@@ -7329,7 +7680,7 @@ var ScCatalogixStoreHeader_default = {
|
|
|
7329
7680
|
};
|
|
7330
7681
|
|
|
7331
7682
|
// src/SC-Catalogix-Store-Header/ScCatalogixStoreHeader.tsx
|
|
7332
|
-
var
|
|
7683
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
7333
7684
|
var ScCatalogixStoreHeader = ({
|
|
7334
7685
|
storeNameLabel = "Store name",
|
|
7335
7686
|
statusLabel = "Status",
|
|
@@ -7342,18 +7693,18 @@ var ScCatalogixStoreHeader = ({
|
|
|
7342
7693
|
className,
|
|
7343
7694
|
...props
|
|
7344
7695
|
}) => {
|
|
7345
|
-
return /* @__PURE__ */ (0,
|
|
7696
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
7346
7697
|
"div",
|
|
7347
7698
|
{
|
|
7348
7699
|
className: ScCatalogixStoreHeader_default.scCatalogixStoreHeader + (className ? " " + className : ""),
|
|
7349
7700
|
...props,
|
|
7350
7701
|
children: [
|
|
7351
|
-
/* @__PURE__ */ (0,
|
|
7352
|
-
/* @__PURE__ */ (0,
|
|
7353
|
-
/* @__PURE__ */ (0,
|
|
7354
|
-
showAssets && /* @__PURE__ */ (0,
|
|
7355
|
-
/* @__PURE__ */ (0,
|
|
7356
|
-
showCreatedBy && /* @__PURE__ */ (0,
|
|
7702
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colName, children: storeNameLabel }),
|
|
7703
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colStatus, children: statusLabel }),
|
|
7704
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: productsLabel }),
|
|
7705
|
+
showAssets && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: assetsLabel }),
|
|
7706
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colDate, children: createdOnLabel }),
|
|
7707
|
+
showCreatedBy && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colBy, children: createdByLabel })
|
|
7357
7708
|
]
|
|
7358
7709
|
}
|
|
7359
7710
|
);
|
|
@@ -7375,7 +7726,7 @@ var ScCatalogixStoreTableList_default = {
|
|
|
7375
7726
|
};
|
|
7376
7727
|
|
|
7377
7728
|
// src/SC-CatalogixStoreTableList/ScCatalogixStoreTableList.tsx
|
|
7378
|
-
var
|
|
7729
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
7379
7730
|
var STATUS_TONE_CLASS = {
|
|
7380
7731
|
success: "statusSuccess",
|
|
7381
7732
|
warning: "statusWarning",
|
|
@@ -7396,18 +7747,18 @@ var ScCatalogixStoreTableList = ({
|
|
|
7396
7747
|
...props
|
|
7397
7748
|
}) => {
|
|
7398
7749
|
const toneClass = ScCatalogixStoreTableList_default[STATUS_TONE_CLASS[statusTone] || "statusNeutral"];
|
|
7399
|
-
return /* @__PURE__ */ (0,
|
|
7750
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
7400
7751
|
"div",
|
|
7401
7752
|
{
|
|
7402
7753
|
className: ScCatalogixStoreTableList_default.scCatalogixStoreTableList + (className ? " " + className : ""),
|
|
7403
7754
|
...props,
|
|
7404
7755
|
children: [
|
|
7405
|
-
/* @__PURE__ */ (0,
|
|
7406
|
-
/* @__PURE__ */ (0,
|
|
7407
|
-
/* @__PURE__ */ (0,
|
|
7408
|
-
showAssets && /* @__PURE__ */ (0,
|
|
7409
|
-
/* @__PURE__ */ (0,
|
|
7410
|
-
showCreatedBy && /* @__PURE__ */ (0,
|
|
7756
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScCatalogixStoreTableList_default.name, title: storeName, children: storeName }),
|
|
7757
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScCatalogixStoreTableList_default.status + " " + toneClass, children: status }),
|
|
7758
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: products }),
|
|
7759
|
+
showAssets && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: assets }),
|
|
7760
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colDate, children: createdOn }),
|
|
7761
|
+
showCreatedBy && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colBy, children: createdBy })
|
|
7411
7762
|
]
|
|
7412
7763
|
}
|
|
7413
7764
|
);
|
|
@@ -7427,7 +7778,7 @@ var ScThinkingStepIcon_default = {
|
|
|
7427
7778
|
};
|
|
7428
7779
|
|
|
7429
7780
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.tsx
|
|
7430
|
-
var
|
|
7781
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
7431
7782
|
var ScThinkingStepIcon = ({
|
|
7432
7783
|
state = "default",
|
|
7433
7784
|
size = 12,
|
|
@@ -7436,13 +7787,13 @@ var ScThinkingStepIcon = ({
|
|
|
7436
7787
|
...props
|
|
7437
7788
|
}) => {
|
|
7438
7789
|
const variantsClassName = ScThinkingStepIcon_default["state-" + state];
|
|
7439
|
-
return /* @__PURE__ */ (0,
|
|
7790
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
7440
7791
|
"span",
|
|
7441
7792
|
{
|
|
7442
7793
|
className: ScThinkingStepIcon_default.scThinkingStepIcon + " " + (className ?? "") + " " + variantsClassName,
|
|
7443
7794
|
style: { width: size, height: size, ...style },
|
|
7444
7795
|
...props,
|
|
7445
|
-
children: /* @__PURE__ */ (0,
|
|
7796
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
|
|
7446
7797
|
"svg",
|
|
7447
7798
|
{
|
|
7448
7799
|
className: ScThinkingStepIcon_default.glyph,
|
|
@@ -7453,7 +7804,7 @@ var ScThinkingStepIcon = ({
|
|
|
7453
7804
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7454
7805
|
"aria-hidden": "true",
|
|
7455
7806
|
children: [
|
|
7456
|
-
state === "default" && /* @__PURE__ */ (0,
|
|
7807
|
+
state === "default" && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
7457
7808
|
"circle",
|
|
7458
7809
|
{
|
|
7459
7810
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7464,7 +7815,7 @@ var ScThinkingStepIcon = ({
|
|
|
7464
7815
|
strokeLinecap: "round"
|
|
7465
7816
|
}
|
|
7466
7817
|
),
|
|
7467
|
-
state === "working" && /* @__PURE__ */ (0,
|
|
7818
|
+
state === "working" && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
7468
7819
|
"path",
|
|
7469
7820
|
{
|
|
7470
7821
|
className: ScThinkingStepIcon_default.stroke + " " + ScThinkingStepIcon_default.spinner,
|
|
@@ -7474,7 +7825,7 @@ var ScThinkingStepIcon = ({
|
|
|
7474
7825
|
strokeLinejoin: "round"
|
|
7475
7826
|
}
|
|
7476
7827
|
),
|
|
7477
|
-
state === "completed" && /* @__PURE__ */ (0,
|
|
7828
|
+
state === "completed" && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
7478
7829
|
"path",
|
|
7479
7830
|
{
|
|
7480
7831
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7484,7 +7835,7 @@ var ScThinkingStepIcon = ({
|
|
|
7484
7835
|
strokeLinejoin: "round"
|
|
7485
7836
|
}
|
|
7486
7837
|
),
|
|
7487
|
-
state === "error" && /* @__PURE__ */ (0,
|
|
7838
|
+
state === "error" && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
7488
7839
|
"path",
|
|
7489
7840
|
{
|
|
7490
7841
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7523,8 +7874,8 @@ var ScInChatList_default = {
|
|
|
7523
7874
|
};
|
|
7524
7875
|
|
|
7525
7876
|
// src/SC-InChatList/ScInChatList.tsx
|
|
7526
|
-
var
|
|
7527
|
-
var
|
|
7877
|
+
var import_icons63 = require("@streamoid/icons");
|
|
7878
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
7528
7879
|
var ScInChatList = ({
|
|
7529
7880
|
title = "Infrastructure that helps modern brands scale",
|
|
7530
7881
|
description = "Description",
|
|
@@ -7541,33 +7892,33 @@ var ScInChatList = ({
|
|
|
7541
7892
|
}) => {
|
|
7542
7893
|
const isExpandable = descriptionVisibility === "hidden" || descriptionVisibility === "visible";
|
|
7543
7894
|
const isExpanded = descriptionVisibility === "visible";
|
|
7544
|
-
return /* @__PURE__ */ (0,
|
|
7895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
7545
7896
|
"div",
|
|
7546
7897
|
{
|
|
7547
7898
|
className: ScInChatList_default.scInChatList + (className ? " " + className : ""),
|
|
7548
7899
|
style,
|
|
7549
7900
|
children: [
|
|
7550
|
-
leadingIndicator && /* @__PURE__ */ (0,
|
|
7551
|
-
/* @__PURE__ */ (0,
|
|
7552
|
-
/* @__PURE__ */ (0,
|
|
7553
|
-
showSteps && /* @__PURE__ */ (0,
|
|
7554
|
-
/* @__PURE__ */ (0,
|
|
7901
|
+
leadingIndicator && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScInChatList_default.indicatorWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ScThinkingStepIcon, { state: iconState }) }),
|
|
7902
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScInChatList_default.content, children: [
|
|
7903
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScInChatList_default.headerArea, children: [
|
|
7904
|
+
showSteps && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: ScInChatList_default.stepCount, children: stepCount }),
|
|
7905
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
7555
7906
|
"div",
|
|
7556
7907
|
{
|
|
7557
7908
|
className: ScInChatList_default.titleRow + " " + (isExpandable ? ScInChatList_default.titleRowClickable : ScInChatList_default.titleRowStatic),
|
|
7558
7909
|
onClick: isExpandable ? onToggle : void 0,
|
|
7559
7910
|
children: [
|
|
7560
|
-
/* @__PURE__ */ (0,
|
|
7561
|
-
isExpandable && /* @__PURE__ */ (0,
|
|
7911
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: ScInChatList_default.title, children: title }),
|
|
7912
|
+
isExpandable && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScInChatList_default.chevronWrapper, children: isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_icons63.SiconUp, { size: 12, className: ScInChatList_default.chevronIcon }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_icons63.SiconDown, { size: 12, className: ScInChatList_default.chevronIcon }) })
|
|
7562
7913
|
]
|
|
7563
7914
|
}
|
|
7564
7915
|
),
|
|
7565
|
-
isExpanded && /* @__PURE__ */ (0,
|
|
7566
|
-
/* @__PURE__ */ (0,
|
|
7567
|
-
/* @__PURE__ */ (0,
|
|
7916
|
+
isExpanded && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScInChatList_default.descriptionRow, children: [
|
|
7917
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScInChatList_default.descriptionIcon, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_icons63.SiconDot, { size: 20, className: ScInChatList_default.descriptionDot }) }),
|
|
7918
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: ScInChatList_default.descriptionText, children: description })
|
|
7568
7919
|
] })
|
|
7569
7920
|
] }),
|
|
7570
|
-
showTool && /* @__PURE__ */ (0,
|
|
7921
|
+
showTool && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScInChatList_default.toolPill, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: ScInChatList_default.toolText, children: toolUsing }) })
|
|
7571
7922
|
] })
|
|
7572
7923
|
]
|
|
7573
7924
|
}
|
|
@@ -7581,7 +7932,7 @@ var ScSubAgent_default = {
|
|
|
7581
7932
|
};
|
|
7582
7933
|
|
|
7583
7934
|
// src/SC-SubAgent/ScSubAgent.tsx
|
|
7584
|
-
var
|
|
7935
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
7585
7936
|
function formatSubAgentLabel(agentName) {
|
|
7586
7937
|
const normalized = (agentName ?? "").trim();
|
|
7587
7938
|
if (!normalized) return "Using sub-agent...";
|
|
@@ -7594,12 +7945,12 @@ var ScSubAgent = ({
|
|
|
7594
7945
|
...props
|
|
7595
7946
|
}) => {
|
|
7596
7947
|
const label = text ?? formatSubAgentLabel(agentName);
|
|
7597
|
-
return /* @__PURE__ */ (0,
|
|
7948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
7598
7949
|
"div",
|
|
7599
7950
|
{
|
|
7600
7951
|
className: [ScSubAgent_default.scSubAgent, className].filter(Boolean).join(" "),
|
|
7601
7952
|
...props,
|
|
7602
|
-
children: /* @__PURE__ */ (0,
|
|
7953
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: ScSubAgent_default.label, children: label })
|
|
7603
7954
|
}
|
|
7604
7955
|
);
|
|
7605
7956
|
};
|
|
@@ -7613,7 +7964,7 @@ var ScInChatMessage_default = {
|
|
|
7613
7964
|
};
|
|
7614
7965
|
|
|
7615
7966
|
// src/SC-InChatMessage/ScInChatMessage.tsx
|
|
7616
|
-
var
|
|
7967
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
7617
7968
|
var ScInChatMessage = ({
|
|
7618
7969
|
type = "input",
|
|
7619
7970
|
text,
|
|
@@ -7623,13 +7974,13 @@ var ScInChatMessage = ({
|
|
|
7623
7974
|
...props
|
|
7624
7975
|
}) => {
|
|
7625
7976
|
const variantsClassName = ScInChatMessage_default["type-" + type];
|
|
7626
|
-
return /* @__PURE__ */ (0,
|
|
7977
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
7627
7978
|
"div",
|
|
7628
7979
|
{
|
|
7629
7980
|
className: [ScInChatMessage_default.scInChatMessage, variantsClassName, className].filter(Boolean).join(" "),
|
|
7630
7981
|
id,
|
|
7631
7982
|
...props,
|
|
7632
|
-
children: /* @__PURE__ */ (0,
|
|
7983
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: ScInChatMessage_default.text, children: children ?? text })
|
|
7633
7984
|
}
|
|
7634
7985
|
);
|
|
7635
7986
|
};
|
|
@@ -7646,7 +7997,7 @@ var ScSelection_default = {
|
|
|
7646
7997
|
};
|
|
7647
7998
|
|
|
7648
7999
|
// src/SC-Selection/ScSelection.tsx
|
|
7649
|
-
var
|
|
8000
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
7650
8001
|
var ScSelection = ({
|
|
7651
8002
|
title = "Title",
|
|
7652
8003
|
description = "Description",
|
|
@@ -7662,23 +8013,23 @@ var ScSelection = ({
|
|
|
7662
8013
|
onClick?.(event);
|
|
7663
8014
|
onSelect?.(value);
|
|
7664
8015
|
};
|
|
7665
|
-
return /* @__PURE__ */ (0,
|
|
8016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
7666
8017
|
"div",
|
|
7667
8018
|
{
|
|
7668
8019
|
className: [ScSelection_default.scSelection, variantsClassName, className].filter(Boolean).join(" "),
|
|
7669
8020
|
onClick: handleClick,
|
|
7670
8021
|
...props,
|
|
7671
8022
|
children: [
|
|
7672
|
-
/* @__PURE__ */ (0,
|
|
8023
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
7673
8024
|
ScRadio,
|
|
7674
8025
|
{
|
|
7675
8026
|
state: active ? "selected" : "default",
|
|
7676
8027
|
className: ScSelection_default.scRadioInstance
|
|
7677
8028
|
}
|
|
7678
8029
|
),
|
|
7679
|
-
/* @__PURE__ */ (0,
|
|
7680
|
-
/* @__PURE__ */ (0,
|
|
7681
|
-
description && /* @__PURE__ */ (0,
|
|
8030
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: ScSelection_default.wrapper, children: [
|
|
8031
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: ScSelection_default.title, children: title }),
|
|
8032
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: ScSelection_default.description, children: description })
|
|
7682
8033
|
] })
|
|
7683
8034
|
]
|
|
7684
8035
|
}
|
|
@@ -7705,7 +8056,7 @@ var ScSelectionList_default = {
|
|
|
7705
8056
|
};
|
|
7706
8057
|
|
|
7707
8058
|
// src/SC-SelectionList/ScSelectionList.tsx
|
|
7708
|
-
var
|
|
8059
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
7709
8060
|
var ScSelectionList = ({
|
|
7710
8061
|
state = "default",
|
|
7711
8062
|
label = "Suggested Colours: ",
|
|
@@ -7728,14 +8079,14 @@ var ScSelectionList = ({
|
|
|
7728
8079
|
onChange?.(next);
|
|
7729
8080
|
if (next === "rejected") onReject?.();
|
|
7730
8081
|
};
|
|
7731
|
-
return /* @__PURE__ */ (0,
|
|
8082
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
7732
8083
|
"div",
|
|
7733
8084
|
{
|
|
7734
8085
|
className: ScSelectionList_default.scSelectionList + (disabled ? " " + ScSelectionList_default.disabled : "") + (className ? " " + className : "") + " " + variantsClassName,
|
|
7735
8086
|
...props,
|
|
7736
8087
|
children: [
|
|
7737
|
-
/* @__PURE__ */ (0,
|
|
7738
|
-
/* @__PURE__ */ (0,
|
|
8088
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: ScSelectionList_default.toggles, children: [
|
|
8089
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
7739
8090
|
"button",
|
|
7740
8091
|
{
|
|
7741
8092
|
type: "button",
|
|
@@ -7744,7 +8095,7 @@ var ScSelectionList = ({
|
|
|
7744
8095
|
disabled,
|
|
7745
8096
|
"aria-pressed": state === "approved",
|
|
7746
8097
|
"aria-label": state === "approved" ? "Revoke approval" : "Approve",
|
|
7747
|
-
children: /* @__PURE__ */ (0,
|
|
8098
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
7748
8099
|
"svg",
|
|
7749
8100
|
{
|
|
7750
8101
|
className: ScSelectionList_default.checkIcon,
|
|
@@ -7753,7 +8104,7 @@ var ScSelectionList = ({
|
|
|
7753
8104
|
viewBox: "0 0 8 6",
|
|
7754
8105
|
fill: "none",
|
|
7755
8106
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7756
|
-
children: /* @__PURE__ */ (0,
|
|
8107
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
7757
8108
|
"path",
|
|
7758
8109
|
{
|
|
7759
8110
|
d: "M0.5 3.5L2.5 5.5L7.5 0.5",
|
|
@@ -7766,7 +8117,7 @@ var ScSelectionList = ({
|
|
|
7766
8117
|
)
|
|
7767
8118
|
}
|
|
7768
8119
|
),
|
|
7769
|
-
/* @__PURE__ */ (0,
|
|
8120
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
7770
8121
|
"button",
|
|
7771
8122
|
{
|
|
7772
8123
|
type: "button",
|
|
@@ -7775,7 +8126,7 @@ var ScSelectionList = ({
|
|
|
7775
8126
|
disabled,
|
|
7776
8127
|
"aria-pressed": state === "rejected",
|
|
7777
8128
|
"aria-label": state === "rejected" ? "Revoke rejection" : "Reject",
|
|
7778
|
-
children: /* @__PURE__ */ (0,
|
|
8129
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
7779
8130
|
"svg",
|
|
7780
8131
|
{
|
|
7781
8132
|
className: ScSelectionList_default.closeIcon,
|
|
@@ -7784,7 +8135,7 @@ var ScSelectionList = ({
|
|
|
7784
8135
|
viewBox: "0 0 6.24261 6.24262",
|
|
7785
8136
|
fill: "none",
|
|
7786
8137
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7787
|
-
children: /* @__PURE__ */ (0,
|
|
8138
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
7788
8139
|
"path",
|
|
7789
8140
|
{
|
|
7790
8141
|
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",
|
|
@@ -7798,9 +8149,9 @@ var ScSelectionList = ({
|
|
|
7798
8149
|
}
|
|
7799
8150
|
)
|
|
7800
8151
|
] }),
|
|
7801
|
-
/* @__PURE__ */ (0,
|
|
7802
|
-
/* @__PURE__ */ (0,
|
|
7803
|
-
/* @__PURE__ */ (0,
|
|
8152
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: ScSelectionList_default.content, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: ScSelectionList_default.row, children: [
|
|
8153
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { className: ScSelectionList_default.label, children: label }),
|
|
8154
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { className: ScSelectionList_default.valuesPill, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { className: ScSelectionList_default.valuesText, children: optionValues }) })
|
|
7804
8155
|
] }) })
|
|
7805
8156
|
]
|
|
7806
8157
|
}
|
|
@@ -7808,7 +8159,7 @@ var ScSelectionList = ({
|
|
|
7808
8159
|
};
|
|
7809
8160
|
|
|
7810
8161
|
// src/SC-textArea/ScTextArea.tsx
|
|
7811
|
-
var
|
|
8162
|
+
var import_react17 = require("react");
|
|
7812
8163
|
|
|
7813
8164
|
// src/SC-textArea/ScTextArea.module.css
|
|
7814
8165
|
var ScTextArea_default = {
|
|
@@ -7827,7 +8178,7 @@ var ScTextArea_default = {
|
|
|
7827
8178
|
};
|
|
7828
8179
|
|
|
7829
8180
|
// src/SC-textArea/ScTextArea.tsx
|
|
7830
|
-
var
|
|
8181
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
7831
8182
|
var ScTextArea = ({
|
|
7832
8183
|
state,
|
|
7833
8184
|
labelGroup = "",
|
|
@@ -7838,27 +8189,27 @@ var ScTextArea = ({
|
|
|
7838
8189
|
style,
|
|
7839
8190
|
...props
|
|
7840
8191
|
}) => {
|
|
7841
|
-
const [focused, setFocused] = (0,
|
|
8192
|
+
const [focused, setFocused] = (0, import_react17.useState)(false);
|
|
7842
8193
|
const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
|
|
7843
8194
|
const stateClass = ScTextArea_default["state-" + derivedState];
|
|
7844
8195
|
const labelGroupClass = ScTextArea_default["label-group-" + (labelGroup || "none")];
|
|
7845
|
-
return /* @__PURE__ */ (0,
|
|
8196
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
7846
8197
|
"div",
|
|
7847
8198
|
{
|
|
7848
8199
|
className: [ScTextArea_default.scTextArea, stateClass, labelGroupClass, className].filter(Boolean).join(" "),
|
|
7849
8200
|
style,
|
|
7850
8201
|
children: [
|
|
7851
|
-
labelGroup && /* @__PURE__ */ (0,
|
|
7852
|
-
/* @__PURE__ */ (0,
|
|
8202
|
+
labelGroup && /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScTextArea_default.labelContainer, children: [
|
|
8203
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScTextArea_default.label, children: [
|
|
7853
8204
|
label,
|
|
7854
8205
|
" "
|
|
7855
8206
|
] }),
|
|
7856
|
-
labelGroup === "text" && /* @__PURE__ */ (0,
|
|
8207
|
+
labelGroup === "text" && /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScTextArea_default.info, children: [
|
|
7857
8208
|
info,
|
|
7858
8209
|
" "
|
|
7859
8210
|
] })
|
|
7860
8211
|
] }),
|
|
7861
|
-
/* @__PURE__ */ (0,
|
|
8212
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: ScTextArea_default.inputContainer, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
7862
8213
|
"textarea",
|
|
7863
8214
|
{
|
|
7864
8215
|
className: ScTextArea_default.inputText,
|
|
@@ -7880,7 +8231,7 @@ var ScTextArea = ({
|
|
|
7880
8231
|
};
|
|
7881
8232
|
|
|
7882
8233
|
// src/SC-select/ScSelect.tsx
|
|
7883
|
-
var
|
|
8234
|
+
var import_react18 = require("react");
|
|
7884
8235
|
|
|
7885
8236
|
// src/SC-select/ScSelect.module.css
|
|
7886
8237
|
var ScSelect_default = {
|
|
@@ -7905,7 +8256,7 @@ var ScSelect_default = {
|
|
|
7905
8256
|
};
|
|
7906
8257
|
|
|
7907
8258
|
// src/SC-select/ScSelect.tsx
|
|
7908
|
-
var
|
|
8259
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
7909
8260
|
var ScSelect = (props) => {
|
|
7910
8261
|
const {
|
|
7911
8262
|
value,
|
|
@@ -7917,9 +8268,9 @@ var ScSelect = (props) => {
|
|
|
7917
8268
|
disabled = false,
|
|
7918
8269
|
className
|
|
7919
8270
|
} = props;
|
|
7920
|
-
const [open, setOpen] = (0,
|
|
7921
|
-
const rootRef = (0,
|
|
7922
|
-
(0,
|
|
8271
|
+
const [open, setOpen] = (0, import_react18.useState)(false);
|
|
8272
|
+
const rootRef = (0, import_react18.useRef)(null);
|
|
8273
|
+
(0, import_react18.useEffect)(() => {
|
|
7923
8274
|
if (!open) return;
|
|
7924
8275
|
const handleClick = (e) => {
|
|
7925
8276
|
if (rootRef.current && !rootRef.current.contains(e.target)) {
|
|
@@ -7945,10 +8296,10 @@ var ScSelect = (props) => {
|
|
|
7945
8296
|
labelGroup ? ScSelect_default["label-group-" + labelGroup] : void 0,
|
|
7946
8297
|
className
|
|
7947
8298
|
].filter(Boolean).join(" ");
|
|
7948
|
-
return /* @__PURE__ */ (0,
|
|
7949
|
-
labelGroup === "label" && label ? /* @__PURE__ */ (0,
|
|
7950
|
-
/* @__PURE__ */ (0,
|
|
7951
|
-
/* @__PURE__ */ (0,
|
|
8299
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: rootClass, ref: rootRef, children: [
|
|
8300
|
+
labelGroup === "label" && label ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScSelect_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScSelect_default.label, children: label }) }) : null,
|
|
8301
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScSelect_default.selectArea, children: [
|
|
8302
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
|
|
7952
8303
|
"button",
|
|
7953
8304
|
{
|
|
7954
8305
|
type: "button",
|
|
@@ -7958,18 +8309,18 @@ var ScSelect = (props) => {
|
|
|
7958
8309
|
"aria-haspopup": "listbox",
|
|
7959
8310
|
"aria-expanded": open,
|
|
7960
8311
|
children: [
|
|
7961
|
-
/* @__PURE__ */ (0,
|
|
8312
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7962
8313
|
"span",
|
|
7963
8314
|
{
|
|
7964
8315
|
className: [ScSelect_default.triggerText, selected ? void 0 : ScSelect_default.placeholder].filter(Boolean).join(" "),
|
|
7965
8316
|
children: selected ? selected.label : placeholder
|
|
7966
8317
|
}
|
|
7967
8318
|
),
|
|
7968
|
-
/* @__PURE__ */ (0,
|
|
8319
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7969
8320
|
"span",
|
|
7970
8321
|
{
|
|
7971
8322
|
className: [ScSelect_default.chevron, open ? ScSelect_default.chevronOpen : void 0].filter(Boolean).join(" "),
|
|
7972
|
-
children: /* @__PURE__ */ (0,
|
|
8323
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7973
8324
|
"path",
|
|
7974
8325
|
{
|
|
7975
8326
|
d: "M5 7.5L10 12.5L15 7.5",
|
|
@@ -7984,13 +8335,13 @@ var ScSelect = (props) => {
|
|
|
7984
8335
|
]
|
|
7985
8336
|
}
|
|
7986
8337
|
),
|
|
7987
|
-
open ? /* @__PURE__ */ (0,
|
|
8338
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScSelect_default.menu, role: "listbox", children: options.map((option) => {
|
|
7988
8339
|
const isSelected = option.id === value;
|
|
7989
8340
|
const optionClass = [
|
|
7990
8341
|
ScSelect_default.option,
|
|
7991
8342
|
isSelected ? ScSelect_default["option-selected"] : void 0
|
|
7992
8343
|
].filter(Boolean).join(" ");
|
|
7993
|
-
return /* @__PURE__ */ (0,
|
|
8344
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
|
|
7994
8345
|
"div",
|
|
7995
8346
|
{
|
|
7996
8347
|
className: optionClass,
|
|
@@ -7998,8 +8349,8 @@ var ScSelect = (props) => {
|
|
|
7998
8349
|
"aria-selected": isSelected,
|
|
7999
8350
|
onClick: () => handleSelect(option.id),
|
|
8000
8351
|
children: [
|
|
8001
|
-
/* @__PURE__ */ (0,
|
|
8002
|
-
option.description ? /* @__PURE__ */ (0,
|
|
8352
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: ScSelect_default.optionLabel, children: option.label }),
|
|
8353
|
+
option.description ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: ScSelect_default.optionDescription, children: option.description }) : null
|
|
8003
8354
|
]
|
|
8004
8355
|
},
|
|
8005
8356
|
option.id
|
|
@@ -8010,7 +8361,7 @@ var ScSelect = (props) => {
|
|
|
8010
8361
|
};
|
|
8011
8362
|
|
|
8012
8363
|
// src/SC-fileField/ScFileField.tsx
|
|
8013
|
-
var
|
|
8364
|
+
var import_react19 = require("react");
|
|
8014
8365
|
|
|
8015
8366
|
// src/SC-fileField/ScFileField.module.css
|
|
8016
8367
|
var ScFileField_default = {
|
|
@@ -8034,7 +8385,7 @@ var ScFileField_default = {
|
|
|
8034
8385
|
};
|
|
8035
8386
|
|
|
8036
8387
|
// src/SC-fileField/ScFileField.tsx
|
|
8037
|
-
var
|
|
8388
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
8038
8389
|
var ScFileField = (props) => {
|
|
8039
8390
|
const {
|
|
8040
8391
|
onFileSelect,
|
|
@@ -8048,7 +8399,7 @@ var ScFileField = (props) => {
|
|
|
8048
8399
|
label,
|
|
8049
8400
|
className
|
|
8050
8401
|
} = props;
|
|
8051
|
-
const inputRef = (0,
|
|
8402
|
+
const inputRef = (0, import_react19.useRef)(null);
|
|
8052
8403
|
const hasFile = Boolean(fileName);
|
|
8053
8404
|
const isUploading = Boolean(uploading);
|
|
8054
8405
|
const clampedProgress = Math.max(0, Math.min(100, progress));
|
|
@@ -8057,7 +8408,7 @@ var ScFileField = (props) => {
|
|
|
8057
8408
|
onFileSelect(e.target.files);
|
|
8058
8409
|
}
|
|
8059
8410
|
};
|
|
8060
|
-
const uploadIcon = /* @__PURE__ */ (0,
|
|
8411
|
+
const uploadIcon = /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
8061
8412
|
"svg",
|
|
8062
8413
|
{
|
|
8063
8414
|
className: ScFileField_default.uploadIcon,
|
|
@@ -8071,13 +8422,13 @@ var ScFileField = (props) => {
|
|
|
8071
8422
|
strokeLinejoin: "round",
|
|
8072
8423
|
"aria-hidden": "true",
|
|
8073
8424
|
children: [
|
|
8074
|
-
/* @__PURE__ */ (0,
|
|
8075
|
-
/* @__PURE__ */ (0,
|
|
8076
|
-
/* @__PURE__ */ (0,
|
|
8425
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
8426
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "M12 16V4" }),
|
|
8427
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "M7 9l5-5 5 5" })
|
|
8077
8428
|
]
|
|
8078
8429
|
}
|
|
8079
8430
|
);
|
|
8080
|
-
const fileIcon = /* @__PURE__ */ (0,
|
|
8431
|
+
const fileIcon = /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
8081
8432
|
"svg",
|
|
8082
8433
|
{
|
|
8083
8434
|
className: ScFileField_default.fileIcon,
|
|
@@ -8091,12 +8442,12 @@ var ScFileField = (props) => {
|
|
|
8091
8442
|
strokeLinejoin: "round",
|
|
8092
8443
|
"aria-hidden": "true",
|
|
8093
8444
|
children: [
|
|
8094
|
-
/* @__PURE__ */ (0,
|
|
8095
|
-
/* @__PURE__ */ (0,
|
|
8445
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
|
|
8446
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "M14 2v6h6" })
|
|
8096
8447
|
]
|
|
8097
8448
|
}
|
|
8098
8449
|
);
|
|
8099
|
-
const clearIcon = /* @__PURE__ */ (0,
|
|
8450
|
+
const clearIcon = /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
8100
8451
|
"svg",
|
|
8101
8452
|
{
|
|
8102
8453
|
width: "20",
|
|
@@ -8109,20 +8460,20 @@ var ScFileField = (props) => {
|
|
|
8109
8460
|
strokeLinejoin: "round",
|
|
8110
8461
|
"aria-hidden": "true",
|
|
8111
8462
|
children: [
|
|
8112
|
-
/* @__PURE__ */ (0,
|
|
8113
|
-
/* @__PURE__ */ (0,
|
|
8463
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "M18 6L6 18" }),
|
|
8464
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "M6 6l12 12" })
|
|
8114
8465
|
]
|
|
8115
8466
|
}
|
|
8116
8467
|
);
|
|
8117
8468
|
const rootClass = [ScFileField_default.scFileField, className].filter(Boolean).join(" ");
|
|
8118
8469
|
const showRow = hasFile || isUploading;
|
|
8119
|
-
return /* @__PURE__ */ (0,
|
|
8120
|
-
label ? /* @__PURE__ */ (0,
|
|
8121
|
-
showRow ? /* @__PURE__ */ (0,
|
|
8470
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: rootClass, children: [
|
|
8471
|
+
label ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: ScFileField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: ScFileField_default.label, children: label }) }) : null,
|
|
8472
|
+
showRow ? /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScFileField_default.inputContainer, children: [
|
|
8122
8473
|
fileIcon,
|
|
8123
|
-
/* @__PURE__ */ (0,
|
|
8124
|
-
/* @__PURE__ */ (0,
|
|
8125
|
-
isUploading ? /* @__PURE__ */ (0,
|
|
8474
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScFileField_default.fileInfo, children: [
|
|
8475
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: ScFileField_default.fileName, children: fileName }),
|
|
8476
|
+
isUploading ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: ScFileField_default.progressTrack, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
8126
8477
|
"div",
|
|
8127
8478
|
{
|
|
8128
8479
|
className: ScFileField_default.progressFill,
|
|
@@ -8130,7 +8481,7 @@ var ScFileField = (props) => {
|
|
|
8130
8481
|
}
|
|
8131
8482
|
) }) : null
|
|
8132
8483
|
] }),
|
|
8133
|
-
!isUploading ? /* @__PURE__ */ (0,
|
|
8484
|
+
!isUploading ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
8134
8485
|
"button",
|
|
8135
8486
|
{
|
|
8136
8487
|
type: "button",
|
|
@@ -8140,8 +8491,8 @@ var ScFileField = (props) => {
|
|
|
8140
8491
|
children: clearIcon
|
|
8141
8492
|
}
|
|
8142
8493
|
) : null
|
|
8143
|
-
] }) : /* @__PURE__ */ (0,
|
|
8144
|
-
/* @__PURE__ */ (0,
|
|
8494
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("label", { className: ScFileField_default.dropzone, children: [
|
|
8495
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
8145
8496
|
"input",
|
|
8146
8497
|
{
|
|
8147
8498
|
ref: inputRef,
|
|
@@ -8153,21 +8504,21 @@ var ScFileField = (props) => {
|
|
|
8153
8504
|
}
|
|
8154
8505
|
),
|
|
8155
8506
|
uploadIcon,
|
|
8156
|
-
/* @__PURE__ */ (0,
|
|
8157
|
-
/* @__PURE__ */ (0,
|
|
8507
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScFileField_default.dropzoneText, children: [
|
|
8508
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: ScFileField_default.dropzoneAction, children: "Click to upload" }),
|
|
8158
8509
|
" or drag and drop"
|
|
8159
8510
|
] }),
|
|
8160
|
-
accept ? /* @__PURE__ */ (0,
|
|
8511
|
+
accept ? /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScFileField_default.acceptedText, children: [
|
|
8161
8512
|
"Accepted: ",
|
|
8162
8513
|
accept
|
|
8163
8514
|
] }) : null
|
|
8164
8515
|
] }),
|
|
8165
|
-
error ? /* @__PURE__ */ (0,
|
|
8516
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: ScFileField_default.errorText, children: error }) : null
|
|
8166
8517
|
] });
|
|
8167
8518
|
};
|
|
8168
8519
|
|
|
8169
8520
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
8170
|
-
var
|
|
8521
|
+
var import_react20 = require("react");
|
|
8171
8522
|
|
|
8172
8523
|
// src/SC-mediaApproval/ScMediaApproval.module.css
|
|
8173
8524
|
var ScMediaApproval_default = {
|
|
@@ -8192,7 +8543,7 @@ var ScMediaApproval_default = {
|
|
|
8192
8543
|
};
|
|
8193
8544
|
|
|
8194
8545
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
8195
|
-
var
|
|
8546
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
8196
8547
|
var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
|
|
8197
8548
|
var isVideoUrl = (url, mediaType) => {
|
|
8198
8549
|
if (mediaType === "video") return true;
|
|
@@ -8214,9 +8565,9 @@ var ScMediaApproval = (props) => {
|
|
|
8214
8565
|
className
|
|
8215
8566
|
} = props;
|
|
8216
8567
|
const total = mediaUrls.length;
|
|
8217
|
-
const [index, setIndex] = (0,
|
|
8218
|
-
const [mediaLoading, setMediaLoading] = (0,
|
|
8219
|
-
(0,
|
|
8568
|
+
const [index, setIndex] = (0, import_react20.useState)(activeIndex ?? 0);
|
|
8569
|
+
const [mediaLoading, setMediaLoading] = (0, import_react20.useState)(false);
|
|
8570
|
+
(0, import_react20.useEffect)(() => {
|
|
8220
8571
|
if (typeof activeIndex === "number") {
|
|
8221
8572
|
setIndex(activeIndex);
|
|
8222
8573
|
}
|
|
@@ -8234,9 +8585,9 @@ var ScMediaApproval = (props) => {
|
|
|
8234
8585
|
const handlePreview = () => {
|
|
8235
8586
|
if (currentUrl && onPreview) onPreview(currentUrl);
|
|
8236
8587
|
};
|
|
8237
|
-
return /* @__PURE__ */ (0,
|
|
8238
|
-
/* @__PURE__ */ (0,
|
|
8239
|
-
currentUrl ? currentIsVideo ? /* @__PURE__ */ (0,
|
|
8588
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: [ScMediaApproval_default.scMediaApproval, className].filter(Boolean).join(" "), children: [
|
|
8589
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScMediaApproval_default.mediaFrame, children: [
|
|
8590
|
+
currentUrl ? currentIsVideo ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8240
8591
|
"video",
|
|
8241
8592
|
{
|
|
8242
8593
|
className: ScMediaApproval_default.media,
|
|
@@ -8245,7 +8596,7 @@ var ScMediaApproval = (props) => {
|
|
|
8245
8596
|
onClick: handlePreview,
|
|
8246
8597
|
onLoadedData: () => setMediaLoading(false)
|
|
8247
8598
|
}
|
|
8248
|
-
) : /* @__PURE__ */ (0,
|
|
8599
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8249
8600
|
"img",
|
|
8250
8601
|
{
|
|
8251
8602
|
className: ScMediaApproval_default.media,
|
|
@@ -8254,8 +8605,8 @@ var ScMediaApproval = (props) => {
|
|
|
8254
8605
|
onClick: handlePreview,
|
|
8255
8606
|
onLoad: () => setMediaLoading(false)
|
|
8256
8607
|
}
|
|
8257
|
-
) : /* @__PURE__ */ (0,
|
|
8258
|
-
(loading || mediaLoading) && /* @__PURE__ */ (0,
|
|
8608
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScMediaApproval_default.mediaEmpty }),
|
|
8609
|
+
(loading || mediaLoading) && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScMediaApproval_default.spinnerOverlay, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8259
8610
|
"svg",
|
|
8260
8611
|
{
|
|
8261
8612
|
className: ScMediaApproval_default.spinner,
|
|
@@ -8263,7 +8614,7 @@ var ScMediaApproval = (props) => {
|
|
|
8263
8614
|
height: "32",
|
|
8264
8615
|
viewBox: "0 0 24 24",
|
|
8265
8616
|
fill: "none",
|
|
8266
|
-
children: /* @__PURE__ */ (0,
|
|
8617
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8267
8618
|
"path",
|
|
8268
8619
|
{
|
|
8269
8620
|
d: "M12 3a9 9 0 1 0 9 9",
|
|
@@ -8274,15 +8625,15 @@ var ScMediaApproval = (props) => {
|
|
|
8274
8625
|
)
|
|
8275
8626
|
}
|
|
8276
8627
|
) }),
|
|
8277
|
-
total > 1 && /* @__PURE__ */ (0,
|
|
8278
|
-
/* @__PURE__ */ (0,
|
|
8628
|
+
total > 1 && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
|
|
8629
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8279
8630
|
"button",
|
|
8280
8631
|
{
|
|
8281
8632
|
type: "button",
|
|
8282
8633
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navPrev].join(" "),
|
|
8283
8634
|
"aria-label": "Previous",
|
|
8284
8635
|
onClick: () => goTo(safeIndex - 1),
|
|
8285
|
-
children: /* @__PURE__ */ (0,
|
|
8636
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8286
8637
|
"path",
|
|
8287
8638
|
{
|
|
8288
8639
|
d: "M15 6L9 12L15 18",
|
|
@@ -8294,14 +8645,14 @@ var ScMediaApproval = (props) => {
|
|
|
8294
8645
|
) })
|
|
8295
8646
|
}
|
|
8296
8647
|
),
|
|
8297
|
-
/* @__PURE__ */ (0,
|
|
8648
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8298
8649
|
"button",
|
|
8299
8650
|
{
|
|
8300
8651
|
type: "button",
|
|
8301
8652
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navNext].join(" "),
|
|
8302
8653
|
"aria-label": "Next",
|
|
8303
8654
|
onClick: () => goTo(safeIndex + 1),
|
|
8304
|
-
children: /* @__PURE__ */ (0,
|
|
8655
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8305
8656
|
"path",
|
|
8306
8657
|
{
|
|
8307
8658
|
d: "M9 6L15 12L9 18",
|
|
@@ -8313,12 +8664,12 @@ var ScMediaApproval = (props) => {
|
|
|
8313
8664
|
) })
|
|
8314
8665
|
}
|
|
8315
8666
|
),
|
|
8316
|
-
/* @__PURE__ */ (0,
|
|
8667
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScMediaApproval_default.counterBadge, children: [
|
|
8317
8668
|
safeIndex + 1,
|
|
8318
8669
|
" / ",
|
|
8319
8670
|
total
|
|
8320
8671
|
] }),
|
|
8321
|
-
/* @__PURE__ */ (0,
|
|
8672
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScMediaApproval_default.dots, children: mediaUrls.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8322
8673
|
"button",
|
|
8323
8674
|
{
|
|
8324
8675
|
type: "button",
|
|
@@ -8333,9 +8684,9 @@ var ScMediaApproval = (props) => {
|
|
|
8333
8684
|
)) })
|
|
8334
8685
|
] })
|
|
8335
8686
|
] }),
|
|
8336
|
-
/* @__PURE__ */ (0,
|
|
8337
|
-
/* @__PURE__ */ (0,
|
|
8338
|
-
/* @__PURE__ */ (0,
|
|
8687
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScMediaApproval_default.feedbackBlock, children: [
|
|
8688
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScMediaApproval_default.label, children: feedbackLabel }),
|
|
8689
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScMediaApproval_default.inputContainer, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
8339
8690
|
"textarea",
|
|
8340
8691
|
{
|
|
8341
8692
|
className: ScMediaApproval_default.textArea,
|
|
@@ -8351,7 +8702,7 @@ var ScMediaApproval = (props) => {
|
|
|
8351
8702
|
};
|
|
8352
8703
|
|
|
8353
8704
|
// src/SC-mediaSelect/ScMediaSelect.tsx
|
|
8354
|
-
var
|
|
8705
|
+
var import_react21 = require("react");
|
|
8355
8706
|
|
|
8356
8707
|
// src/SC-mediaSelect/ScMediaSelect.module.css
|
|
8357
8708
|
var ScMediaSelect_default = {
|
|
@@ -8371,8 +8722,8 @@ var ScMediaSelect_default = {
|
|
|
8371
8722
|
};
|
|
8372
8723
|
|
|
8373
8724
|
// src/SC-mediaSelect/ScMediaSelect.tsx
|
|
8374
|
-
var
|
|
8375
|
-
var CheckBadge = () => /* @__PURE__ */ (0,
|
|
8725
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
8726
|
+
var CheckBadge = () => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: ScMediaSelect_default.checkBadge, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
8376
8727
|
"path",
|
|
8377
8728
|
{
|
|
8378
8729
|
d: "M3.5 7.25L6 9.75L10.5 4.75",
|
|
@@ -8382,7 +8733,7 @@ var CheckBadge = () => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { c
|
|
|
8382
8733
|
strokeLinejoin: "round"
|
|
8383
8734
|
}
|
|
8384
8735
|
) }) });
|
|
8385
|
-
var MaximizeIcon = () => /* @__PURE__ */ (0,
|
|
8736
|
+
var MaximizeIcon = () => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
8386
8737
|
"path",
|
|
8387
8738
|
{
|
|
8388
8739
|
d: "M15 3H21V9M9 21H3V15M21 3L14 10M3 21L10 14",
|
|
@@ -8407,16 +8758,16 @@ var ScMediaSelect = (props) => {
|
|
|
8407
8758
|
} = props;
|
|
8408
8759
|
const total = items.length;
|
|
8409
8760
|
const resolvedMax = typeof max === "number" ? max : total;
|
|
8410
|
-
const selectedSet = (0,
|
|
8761
|
+
const selectedSet = (0, import_react21.useMemo)(() => new Set(selected), [selected]);
|
|
8411
8762
|
const selectedCount = selectedSet.size;
|
|
8412
8763
|
let countLabel = selectedCount + " of " + total + " selected";
|
|
8413
8764
|
if (min > 0) countLabel += " (min " + min + ")";
|
|
8414
8765
|
if (resolvedMax < total) countLabel += " (max " + resolvedMax + ")";
|
|
8415
|
-
return /* @__PURE__ */ (0,
|
|
8416
|
-
/* @__PURE__ */ (0,
|
|
8417
|
-
/* @__PURE__ */ (0,
|
|
8418
|
-
/* @__PURE__ */ (0,
|
|
8419
|
-
/* @__PURE__ */ (0,
|
|
8766
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: [ScMediaSelect_default.scMediaSelect, className].filter(Boolean).join(" "), children: [
|
|
8767
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScMediaSelect_default.header, children: [
|
|
8768
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: ScMediaSelect_default.countLabel, children: countLabel }),
|
|
8769
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScMediaSelect_default.actions, children: [
|
|
8770
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
8420
8771
|
"button",
|
|
8421
8772
|
{
|
|
8422
8773
|
type: "button",
|
|
@@ -8425,8 +8776,8 @@ var ScMediaSelect = (props) => {
|
|
|
8425
8776
|
children: "Select all"
|
|
8426
8777
|
}
|
|
8427
8778
|
),
|
|
8428
|
-
/* @__PURE__ */ (0,
|
|
8429
|
-
/* @__PURE__ */ (0,
|
|
8779
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: ScMediaSelect_default.divider, children: "|" }),
|
|
8780
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
8430
8781
|
"button",
|
|
8431
8782
|
{
|
|
8432
8783
|
type: "button",
|
|
@@ -8437,13 +8788,13 @@ var ScMediaSelect = (props) => {
|
|
|
8437
8788
|
)
|
|
8438
8789
|
] })
|
|
8439
8790
|
] }),
|
|
8440
|
-
/* @__PURE__ */ (0,
|
|
8791
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: ScMediaSelect_default.grid, children: items.map((url, index) => {
|
|
8441
8792
|
const isSelected = selectedSet.has(url);
|
|
8442
8793
|
const itemClass = [
|
|
8443
8794
|
ScMediaSelect_default.item,
|
|
8444
8795
|
isSelected ? ScMediaSelect_default["state-selected"] : ScMediaSelect_default["state-default"]
|
|
8445
8796
|
].filter(Boolean).join(" ");
|
|
8446
|
-
return /* @__PURE__ */ (0,
|
|
8797
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
|
|
8447
8798
|
"div",
|
|
8448
8799
|
{
|
|
8449
8800
|
className: itemClass,
|
|
@@ -8452,9 +8803,9 @@ var ScMediaSelect = (props) => {
|
|
|
8452
8803
|
tabIndex: 0,
|
|
8453
8804
|
"aria-pressed": isSelected,
|
|
8454
8805
|
children: [
|
|
8455
|
-
mediaType === "video" ? /* @__PURE__ */ (0,
|
|
8456
|
-
isSelected && /* @__PURE__ */ (0,
|
|
8457
|
-
onPreview && /* @__PURE__ */ (0,
|
|
8806
|
+
mediaType === "video" ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("video", { className: ScMediaSelect_default.media, src: url, muted: true, playsInline: true }) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("img", { className: ScMediaSelect_default.media, src: url, alt: "" }),
|
|
8807
|
+
isSelected && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(CheckBadge, {}),
|
|
8808
|
+
onPreview && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
8458
8809
|
"button",
|
|
8459
8810
|
{
|
|
8460
8811
|
type: "button",
|
|
@@ -8464,7 +8815,7 @@ var ScMediaSelect = (props) => {
|
|
|
8464
8815
|
onPreview(url);
|
|
8465
8816
|
},
|
|
8466
8817
|
"aria-label": "Preview",
|
|
8467
|
-
children: /* @__PURE__ */ (0,
|
|
8818
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(MaximizeIcon, {})
|
|
8468
8819
|
}
|
|
8469
8820
|
)
|
|
8470
8821
|
]
|
|
@@ -8476,7 +8827,7 @@ var ScMediaSelect = (props) => {
|
|
|
8476
8827
|
};
|
|
8477
8828
|
|
|
8478
8829
|
// src/SC-todoList/ScTodoList.tsx
|
|
8479
|
-
var
|
|
8830
|
+
var import_react22 = require("react");
|
|
8480
8831
|
|
|
8481
8832
|
// src/SC-todoList/ScTodoList.module.css
|
|
8482
8833
|
var ScTodoList_default = {
|
|
@@ -8499,7 +8850,7 @@ var ScTodoList_default = {
|
|
|
8499
8850
|
};
|
|
8500
8851
|
|
|
8501
8852
|
// src/SC-todoList/ScTodoList.tsx
|
|
8502
|
-
var
|
|
8853
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
8503
8854
|
var ScTodoList = ({
|
|
8504
8855
|
items = [],
|
|
8505
8856
|
onToggle,
|
|
@@ -8509,9 +8860,9 @@ var ScTodoList = ({
|
|
|
8509
8860
|
addPlaceholder = "Add an item",
|
|
8510
8861
|
className
|
|
8511
8862
|
}) => {
|
|
8512
|
-
const [editingId, setEditingId] = (0,
|
|
8513
|
-
const [editValue, setEditValue] = (0,
|
|
8514
|
-
const [newValue, setNewValue] = (0,
|
|
8863
|
+
const [editingId, setEditingId] = (0, import_react22.useState)(null);
|
|
8864
|
+
const [editValue, setEditValue] = (0, import_react22.useState)("");
|
|
8865
|
+
const [newValue, setNewValue] = (0, import_react22.useState)("");
|
|
8515
8866
|
const total = items.length;
|
|
8516
8867
|
const completed = items.filter((i) => i.status === "completed").length;
|
|
8517
8868
|
const startEditing = (item) => {
|
|
@@ -8533,9 +8884,9 @@ var ScTodoList = ({
|
|
|
8533
8884
|
onAdd?.(newValue);
|
|
8534
8885
|
setNewValue("");
|
|
8535
8886
|
};
|
|
8536
|
-
return /* @__PURE__ */ (0,
|
|
8537
|
-
total > 0 && /* @__PURE__ */ (0,
|
|
8538
|
-
/* @__PURE__ */ (0,
|
|
8887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: [ScTodoList_default.scTodoList, className].filter(Boolean).join(" "), children: [
|
|
8888
|
+
total > 0 && /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScTodoList_default.progress, children: [
|
|
8889
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8539
8890
|
"svg",
|
|
8540
8891
|
{
|
|
8541
8892
|
className: ScTodoList_default.progressIcon,
|
|
@@ -8544,7 +8895,7 @@ var ScTodoList = ({
|
|
|
8544
8895
|
viewBox: "0 0 14 14",
|
|
8545
8896
|
fill: "none",
|
|
8546
8897
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8547
|
-
children: /* @__PURE__ */ (0,
|
|
8898
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8548
8899
|
"path",
|
|
8549
8900
|
{
|
|
8550
8901
|
d: "M3 7L6 10L11 4",
|
|
@@ -8556,25 +8907,25 @@ var ScTodoList = ({
|
|
|
8556
8907
|
)
|
|
8557
8908
|
}
|
|
8558
8909
|
),
|
|
8559
|
-
/* @__PURE__ */ (0,
|
|
8910
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("span", { className: ScTodoList_default.progressText, children: [
|
|
8560
8911
|
completed,
|
|
8561
8912
|
" of ",
|
|
8562
8913
|
total,
|
|
8563
8914
|
" completed"
|
|
8564
8915
|
] })
|
|
8565
8916
|
] }),
|
|
8566
|
-
/* @__PURE__ */ (0,
|
|
8917
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: ScTodoList_default.rows, children: items.map((item) => {
|
|
8567
8918
|
const isEditing = editingId === item.id;
|
|
8568
8919
|
const isCompleted = item.status === "completed";
|
|
8569
|
-
return /* @__PURE__ */ (0,
|
|
8570
|
-
/* @__PURE__ */ (0,
|
|
8920
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScTodoList_default.row, children: [
|
|
8921
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8571
8922
|
"button",
|
|
8572
8923
|
{
|
|
8573
8924
|
type: "button",
|
|
8574
8925
|
className: ScTodoList_default.checkbox,
|
|
8575
8926
|
"aria-label": isCompleted ? "Mark as pending" : "Mark as completed",
|
|
8576
8927
|
onClick: () => onToggle?.(item.id),
|
|
8577
|
-
children: isCompleted ? /* @__PURE__ */ (0,
|
|
8928
|
+
children: isCompleted ? /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
8578
8929
|
"svg",
|
|
8579
8930
|
{
|
|
8580
8931
|
width: "18",
|
|
@@ -8583,8 +8934,8 @@ var ScTodoList = ({
|
|
|
8583
8934
|
fill: "none",
|
|
8584
8935
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8585
8936
|
children: [
|
|
8586
|
-
/* @__PURE__ */ (0,
|
|
8587
|
-
/* @__PURE__ */ (0,
|
|
8937
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("circle", { cx: "9", cy: "9", r: "9", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
8938
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8588
8939
|
"path",
|
|
8589
8940
|
{
|
|
8590
8941
|
d: "M5.25 9L7.75 11.5L12.75 6.5",
|
|
@@ -8596,7 +8947,7 @@ var ScTodoList = ({
|
|
|
8596
8947
|
)
|
|
8597
8948
|
]
|
|
8598
8949
|
}
|
|
8599
|
-
) : /* @__PURE__ */ (0,
|
|
8950
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8600
8951
|
"svg",
|
|
8601
8952
|
{
|
|
8602
8953
|
width: "18",
|
|
@@ -8604,7 +8955,7 @@ var ScTodoList = ({
|
|
|
8604
8955
|
viewBox: "0 0 18 18",
|
|
8605
8956
|
fill: "none",
|
|
8606
8957
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8607
|
-
children: /* @__PURE__ */ (0,
|
|
8958
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8608
8959
|
"circle",
|
|
8609
8960
|
{
|
|
8610
8961
|
cx: "9",
|
|
@@ -8618,7 +8969,7 @@ var ScTodoList = ({
|
|
|
8618
8969
|
)
|
|
8619
8970
|
}
|
|
8620
8971
|
),
|
|
8621
|
-
isEditing ? /* @__PURE__ */ (0,
|
|
8972
|
+
isEditing ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8622
8973
|
"input",
|
|
8623
8974
|
{
|
|
8624
8975
|
className: ScTodoList_default.editInput,
|
|
@@ -8636,7 +8987,7 @@ var ScTodoList = ({
|
|
|
8636
8987
|
}
|
|
8637
8988
|
}
|
|
8638
8989
|
}
|
|
8639
|
-
) : /* @__PURE__ */ (0,
|
|
8990
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8640
8991
|
"span",
|
|
8641
8992
|
{
|
|
8642
8993
|
className: [
|
|
@@ -8646,15 +8997,15 @@ var ScTodoList = ({
|
|
|
8646
8997
|
children: item.content
|
|
8647
8998
|
}
|
|
8648
8999
|
),
|
|
8649
|
-
!isEditing && /* @__PURE__ */ (0,
|
|
8650
|
-
/* @__PURE__ */ (0,
|
|
9000
|
+
!isEditing && /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScTodoList_default.actions, children: [
|
|
9001
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8651
9002
|
"button",
|
|
8652
9003
|
{
|
|
8653
9004
|
type: "button",
|
|
8654
9005
|
className: ScTodoList_default.actionButton,
|
|
8655
9006
|
"aria-label": "Edit item",
|
|
8656
9007
|
onClick: () => startEditing(item),
|
|
8657
|
-
children: /* @__PURE__ */ (0,
|
|
9008
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8658
9009
|
"svg",
|
|
8659
9010
|
{
|
|
8660
9011
|
width: "16",
|
|
@@ -8662,7 +9013,7 @@ var ScTodoList = ({
|
|
|
8662
9013
|
viewBox: "0 0 16 16",
|
|
8663
9014
|
fill: "none",
|
|
8664
9015
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8665
|
-
children: /* @__PURE__ */ (0,
|
|
9016
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8666
9017
|
"path",
|
|
8667
9018
|
{
|
|
8668
9019
|
d: "M11.333 2.667a1.414 1.414 0 0 1 2 2L5.333 12.667l-2.667.667.667-2.667 8-8Z",
|
|
@@ -8676,14 +9027,14 @@ var ScTodoList = ({
|
|
|
8676
9027
|
)
|
|
8677
9028
|
}
|
|
8678
9029
|
),
|
|
8679
|
-
/* @__PURE__ */ (0,
|
|
9030
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8680
9031
|
"button",
|
|
8681
9032
|
{
|
|
8682
9033
|
type: "button",
|
|
8683
9034
|
className: [ScTodoList_default.actionButton, ScTodoList_default.actionButtonDanger].filter(Boolean).join(" "),
|
|
8684
9035
|
"aria-label": "Delete item",
|
|
8685
9036
|
onClick: () => onDelete?.(item.id),
|
|
8686
|
-
children: /* @__PURE__ */ (0,
|
|
9037
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8687
9038
|
"svg",
|
|
8688
9039
|
{
|
|
8689
9040
|
width: "16",
|
|
@@ -8691,7 +9042,7 @@ var ScTodoList = ({
|
|
|
8691
9042
|
viewBox: "0 0 16 16",
|
|
8692
9043
|
fill: "none",
|
|
8693
9044
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8694
|
-
children: /* @__PURE__ */ (0,
|
|
9045
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8695
9046
|
"path",
|
|
8696
9047
|
{
|
|
8697
9048
|
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",
|
|
@@ -8708,8 +9059,8 @@ var ScTodoList = ({
|
|
|
8708
9059
|
] })
|
|
8709
9060
|
] }, item.id);
|
|
8710
9061
|
}) }),
|
|
8711
|
-
/* @__PURE__ */ (0,
|
|
8712
|
-
/* @__PURE__ */ (0,
|
|
9062
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScTodoList_default.addRow, children: [
|
|
9063
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8713
9064
|
"input",
|
|
8714
9065
|
{
|
|
8715
9066
|
className: ScTodoList_default.addInput,
|
|
@@ -8724,7 +9075,7 @@ var ScTodoList = ({
|
|
|
8724
9075
|
}
|
|
8725
9076
|
}
|
|
8726
9077
|
),
|
|
8727
|
-
/* @__PURE__ */ (0,
|
|
9078
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8728
9079
|
"button",
|
|
8729
9080
|
{
|
|
8730
9081
|
type: "button",
|
|
@@ -8732,7 +9083,7 @@ var ScTodoList = ({
|
|
|
8732
9083
|
"aria-label": "Add item",
|
|
8733
9084
|
disabled: newValue.trim().length === 0,
|
|
8734
9085
|
onClick: commitAdd,
|
|
8735
|
-
children: /* @__PURE__ */ (0,
|
|
9086
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8736
9087
|
"svg",
|
|
8737
9088
|
{
|
|
8738
9089
|
width: "18",
|
|
@@ -8740,7 +9091,7 @@ var ScTodoList = ({
|
|
|
8740
9091
|
viewBox: "0 0 18 18",
|
|
8741
9092
|
fill: "none",
|
|
8742
9093
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8743
|
-
children: /* @__PURE__ */ (0,
|
|
9094
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
8744
9095
|
"path",
|
|
8745
9096
|
{
|
|
8746
9097
|
d: "M9 4v10M4 9h10",
|
|
@@ -8767,18 +9118,18 @@ var ScRoleMobile_default = {
|
|
|
8767
9118
|
};
|
|
8768
9119
|
|
|
8769
9120
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
8770
|
-
var
|
|
9121
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
8771
9122
|
var ScRoleMobile = ({
|
|
8772
9123
|
role = "admin",
|
|
8773
9124
|
className,
|
|
8774
9125
|
...props
|
|
8775
9126
|
}) => {
|
|
8776
|
-
return /* @__PURE__ */ (0,
|
|
9127
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
8777
9128
|
"div",
|
|
8778
9129
|
{
|
|
8779
9130
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
8780
9131
|
...props,
|
|
8781
|
-
children: /* @__PURE__ */ (0,
|
|
9132
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
8782
9133
|
}
|
|
8783
9134
|
);
|
|
8784
9135
|
};
|
|
@@ -8795,7 +9146,7 @@ var ScProfileV2Mobile_default = {
|
|
|
8795
9146
|
};
|
|
8796
9147
|
|
|
8797
9148
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
8798
|
-
var
|
|
9149
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
8799
9150
|
var ScProfileV2Mobile = ({
|
|
8800
9151
|
name = "Chris Hemsworth",
|
|
8801
9152
|
email = "chris@kepler.com",
|
|
@@ -8805,17 +9156,17 @@ var ScProfileV2Mobile = ({
|
|
|
8805
9156
|
...props
|
|
8806
9157
|
}) => {
|
|
8807
9158
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
8808
|
-
const profileImage = /* @__PURE__ */ (0,
|
|
8809
|
-
return /* @__PURE__ */ (0,
|
|
9159
|
+
const profileImage = /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
9160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
8810
9161
|
"div",
|
|
8811
9162
|
{
|
|
8812
9163
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
8813
9164
|
...props,
|
|
8814
9165
|
children: [
|
|
8815
9166
|
dpPosition === "left" && profileImage,
|
|
8816
|
-
/* @__PURE__ */ (0,
|
|
8817
|
-
/* @__PURE__ */ (0,
|
|
8818
|
-
/* @__PURE__ */ (0,
|
|
9167
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
9168
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
9169
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
8819
9170
|
] }),
|
|
8820
9171
|
dpPosition === "right" && profileImage
|
|
8821
9172
|
]
|
|
@@ -8842,7 +9193,7 @@ var ScTableListMobile_default = {
|
|
|
8842
9193
|
};
|
|
8843
9194
|
|
|
8844
9195
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
8845
|
-
var
|
|
9196
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
8846
9197
|
var ScTableListMobile = ({
|
|
8847
9198
|
name = "Chris Hemsworth",
|
|
8848
9199
|
email = "chris@kepler.com",
|
|
@@ -8855,25 +9206,25 @@ var ScTableListMobile = ({
|
|
|
8855
9206
|
...props
|
|
8856
9207
|
}) => {
|
|
8857
9208
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
8858
|
-
return /* @__PURE__ */ (0,
|
|
9209
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
|
|
8859
9210
|
"div",
|
|
8860
9211
|
{
|
|
8861
9212
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
8862
9213
|
onClick: onRowClick,
|
|
8863
9214
|
...props,
|
|
8864
9215
|
children: [
|
|
8865
|
-
/* @__PURE__ */ (0,
|
|
8866
|
-
/* @__PURE__ */ (0,
|
|
8867
|
-
/* @__PURE__ */ (0,
|
|
8868
|
-
/* @__PURE__ */ (0,
|
|
9216
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
9217
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
9218
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
9219
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
8869
9220
|
] }),
|
|
8870
|
-
/* @__PURE__ */ (0,
|
|
9221
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
8871
9222
|
] }),
|
|
8872
|
-
/* @__PURE__ */ (0,
|
|
8873
|
-
/* @__PURE__ */ (0,
|
|
8874
|
-
/* @__PURE__ */ (0,
|
|
8875
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ (0,
|
|
8876
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ (0,
|
|
9223
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
9224
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
9225
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
9226
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
9227
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
8877
9228
|
] })
|
|
8878
9229
|
] })
|
|
8879
9230
|
]
|
|
@@ -8901,7 +9252,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
8901
9252
|
};
|
|
8902
9253
|
|
|
8903
9254
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
8904
|
-
var
|
|
9255
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
8905
9256
|
var ScWorkspaceSwitchMobile = ({
|
|
8906
9257
|
storeName = "Stores",
|
|
8907
9258
|
initials = "WS",
|
|
@@ -8914,24 +9265,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
8914
9265
|
...props
|
|
8915
9266
|
}) => {
|
|
8916
9267
|
const variant = currentWs ? "current" : "other";
|
|
8917
|
-
return /* @__PURE__ */ (0,
|
|
9268
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(
|
|
8918
9269
|
"div",
|
|
8919
9270
|
{
|
|
8920
9271
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
8921
9272
|
onClick,
|
|
8922
9273
|
...props,
|
|
8923
9274
|
children: [
|
|
8924
|
-
/* @__PURE__ */ (0,
|
|
8925
|
-
/* @__PURE__ */ (0,
|
|
8926
|
-
/* @__PURE__ */ (0,
|
|
8927
|
-
/* @__PURE__ */ (0,
|
|
9275
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
9276
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
9277
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
9278
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
8928
9279
|
] }),
|
|
8929
|
-
/* @__PURE__ */ (0,
|
|
9280
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
8930
9281
|
] }),
|
|
8931
|
-
/* @__PURE__ */ (0,
|
|
8932
|
-
/* @__PURE__ */ (0,
|
|
8933
|
-
/* @__PURE__ */ (0,
|
|
8934
|
-
/* @__PURE__ */ (0,
|
|
9282
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
9283
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
9284
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
9285
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
8935
9286
|
] })
|
|
8936
9287
|
]
|
|
8937
9288
|
}
|
|
@@ -8958,7 +9309,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
8958
9309
|
};
|
|
8959
9310
|
|
|
8960
9311
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
8961
|
-
var
|
|
9312
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
8962
9313
|
var ScWorkspaceSettingsMobile = ({
|
|
8963
9314
|
storeName = "Stores",
|
|
8964
9315
|
initials = "WS",
|
|
@@ -8973,28 +9324,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
8973
9324
|
...props
|
|
8974
9325
|
}) => {
|
|
8975
9326
|
const variant = currentWs ? "current" : "other";
|
|
8976
|
-
return /* @__PURE__ */ (0,
|
|
9327
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
|
|
8977
9328
|
"div",
|
|
8978
9329
|
{
|
|
8979
9330
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
8980
9331
|
onClick,
|
|
8981
9332
|
...props,
|
|
8982
9333
|
children: [
|
|
8983
|
-
/* @__PURE__ */ (0,
|
|
8984
|
-
/* @__PURE__ */ (0,
|
|
8985
|
-
/* @__PURE__ */ (0,
|
|
8986
|
-
/* @__PURE__ */ (0,
|
|
9334
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
9335
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
9336
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
9337
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
8987
9338
|
] }),
|
|
8988
|
-
/* @__PURE__ */ (0,
|
|
9339
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
8989
9340
|
] }),
|
|
8990
|
-
/* @__PURE__ */ (0,
|
|
8991
|
-
/* @__PURE__ */ (0,
|
|
8992
|
-
/* @__PURE__ */ (0,
|
|
8993
|
-
/* @__PURE__ */ (0,
|
|
9341
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
9342
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
9343
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
9344
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
8994
9345
|
] }),
|
|
8995
|
-
/* @__PURE__ */ (0,
|
|
8996
|
-
/* @__PURE__ */ (0,
|
|
8997
|
-
/* @__PURE__ */ (0,
|
|
9346
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
9347
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
9348
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
8998
9349
|
] })
|
|
8999
9350
|
]
|
|
9000
9351
|
}
|
|
@@ -9017,7 +9368,7 @@ var ScMobileTopNav_default = {
|
|
|
9017
9368
|
};
|
|
9018
9369
|
|
|
9019
9370
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
9020
|
-
var
|
|
9371
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
9021
9372
|
var ScMobileTopNav = ({
|
|
9022
9373
|
type = "home",
|
|
9023
9374
|
searchIcon = false,
|
|
@@ -9040,22 +9391,22 @@ var ScMobileTopNav = ({
|
|
|
9040
9391
|
}) => {
|
|
9041
9392
|
const hasBorder = type === "chat" || type === "inApp";
|
|
9042
9393
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
9043
|
-
return /* @__PURE__ */ (0,
|
|
9394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
|
|
9044
9395
|
"div",
|
|
9045
9396
|
{
|
|
9046
9397
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
9047
9398
|
...props,
|
|
9048
9399
|
children: [
|
|
9049
|
-
type === "home" && /* @__PURE__ */ (0,
|
|
9050
|
-
type === "chat" && /* @__PURE__ */ (0,
|
|
9051
|
-
/* @__PURE__ */ (0,
|
|
9052
|
-
/* @__PURE__ */ (0,
|
|
9053
|
-
/* @__PURE__ */ (0,
|
|
9400
|
+
type === "home" && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
9401
|
+
type === "chat" && /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
|
|
9402
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
9403
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
9404
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
9054
9405
|
] }),
|
|
9055
|
-
showSearch && /* @__PURE__ */ (0,
|
|
9056
|
-
/* @__PURE__ */ (0,
|
|
9057
|
-
/* @__PURE__ */ (0,
|
|
9058
|
-
/* @__PURE__ */ (0,
|
|
9406
|
+
showSearch && /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
|
|
9407
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
9408
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
9409
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9059
9410
|
"input",
|
|
9060
9411
|
{
|
|
9061
9412
|
type: "text",
|
|
@@ -9066,17 +9417,17 @@ var ScMobileTopNav = ({
|
|
|
9066
9417
|
}
|
|
9067
9418
|
) })
|
|
9068
9419
|
] }) }),
|
|
9069
|
-
/* @__PURE__ */ (0,
|
|
9420
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
9070
9421
|
] }),
|
|
9071
|
-
type === "inApp" && !search && /* @__PURE__ */ (0,
|
|
9072
|
-
/* @__PURE__ */ (0,
|
|
9073
|
-
/* @__PURE__ */ (0,
|
|
9074
|
-
/* @__PURE__ */ (0,
|
|
9422
|
+
type === "inApp" && !search && /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
|
|
9423
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
9424
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
9425
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9075
9426
|
"div",
|
|
9076
9427
|
{
|
|
9077
9428
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
9078
9429
|
onClick: onSearchClick,
|
|
9079
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */ (0,
|
|
9430
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
9080
9431
|
}
|
|
9081
9432
|
)
|
|
9082
9433
|
] })
|
|
@@ -9097,7 +9448,7 @@ var ScMobileBottomAction_default = {
|
|
|
9097
9448
|
};
|
|
9098
9449
|
|
|
9099
9450
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
9100
|
-
var
|
|
9451
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
9101
9452
|
var ScMobileBottomAction = ({
|
|
9102
9453
|
text = "Save Changes",
|
|
9103
9454
|
disabled = false,
|
|
@@ -9109,28 +9460,28 @@ var ScMobileBottomAction = ({
|
|
|
9109
9460
|
...props
|
|
9110
9461
|
}) => {
|
|
9111
9462
|
const isTwoButton = !!secondaryText;
|
|
9112
|
-
return /* @__PURE__ */ (0,
|
|
9463
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
|
|
9113
9464
|
"div",
|
|
9114
9465
|
{
|
|
9115
9466
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
9116
9467
|
...props,
|
|
9117
9468
|
children: [
|
|
9118
|
-
isTwoButton && /* @__PURE__ */ (0,
|
|
9469
|
+
isTwoButton && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
9119
9470
|
"button",
|
|
9120
9471
|
{
|
|
9121
9472
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
9122
9473
|
onClick: onSecondaryClick,
|
|
9123
9474
|
disabled: secondaryDisabled,
|
|
9124
|
-
children: /* @__PURE__ */ (0,
|
|
9475
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
9125
9476
|
}
|
|
9126
9477
|
),
|
|
9127
|
-
/* @__PURE__ */ (0,
|
|
9478
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
9128
9479
|
"button",
|
|
9129
9480
|
{
|
|
9130
9481
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
9131
9482
|
onClick,
|
|
9132
9483
|
disabled,
|
|
9133
|
-
children: /* @__PURE__ */ (0,
|
|
9484
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
9134
9485
|
}
|
|
9135
9486
|
)
|
|
9136
9487
|
]
|
|
@@ -9148,7 +9499,7 @@ var ScPopUpMenu_default = {
|
|
|
9148
9499
|
};
|
|
9149
9500
|
|
|
9150
9501
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
9151
|
-
var
|
|
9502
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
9152
9503
|
var ScPopUpMenu = ({
|
|
9153
9504
|
menu = "Options",
|
|
9154
9505
|
state = "default",
|
|
@@ -9157,15 +9508,15 @@ var ScPopUpMenu = ({
|
|
|
9157
9508
|
className,
|
|
9158
9509
|
...props
|
|
9159
9510
|
}) => {
|
|
9160
|
-
return /* @__PURE__ */ (0,
|
|
9511
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
9161
9512
|
"div",
|
|
9162
9513
|
{
|
|
9163
9514
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
9164
9515
|
onClick,
|
|
9165
9516
|
...props,
|
|
9166
9517
|
children: [
|
|
9167
|
-
icon && /* @__PURE__ */ (0,
|
|
9168
|
-
/* @__PURE__ */ (0,
|
|
9518
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
9519
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
9169
9520
|
]
|
|
9170
9521
|
}
|
|
9171
9522
|
);
|
|
@@ -9191,7 +9542,7 @@ var ScReferralCardMobile_default = {
|
|
|
9191
9542
|
};
|
|
9192
9543
|
|
|
9193
9544
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
9194
|
-
var
|
|
9545
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
9195
9546
|
var ScReferralCardMobile = ({
|
|
9196
9547
|
name = "Chris Hemsworth",
|
|
9197
9548
|
email = "chris@kepler.com",
|
|
@@ -9204,27 +9555,27 @@ var ScReferralCardMobile = ({
|
|
|
9204
9555
|
...props
|
|
9205
9556
|
}) => {
|
|
9206
9557
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
9207
|
-
return /* @__PURE__ */ (0,
|
|
9558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
9208
9559
|
"div",
|
|
9209
9560
|
{
|
|
9210
9561
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
9211
9562
|
onClick,
|
|
9212
9563
|
...props,
|
|
9213
9564
|
children: [
|
|
9214
|
-
/* @__PURE__ */ (0,
|
|
9215
|
-
/* @__PURE__ */ (0,
|
|
9216
|
-
/* @__PURE__ */ (0,
|
|
9217
|
-
/* @__PURE__ */ (0,
|
|
9218
|
-
/* @__PURE__ */ (0,
|
|
9219
|
-
/* @__PURE__ */ (0,
|
|
9565
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
9566
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
9567
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
9568
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
9569
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
9570
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
9220
9571
|
] })
|
|
9221
9572
|
] }),
|
|
9222
|
-
/* @__PURE__ */ (0,
|
|
9573
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
9223
9574
|
] }),
|
|
9224
|
-
/* @__PURE__ */ (0,
|
|
9225
|
-
/* @__PURE__ */ (0,
|
|
9226
|
-
/* @__PURE__ */ (0,
|
|
9227
|
-
/* @__PURE__ */ (0,
|
|
9575
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: ScReferralCardMobile_default.divider }),
|
|
9576
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
9577
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
9578
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
9228
9579
|
] })
|
|
9229
9580
|
]
|
|
9230
9581
|
}
|
|
@@ -9241,19 +9592,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
9241
9592
|
};
|
|
9242
9593
|
|
|
9243
9594
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
9244
|
-
var
|
|
9595
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
9245
9596
|
var InvoiceHistoryMobile = ({
|
|
9246
9597
|
invoiceId = "# INV-2800-2026",
|
|
9247
9598
|
date = "Nov 9th, 2025",
|
|
9248
9599
|
amount = "\u20B9320.89",
|
|
9249
9600
|
className
|
|
9250
9601
|
}) => {
|
|
9251
|
-
return /* @__PURE__ */ (0,
|
|
9252
|
-
/* @__PURE__ */ (0,
|
|
9253
|
-
/* @__PURE__ */ (0,
|
|
9254
|
-
/* @__PURE__ */ (0,
|
|
9602
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
9603
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
9604
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
9605
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
9255
9606
|
] }),
|
|
9256
|
-
/* @__PURE__ */ (0,
|
|
9607
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
9257
9608
|
] });
|
|
9258
9609
|
};
|
|
9259
9610
|
|
|
@@ -9271,7 +9622,7 @@ var UsageHistoryMobile_default = {
|
|
|
9271
9622
|
};
|
|
9272
9623
|
|
|
9273
9624
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
9274
|
-
var
|
|
9625
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
9275
9626
|
var UsageHistoryMobile = ({
|
|
9276
9627
|
serviceName = "Artifax Generation",
|
|
9277
9628
|
credits = "50",
|
|
@@ -9280,18 +9631,18 @@ var UsageHistoryMobile = ({
|
|
|
9280
9631
|
balance = "84,902",
|
|
9281
9632
|
className
|
|
9282
9633
|
}) => {
|
|
9283
|
-
return /* @__PURE__ */ (0,
|
|
9284
|
-
/* @__PURE__ */ (0,
|
|
9285
|
-
/* @__PURE__ */ (0,
|
|
9286
|
-
/* @__PURE__ */ (0,
|
|
9634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
9635
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
9636
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
9637
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
9287
9638
|
] }),
|
|
9288
|
-
/* @__PURE__ */ (0,
|
|
9289
|
-
/* @__PURE__ */ (0,
|
|
9290
|
-
/* @__PURE__ */ (0,
|
|
9291
|
-
/* @__PURE__ */ (0,
|
|
9292
|
-
/* @__PURE__ */ (0,
|
|
9639
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
9640
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
9641
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
9642
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: UsageHistoryMobile_default.divider }),
|
|
9643
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
9293
9644
|
] }),
|
|
9294
|
-
/* @__PURE__ */ (0,
|
|
9645
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
9295
9646
|
] })
|
|
9296
9647
|
] });
|
|
9297
9648
|
};
|
|
@@ -9315,7 +9666,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
9315
9666
|
};
|
|
9316
9667
|
|
|
9317
9668
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
9318
|
-
var
|
|
9669
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
9319
9670
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
9320
9671
|
wsName = "Workspace name is kepler",
|
|
9321
9672
|
initials = "WS",
|
|
@@ -9328,14 +9679,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
9328
9679
|
className,
|
|
9329
9680
|
...props
|
|
9330
9681
|
}) => {
|
|
9331
|
-
return /* @__PURE__ */ (0,
|
|
9682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
9332
9683
|
"div",
|
|
9333
9684
|
{
|
|
9334
9685
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
9335
9686
|
onClick,
|
|
9336
9687
|
...props,
|
|
9337
|
-
children: /* @__PURE__ */ (0,
|
|
9338
|
-
/* @__PURE__ */ (0,
|
|
9688
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
9689
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
9339
9690
|
ScDp,
|
|
9340
9691
|
{
|
|
9341
9692
|
type: imageUrl ? "image" : "initial",
|
|
@@ -9349,14 +9700,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
9349
9700
|
}
|
|
9350
9701
|
}
|
|
9351
9702
|
) }),
|
|
9352
|
-
/* @__PURE__ */ (0,
|
|
9353
|
-
/* @__PURE__ */ (0,
|
|
9354
|
-
/* @__PURE__ */ (0,
|
|
9355
|
-
/* @__PURE__ */ (0,
|
|
9356
|
-
/* @__PURE__ */ (0,
|
|
9357
|
-
/* @__PURE__ */ (0,
|
|
9358
|
-
/* @__PURE__ */ (0,
|
|
9359
|
-
/* @__PURE__ */ (0,
|
|
9703
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
9704
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
9705
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
9706
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
9707
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
9708
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
9709
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
9710
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
9360
9711
|
] })
|
|
9361
9712
|
] })
|
|
9362
9713
|
] })
|
|
@@ -9365,7 +9716,7 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
9365
9716
|
};
|
|
9366
9717
|
|
|
9367
9718
|
// src/SC-imageField/ScImageField.tsx
|
|
9368
|
-
var
|
|
9719
|
+
var import_react23 = require("react");
|
|
9369
9720
|
|
|
9370
9721
|
// src/SC-imageField/ScImageField.module.css
|
|
9371
9722
|
var ScImageField_default = {
|
|
@@ -9382,8 +9733,8 @@ var ScImageField_default = {
|
|
|
9382
9733
|
};
|
|
9383
9734
|
|
|
9384
9735
|
// src/SC-imageField/ScImageField.tsx
|
|
9385
|
-
var
|
|
9386
|
-
var
|
|
9736
|
+
var import_icons64 = require("@streamoid/icons");
|
|
9737
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
9387
9738
|
var ScImageField = ({
|
|
9388
9739
|
label = "Label",
|
|
9389
9740
|
imagePreview,
|
|
@@ -9392,7 +9743,7 @@ var ScImageField = ({
|
|
|
9392
9743
|
onRemove,
|
|
9393
9744
|
className
|
|
9394
9745
|
}) => {
|
|
9395
|
-
const inputRef = (0,
|
|
9746
|
+
const inputRef = (0, import_react23.useRef)(null);
|
|
9396
9747
|
const hasImage = !!imagePreview;
|
|
9397
9748
|
function handleClick() {
|
|
9398
9749
|
if (!hasImage) {
|
|
@@ -9406,8 +9757,8 @@ var ScImageField = ({
|
|
|
9406
9757
|
}
|
|
9407
9758
|
e.target.value = "";
|
|
9408
9759
|
}
|
|
9409
|
-
return /* @__PURE__ */ (0,
|
|
9410
|
-
/* @__PURE__ */ (0,
|
|
9760
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
9761
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
9411
9762
|
"input",
|
|
9412
9763
|
{
|
|
9413
9764
|
ref: inputRef,
|
|
@@ -9417,9 +9768,9 @@ var ScImageField = ({
|
|
|
9417
9768
|
onChange: handleChange
|
|
9418
9769
|
}
|
|
9419
9770
|
),
|
|
9420
|
-
/* @__PURE__ */ (0,
|
|
9421
|
-
hasImage ? /* @__PURE__ */ (0,
|
|
9422
|
-
/* @__PURE__ */ (0,
|
|
9771
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("div", { className: ScImageField_default.label, children: label }) }),
|
|
9772
|
+
hasImage ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: ScImageField_default.previewArea, children: [
|
|
9773
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
9423
9774
|
"img",
|
|
9424
9775
|
{
|
|
9425
9776
|
className: ScImageField_default.previewImage,
|
|
@@ -9427,9 +9778,9 @@ var ScImageField = ({
|
|
|
9427
9778
|
alt: "preview"
|
|
9428
9779
|
}
|
|
9429
9780
|
),
|
|
9430
|
-
/* @__PURE__ */ (0,
|
|
9431
|
-
/* @__PURE__ */ (0,
|
|
9432
|
-
|
|
9781
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
9782
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
9783
|
+
import_icons64.SiconDelete,
|
|
9433
9784
|
{
|
|
9434
9785
|
className: ScImageField_default.removeIcon,
|
|
9435
9786
|
color: "var(--alias-text-and-icons-error, #d11a1a)",
|
|
@@ -9439,9 +9790,9 @@ var ScImageField = ({
|
|
|
9439
9790
|
}
|
|
9440
9791
|
}
|
|
9441
9792
|
)
|
|
9442
|
-
] }) : /* @__PURE__ */ (0,
|
|
9443
|
-
/* @__PURE__ */ (0,
|
|
9444
|
-
/* @__PURE__ */ (0,
|
|
9793
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
9794
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_icons64.SiconUpload, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
9795
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
9445
9796
|
] })
|
|
9446
9797
|
] });
|
|
9447
9798
|
};
|
|
@@ -9455,7 +9806,7 @@ var ScSettingsTabComp_default = {
|
|
|
9455
9806
|
};
|
|
9456
9807
|
|
|
9457
9808
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
9458
|
-
var
|
|
9809
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
9459
9810
|
var ScSettingsTabComp = ({
|
|
9460
9811
|
tabName = "Tab",
|
|
9461
9812
|
active = false,
|
|
@@ -9463,12 +9814,12 @@ var ScSettingsTabComp = ({
|
|
|
9463
9814
|
className
|
|
9464
9815
|
}) => {
|
|
9465
9816
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
9466
|
-
return /* @__PURE__ */ (0,
|
|
9817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
9467
9818
|
"div",
|
|
9468
9819
|
{
|
|
9469
9820
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
9470
9821
|
onClick,
|
|
9471
|
-
children: /* @__PURE__ */ (0,
|
|
9822
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
9472
9823
|
}
|
|
9473
9824
|
);
|
|
9474
9825
|
};
|
|
@@ -9487,8 +9838,8 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
9487
9838
|
};
|
|
9488
9839
|
|
|
9489
9840
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
9490
|
-
var
|
|
9491
|
-
var
|
|
9841
|
+
var import_icons65 = require("@streamoid/icons");
|
|
9842
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
9492
9843
|
var ScCreditsUsageCardMobile = ({
|
|
9493
9844
|
usageLabel = "Credits usage",
|
|
9494
9845
|
usageText = "8,450 / 30,000",
|
|
@@ -9498,23 +9849,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
9498
9849
|
className,
|
|
9499
9850
|
...props
|
|
9500
9851
|
}) => {
|
|
9501
|
-
return /* @__PURE__ */ (0,
|
|
9502
|
-
/* @__PURE__ */ (0,
|
|
9503
|
-
/* @__PURE__ */ (0,
|
|
9504
|
-
|
|
9852
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
9853
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
9854
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
9855
|
+
import_icons65.SiconCredits,
|
|
9505
9856
|
{
|
|
9506
9857
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
9507
9858
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
9508
9859
|
}
|
|
9509
9860
|
),
|
|
9510
|
-
/* @__PURE__ */ (0,
|
|
9861
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
9511
9862
|
] }),
|
|
9512
|
-
/* @__PURE__ */ (0,
|
|
9513
|
-
/* @__PURE__ */ (0,
|
|
9514
|
-
/* @__PURE__ */ (0,
|
|
9515
|
-
/* @__PURE__ */ (0,
|
|
9863
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
9864
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
9865
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
9866
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
9516
9867
|
] }),
|
|
9517
|
-
/* @__PURE__ */ (0,
|
|
9868
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
9518
9869
|
ScButton,
|
|
9519
9870
|
{
|
|
9520
9871
|
text: buyButtonText,
|
|
@@ -9555,8 +9906,8 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
9555
9906
|
};
|
|
9556
9907
|
|
|
9557
9908
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
9558
|
-
var
|
|
9559
|
-
var
|
|
9909
|
+
var import_icons66 = require("@streamoid/icons");
|
|
9910
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
9560
9911
|
var ScPlanDetailsCardMobile = ({
|
|
9561
9912
|
planName = "Pro",
|
|
9562
9913
|
planCredits = "30,000 credits",
|
|
@@ -9570,20 +9921,20 @@ var ScPlanDetailsCardMobile = ({
|
|
|
9570
9921
|
className,
|
|
9571
9922
|
...props
|
|
9572
9923
|
}) => {
|
|
9573
|
-
return /* @__PURE__ */ (0,
|
|
9574
|
-
/* @__PURE__ */ (0,
|
|
9575
|
-
/* @__PURE__ */ (0,
|
|
9576
|
-
/* @__PURE__ */ (0,
|
|
9577
|
-
|
|
9924
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
9925
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
9926
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
9927
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
9928
|
+
import_icons66.SiconBilling,
|
|
9578
9929
|
{
|
|
9579
9930
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
9580
9931
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
9581
9932
|
}
|
|
9582
9933
|
),
|
|
9583
|
-
/* @__PURE__ */ (0,
|
|
9934
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
9584
9935
|
] }),
|
|
9585
|
-
/* @__PURE__ */ (0,
|
|
9586
|
-
/* @__PURE__ */ (0,
|
|
9936
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
|
|
9937
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
9587
9938
|
ScBadges,
|
|
9588
9939
|
{
|
|
9589
9940
|
text: badgeText,
|
|
@@ -9592,28 +9943,28 @@ var ScPlanDetailsCardMobile = ({
|
|
|
9592
9943
|
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
9593
9944
|
}
|
|
9594
9945
|
),
|
|
9595
|
-
badgeSubText && /* @__PURE__ */ (0,
|
|
9596
|
-
/* @__PURE__ */ (0,
|
|
9597
|
-
/* @__PURE__ */ (0,
|
|
9946
|
+
badgeSubText && /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
|
|
9947
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
9948
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
9598
9949
|
] })
|
|
9599
9950
|
] }) })
|
|
9600
9951
|
] }),
|
|
9601
|
-
/* @__PURE__ */ (0,
|
|
9602
|
-
/* @__PURE__ */ (0,
|
|
9603
|
-
/* @__PURE__ */ (0,
|
|
9604
|
-
/* @__PURE__ */ (0,
|
|
9605
|
-
/* @__PURE__ */ (0,
|
|
9952
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
9953
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
|
|
9954
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
9955
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
9956
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
9606
9957
|
] }),
|
|
9607
|
-
/* @__PURE__ */ (0,
|
|
9608
|
-
] }) : /* @__PURE__ */ (0,
|
|
9609
|
-
/* @__PURE__ */ (0,
|
|
9610
|
-
/* @__PURE__ */ (0,
|
|
9611
|
-
/* @__PURE__ */ (0,
|
|
9612
|
-
/* @__PURE__ */ (0,
|
|
9958
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
9959
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
|
|
9960
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
9961
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
9962
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
9963
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
9613
9964
|
] }),
|
|
9614
|
-
/* @__PURE__ */ (0,
|
|
9965
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
9615
9966
|
] }) }),
|
|
9616
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
9967
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
9617
9968
|
ScButton,
|
|
9618
9969
|
{
|
|
9619
9970
|
text: upgradeButtonText,
|