@streamoid/ui 0.6.14 → 0.6.15
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 +512 -0
- package/dist/index.d.mts +94 -2
- package/dist/index.d.ts +94 -2
- package/dist/index.js +775 -359
- package/dist/index.mjs +792 -370
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4020,30 +4020,33 @@ function StreamoidSidebar({
|
|
|
4020
4020
|
),
|
|
4021
4021
|
/* @__PURE__ */ jsx47(HDivider, {})
|
|
4022
4022
|
] }),
|
|
4023
|
-
showBody && bodyContent ? /* @__PURE__ */ jsx47("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4023
|
+
showBody && bodyContent ? /* @__PURE__ */ jsx47("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ jsxs39(Fragment14, { children: [
|
|
4024
|
+
!(topItems?.length || config.topItem) && /* @__PURE__ */ jsx47(HDivider, {}),
|
|
4025
|
+
config.sections.map((section) => /* @__PURE__ */ jsxs39(
|
|
4026
|
+
"div",
|
|
4027
|
+
{
|
|
4028
|
+
className: "flex flex-col items-start shrink-0 w-full",
|
|
4029
|
+
style: {
|
|
4030
|
+
padding: "var(--spacing-md) 0",
|
|
4031
|
+
gap: "var(--spacing-xxs)"
|
|
4032
|
+
},
|
|
4033
|
+
children: [
|
|
4034
|
+
section.label ? /* @__PURE__ */ jsx47(SectionHeader, { label: section.label }) : null,
|
|
4035
|
+
section.items.map(
|
|
4036
|
+
(item) => renderMenuItem({
|
|
4037
|
+
item,
|
|
4038
|
+
sectionId: section.id,
|
|
4039
|
+
expanded: true,
|
|
4040
|
+
activeItemId,
|
|
4041
|
+
iconMap,
|
|
4042
|
+
onItemSelect
|
|
4043
|
+
})
|
|
4044
|
+
)
|
|
4045
|
+
]
|
|
4030
4046
|
},
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
(item) => renderMenuItem({
|
|
4035
|
-
item,
|
|
4036
|
-
sectionId: section.id,
|
|
4037
|
-
expanded: true,
|
|
4038
|
-
activeItemId,
|
|
4039
|
-
iconMap,
|
|
4040
|
-
onItemSelect
|
|
4041
|
-
})
|
|
4042
|
-
)
|
|
4043
|
-
]
|
|
4044
|
-
},
|
|
4045
|
-
section.id
|
|
4046
|
-
)) })
|
|
4047
|
+
section.id
|
|
4048
|
+
))
|
|
4049
|
+
] })
|
|
4047
4050
|
]
|
|
4048
4051
|
}
|
|
4049
4052
|
),
|
|
@@ -7439,11 +7442,12 @@ var ScDrawer_default = {
|
|
|
7439
7442
|
drawer: "ScDrawer_drawer",
|
|
7440
7443
|
"side-right": "ScDrawer_side-right",
|
|
7441
7444
|
"side-left": "ScDrawer_side-left",
|
|
7442
|
-
content: "ScDrawer_content"
|
|
7445
|
+
content: "ScDrawer_content",
|
|
7446
|
+
backdrop: "ScDrawer_backdrop"
|
|
7443
7447
|
};
|
|
7444
7448
|
|
|
7445
7449
|
// src/SC-Drawer/ScDrawer.tsx
|
|
7446
|
-
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
7450
|
+
import { Fragment as Fragment22, jsx as jsx80, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
7447
7451
|
var ScDrawer = ({
|
|
7448
7452
|
children,
|
|
7449
7453
|
onClose,
|
|
@@ -7454,7 +7458,9 @@ var ScDrawer = ({
|
|
|
7454
7458
|
contentClassName,
|
|
7455
7459
|
contentStyle,
|
|
7456
7460
|
closeOnOutside = true,
|
|
7457
|
-
closeOnEsc = true
|
|
7461
|
+
closeOnEsc = true,
|
|
7462
|
+
backdrop = false,
|
|
7463
|
+
zIndex
|
|
7458
7464
|
}) => {
|
|
7459
7465
|
const panelRef = useRef4(null);
|
|
7460
7466
|
useEffect5(() => {
|
|
@@ -7476,22 +7482,32 @@ var ScDrawer = ({
|
|
|
7476
7482
|
}, [open, closeOnEsc, closeOnOutside, onClose]);
|
|
7477
7483
|
if (!open || typeof document === "undefined") return null;
|
|
7478
7484
|
return createPortal2(
|
|
7479
|
-
/* @__PURE__ */
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7485
|
+
/* @__PURE__ */ jsxs70(Fragment22, { children: [
|
|
7486
|
+
backdrop && /* @__PURE__ */ jsx80(
|
|
7487
|
+
"div",
|
|
7488
|
+
{
|
|
7489
|
+
className: ScDrawer_default.backdrop,
|
|
7490
|
+
style: zIndex != null ? { zIndex: zIndex - 1 } : void 0,
|
|
7491
|
+
"aria-hidden": true
|
|
7492
|
+
}
|
|
7493
|
+
),
|
|
7494
|
+
/* @__PURE__ */ jsx80(
|
|
7495
|
+
"div",
|
|
7496
|
+
{
|
|
7497
|
+
ref: panelRef,
|
|
7498
|
+
className: [ScDrawer_default.drawer, ScDrawer_default["side-" + side], className].filter(Boolean).join(" "),
|
|
7499
|
+
style: zIndex != null ? { ...style, zIndex } : style,
|
|
7500
|
+
children: /* @__PURE__ */ jsx80(
|
|
7501
|
+
"div",
|
|
7502
|
+
{
|
|
7503
|
+
className: [ScDrawer_default.content, contentClassName].filter(Boolean).join(" "),
|
|
7504
|
+
style: contentStyle,
|
|
7505
|
+
children
|
|
7506
|
+
}
|
|
7507
|
+
)
|
|
7508
|
+
}
|
|
7509
|
+
)
|
|
7510
|
+
] }),
|
|
7495
7511
|
document.body
|
|
7496
7512
|
);
|
|
7497
7513
|
};
|
|
@@ -7557,7 +7573,7 @@ var ScCounter_default = {
|
|
|
7557
7573
|
};
|
|
7558
7574
|
|
|
7559
7575
|
// src/SC-Counter/ScCounter.tsx
|
|
7560
|
-
import { jsx as jsx82, jsxs as
|
|
7576
|
+
import { jsx as jsx82, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
7561
7577
|
var ScCounter = ({
|
|
7562
7578
|
count,
|
|
7563
7579
|
onChange,
|
|
@@ -7574,14 +7590,14 @@ var ScCounter = ({
|
|
|
7574
7590
|
if (max !== void 0) v = Math.min(max, v);
|
|
7575
7591
|
onChange(v);
|
|
7576
7592
|
};
|
|
7577
|
-
return /* @__PURE__ */
|
|
7593
|
+
return /* @__PURE__ */ jsxs71(
|
|
7578
7594
|
"div",
|
|
7579
7595
|
{
|
|
7580
7596
|
className: [ScCounter_default.counter, className].filter(Boolean).join(" "),
|
|
7581
7597
|
style,
|
|
7582
7598
|
children: [
|
|
7583
7599
|
/* @__PURE__ */ jsx82("div", { className: ScCounter_default.step, onClick: () => set(count - 1), children: /* @__PURE__ */ jsx82(SiconMinus, { size: 24, color: "var(--alias-text-and-icons-primary)" }) }),
|
|
7584
|
-
showInput ? /* @__PURE__ */
|
|
7600
|
+
showInput ? /* @__PURE__ */ jsxs71("div", { className: ScCounter_default.inputContainer, children: [
|
|
7585
7601
|
/* @__PURE__ */ jsx82(
|
|
7586
7602
|
"input",
|
|
7587
7603
|
{
|
|
@@ -7594,7 +7610,7 @@ var ScCounter = ({
|
|
|
7594
7610
|
}
|
|
7595
7611
|
),
|
|
7596
7612
|
/* @__PURE__ */ jsx82("div", { children: label })
|
|
7597
|
-
] }) : /* @__PURE__ */
|
|
7613
|
+
] }) : /* @__PURE__ */ jsxs71("div", { className: ScCounter_default.value, onClick: () => setShowInput(true), children: [
|
|
7598
7614
|
count,
|
|
7599
7615
|
" ",
|
|
7600
7616
|
label
|
|
@@ -7618,7 +7634,7 @@ var ScPagination_default = {
|
|
|
7618
7634
|
};
|
|
7619
7635
|
|
|
7620
7636
|
// src/SC-Pagination/ScPagination.tsx
|
|
7621
|
-
import { jsx as jsx83, jsxs as
|
|
7637
|
+
import { jsx as jsx83, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
7622
7638
|
var ScPagination = ({
|
|
7623
7639
|
itemsCount,
|
|
7624
7640
|
itemsPerPage,
|
|
@@ -7657,7 +7673,7 @@ var ScPagination = ({
|
|
|
7657
7673
|
onPageChangeAction();
|
|
7658
7674
|
}
|
|
7659
7675
|
};
|
|
7660
|
-
return /* @__PURE__ */ jsx83("div", { className: ScPagination_default.scPagination + (className ? " " + className : ""), children: /* @__PURE__ */
|
|
7676
|
+
return /* @__PURE__ */ jsx83("div", { className: ScPagination_default.scPagination + (className ? " " + className : ""), children: /* @__PURE__ */ jsxs72("div", { className: ScPagination_default.section, children: [
|
|
7661
7677
|
/* @__PURE__ */ jsx83(
|
|
7662
7678
|
SiconRight5,
|
|
7663
7679
|
{
|
|
@@ -7685,7 +7701,7 @@ var ScPagination = ({
|
|
|
7685
7701
|
onClick: () => step("inc")
|
|
7686
7702
|
}
|
|
7687
7703
|
),
|
|
7688
|
-
/* @__PURE__ */
|
|
7704
|
+
/* @__PURE__ */ jsxs72("span", { className: ScPagination_default.pageCount, children: [
|
|
7689
7705
|
"of ",
|
|
7690
7706
|
maxPage
|
|
7691
7707
|
] })
|
|
@@ -7702,7 +7718,7 @@ var ScBeacon_default = {
|
|
|
7702
7718
|
};
|
|
7703
7719
|
|
|
7704
7720
|
// src/SC-Beacon/ScBeacon.tsx
|
|
7705
|
-
import { jsx as jsx84, jsxs as
|
|
7721
|
+
import { jsx as jsx84, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
7706
7722
|
var ScBeacon = ({
|
|
7707
7723
|
tone = "neutral",
|
|
7708
7724
|
className,
|
|
@@ -7714,7 +7730,7 @@ var ScBeacon = ({
|
|
|
7714
7730
|
className: ScBeacon_default.scBeacon + " " + ScBeacon_default[tone] + (className ? " " + className : ""),
|
|
7715
7731
|
"aria-hidden": "true",
|
|
7716
7732
|
...props,
|
|
7717
|
-
children: /* @__PURE__ */
|
|
7733
|
+
children: /* @__PURE__ */ jsxs73(
|
|
7718
7734
|
"svg",
|
|
7719
7735
|
{
|
|
7720
7736
|
viewBox: "0 0 20 20",
|
|
@@ -7744,7 +7760,7 @@ var ScStoreCard_default = {
|
|
|
7744
7760
|
};
|
|
7745
7761
|
|
|
7746
7762
|
// src/SC-StoreCard/ScStoreCard.tsx
|
|
7747
|
-
import { jsx as jsx85, jsxs as
|
|
7763
|
+
import { jsx as jsx85, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
7748
7764
|
var ScStoreCard = ({
|
|
7749
7765
|
storeName = "Store Name",
|
|
7750
7766
|
noOfProducts = "1490 Products",
|
|
@@ -7753,7 +7769,7 @@ var ScStoreCard = ({
|
|
|
7753
7769
|
className,
|
|
7754
7770
|
...props
|
|
7755
7771
|
}) => {
|
|
7756
|
-
return /* @__PURE__ */
|
|
7772
|
+
return /* @__PURE__ */ jsxs74(
|
|
7757
7773
|
"div",
|
|
7758
7774
|
{
|
|
7759
7775
|
className: ScStoreCard_default.scStoreCard + (className ? " " + className : ""),
|
|
@@ -7761,7 +7777,7 @@ var ScStoreCard = ({
|
|
|
7761
7777
|
children: [
|
|
7762
7778
|
/* @__PURE__ */ jsx85("div", { className: ScStoreCard_default.nameSection, children: /* @__PURE__ */ jsx85("p", { className: ScStoreCard_default.storeName, title: storeName, children: storeName }) }),
|
|
7763
7779
|
/* @__PURE__ */ jsx85(ScHDivider, { className: ScStoreCard_default.divider }),
|
|
7764
|
-
/* @__PURE__ */
|
|
7780
|
+
/* @__PURE__ */ jsxs74("div", { className: ScStoreCard_default.footer, children: [
|
|
7765
7781
|
/* @__PURE__ */ jsx85(ScBeacon, { tone }),
|
|
7766
7782
|
/* @__PURE__ */ jsx85("span", { className: ScStoreCard_default.products, children: noOfProducts }),
|
|
7767
7783
|
/* @__PURE__ */ jsx85("span", { className: ScStoreCard_default.date, children: dateCreated })
|
|
@@ -7783,7 +7799,7 @@ var ScCatalogixStoreHeader_default = {
|
|
|
7783
7799
|
};
|
|
7784
7800
|
|
|
7785
7801
|
// src/SC-Catalogix-Store-Header/ScCatalogixStoreHeader.tsx
|
|
7786
|
-
import { jsx as jsx86, jsxs as
|
|
7802
|
+
import { jsx as jsx86, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
7787
7803
|
var ScCatalogixStoreHeader = ({
|
|
7788
7804
|
storeNameLabel = "Store name",
|
|
7789
7805
|
statusLabel = "Status",
|
|
@@ -7796,7 +7812,7 @@ var ScCatalogixStoreHeader = ({
|
|
|
7796
7812
|
className,
|
|
7797
7813
|
...props
|
|
7798
7814
|
}) => {
|
|
7799
|
-
return /* @__PURE__ */
|
|
7815
|
+
return /* @__PURE__ */ jsxs75(
|
|
7800
7816
|
"div",
|
|
7801
7817
|
{
|
|
7802
7818
|
className: ScCatalogixStoreHeader_default.scCatalogixStoreHeader + (className ? " " + className : ""),
|
|
@@ -7829,7 +7845,7 @@ var ScCatalogixStoreTableList_default = {
|
|
|
7829
7845
|
};
|
|
7830
7846
|
|
|
7831
7847
|
// src/SC-CatalogixStoreTableList/ScCatalogixStoreTableList.tsx
|
|
7832
|
-
import { jsx as jsx87, jsxs as
|
|
7848
|
+
import { jsx as jsx87, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
7833
7849
|
var STATUS_TONE_CLASS = {
|
|
7834
7850
|
success: "statusSuccess",
|
|
7835
7851
|
warning: "statusWarning",
|
|
@@ -7850,7 +7866,7 @@ var ScCatalogixStoreTableList = ({
|
|
|
7850
7866
|
...props
|
|
7851
7867
|
}) => {
|
|
7852
7868
|
const toneClass = ScCatalogixStoreTableList_default[STATUS_TONE_CLASS[statusTone] || "statusNeutral"];
|
|
7853
|
-
return /* @__PURE__ */
|
|
7869
|
+
return /* @__PURE__ */ jsxs76(
|
|
7854
7870
|
"div",
|
|
7855
7871
|
{
|
|
7856
7872
|
className: ScCatalogixStoreTableList_default.scCatalogixStoreTableList + (className ? " " + className : ""),
|
|
@@ -7867,6 +7883,406 @@ var ScCatalogixStoreTableList = ({
|
|
|
7867
7883
|
);
|
|
7868
7884
|
};
|
|
7869
7885
|
|
|
7886
|
+
// src/SC-DefaultCard/ScDefaultCard.module.css
|
|
7887
|
+
var ScDefaultCard_default = {
|
|
7888
|
+
scDefaultCard: "ScDefaultCard_scDefaultCard",
|
|
7889
|
+
"state-hover": "ScDefaultCard_state-hover",
|
|
7890
|
+
content: "ScDefaultCard_content",
|
|
7891
|
+
title: "ScDefaultCard_title",
|
|
7892
|
+
description: "ScDefaultCard_description"
|
|
7893
|
+
};
|
|
7894
|
+
|
|
7895
|
+
// src/SC-DefaultCard/ScDefaultCard.tsx
|
|
7896
|
+
import { jsx as jsx88, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
7897
|
+
var ScDefaultCard = ({
|
|
7898
|
+
title = "Title",
|
|
7899
|
+
description = "Description",
|
|
7900
|
+
showDescription = true,
|
|
7901
|
+
state = "default",
|
|
7902
|
+
className,
|
|
7903
|
+
...props
|
|
7904
|
+
}) => {
|
|
7905
|
+
const variantsClassName = ScDefaultCard_default["state-" + state];
|
|
7906
|
+
const hasDescription = showDescription && Boolean(description);
|
|
7907
|
+
return /* @__PURE__ */ jsx88(
|
|
7908
|
+
"div",
|
|
7909
|
+
{
|
|
7910
|
+
className: [ScDefaultCard_default.scDefaultCard, variantsClassName, className].filter(Boolean).join(" "),
|
|
7911
|
+
...props,
|
|
7912
|
+
children: /* @__PURE__ */ jsxs77("div", { className: ScDefaultCard_default.content, children: [
|
|
7913
|
+
/* @__PURE__ */ jsx88("p", { className: ScDefaultCard_default.title, children: title }),
|
|
7914
|
+
hasDescription && /* @__PURE__ */ jsx88("p", { className: ScDefaultCard_default.description, children: description })
|
|
7915
|
+
] })
|
|
7916
|
+
}
|
|
7917
|
+
);
|
|
7918
|
+
};
|
|
7919
|
+
|
|
7920
|
+
// src/SC-ValueMappingL1/ScValueMappingL1.module.css
|
|
7921
|
+
var ScValueMappingL1_default = {
|
|
7922
|
+
scValueMappingL1: "ScValueMappingL1_scValueMappingL1",
|
|
7923
|
+
"state-hover": "ScValueMappingL1_state-hover",
|
|
7924
|
+
"state-active": "ScValueMappingL1_state-active",
|
|
7925
|
+
updated: "ScValueMappingL1_updated",
|
|
7926
|
+
labelWrap: "ScValueMappingL1_labelWrap",
|
|
7927
|
+
label: "ScValueMappingL1_label",
|
|
7928
|
+
dot: "ScValueMappingL1_dot",
|
|
7929
|
+
dotInner: "ScValueMappingL1_dotInner"
|
|
7930
|
+
};
|
|
7931
|
+
|
|
7932
|
+
// src/SC-ValueMappingL1/ScValueMappingL1.tsx
|
|
7933
|
+
import { jsx as jsx89, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
7934
|
+
var ScValueMappingL1 = ({
|
|
7935
|
+
label = "Title",
|
|
7936
|
+
state = "default",
|
|
7937
|
+
updated = false,
|
|
7938
|
+
className,
|
|
7939
|
+
...props
|
|
7940
|
+
}) => {
|
|
7941
|
+
const variantsClassName = ScValueMappingL1_default["state-" + state];
|
|
7942
|
+
return /* @__PURE__ */ jsxs78(
|
|
7943
|
+
"div",
|
|
7944
|
+
{
|
|
7945
|
+
className: [
|
|
7946
|
+
ScValueMappingL1_default.scValueMappingL1,
|
|
7947
|
+
variantsClassName,
|
|
7948
|
+
updated ? ScValueMappingL1_default.updated : "",
|
|
7949
|
+
className
|
|
7950
|
+
].filter(Boolean).join(" "),
|
|
7951
|
+
...props,
|
|
7952
|
+
children: [
|
|
7953
|
+
/* @__PURE__ */ jsx89("div", { className: ScValueMappingL1_default.labelWrap, children: /* @__PURE__ */ jsx89("span", { className: ScValueMappingL1_default.label, title: label, children: label }) }),
|
|
7954
|
+
updated && /* @__PURE__ */ jsx89("span", { className: ScValueMappingL1_default.dot, "aria-hidden": true, children: /* @__PURE__ */ jsx89("span", { className: ScValueMappingL1_default.dotInner }) })
|
|
7955
|
+
]
|
|
7956
|
+
}
|
|
7957
|
+
);
|
|
7958
|
+
};
|
|
7959
|
+
|
|
7960
|
+
// src/SC-TaxonomyPill/ScTaxonomyPill.module.css
|
|
7961
|
+
var ScTaxonomyPill_default = {
|
|
7962
|
+
scTaxonomyPill: "ScTaxonomyPill_scTaxonomyPill",
|
|
7963
|
+
"state-hover": "ScTaxonomyPill_state-hover",
|
|
7964
|
+
inner: "ScTaxonomyPill_inner",
|
|
7965
|
+
"type-pill": "ScTaxonomyPill_type-pill",
|
|
7966
|
+
"type-expand": "ScTaxonomyPill_type-expand",
|
|
7967
|
+
"type-collapse": "ScTaxonomyPill_type-collapse",
|
|
7968
|
+
label: "ScTaxonomyPill_label",
|
|
7969
|
+
icon: "ScTaxonomyPill_icon"
|
|
7970
|
+
};
|
|
7971
|
+
|
|
7972
|
+
// src/SC-TaxonomyPill/ScTaxonomyPill.tsx
|
|
7973
|
+
import { SiconDown as SiconDown2, SiconUp as SiconUp2 } from "@streamoid/icons";
|
|
7974
|
+
import { Fragment as Fragment23, jsx as jsx90, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
7975
|
+
var ScTaxonomyPill = ({
|
|
7976
|
+
type = "pill",
|
|
7977
|
+
state = "default",
|
|
7978
|
+
label = "All Products",
|
|
7979
|
+
count = 3,
|
|
7980
|
+
className,
|
|
7981
|
+
...props
|
|
7982
|
+
}) => {
|
|
7983
|
+
const cls = [
|
|
7984
|
+
ScTaxonomyPill_default.scTaxonomyPill,
|
|
7985
|
+
ScTaxonomyPill_default["type-" + type],
|
|
7986
|
+
ScTaxonomyPill_default["state-" + state],
|
|
7987
|
+
className
|
|
7988
|
+
].filter(Boolean).join(" ");
|
|
7989
|
+
return /* @__PURE__ */ jsx90("div", { className: cls, ...props, children: /* @__PURE__ */ jsxs79("div", { className: ScTaxonomyPill_default.inner, children: [
|
|
7990
|
+
type === "pill" && /* @__PURE__ */ jsx90("span", { className: ScTaxonomyPill_default.label, children: label }),
|
|
7991
|
+
type === "expand" && /* @__PURE__ */ jsxs79(Fragment23, { children: [
|
|
7992
|
+
/* @__PURE__ */ jsx90("span", { className: ScTaxonomyPill_default.label, children: count }),
|
|
7993
|
+
/* @__PURE__ */ jsx90(SiconDown2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
7994
|
+
] }),
|
|
7995
|
+
type === "collapse" && /* @__PURE__ */ jsx90(SiconUp2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
7996
|
+
] }) });
|
|
7997
|
+
};
|
|
7998
|
+
|
|
7999
|
+
// src/SC-SelectionPill/ScSelectionPill.module.css
|
|
8000
|
+
var ScSelectionPill_default = {
|
|
8001
|
+
scSelectionPill: "ScSelectionPill_scSelectionPill",
|
|
8002
|
+
"state-hover": "ScSelectionPill_state-hover",
|
|
8003
|
+
"state-selected": "ScSelectionPill_state-selected",
|
|
8004
|
+
label: "ScSelectionPill_label"
|
|
8005
|
+
};
|
|
8006
|
+
|
|
8007
|
+
// src/SC-SelectionPill/ScSelectionPill.tsx
|
|
8008
|
+
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
8009
|
+
var ScSelectionPill = ({
|
|
8010
|
+
label = "All Products",
|
|
8011
|
+
selected = false,
|
|
8012
|
+
value,
|
|
8013
|
+
onSelect,
|
|
8014
|
+
onClick,
|
|
8015
|
+
className,
|
|
8016
|
+
...props
|
|
8017
|
+
}) => {
|
|
8018
|
+
const variantsClassName = ScSelectionPill_default["state-" + (selected ? "selected" : "default")];
|
|
8019
|
+
const handleClick = (event) => {
|
|
8020
|
+
onClick?.(event);
|
|
8021
|
+
onSelect?.(value);
|
|
8022
|
+
};
|
|
8023
|
+
return /* @__PURE__ */ jsx91(
|
|
8024
|
+
"button",
|
|
8025
|
+
{
|
|
8026
|
+
type: "button",
|
|
8027
|
+
className: [ScSelectionPill_default.scSelectionPill, variantsClassName, className].filter(Boolean).join(" "),
|
|
8028
|
+
"aria-pressed": selected,
|
|
8029
|
+
onClick: handleClick,
|
|
8030
|
+
...props,
|
|
8031
|
+
children: /* @__PURE__ */ jsx91("span", { className: ScSelectionPill_default.label, children: label })
|
|
8032
|
+
}
|
|
8033
|
+
);
|
|
8034
|
+
};
|
|
8035
|
+
|
|
8036
|
+
// src/SC-SelectionPillGroup/ScSelectionPillGroup.module.css
|
|
8037
|
+
var ScSelectionPillGroup_default = {
|
|
8038
|
+
scSelectionPillGroup: "ScSelectionPillGroup_scSelectionPillGroup"
|
|
8039
|
+
};
|
|
8040
|
+
|
|
8041
|
+
// src/SC-SelectionPillGroup/ScSelectionPillGroup.tsx
|
|
8042
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
8043
|
+
var ScSelectionPillGroup = ({
|
|
8044
|
+
options = [],
|
|
8045
|
+
value,
|
|
8046
|
+
onChange,
|
|
8047
|
+
className,
|
|
8048
|
+
...props
|
|
8049
|
+
}) => {
|
|
8050
|
+
return /* @__PURE__ */ jsx92(
|
|
8051
|
+
"div",
|
|
8052
|
+
{
|
|
8053
|
+
className: [ScSelectionPillGroup_default.scSelectionPillGroup, className].filter(Boolean).join(" "),
|
|
8054
|
+
role: "tablist",
|
|
8055
|
+
...props,
|
|
8056
|
+
children: options.map((opt) => /* @__PURE__ */ jsx92(
|
|
8057
|
+
ScSelectionPill,
|
|
8058
|
+
{
|
|
8059
|
+
label: opt.label,
|
|
8060
|
+
value: opt.value,
|
|
8061
|
+
selected: opt.value === value,
|
|
8062
|
+
role: "tab",
|
|
8063
|
+
"aria-selected": opt.value === value,
|
|
8064
|
+
onSelect: (v) => onChange?.(v ?? "")
|
|
8065
|
+
},
|
|
8066
|
+
opt.value
|
|
8067
|
+
))
|
|
8068
|
+
}
|
|
8069
|
+
);
|
|
8070
|
+
};
|
|
8071
|
+
|
|
8072
|
+
// src/SC-MappingCard/ScMappingCard.tsx
|
|
8073
|
+
import {
|
|
8074
|
+
SiconPlus as SiconPlus3,
|
|
8075
|
+
SiconRight as SiconRight6,
|
|
8076
|
+
SiconWarning,
|
|
8077
|
+
SiconCheck,
|
|
8078
|
+
SiconClose as SiconClose4
|
|
8079
|
+
} from "@streamoid/icons";
|
|
8080
|
+
|
|
8081
|
+
// src/SC-MappingCard/ScMappingCard.module.css
|
|
8082
|
+
var ScMappingCard_default = {
|
|
8083
|
+
scMappingCard: "ScMappingCard_scMappingCard",
|
|
8084
|
+
"status-confirmed": "ScMappingCard_status-confirmed",
|
|
8085
|
+
"status-ignored": "ScMappingCard_status-ignored",
|
|
8086
|
+
badge: "ScMappingCard_badge",
|
|
8087
|
+
badgeLetter: "ScMappingCard_badgeLetter",
|
|
8088
|
+
content: "ScMappingCard_content",
|
|
8089
|
+
source: "ScMappingCard_source",
|
|
8090
|
+
sourceCard: "ScMappingCard_sourceCard",
|
|
8091
|
+
sourceHeader: "ScMappingCard_sourceHeader",
|
|
8092
|
+
sampleRows: "ScMappingCard_sampleRows",
|
|
8093
|
+
columnName: "ScMappingCard_columnName",
|
|
8094
|
+
addBtn: "ScMappingCard_addBtn",
|
|
8095
|
+
sampleRow: "ScMappingCard_sampleRow",
|
|
8096
|
+
sourceCollapsed: "ScMappingCard_sourceCollapsed",
|
|
8097
|
+
targetRegion: "ScMappingCard_targetRegion",
|
|
8098
|
+
targetRow: "ScMappingCard_targetRow",
|
|
8099
|
+
connector: "ScMappingCard_connector",
|
|
8100
|
+
targetBox: "ScMappingCard_targetBox",
|
|
8101
|
+
targetBoxDash: "ScMappingCard_targetBoxDash",
|
|
8102
|
+
warning: "ScMappingCard_warning",
|
|
8103
|
+
warningIcon: "ScMappingCard_warningIcon",
|
|
8104
|
+
warningText: "ScMappingCard_warningText",
|
|
8105
|
+
actions: "ScMappingCard_actions",
|
|
8106
|
+
actionRow: "ScMappingCard_actionRow",
|
|
8107
|
+
btn: "ScMappingCard_btn",
|
|
8108
|
+
ignoreBtn: "ScMappingCard_ignoreBtn",
|
|
8109
|
+
whiteBtn: "ScMappingCard_whiteBtn",
|
|
8110
|
+
confirmBtn: "ScMappingCard_confirmBtn",
|
|
8111
|
+
statusLabel: "ScMappingCard_statusLabel",
|
|
8112
|
+
statusIcon: "ScMappingCard_statusIcon",
|
|
8113
|
+
statusSuccess: "ScMappingCard_statusSuccess",
|
|
8114
|
+
statusError: "ScMappingCard_statusError",
|
|
8115
|
+
validityText: "ScMappingCard_validityText"
|
|
8116
|
+
};
|
|
8117
|
+
|
|
8118
|
+
// src/SC-MappingCard/ScMappingCard.tsx
|
|
8119
|
+
import { Fragment as Fragment24, jsx as jsx93, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
8120
|
+
var ScMappingCard = ({
|
|
8121
|
+
badge,
|
|
8122
|
+
columnName,
|
|
8123
|
+
sampleRows = [],
|
|
8124
|
+
onAddColumn,
|
|
8125
|
+
status = "default",
|
|
8126
|
+
targets,
|
|
8127
|
+
confirmedTargets = [],
|
|
8128
|
+
validityText,
|
|
8129
|
+
warning,
|
|
8130
|
+
canConfirm = false,
|
|
8131
|
+
onIgnore,
|
|
8132
|
+
onConfirm,
|
|
8133
|
+
onEdit,
|
|
8134
|
+
className,
|
|
8135
|
+
...props
|
|
8136
|
+
}) => {
|
|
8137
|
+
const isDefault = status === "default";
|
|
8138
|
+
const isConfirmed = status === "confirmed";
|
|
8139
|
+
const isIgnored = status === "ignored";
|
|
8140
|
+
return /* @__PURE__ */ jsxs80(
|
|
8141
|
+
"div",
|
|
8142
|
+
{
|
|
8143
|
+
className: [ScMappingCard_default.scMappingCard, ScMappingCard_default["status-" + status], className].filter(Boolean).join(" "),
|
|
8144
|
+
...props,
|
|
8145
|
+
children: [
|
|
8146
|
+
badge != null && /* @__PURE__ */ jsx93("div", { className: ScMappingCard_default.badge, "aria-hidden": true, children: /* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.badgeLetter, children: badge }) }),
|
|
8147
|
+
/* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.content, children: [
|
|
8148
|
+
isDefault ? /* @__PURE__ */ jsxs80("div", { className: [ScMappingCard_default.source, ScMappingCard_default.sourceCard].join(" "), children: [
|
|
8149
|
+
/* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.sourceHeader, children: [
|
|
8150
|
+
/* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.columnName, title: columnName, children: columnName }),
|
|
8151
|
+
/* @__PURE__ */ jsx93(
|
|
8152
|
+
"button",
|
|
8153
|
+
{
|
|
8154
|
+
type: "button",
|
|
8155
|
+
className: ScMappingCard_default.addBtn,
|
|
8156
|
+
onClick: onAddColumn,
|
|
8157
|
+
"aria-label": "Add column",
|
|
8158
|
+
children: /* @__PURE__ */ jsx93(
|
|
8159
|
+
SiconPlus3,
|
|
8160
|
+
{
|
|
8161
|
+
size: 24,
|
|
8162
|
+
color: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
8163
|
+
}
|
|
8164
|
+
)
|
|
8165
|
+
}
|
|
8166
|
+
)
|
|
8167
|
+
] }),
|
|
8168
|
+
sampleRows.length > 0 && /* @__PURE__ */ jsx93("div", { className: ScMappingCard_default.sampleRows, children: sampleRows.map((row, i) => /* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.sampleRow, title: row, children: row }, i)) })
|
|
8169
|
+
] }) : /* @__PURE__ */ jsx93("div", { className: [ScMappingCard_default.source, ScMappingCard_default.sourceCollapsed].join(" "), children: /* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.columnName, title: columnName, children: columnName }) }),
|
|
8170
|
+
/* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.targetRegion, children: [
|
|
8171
|
+
isDefault && targets,
|
|
8172
|
+
isConfirmed && confirmedTargets.map((t, i) => /* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.targetRow, children: [
|
|
8173
|
+
/* @__PURE__ */ jsx93(
|
|
8174
|
+
SiconRight6,
|
|
8175
|
+
{
|
|
8176
|
+
size: 20,
|
|
8177
|
+
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)",
|
|
8178
|
+
className: ScMappingCard_default.connector
|
|
8179
|
+
}
|
|
8180
|
+
),
|
|
8181
|
+
/* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.targetBox, title: t, children: t })
|
|
8182
|
+
] }, i)),
|
|
8183
|
+
isIgnored && /* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.targetRow, children: [
|
|
8184
|
+
/* @__PURE__ */ jsx93(
|
|
8185
|
+
SiconRight6,
|
|
8186
|
+
{
|
|
8187
|
+
size: 24,
|
|
8188
|
+
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)",
|
|
8189
|
+
className: ScMappingCard_default.connector
|
|
8190
|
+
}
|
|
8191
|
+
),
|
|
8192
|
+
/* @__PURE__ */ jsx93("span", { className: [ScMappingCard_default.targetBox, ScMappingCard_default.targetBoxDash].join(" "), children: "-" })
|
|
8193
|
+
] }),
|
|
8194
|
+
isDefault && warning != null && /* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.warning, children: [
|
|
8195
|
+
/* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.warningIcon, "aria-hidden": true, children: /* @__PURE__ */ jsx93(
|
|
8196
|
+
SiconWarning,
|
|
8197
|
+
{
|
|
8198
|
+
size: 20,
|
|
8199
|
+
color: "var(--alias-text-and-icons-error, #d11a1a)"
|
|
8200
|
+
}
|
|
8201
|
+
) }),
|
|
8202
|
+
/* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.warningText, children: warning })
|
|
8203
|
+
] })
|
|
8204
|
+
] }),
|
|
8205
|
+
/* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.actions, children: [
|
|
8206
|
+
isDefault && /* @__PURE__ */ jsxs80(Fragment24, { children: [
|
|
8207
|
+
/* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.actionRow, children: [
|
|
8208
|
+
/* @__PURE__ */ jsx93(
|
|
8209
|
+
"button",
|
|
8210
|
+
{
|
|
8211
|
+
type: "button",
|
|
8212
|
+
className: [ScMappingCard_default.btn, ScMappingCard_default.ignoreBtn].join(" "),
|
|
8213
|
+
onClick: onIgnore,
|
|
8214
|
+
children: "Ignore Column"
|
|
8215
|
+
}
|
|
8216
|
+
),
|
|
8217
|
+
canConfirm && /* @__PURE__ */ jsx93(
|
|
8218
|
+
"button",
|
|
8219
|
+
{
|
|
8220
|
+
type: "button",
|
|
8221
|
+
className: [ScMappingCard_default.btn, ScMappingCard_default.whiteBtn, ScMappingCard_default.confirmBtn].join(
|
|
8222
|
+
" "
|
|
8223
|
+
),
|
|
8224
|
+
onClick: onConfirm,
|
|
8225
|
+
children: "Confirm Mapping"
|
|
8226
|
+
}
|
|
8227
|
+
)
|
|
8228
|
+
] }),
|
|
8229
|
+
validityText && /* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.validityText, children: validityText })
|
|
8230
|
+
] }),
|
|
8231
|
+
isConfirmed && /* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.actionRow, children: [
|
|
8232
|
+
/* @__PURE__ */ jsxs80(
|
|
8233
|
+
"span",
|
|
8234
|
+
{
|
|
8235
|
+
className: [ScMappingCard_default.statusLabel, ScMappingCard_default.statusSuccess].join(" "),
|
|
8236
|
+
children: [
|
|
8237
|
+
/* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.statusIcon, children: /* @__PURE__ */ jsx93(
|
|
8238
|
+
SiconCheck,
|
|
8239
|
+
{
|
|
8240
|
+
size: 24,
|
|
8241
|
+
color: "var(--alias-text-and-icons-success, #00b96b)"
|
|
8242
|
+
}
|
|
8243
|
+
) }),
|
|
8244
|
+
"Column Confirmed"
|
|
8245
|
+
]
|
|
8246
|
+
}
|
|
8247
|
+
),
|
|
8248
|
+
/* @__PURE__ */ jsx93(
|
|
8249
|
+
"button",
|
|
8250
|
+
{
|
|
8251
|
+
type: "button",
|
|
8252
|
+
className: [ScMappingCard_default.btn, ScMappingCard_default.whiteBtn].join(" "),
|
|
8253
|
+
onClick: onEdit,
|
|
8254
|
+
children: "Edit"
|
|
8255
|
+
}
|
|
8256
|
+
)
|
|
8257
|
+
] }),
|
|
8258
|
+
isIgnored && /* @__PURE__ */ jsxs80("div", { className: ScMappingCard_default.actionRow, children: [
|
|
8259
|
+
/* @__PURE__ */ jsxs80("span", { className: [ScMappingCard_default.statusLabel, ScMappingCard_default.statusError].join(" "), children: [
|
|
8260
|
+
/* @__PURE__ */ jsx93("span", { className: ScMappingCard_default.statusIcon, children: /* @__PURE__ */ jsx93(
|
|
8261
|
+
SiconClose4,
|
|
8262
|
+
{
|
|
8263
|
+
size: 24,
|
|
8264
|
+
color: "var(--alias-text-and-icons-error, #d11a1a)"
|
|
8265
|
+
}
|
|
8266
|
+
) }),
|
|
8267
|
+
"Column Ignored"
|
|
8268
|
+
] }),
|
|
8269
|
+
/* @__PURE__ */ jsx93(
|
|
8270
|
+
"button",
|
|
8271
|
+
{
|
|
8272
|
+
type: "button",
|
|
8273
|
+
className: [ScMappingCard_default.btn, ScMappingCard_default.whiteBtn].join(" "),
|
|
8274
|
+
onClick: onEdit,
|
|
8275
|
+
children: "Edit"
|
|
8276
|
+
}
|
|
8277
|
+
)
|
|
8278
|
+
] })
|
|
8279
|
+
] })
|
|
8280
|
+
] })
|
|
8281
|
+
]
|
|
8282
|
+
}
|
|
8283
|
+
);
|
|
8284
|
+
};
|
|
8285
|
+
|
|
7870
8286
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.module.css
|
|
7871
8287
|
var ScThinkingStepIcon_default = {
|
|
7872
8288
|
scThinkingStepIcon: "ScThinkingStepIcon_scThinkingStepIcon",
|
|
@@ -7881,7 +8297,7 @@ var ScThinkingStepIcon_default = {
|
|
|
7881
8297
|
};
|
|
7882
8298
|
|
|
7883
8299
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.tsx
|
|
7884
|
-
import { jsx as
|
|
8300
|
+
import { jsx as jsx94, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
7885
8301
|
var ScThinkingStepIcon = ({
|
|
7886
8302
|
state = "default",
|
|
7887
8303
|
size = 12,
|
|
@@ -7890,13 +8306,13 @@ var ScThinkingStepIcon = ({
|
|
|
7890
8306
|
...props
|
|
7891
8307
|
}) => {
|
|
7892
8308
|
const variantsClassName = ScThinkingStepIcon_default["state-" + state];
|
|
7893
|
-
return /* @__PURE__ */
|
|
8309
|
+
return /* @__PURE__ */ jsx94(
|
|
7894
8310
|
"span",
|
|
7895
8311
|
{
|
|
7896
8312
|
className: ScThinkingStepIcon_default.scThinkingStepIcon + " " + (className ?? "") + " " + variantsClassName,
|
|
7897
8313
|
style: { width: size, height: size, ...style },
|
|
7898
8314
|
...props,
|
|
7899
|
-
children: /* @__PURE__ */
|
|
8315
|
+
children: /* @__PURE__ */ jsxs81(
|
|
7900
8316
|
"svg",
|
|
7901
8317
|
{
|
|
7902
8318
|
className: ScThinkingStepIcon_default.glyph,
|
|
@@ -7907,7 +8323,7 @@ var ScThinkingStepIcon = ({
|
|
|
7907
8323
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7908
8324
|
"aria-hidden": "true",
|
|
7909
8325
|
children: [
|
|
7910
|
-
state === "default" && /* @__PURE__ */
|
|
8326
|
+
state === "default" && /* @__PURE__ */ jsx94(
|
|
7911
8327
|
"circle",
|
|
7912
8328
|
{
|
|
7913
8329
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7918,7 +8334,7 @@ var ScThinkingStepIcon = ({
|
|
|
7918
8334
|
strokeLinecap: "round"
|
|
7919
8335
|
}
|
|
7920
8336
|
),
|
|
7921
|
-
state === "working" && /* @__PURE__ */
|
|
8337
|
+
state === "working" && /* @__PURE__ */ jsx94(
|
|
7922
8338
|
"path",
|
|
7923
8339
|
{
|
|
7924
8340
|
className: ScThinkingStepIcon_default.stroke + " " + ScThinkingStepIcon_default.spinner,
|
|
@@ -7928,7 +8344,7 @@ var ScThinkingStepIcon = ({
|
|
|
7928
8344
|
strokeLinejoin: "round"
|
|
7929
8345
|
}
|
|
7930
8346
|
),
|
|
7931
|
-
state === "completed" && /* @__PURE__ */
|
|
8347
|
+
state === "completed" && /* @__PURE__ */ jsx94(
|
|
7932
8348
|
"path",
|
|
7933
8349
|
{
|
|
7934
8350
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7938,7 +8354,7 @@ var ScThinkingStepIcon = ({
|
|
|
7938
8354
|
strokeLinejoin: "round"
|
|
7939
8355
|
}
|
|
7940
8356
|
),
|
|
7941
|
-
state === "error" && /* @__PURE__ */
|
|
8357
|
+
state === "error" && /* @__PURE__ */ jsx94(
|
|
7942
8358
|
"path",
|
|
7943
8359
|
{
|
|
7944
8360
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7977,8 +8393,8 @@ var ScInChatList_default = {
|
|
|
7977
8393
|
};
|
|
7978
8394
|
|
|
7979
8395
|
// src/SC-InChatList/ScInChatList.tsx
|
|
7980
|
-
import { SiconUp as
|
|
7981
|
-
import { jsx as
|
|
8396
|
+
import { SiconUp as SiconUp3, SiconDown as SiconDown3, SiconDot as SiconDot2 } from "@streamoid/icons";
|
|
8397
|
+
import { jsx as jsx95, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
7982
8398
|
var ScInChatList = ({
|
|
7983
8399
|
title = "Infrastructure that helps modern brands scale",
|
|
7984
8400
|
description = "Description",
|
|
@@ -7995,33 +8411,33 @@ var ScInChatList = ({
|
|
|
7995
8411
|
}) => {
|
|
7996
8412
|
const isExpandable = descriptionVisibility === "hidden" || descriptionVisibility === "visible";
|
|
7997
8413
|
const isExpanded = descriptionVisibility === "visible";
|
|
7998
|
-
return /* @__PURE__ */
|
|
8414
|
+
return /* @__PURE__ */ jsxs82(
|
|
7999
8415
|
"div",
|
|
8000
8416
|
{
|
|
8001
8417
|
className: ScInChatList_default.scInChatList + (className ? " " + className : ""),
|
|
8002
8418
|
style,
|
|
8003
8419
|
children: [
|
|
8004
|
-
leadingIndicator && /* @__PURE__ */
|
|
8005
|
-
/* @__PURE__ */
|
|
8006
|
-
/* @__PURE__ */
|
|
8007
|
-
showSteps && /* @__PURE__ */
|
|
8008
|
-
/* @__PURE__ */
|
|
8420
|
+
leadingIndicator && /* @__PURE__ */ jsx95("div", { className: ScInChatList_default.indicatorWrapper, children: /* @__PURE__ */ jsx95(ScThinkingStepIcon, { state: iconState }) }),
|
|
8421
|
+
/* @__PURE__ */ jsxs82("div", { className: ScInChatList_default.content, children: [
|
|
8422
|
+
/* @__PURE__ */ jsxs82("div", { className: ScInChatList_default.headerArea, children: [
|
|
8423
|
+
showSteps && /* @__PURE__ */ jsx95("p", { className: ScInChatList_default.stepCount, children: stepCount }),
|
|
8424
|
+
/* @__PURE__ */ jsxs82(
|
|
8009
8425
|
"div",
|
|
8010
8426
|
{
|
|
8011
8427
|
className: ScInChatList_default.titleRow + " " + (isExpandable ? ScInChatList_default.titleRowClickable : ScInChatList_default.titleRowStatic),
|
|
8012
8428
|
onClick: isExpandable ? onToggle : void 0,
|
|
8013
8429
|
children: [
|
|
8014
|
-
/* @__PURE__ */
|
|
8015
|
-
isExpandable && /* @__PURE__ */
|
|
8430
|
+
/* @__PURE__ */ jsx95("p", { className: ScInChatList_default.title, children: title }),
|
|
8431
|
+
isExpandable && /* @__PURE__ */ jsx95("div", { className: ScInChatList_default.chevronWrapper, children: isExpanded ? /* @__PURE__ */ jsx95(SiconUp3, { size: 12, className: ScInChatList_default.chevronIcon }) : /* @__PURE__ */ jsx95(SiconDown3, { size: 12, className: ScInChatList_default.chevronIcon }) })
|
|
8016
8432
|
]
|
|
8017
8433
|
}
|
|
8018
8434
|
),
|
|
8019
|
-
isExpanded && /* @__PURE__ */
|
|
8020
|
-
/* @__PURE__ */
|
|
8021
|
-
/* @__PURE__ */
|
|
8435
|
+
isExpanded && /* @__PURE__ */ jsxs82("div", { className: ScInChatList_default.descriptionRow, children: [
|
|
8436
|
+
/* @__PURE__ */ jsx95("div", { className: ScInChatList_default.descriptionIcon, children: /* @__PURE__ */ jsx95(SiconDot2, { size: 20, className: ScInChatList_default.descriptionDot }) }),
|
|
8437
|
+
/* @__PURE__ */ jsx95("p", { className: ScInChatList_default.descriptionText, children: description })
|
|
8022
8438
|
] })
|
|
8023
8439
|
] }),
|
|
8024
|
-
showTool && /* @__PURE__ */
|
|
8440
|
+
showTool && /* @__PURE__ */ jsx95("div", { className: ScInChatList_default.toolPill, children: /* @__PURE__ */ jsx95("p", { className: ScInChatList_default.toolText, children: toolUsing }) })
|
|
8025
8441
|
] })
|
|
8026
8442
|
]
|
|
8027
8443
|
}
|
|
@@ -8035,7 +8451,7 @@ var ScSubAgent_default = {
|
|
|
8035
8451
|
};
|
|
8036
8452
|
|
|
8037
8453
|
// src/SC-SubAgent/ScSubAgent.tsx
|
|
8038
|
-
import { jsx as
|
|
8454
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
8039
8455
|
function formatSubAgentLabel(agentName) {
|
|
8040
8456
|
const normalized = (agentName ?? "").trim();
|
|
8041
8457
|
if (!normalized) return "Using sub-agent...";
|
|
@@ -8048,12 +8464,12 @@ var ScSubAgent = ({
|
|
|
8048
8464
|
...props
|
|
8049
8465
|
}) => {
|
|
8050
8466
|
const label = text ?? formatSubAgentLabel(agentName);
|
|
8051
|
-
return /* @__PURE__ */
|
|
8467
|
+
return /* @__PURE__ */ jsx96(
|
|
8052
8468
|
"div",
|
|
8053
8469
|
{
|
|
8054
8470
|
className: [ScSubAgent_default.scSubAgent, className].filter(Boolean).join(" "),
|
|
8055
8471
|
...props,
|
|
8056
|
-
children: /* @__PURE__ */
|
|
8472
|
+
children: /* @__PURE__ */ jsx96("p", { className: ScSubAgent_default.label, children: label })
|
|
8057
8473
|
}
|
|
8058
8474
|
);
|
|
8059
8475
|
};
|
|
@@ -8067,7 +8483,7 @@ var ScInChatMessage_default = {
|
|
|
8067
8483
|
};
|
|
8068
8484
|
|
|
8069
8485
|
// src/SC-InChatMessage/ScInChatMessage.tsx
|
|
8070
|
-
import { jsx as
|
|
8486
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
8071
8487
|
var ScInChatMessage = ({
|
|
8072
8488
|
type = "input",
|
|
8073
8489
|
text,
|
|
@@ -8077,13 +8493,13 @@ var ScInChatMessage = ({
|
|
|
8077
8493
|
...props
|
|
8078
8494
|
}) => {
|
|
8079
8495
|
const variantsClassName = ScInChatMessage_default["type-" + type];
|
|
8080
|
-
return /* @__PURE__ */
|
|
8496
|
+
return /* @__PURE__ */ jsx97(
|
|
8081
8497
|
"div",
|
|
8082
8498
|
{
|
|
8083
8499
|
className: [ScInChatMessage_default.scInChatMessage, variantsClassName, className].filter(Boolean).join(" "),
|
|
8084
8500
|
id,
|
|
8085
8501
|
...props,
|
|
8086
|
-
children: /* @__PURE__ */
|
|
8502
|
+
children: /* @__PURE__ */ jsx97("p", { className: ScInChatMessage_default.text, children: children ?? text })
|
|
8087
8503
|
}
|
|
8088
8504
|
);
|
|
8089
8505
|
};
|
|
@@ -8100,7 +8516,7 @@ var ScSelection_default = {
|
|
|
8100
8516
|
};
|
|
8101
8517
|
|
|
8102
8518
|
// src/SC-Selection/ScSelection.tsx
|
|
8103
|
-
import { jsx as
|
|
8519
|
+
import { jsx as jsx98, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
8104
8520
|
var ScSelection = ({
|
|
8105
8521
|
title = "Title",
|
|
8106
8522
|
description = "Description",
|
|
@@ -8116,23 +8532,23 @@ var ScSelection = ({
|
|
|
8116
8532
|
onClick?.(event);
|
|
8117
8533
|
onSelect?.(value);
|
|
8118
8534
|
};
|
|
8119
|
-
return /* @__PURE__ */
|
|
8535
|
+
return /* @__PURE__ */ jsxs83(
|
|
8120
8536
|
"div",
|
|
8121
8537
|
{
|
|
8122
8538
|
className: [ScSelection_default.scSelection, variantsClassName, className].filter(Boolean).join(" "),
|
|
8123
8539
|
onClick: handleClick,
|
|
8124
8540
|
...props,
|
|
8125
8541
|
children: [
|
|
8126
|
-
/* @__PURE__ */
|
|
8542
|
+
/* @__PURE__ */ jsx98(
|
|
8127
8543
|
ScRadio,
|
|
8128
8544
|
{
|
|
8129
8545
|
state: active ? "selected" : "default",
|
|
8130
8546
|
className: ScSelection_default.scRadioInstance
|
|
8131
8547
|
}
|
|
8132
8548
|
),
|
|
8133
|
-
/* @__PURE__ */
|
|
8134
|
-
/* @__PURE__ */
|
|
8135
|
-
description && /* @__PURE__ */
|
|
8549
|
+
/* @__PURE__ */ jsxs83("div", { className: ScSelection_default.wrapper, children: [
|
|
8550
|
+
/* @__PURE__ */ jsx98("p", { className: ScSelection_default.title, children: title }),
|
|
8551
|
+
description && /* @__PURE__ */ jsx98("p", { className: ScSelection_default.description, children: description })
|
|
8136
8552
|
] })
|
|
8137
8553
|
]
|
|
8138
8554
|
}
|
|
@@ -8159,7 +8575,7 @@ var ScSelectionList_default = {
|
|
|
8159
8575
|
};
|
|
8160
8576
|
|
|
8161
8577
|
// src/SC-SelectionList/ScSelectionList.tsx
|
|
8162
|
-
import { jsx as
|
|
8578
|
+
import { jsx as jsx99, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
8163
8579
|
var ScSelectionList = ({
|
|
8164
8580
|
state = "default",
|
|
8165
8581
|
label = "Suggested Colours: ",
|
|
@@ -8182,14 +8598,14 @@ var ScSelectionList = ({
|
|
|
8182
8598
|
onChange?.(next);
|
|
8183
8599
|
if (next === "rejected") onReject?.();
|
|
8184
8600
|
};
|
|
8185
|
-
return /* @__PURE__ */
|
|
8601
|
+
return /* @__PURE__ */ jsxs84(
|
|
8186
8602
|
"div",
|
|
8187
8603
|
{
|
|
8188
8604
|
className: ScSelectionList_default.scSelectionList + (disabled ? " " + ScSelectionList_default.disabled : "") + (className ? " " + className : "") + " " + variantsClassName,
|
|
8189
8605
|
...props,
|
|
8190
8606
|
children: [
|
|
8191
|
-
/* @__PURE__ */
|
|
8192
|
-
/* @__PURE__ */
|
|
8607
|
+
/* @__PURE__ */ jsxs84("div", { className: ScSelectionList_default.toggles, children: [
|
|
8608
|
+
/* @__PURE__ */ jsx99(
|
|
8193
8609
|
"button",
|
|
8194
8610
|
{
|
|
8195
8611
|
type: "button",
|
|
@@ -8198,7 +8614,7 @@ var ScSelectionList = ({
|
|
|
8198
8614
|
disabled,
|
|
8199
8615
|
"aria-pressed": state === "approved",
|
|
8200
8616
|
"aria-label": state === "approved" ? "Revoke approval" : "Approve",
|
|
8201
|
-
children: /* @__PURE__ */
|
|
8617
|
+
children: /* @__PURE__ */ jsx99(
|
|
8202
8618
|
"svg",
|
|
8203
8619
|
{
|
|
8204
8620
|
className: ScSelectionList_default.checkIcon,
|
|
@@ -8207,7 +8623,7 @@ var ScSelectionList = ({
|
|
|
8207
8623
|
viewBox: "0 0 8 6",
|
|
8208
8624
|
fill: "none",
|
|
8209
8625
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8210
|
-
children: /* @__PURE__ */
|
|
8626
|
+
children: /* @__PURE__ */ jsx99(
|
|
8211
8627
|
"path",
|
|
8212
8628
|
{
|
|
8213
8629
|
d: "M0.5 3.5L2.5 5.5L7.5 0.5",
|
|
@@ -8220,7 +8636,7 @@ var ScSelectionList = ({
|
|
|
8220
8636
|
)
|
|
8221
8637
|
}
|
|
8222
8638
|
),
|
|
8223
|
-
/* @__PURE__ */
|
|
8639
|
+
/* @__PURE__ */ jsx99(
|
|
8224
8640
|
"button",
|
|
8225
8641
|
{
|
|
8226
8642
|
type: "button",
|
|
@@ -8229,7 +8645,7 @@ var ScSelectionList = ({
|
|
|
8229
8645
|
disabled,
|
|
8230
8646
|
"aria-pressed": state === "rejected",
|
|
8231
8647
|
"aria-label": state === "rejected" ? "Revoke rejection" : "Reject",
|
|
8232
|
-
children: /* @__PURE__ */
|
|
8648
|
+
children: /* @__PURE__ */ jsx99(
|
|
8233
8649
|
"svg",
|
|
8234
8650
|
{
|
|
8235
8651
|
className: ScSelectionList_default.closeIcon,
|
|
@@ -8238,7 +8654,7 @@ var ScSelectionList = ({
|
|
|
8238
8654
|
viewBox: "0 0 6.24261 6.24262",
|
|
8239
8655
|
fill: "none",
|
|
8240
8656
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8241
|
-
children: /* @__PURE__ */
|
|
8657
|
+
children: /* @__PURE__ */ jsx99(
|
|
8242
8658
|
"path",
|
|
8243
8659
|
{
|
|
8244
8660
|
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",
|
|
@@ -8252,9 +8668,9 @@ var ScSelectionList = ({
|
|
|
8252
8668
|
}
|
|
8253
8669
|
)
|
|
8254
8670
|
] }),
|
|
8255
|
-
/* @__PURE__ */
|
|
8256
|
-
/* @__PURE__ */
|
|
8257
|
-
/* @__PURE__ */
|
|
8671
|
+
/* @__PURE__ */ jsx99("div", { className: ScSelectionList_default.content, children: /* @__PURE__ */ jsxs84("div", { className: ScSelectionList_default.row, children: [
|
|
8672
|
+
/* @__PURE__ */ jsx99("span", { className: ScSelectionList_default.label, children: label }),
|
|
8673
|
+
/* @__PURE__ */ jsx99("span", { className: ScSelectionList_default.valuesPill, children: /* @__PURE__ */ jsx99("span", { className: ScSelectionList_default.valuesText, children: optionValues }) })
|
|
8258
8674
|
] }) })
|
|
8259
8675
|
]
|
|
8260
8676
|
}
|
|
@@ -8281,7 +8697,7 @@ var ScTextArea_default = {
|
|
|
8281
8697
|
};
|
|
8282
8698
|
|
|
8283
8699
|
// src/SC-textArea/ScTextArea.tsx
|
|
8284
|
-
import { jsx as
|
|
8700
|
+
import { jsx as jsx100, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
8285
8701
|
var ScTextArea = ({
|
|
8286
8702
|
state,
|
|
8287
8703
|
labelGroup = "",
|
|
@@ -8296,23 +8712,23 @@ var ScTextArea = ({
|
|
|
8296
8712
|
const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
|
|
8297
8713
|
const stateClass = ScTextArea_default["state-" + derivedState];
|
|
8298
8714
|
const labelGroupClass = ScTextArea_default["label-group-" + (labelGroup || "none")];
|
|
8299
|
-
return /* @__PURE__ */
|
|
8715
|
+
return /* @__PURE__ */ jsxs85(
|
|
8300
8716
|
"div",
|
|
8301
8717
|
{
|
|
8302
8718
|
className: [ScTextArea_default.scTextArea, stateClass, labelGroupClass, className].filter(Boolean).join(" "),
|
|
8303
8719
|
style,
|
|
8304
8720
|
children: [
|
|
8305
|
-
labelGroup && /* @__PURE__ */
|
|
8306
|
-
/* @__PURE__ */
|
|
8721
|
+
labelGroup && /* @__PURE__ */ jsxs85("div", { className: ScTextArea_default.labelContainer, children: [
|
|
8722
|
+
/* @__PURE__ */ jsxs85("div", { className: ScTextArea_default.label, children: [
|
|
8307
8723
|
label,
|
|
8308
8724
|
" "
|
|
8309
8725
|
] }),
|
|
8310
|
-
labelGroup === "text" && /* @__PURE__ */
|
|
8726
|
+
labelGroup === "text" && /* @__PURE__ */ jsxs85("div", { className: ScTextArea_default.info, children: [
|
|
8311
8727
|
info,
|
|
8312
8728
|
" "
|
|
8313
8729
|
] })
|
|
8314
8730
|
] }),
|
|
8315
|
-
/* @__PURE__ */
|
|
8731
|
+
/* @__PURE__ */ jsx100("div", { className: ScTextArea_default.inputContainer, children: /* @__PURE__ */ jsx100(
|
|
8316
8732
|
"textarea",
|
|
8317
8733
|
{
|
|
8318
8734
|
className: ScTextArea_default.inputText,
|
|
@@ -8359,7 +8775,7 @@ var ScSelect_default = {
|
|
|
8359
8775
|
};
|
|
8360
8776
|
|
|
8361
8777
|
// src/SC-select/ScSelect.tsx
|
|
8362
|
-
import { jsx as
|
|
8778
|
+
import { jsx as jsx101, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
8363
8779
|
var ScSelect = (props) => {
|
|
8364
8780
|
const {
|
|
8365
8781
|
value,
|
|
@@ -8399,10 +8815,10 @@ var ScSelect = (props) => {
|
|
|
8399
8815
|
labelGroup ? ScSelect_default["label-group-" + labelGroup] : void 0,
|
|
8400
8816
|
className
|
|
8401
8817
|
].filter(Boolean).join(" ");
|
|
8402
|
-
return /* @__PURE__ */
|
|
8403
|
-
labelGroup === "label" && label ? /* @__PURE__ */
|
|
8404
|
-
/* @__PURE__ */
|
|
8405
|
-
/* @__PURE__ */
|
|
8818
|
+
return /* @__PURE__ */ jsxs86("div", { className: rootClass, ref: rootRef, children: [
|
|
8819
|
+
labelGroup === "label" && label ? /* @__PURE__ */ jsx101("div", { className: ScSelect_default.labelContainer, children: /* @__PURE__ */ jsx101("div", { className: ScSelect_default.label, children: label }) }) : null,
|
|
8820
|
+
/* @__PURE__ */ jsxs86("div", { className: ScSelect_default.selectArea, children: [
|
|
8821
|
+
/* @__PURE__ */ jsxs86(
|
|
8406
8822
|
"button",
|
|
8407
8823
|
{
|
|
8408
8824
|
type: "button",
|
|
@@ -8412,18 +8828,18 @@ var ScSelect = (props) => {
|
|
|
8412
8828
|
"aria-haspopup": "listbox",
|
|
8413
8829
|
"aria-expanded": open,
|
|
8414
8830
|
children: [
|
|
8415
|
-
/* @__PURE__ */
|
|
8831
|
+
/* @__PURE__ */ jsx101(
|
|
8416
8832
|
"span",
|
|
8417
8833
|
{
|
|
8418
8834
|
className: [ScSelect_default.triggerText, selected ? void 0 : ScSelect_default.placeholder].filter(Boolean).join(" "),
|
|
8419
8835
|
children: selected ? selected.label : placeholder
|
|
8420
8836
|
}
|
|
8421
8837
|
),
|
|
8422
|
-
/* @__PURE__ */
|
|
8838
|
+
/* @__PURE__ */ jsx101(
|
|
8423
8839
|
"span",
|
|
8424
8840
|
{
|
|
8425
8841
|
className: [ScSelect_default.chevron, open ? ScSelect_default.chevronOpen : void 0].filter(Boolean).join(" "),
|
|
8426
|
-
children: /* @__PURE__ */
|
|
8842
|
+
children: /* @__PURE__ */ jsx101("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx101(
|
|
8427
8843
|
"path",
|
|
8428
8844
|
{
|
|
8429
8845
|
d: "M5 7.5L10 12.5L15 7.5",
|
|
@@ -8438,13 +8854,13 @@ var ScSelect = (props) => {
|
|
|
8438
8854
|
]
|
|
8439
8855
|
}
|
|
8440
8856
|
),
|
|
8441
|
-
open ? /* @__PURE__ */
|
|
8857
|
+
open ? /* @__PURE__ */ jsx101("div", { className: ScSelect_default.menu, role: "listbox", children: options.map((option) => {
|
|
8442
8858
|
const isSelected = option.id === value;
|
|
8443
8859
|
const optionClass = [
|
|
8444
8860
|
ScSelect_default.option,
|
|
8445
8861
|
isSelected ? ScSelect_default["option-selected"] : void 0
|
|
8446
8862
|
].filter(Boolean).join(" ");
|
|
8447
|
-
return /* @__PURE__ */
|
|
8863
|
+
return /* @__PURE__ */ jsxs86(
|
|
8448
8864
|
"div",
|
|
8449
8865
|
{
|
|
8450
8866
|
className: optionClass,
|
|
@@ -8452,8 +8868,8 @@ var ScSelect = (props) => {
|
|
|
8452
8868
|
"aria-selected": isSelected,
|
|
8453
8869
|
onClick: () => handleSelect(option.id),
|
|
8454
8870
|
children: [
|
|
8455
|
-
/* @__PURE__ */
|
|
8456
|
-
option.description ? /* @__PURE__ */
|
|
8871
|
+
/* @__PURE__ */ jsx101("span", { className: ScSelect_default.optionLabel, children: option.label }),
|
|
8872
|
+
option.description ? /* @__PURE__ */ jsx101("span", { className: ScSelect_default.optionDescription, children: option.description }) : null
|
|
8457
8873
|
]
|
|
8458
8874
|
},
|
|
8459
8875
|
option.id
|
|
@@ -8488,7 +8904,7 @@ var ScFileField_default = {
|
|
|
8488
8904
|
};
|
|
8489
8905
|
|
|
8490
8906
|
// src/SC-fileField/ScFileField.tsx
|
|
8491
|
-
import { jsx as
|
|
8907
|
+
import { jsx as jsx102, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
8492
8908
|
var ScFileField = (props) => {
|
|
8493
8909
|
const {
|
|
8494
8910
|
onFileSelect,
|
|
@@ -8511,7 +8927,7 @@ var ScFileField = (props) => {
|
|
|
8511
8927
|
onFileSelect(e.target.files);
|
|
8512
8928
|
}
|
|
8513
8929
|
};
|
|
8514
|
-
const uploadIcon = /* @__PURE__ */
|
|
8930
|
+
const uploadIcon = /* @__PURE__ */ jsxs87(
|
|
8515
8931
|
"svg",
|
|
8516
8932
|
{
|
|
8517
8933
|
className: ScFileField_default.uploadIcon,
|
|
@@ -8525,13 +8941,13 @@ var ScFileField = (props) => {
|
|
|
8525
8941
|
strokeLinejoin: "round",
|
|
8526
8942
|
"aria-hidden": "true",
|
|
8527
8943
|
children: [
|
|
8528
|
-
/* @__PURE__ */
|
|
8529
|
-
/* @__PURE__ */
|
|
8530
|
-
/* @__PURE__ */
|
|
8944
|
+
/* @__PURE__ */ jsx102("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
8945
|
+
/* @__PURE__ */ jsx102("path", { d: "M12 16V4" }),
|
|
8946
|
+
/* @__PURE__ */ jsx102("path", { d: "M7 9l5-5 5 5" })
|
|
8531
8947
|
]
|
|
8532
8948
|
}
|
|
8533
8949
|
);
|
|
8534
|
-
const fileIcon = /* @__PURE__ */
|
|
8950
|
+
const fileIcon = /* @__PURE__ */ jsxs87(
|
|
8535
8951
|
"svg",
|
|
8536
8952
|
{
|
|
8537
8953
|
className: ScFileField_default.fileIcon,
|
|
@@ -8545,12 +8961,12 @@ var ScFileField = (props) => {
|
|
|
8545
8961
|
strokeLinejoin: "round",
|
|
8546
8962
|
"aria-hidden": "true",
|
|
8547
8963
|
children: [
|
|
8548
|
-
/* @__PURE__ */
|
|
8549
|
-
/* @__PURE__ */
|
|
8964
|
+
/* @__PURE__ */ jsx102("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
|
|
8965
|
+
/* @__PURE__ */ jsx102("path", { d: "M14 2v6h6" })
|
|
8550
8966
|
]
|
|
8551
8967
|
}
|
|
8552
8968
|
);
|
|
8553
|
-
const clearIcon = /* @__PURE__ */
|
|
8969
|
+
const clearIcon = /* @__PURE__ */ jsxs87(
|
|
8554
8970
|
"svg",
|
|
8555
8971
|
{
|
|
8556
8972
|
width: "20",
|
|
@@ -8563,20 +8979,20 @@ var ScFileField = (props) => {
|
|
|
8563
8979
|
strokeLinejoin: "round",
|
|
8564
8980
|
"aria-hidden": "true",
|
|
8565
8981
|
children: [
|
|
8566
|
-
/* @__PURE__ */
|
|
8567
|
-
/* @__PURE__ */
|
|
8982
|
+
/* @__PURE__ */ jsx102("path", { d: "M18 6L6 18" }),
|
|
8983
|
+
/* @__PURE__ */ jsx102("path", { d: "M6 6l12 12" })
|
|
8568
8984
|
]
|
|
8569
8985
|
}
|
|
8570
8986
|
);
|
|
8571
8987
|
const rootClass = [ScFileField_default.scFileField, className].filter(Boolean).join(" ");
|
|
8572
8988
|
const showRow = hasFile || isUploading;
|
|
8573
|
-
return /* @__PURE__ */
|
|
8574
|
-
label ? /* @__PURE__ */
|
|
8575
|
-
showRow ? /* @__PURE__ */
|
|
8989
|
+
return /* @__PURE__ */ jsxs87("div", { className: rootClass, children: [
|
|
8990
|
+
label ? /* @__PURE__ */ jsx102("div", { className: ScFileField_default.labelContainer, children: /* @__PURE__ */ jsx102("div", { className: ScFileField_default.label, children: label }) }) : null,
|
|
8991
|
+
showRow ? /* @__PURE__ */ jsxs87("div", { className: ScFileField_default.inputContainer, children: [
|
|
8576
8992
|
fileIcon,
|
|
8577
|
-
/* @__PURE__ */
|
|
8578
|
-
/* @__PURE__ */
|
|
8579
|
-
isUploading ? /* @__PURE__ */
|
|
8993
|
+
/* @__PURE__ */ jsxs87("div", { className: ScFileField_default.fileInfo, children: [
|
|
8994
|
+
/* @__PURE__ */ jsx102("span", { className: ScFileField_default.fileName, children: fileName }),
|
|
8995
|
+
isUploading ? /* @__PURE__ */ jsx102("div", { className: ScFileField_default.progressTrack, children: /* @__PURE__ */ jsx102(
|
|
8580
8996
|
"div",
|
|
8581
8997
|
{
|
|
8582
8998
|
className: ScFileField_default.progressFill,
|
|
@@ -8584,7 +9000,7 @@ var ScFileField = (props) => {
|
|
|
8584
9000
|
}
|
|
8585
9001
|
) }) : null
|
|
8586
9002
|
] }),
|
|
8587
|
-
!isUploading ? /* @__PURE__ */
|
|
9003
|
+
!isUploading ? /* @__PURE__ */ jsx102(
|
|
8588
9004
|
"button",
|
|
8589
9005
|
{
|
|
8590
9006
|
type: "button",
|
|
@@ -8594,8 +9010,8 @@ var ScFileField = (props) => {
|
|
|
8594
9010
|
children: clearIcon
|
|
8595
9011
|
}
|
|
8596
9012
|
) : null
|
|
8597
|
-
] }) : /* @__PURE__ */
|
|
8598
|
-
/* @__PURE__ */
|
|
9013
|
+
] }) : /* @__PURE__ */ jsxs87("label", { className: ScFileField_default.dropzone, children: [
|
|
9014
|
+
/* @__PURE__ */ jsx102(
|
|
8599
9015
|
"input",
|
|
8600
9016
|
{
|
|
8601
9017
|
ref: inputRef,
|
|
@@ -8607,16 +9023,16 @@ var ScFileField = (props) => {
|
|
|
8607
9023
|
}
|
|
8608
9024
|
),
|
|
8609
9025
|
uploadIcon,
|
|
8610
|
-
/* @__PURE__ */
|
|
8611
|
-
/* @__PURE__ */
|
|
9026
|
+
/* @__PURE__ */ jsxs87("div", { className: ScFileField_default.dropzoneText, children: [
|
|
9027
|
+
/* @__PURE__ */ jsx102("span", { className: ScFileField_default.dropzoneAction, children: "Click to upload" }),
|
|
8612
9028
|
" or drag and drop"
|
|
8613
9029
|
] }),
|
|
8614
|
-
accept ? /* @__PURE__ */
|
|
9030
|
+
accept ? /* @__PURE__ */ jsxs87("div", { className: ScFileField_default.acceptedText, children: [
|
|
8615
9031
|
"Accepted: ",
|
|
8616
9032
|
accept
|
|
8617
9033
|
] }) : null
|
|
8618
9034
|
] }),
|
|
8619
|
-
error ? /* @__PURE__ */
|
|
9035
|
+
error ? /* @__PURE__ */ jsx102("div", { className: ScFileField_default.errorText, children: error }) : null
|
|
8620
9036
|
] });
|
|
8621
9037
|
};
|
|
8622
9038
|
|
|
@@ -8646,7 +9062,7 @@ var ScMediaApproval_default = {
|
|
|
8646
9062
|
};
|
|
8647
9063
|
|
|
8648
9064
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
8649
|
-
import { Fragment as
|
|
9065
|
+
import { Fragment as Fragment25, jsx as jsx103, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
8650
9066
|
var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
|
|
8651
9067
|
var isVideoUrl = (url, mediaType) => {
|
|
8652
9068
|
if (mediaType === "video") return true;
|
|
@@ -8688,9 +9104,9 @@ var ScMediaApproval = (props) => {
|
|
|
8688
9104
|
const handlePreview = () => {
|
|
8689
9105
|
if (currentUrl && onPreview) onPreview(currentUrl);
|
|
8690
9106
|
};
|
|
8691
|
-
return /* @__PURE__ */
|
|
8692
|
-
/* @__PURE__ */
|
|
8693
|
-
currentUrl ? currentIsVideo ? /* @__PURE__ */
|
|
9107
|
+
return /* @__PURE__ */ jsxs88("div", { className: [ScMediaApproval_default.scMediaApproval, className].filter(Boolean).join(" "), children: [
|
|
9108
|
+
/* @__PURE__ */ jsxs88("div", { className: ScMediaApproval_default.mediaFrame, children: [
|
|
9109
|
+
currentUrl ? currentIsVideo ? /* @__PURE__ */ jsx103(
|
|
8694
9110
|
"video",
|
|
8695
9111
|
{
|
|
8696
9112
|
className: ScMediaApproval_default.media,
|
|
@@ -8699,7 +9115,7 @@ var ScMediaApproval = (props) => {
|
|
|
8699
9115
|
onClick: handlePreview,
|
|
8700
9116
|
onLoadedData: () => setMediaLoading(false)
|
|
8701
9117
|
}
|
|
8702
|
-
) : /* @__PURE__ */
|
|
9118
|
+
) : /* @__PURE__ */ jsx103(
|
|
8703
9119
|
"img",
|
|
8704
9120
|
{
|
|
8705
9121
|
className: ScMediaApproval_default.media,
|
|
@@ -8708,8 +9124,8 @@ var ScMediaApproval = (props) => {
|
|
|
8708
9124
|
onClick: handlePreview,
|
|
8709
9125
|
onLoad: () => setMediaLoading(false)
|
|
8710
9126
|
}
|
|
8711
|
-
) : /* @__PURE__ */
|
|
8712
|
-
(loading || mediaLoading) && /* @__PURE__ */
|
|
9127
|
+
) : /* @__PURE__ */ jsx103("div", { className: ScMediaApproval_default.mediaEmpty }),
|
|
9128
|
+
(loading || mediaLoading) && /* @__PURE__ */ jsx103("div", { className: ScMediaApproval_default.spinnerOverlay, children: /* @__PURE__ */ jsx103(
|
|
8713
9129
|
"svg",
|
|
8714
9130
|
{
|
|
8715
9131
|
className: ScMediaApproval_default.spinner,
|
|
@@ -8717,7 +9133,7 @@ var ScMediaApproval = (props) => {
|
|
|
8717
9133
|
height: "32",
|
|
8718
9134
|
viewBox: "0 0 24 24",
|
|
8719
9135
|
fill: "none",
|
|
8720
|
-
children: /* @__PURE__ */
|
|
9136
|
+
children: /* @__PURE__ */ jsx103(
|
|
8721
9137
|
"path",
|
|
8722
9138
|
{
|
|
8723
9139
|
d: "M12 3a9 9 0 1 0 9 9",
|
|
@@ -8728,15 +9144,15 @@ var ScMediaApproval = (props) => {
|
|
|
8728
9144
|
)
|
|
8729
9145
|
}
|
|
8730
9146
|
) }),
|
|
8731
|
-
total > 1 && /* @__PURE__ */
|
|
8732
|
-
/* @__PURE__ */
|
|
9147
|
+
total > 1 && /* @__PURE__ */ jsxs88(Fragment25, { children: [
|
|
9148
|
+
/* @__PURE__ */ jsx103(
|
|
8733
9149
|
"button",
|
|
8734
9150
|
{
|
|
8735
9151
|
type: "button",
|
|
8736
9152
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navPrev].join(" "),
|
|
8737
9153
|
"aria-label": "Previous",
|
|
8738
9154
|
onClick: () => goTo(safeIndex - 1),
|
|
8739
|
-
children: /* @__PURE__ */
|
|
9155
|
+
children: /* @__PURE__ */ jsx103("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx103(
|
|
8740
9156
|
"path",
|
|
8741
9157
|
{
|
|
8742
9158
|
d: "M15 6L9 12L15 18",
|
|
@@ -8748,14 +9164,14 @@ var ScMediaApproval = (props) => {
|
|
|
8748
9164
|
) })
|
|
8749
9165
|
}
|
|
8750
9166
|
),
|
|
8751
|
-
/* @__PURE__ */
|
|
9167
|
+
/* @__PURE__ */ jsx103(
|
|
8752
9168
|
"button",
|
|
8753
9169
|
{
|
|
8754
9170
|
type: "button",
|
|
8755
9171
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navNext].join(" "),
|
|
8756
9172
|
"aria-label": "Next",
|
|
8757
9173
|
onClick: () => goTo(safeIndex + 1),
|
|
8758
|
-
children: /* @__PURE__ */
|
|
9174
|
+
children: /* @__PURE__ */ jsx103("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx103(
|
|
8759
9175
|
"path",
|
|
8760
9176
|
{
|
|
8761
9177
|
d: "M9 6L15 12L9 18",
|
|
@@ -8767,12 +9183,12 @@ var ScMediaApproval = (props) => {
|
|
|
8767
9183
|
) })
|
|
8768
9184
|
}
|
|
8769
9185
|
),
|
|
8770
|
-
/* @__PURE__ */
|
|
9186
|
+
/* @__PURE__ */ jsxs88("div", { className: ScMediaApproval_default.counterBadge, children: [
|
|
8771
9187
|
safeIndex + 1,
|
|
8772
9188
|
" / ",
|
|
8773
9189
|
total
|
|
8774
9190
|
] }),
|
|
8775
|
-
/* @__PURE__ */
|
|
9191
|
+
/* @__PURE__ */ jsx103("div", { className: ScMediaApproval_default.dots, children: mediaUrls.map((_, i) => /* @__PURE__ */ jsx103(
|
|
8776
9192
|
"button",
|
|
8777
9193
|
{
|
|
8778
9194
|
type: "button",
|
|
@@ -8787,9 +9203,9 @@ var ScMediaApproval = (props) => {
|
|
|
8787
9203
|
)) })
|
|
8788
9204
|
] })
|
|
8789
9205
|
] }),
|
|
8790
|
-
/* @__PURE__ */
|
|
8791
|
-
/* @__PURE__ */
|
|
8792
|
-
/* @__PURE__ */
|
|
9206
|
+
/* @__PURE__ */ jsxs88("div", { className: ScMediaApproval_default.feedbackBlock, children: [
|
|
9207
|
+
/* @__PURE__ */ jsx103("div", { className: ScMediaApproval_default.label, children: feedbackLabel }),
|
|
9208
|
+
/* @__PURE__ */ jsx103("div", { className: ScMediaApproval_default.inputContainer, children: /* @__PURE__ */ jsx103(
|
|
8793
9209
|
"textarea",
|
|
8794
9210
|
{
|
|
8795
9211
|
className: ScMediaApproval_default.textArea,
|
|
@@ -8825,8 +9241,8 @@ var ScMediaSelect_default = {
|
|
|
8825
9241
|
};
|
|
8826
9242
|
|
|
8827
9243
|
// src/SC-mediaSelect/ScMediaSelect.tsx
|
|
8828
|
-
import { jsx as
|
|
8829
|
-
var CheckBadge = () => /* @__PURE__ */
|
|
9244
|
+
import { jsx as jsx104, jsxs as jsxs89 } from "react/jsx-runtime";
|
|
9245
|
+
var CheckBadge = () => /* @__PURE__ */ jsx104("span", { className: ScMediaSelect_default.checkBadge, children: /* @__PURE__ */ jsx104("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx104(
|
|
8830
9246
|
"path",
|
|
8831
9247
|
{
|
|
8832
9248
|
d: "M3.5 7.25L6 9.75L10.5 4.75",
|
|
@@ -8836,7 +9252,7 @@ var CheckBadge = () => /* @__PURE__ */ jsx98("span", { className: ScMediaSelect_
|
|
|
8836
9252
|
strokeLinejoin: "round"
|
|
8837
9253
|
}
|
|
8838
9254
|
) }) });
|
|
8839
|
-
var MaximizeIcon = () => /* @__PURE__ */
|
|
9255
|
+
var MaximizeIcon = () => /* @__PURE__ */ jsx104("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx104(
|
|
8840
9256
|
"path",
|
|
8841
9257
|
{
|
|
8842
9258
|
d: "M15 3H21V9M9 21H3V15M21 3L14 10M3 21L10 14",
|
|
@@ -8866,11 +9282,11 @@ var ScMediaSelect = (props) => {
|
|
|
8866
9282
|
let countLabel = selectedCount + " of " + total + " selected";
|
|
8867
9283
|
if (min > 0) countLabel += " (min " + min + ")";
|
|
8868
9284
|
if (resolvedMax < total) countLabel += " (max " + resolvedMax + ")";
|
|
8869
|
-
return /* @__PURE__ */
|
|
8870
|
-
/* @__PURE__ */
|
|
8871
|
-
/* @__PURE__ */
|
|
8872
|
-
/* @__PURE__ */
|
|
8873
|
-
/* @__PURE__ */
|
|
9285
|
+
return /* @__PURE__ */ jsxs89("div", { className: [ScMediaSelect_default.scMediaSelect, className].filter(Boolean).join(" "), children: [
|
|
9286
|
+
/* @__PURE__ */ jsxs89("div", { className: ScMediaSelect_default.header, children: [
|
|
9287
|
+
/* @__PURE__ */ jsx104("span", { className: ScMediaSelect_default.countLabel, children: countLabel }),
|
|
9288
|
+
/* @__PURE__ */ jsxs89("div", { className: ScMediaSelect_default.actions, children: [
|
|
9289
|
+
/* @__PURE__ */ jsx104(
|
|
8874
9290
|
"button",
|
|
8875
9291
|
{
|
|
8876
9292
|
type: "button",
|
|
@@ -8879,8 +9295,8 @@ var ScMediaSelect = (props) => {
|
|
|
8879
9295
|
children: "Select all"
|
|
8880
9296
|
}
|
|
8881
9297
|
),
|
|
8882
|
-
/* @__PURE__ */
|
|
8883
|
-
/* @__PURE__ */
|
|
9298
|
+
/* @__PURE__ */ jsx104("span", { className: ScMediaSelect_default.divider, children: "|" }),
|
|
9299
|
+
/* @__PURE__ */ jsx104(
|
|
8884
9300
|
"button",
|
|
8885
9301
|
{
|
|
8886
9302
|
type: "button",
|
|
@@ -8891,13 +9307,13 @@ var ScMediaSelect = (props) => {
|
|
|
8891
9307
|
)
|
|
8892
9308
|
] })
|
|
8893
9309
|
] }),
|
|
8894
|
-
/* @__PURE__ */
|
|
9310
|
+
/* @__PURE__ */ jsx104("div", { className: ScMediaSelect_default.grid, children: items.map((url, index) => {
|
|
8895
9311
|
const isSelected = selectedSet.has(url);
|
|
8896
9312
|
const itemClass = [
|
|
8897
9313
|
ScMediaSelect_default.item,
|
|
8898
9314
|
isSelected ? ScMediaSelect_default["state-selected"] : ScMediaSelect_default["state-default"]
|
|
8899
9315
|
].filter(Boolean).join(" ");
|
|
8900
|
-
return /* @__PURE__ */
|
|
9316
|
+
return /* @__PURE__ */ jsxs89(
|
|
8901
9317
|
"div",
|
|
8902
9318
|
{
|
|
8903
9319
|
className: itemClass,
|
|
@@ -8906,9 +9322,9 @@ var ScMediaSelect = (props) => {
|
|
|
8906
9322
|
tabIndex: 0,
|
|
8907
9323
|
"aria-pressed": isSelected,
|
|
8908
9324
|
children: [
|
|
8909
|
-
mediaType === "video" ? /* @__PURE__ */
|
|
8910
|
-
isSelected && /* @__PURE__ */
|
|
8911
|
-
onPreview && /* @__PURE__ */
|
|
9325
|
+
mediaType === "video" ? /* @__PURE__ */ jsx104("video", { className: ScMediaSelect_default.media, src: url, muted: true, playsInline: true }) : /* @__PURE__ */ jsx104("img", { className: ScMediaSelect_default.media, src: url, alt: "" }),
|
|
9326
|
+
isSelected && /* @__PURE__ */ jsx104(CheckBadge, {}),
|
|
9327
|
+
onPreview && /* @__PURE__ */ jsx104(
|
|
8912
9328
|
"button",
|
|
8913
9329
|
{
|
|
8914
9330
|
type: "button",
|
|
@@ -8918,7 +9334,7 @@ var ScMediaSelect = (props) => {
|
|
|
8918
9334
|
onPreview(url);
|
|
8919
9335
|
},
|
|
8920
9336
|
"aria-label": "Preview",
|
|
8921
|
-
children: /* @__PURE__ */
|
|
9337
|
+
children: /* @__PURE__ */ jsx104(MaximizeIcon, {})
|
|
8922
9338
|
}
|
|
8923
9339
|
)
|
|
8924
9340
|
]
|
|
@@ -8953,7 +9369,7 @@ var ScTodoList_default = {
|
|
|
8953
9369
|
};
|
|
8954
9370
|
|
|
8955
9371
|
// src/SC-todoList/ScTodoList.tsx
|
|
8956
|
-
import { jsx as
|
|
9372
|
+
import { jsx as jsx105, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
8957
9373
|
var ScTodoList = ({
|
|
8958
9374
|
items = [],
|
|
8959
9375
|
onToggle,
|
|
@@ -8987,9 +9403,9 @@ var ScTodoList = ({
|
|
|
8987
9403
|
onAdd?.(newValue);
|
|
8988
9404
|
setNewValue("");
|
|
8989
9405
|
};
|
|
8990
|
-
return /* @__PURE__ */
|
|
8991
|
-
total > 0 && /* @__PURE__ */
|
|
8992
|
-
/* @__PURE__ */
|
|
9406
|
+
return /* @__PURE__ */ jsxs90("div", { className: [ScTodoList_default.scTodoList, className].filter(Boolean).join(" "), children: [
|
|
9407
|
+
total > 0 && /* @__PURE__ */ jsxs90("div", { className: ScTodoList_default.progress, children: [
|
|
9408
|
+
/* @__PURE__ */ jsx105(
|
|
8993
9409
|
"svg",
|
|
8994
9410
|
{
|
|
8995
9411
|
className: ScTodoList_default.progressIcon,
|
|
@@ -8998,7 +9414,7 @@ var ScTodoList = ({
|
|
|
8998
9414
|
viewBox: "0 0 14 14",
|
|
8999
9415
|
fill: "none",
|
|
9000
9416
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9001
|
-
children: /* @__PURE__ */
|
|
9417
|
+
children: /* @__PURE__ */ jsx105(
|
|
9002
9418
|
"path",
|
|
9003
9419
|
{
|
|
9004
9420
|
d: "M3 7L6 10L11 4",
|
|
@@ -9010,25 +9426,25 @@ var ScTodoList = ({
|
|
|
9010
9426
|
)
|
|
9011
9427
|
}
|
|
9012
9428
|
),
|
|
9013
|
-
/* @__PURE__ */
|
|
9429
|
+
/* @__PURE__ */ jsxs90("span", { className: ScTodoList_default.progressText, children: [
|
|
9014
9430
|
completed,
|
|
9015
9431
|
" of ",
|
|
9016
9432
|
total,
|
|
9017
9433
|
" completed"
|
|
9018
9434
|
] })
|
|
9019
9435
|
] }),
|
|
9020
|
-
/* @__PURE__ */
|
|
9436
|
+
/* @__PURE__ */ jsx105("div", { className: ScTodoList_default.rows, children: items.map((item) => {
|
|
9021
9437
|
const isEditing = editingId === item.id;
|
|
9022
9438
|
const isCompleted = item.status === "completed";
|
|
9023
|
-
return /* @__PURE__ */
|
|
9024
|
-
/* @__PURE__ */
|
|
9439
|
+
return /* @__PURE__ */ jsxs90("div", { className: ScTodoList_default.row, children: [
|
|
9440
|
+
/* @__PURE__ */ jsx105(
|
|
9025
9441
|
"button",
|
|
9026
9442
|
{
|
|
9027
9443
|
type: "button",
|
|
9028
9444
|
className: ScTodoList_default.checkbox,
|
|
9029
9445
|
"aria-label": isCompleted ? "Mark as pending" : "Mark as completed",
|
|
9030
9446
|
onClick: () => onToggle?.(item.id),
|
|
9031
|
-
children: isCompleted ? /* @__PURE__ */
|
|
9447
|
+
children: isCompleted ? /* @__PURE__ */ jsxs90(
|
|
9032
9448
|
"svg",
|
|
9033
9449
|
{
|
|
9034
9450
|
width: "18",
|
|
@@ -9037,8 +9453,8 @@ var ScTodoList = ({
|
|
|
9037
9453
|
fill: "none",
|
|
9038
9454
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9039
9455
|
children: [
|
|
9040
|
-
/* @__PURE__ */
|
|
9041
|
-
/* @__PURE__ */
|
|
9456
|
+
/* @__PURE__ */ jsx105("circle", { cx: "9", cy: "9", r: "9", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
9457
|
+
/* @__PURE__ */ jsx105(
|
|
9042
9458
|
"path",
|
|
9043
9459
|
{
|
|
9044
9460
|
d: "M5.25 9L7.75 11.5L12.75 6.5",
|
|
@@ -9050,7 +9466,7 @@ var ScTodoList = ({
|
|
|
9050
9466
|
)
|
|
9051
9467
|
]
|
|
9052
9468
|
}
|
|
9053
|
-
) : /* @__PURE__ */
|
|
9469
|
+
) : /* @__PURE__ */ jsx105(
|
|
9054
9470
|
"svg",
|
|
9055
9471
|
{
|
|
9056
9472
|
width: "18",
|
|
@@ -9058,7 +9474,7 @@ var ScTodoList = ({
|
|
|
9058
9474
|
viewBox: "0 0 18 18",
|
|
9059
9475
|
fill: "none",
|
|
9060
9476
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9061
|
-
children: /* @__PURE__ */
|
|
9477
|
+
children: /* @__PURE__ */ jsx105(
|
|
9062
9478
|
"circle",
|
|
9063
9479
|
{
|
|
9064
9480
|
cx: "9",
|
|
@@ -9072,7 +9488,7 @@ var ScTodoList = ({
|
|
|
9072
9488
|
)
|
|
9073
9489
|
}
|
|
9074
9490
|
),
|
|
9075
|
-
isEditing ? /* @__PURE__ */
|
|
9491
|
+
isEditing ? /* @__PURE__ */ jsx105(
|
|
9076
9492
|
"input",
|
|
9077
9493
|
{
|
|
9078
9494
|
className: ScTodoList_default.editInput,
|
|
@@ -9090,7 +9506,7 @@ var ScTodoList = ({
|
|
|
9090
9506
|
}
|
|
9091
9507
|
}
|
|
9092
9508
|
}
|
|
9093
|
-
) : /* @__PURE__ */
|
|
9509
|
+
) : /* @__PURE__ */ jsx105(
|
|
9094
9510
|
"span",
|
|
9095
9511
|
{
|
|
9096
9512
|
className: [
|
|
@@ -9100,15 +9516,15 @@ var ScTodoList = ({
|
|
|
9100
9516
|
children: item.content
|
|
9101
9517
|
}
|
|
9102
9518
|
),
|
|
9103
|
-
!isEditing && /* @__PURE__ */
|
|
9104
|
-
/* @__PURE__ */
|
|
9519
|
+
!isEditing && /* @__PURE__ */ jsxs90("div", { className: ScTodoList_default.actions, children: [
|
|
9520
|
+
/* @__PURE__ */ jsx105(
|
|
9105
9521
|
"button",
|
|
9106
9522
|
{
|
|
9107
9523
|
type: "button",
|
|
9108
9524
|
className: ScTodoList_default.actionButton,
|
|
9109
9525
|
"aria-label": "Edit item",
|
|
9110
9526
|
onClick: () => startEditing(item),
|
|
9111
|
-
children: /* @__PURE__ */
|
|
9527
|
+
children: /* @__PURE__ */ jsx105(
|
|
9112
9528
|
"svg",
|
|
9113
9529
|
{
|
|
9114
9530
|
width: "16",
|
|
@@ -9116,7 +9532,7 @@ var ScTodoList = ({
|
|
|
9116
9532
|
viewBox: "0 0 16 16",
|
|
9117
9533
|
fill: "none",
|
|
9118
9534
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9119
|
-
children: /* @__PURE__ */
|
|
9535
|
+
children: /* @__PURE__ */ jsx105(
|
|
9120
9536
|
"path",
|
|
9121
9537
|
{
|
|
9122
9538
|
d: "M11.333 2.667a1.414 1.414 0 0 1 2 2L5.333 12.667l-2.667.667.667-2.667 8-8Z",
|
|
@@ -9130,14 +9546,14 @@ var ScTodoList = ({
|
|
|
9130
9546
|
)
|
|
9131
9547
|
}
|
|
9132
9548
|
),
|
|
9133
|
-
/* @__PURE__ */
|
|
9549
|
+
/* @__PURE__ */ jsx105(
|
|
9134
9550
|
"button",
|
|
9135
9551
|
{
|
|
9136
9552
|
type: "button",
|
|
9137
9553
|
className: [ScTodoList_default.actionButton, ScTodoList_default.actionButtonDanger].filter(Boolean).join(" "),
|
|
9138
9554
|
"aria-label": "Delete item",
|
|
9139
9555
|
onClick: () => onDelete?.(item.id),
|
|
9140
|
-
children: /* @__PURE__ */
|
|
9556
|
+
children: /* @__PURE__ */ jsx105(
|
|
9141
9557
|
"svg",
|
|
9142
9558
|
{
|
|
9143
9559
|
width: "16",
|
|
@@ -9145,7 +9561,7 @@ var ScTodoList = ({
|
|
|
9145
9561
|
viewBox: "0 0 16 16",
|
|
9146
9562
|
fill: "none",
|
|
9147
9563
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9148
|
-
children: /* @__PURE__ */
|
|
9564
|
+
children: /* @__PURE__ */ jsx105(
|
|
9149
9565
|
"path",
|
|
9150
9566
|
{
|
|
9151
9567
|
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",
|
|
@@ -9162,8 +9578,8 @@ var ScTodoList = ({
|
|
|
9162
9578
|
] })
|
|
9163
9579
|
] }, item.id);
|
|
9164
9580
|
}) }),
|
|
9165
|
-
/* @__PURE__ */
|
|
9166
|
-
/* @__PURE__ */
|
|
9581
|
+
/* @__PURE__ */ jsxs90("div", { className: ScTodoList_default.addRow, children: [
|
|
9582
|
+
/* @__PURE__ */ jsx105(
|
|
9167
9583
|
"input",
|
|
9168
9584
|
{
|
|
9169
9585
|
className: ScTodoList_default.addInput,
|
|
@@ -9178,7 +9594,7 @@ var ScTodoList = ({
|
|
|
9178
9594
|
}
|
|
9179
9595
|
}
|
|
9180
9596
|
),
|
|
9181
|
-
/* @__PURE__ */
|
|
9597
|
+
/* @__PURE__ */ jsx105(
|
|
9182
9598
|
"button",
|
|
9183
9599
|
{
|
|
9184
9600
|
type: "button",
|
|
@@ -9186,7 +9602,7 @@ var ScTodoList = ({
|
|
|
9186
9602
|
"aria-label": "Add item",
|
|
9187
9603
|
disabled: newValue.trim().length === 0,
|
|
9188
9604
|
onClick: commitAdd,
|
|
9189
|
-
children: /* @__PURE__ */
|
|
9605
|
+
children: /* @__PURE__ */ jsx105(
|
|
9190
9606
|
"svg",
|
|
9191
9607
|
{
|
|
9192
9608
|
width: "18",
|
|
@@ -9194,7 +9610,7 @@ var ScTodoList = ({
|
|
|
9194
9610
|
viewBox: "0 0 18 18",
|
|
9195
9611
|
fill: "none",
|
|
9196
9612
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9197
|
-
children: /* @__PURE__ */
|
|
9613
|
+
children: /* @__PURE__ */ jsx105(
|
|
9198
9614
|
"path",
|
|
9199
9615
|
{
|
|
9200
9616
|
d: "M9 4v10M4 9h10",
|
|
@@ -9221,18 +9637,18 @@ var ScRoleMobile_default = {
|
|
|
9221
9637
|
};
|
|
9222
9638
|
|
|
9223
9639
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
9224
|
-
import { jsx as
|
|
9640
|
+
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
9225
9641
|
var ScRoleMobile = ({
|
|
9226
9642
|
role = "admin",
|
|
9227
9643
|
className,
|
|
9228
9644
|
...props
|
|
9229
9645
|
}) => {
|
|
9230
|
-
return /* @__PURE__ */
|
|
9646
|
+
return /* @__PURE__ */ jsx106(
|
|
9231
9647
|
"div",
|
|
9232
9648
|
{
|
|
9233
9649
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
9234
9650
|
...props,
|
|
9235
|
-
children: /* @__PURE__ */
|
|
9651
|
+
children: /* @__PURE__ */ jsx106("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
9236
9652
|
}
|
|
9237
9653
|
);
|
|
9238
9654
|
};
|
|
@@ -9249,7 +9665,7 @@ var ScProfileV2Mobile_default = {
|
|
|
9249
9665
|
};
|
|
9250
9666
|
|
|
9251
9667
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
9252
|
-
import { jsx as
|
|
9668
|
+
import { jsx as jsx107, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
9253
9669
|
var ScProfileV2Mobile = ({
|
|
9254
9670
|
name = "Chris Hemsworth",
|
|
9255
9671
|
email = "chris@kepler.com",
|
|
@@ -9259,17 +9675,17 @@ var ScProfileV2Mobile = ({
|
|
|
9259
9675
|
...props
|
|
9260
9676
|
}) => {
|
|
9261
9677
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
9262
|
-
const profileImage = /* @__PURE__ */
|
|
9263
|
-
return /* @__PURE__ */
|
|
9678
|
+
const profileImage = /* @__PURE__ */ jsx107("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx107("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ jsx107("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
9679
|
+
return /* @__PURE__ */ jsxs91(
|
|
9264
9680
|
"div",
|
|
9265
9681
|
{
|
|
9266
9682
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
9267
9683
|
...props,
|
|
9268
9684
|
children: [
|
|
9269
9685
|
dpPosition === "left" && profileImage,
|
|
9270
|
-
/* @__PURE__ */
|
|
9271
|
-
/* @__PURE__ */
|
|
9272
|
-
/* @__PURE__ */
|
|
9686
|
+
/* @__PURE__ */ jsxs91("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
9687
|
+
/* @__PURE__ */ jsx107("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
9688
|
+
/* @__PURE__ */ jsx107("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
9273
9689
|
] }),
|
|
9274
9690
|
dpPosition === "right" && profileImage
|
|
9275
9691
|
]
|
|
@@ -9296,7 +9712,7 @@ var ScTableListMobile_default = {
|
|
|
9296
9712
|
};
|
|
9297
9713
|
|
|
9298
9714
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
9299
|
-
import { jsx as
|
|
9715
|
+
import { jsx as jsx108, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
9300
9716
|
var ScTableListMobile = ({
|
|
9301
9717
|
name = "Chris Hemsworth",
|
|
9302
9718
|
email = "chris@kepler.com",
|
|
@@ -9309,25 +9725,25 @@ var ScTableListMobile = ({
|
|
|
9309
9725
|
...props
|
|
9310
9726
|
}) => {
|
|
9311
9727
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
9312
|
-
return /* @__PURE__ */
|
|
9728
|
+
return /* @__PURE__ */ jsxs92(
|
|
9313
9729
|
"div",
|
|
9314
9730
|
{
|
|
9315
9731
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
9316
9732
|
onClick: onRowClick,
|
|
9317
9733
|
...props,
|
|
9318
9734
|
children: [
|
|
9319
|
-
/* @__PURE__ */
|
|
9320
|
-
/* @__PURE__ */
|
|
9321
|
-
/* @__PURE__ */
|
|
9322
|
-
/* @__PURE__ */
|
|
9735
|
+
/* @__PURE__ */ jsxs92("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
9736
|
+
/* @__PURE__ */ jsxs92("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
9737
|
+
/* @__PURE__ */ jsx108("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
9738
|
+
/* @__PURE__ */ jsx108("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
9323
9739
|
] }),
|
|
9324
|
-
/* @__PURE__ */
|
|
9740
|
+
/* @__PURE__ */ jsx108("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx108("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ jsx108("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
9325
9741
|
] }),
|
|
9326
|
-
/* @__PURE__ */
|
|
9327
|
-
/* @__PURE__ */
|
|
9328
|
-
/* @__PURE__ */
|
|
9329
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */
|
|
9330
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */
|
|
9742
|
+
/* @__PURE__ */ jsxs92("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
9743
|
+
/* @__PURE__ */ jsx108("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ jsx108("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
9744
|
+
/* @__PURE__ */ jsxs92("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
9745
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ jsx108("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ jsx108("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
9746
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ jsx108("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ jsx108("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
9331
9747
|
] })
|
|
9332
9748
|
] })
|
|
9333
9749
|
]
|
|
@@ -9355,7 +9771,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
9355
9771
|
};
|
|
9356
9772
|
|
|
9357
9773
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
9358
|
-
import { jsx as
|
|
9774
|
+
import { jsx as jsx109, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
9359
9775
|
var ScWorkspaceSwitchMobile = ({
|
|
9360
9776
|
storeName = "Stores",
|
|
9361
9777
|
initials = "WS",
|
|
@@ -9368,24 +9784,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
9368
9784
|
...props
|
|
9369
9785
|
}) => {
|
|
9370
9786
|
const variant = currentWs ? "current" : "other";
|
|
9371
|
-
return /* @__PURE__ */
|
|
9787
|
+
return /* @__PURE__ */ jsxs93(
|
|
9372
9788
|
"div",
|
|
9373
9789
|
{
|
|
9374
9790
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
9375
9791
|
onClick,
|
|
9376
9792
|
...props,
|
|
9377
9793
|
children: [
|
|
9378
|
-
/* @__PURE__ */
|
|
9379
|
-
/* @__PURE__ */
|
|
9380
|
-
/* @__PURE__ */
|
|
9381
|
-
/* @__PURE__ */
|
|
9794
|
+
/* @__PURE__ */ jsxs93("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
9795
|
+
/* @__PURE__ */ jsxs93("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
9796
|
+
/* @__PURE__ */ jsx109("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ jsx109("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
9797
|
+
/* @__PURE__ */ jsx109("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
9382
9798
|
] }),
|
|
9383
|
-
/* @__PURE__ */
|
|
9799
|
+
/* @__PURE__ */ jsx109("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx109("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
9384
9800
|
] }),
|
|
9385
|
-
/* @__PURE__ */
|
|
9386
|
-
/* @__PURE__ */
|
|
9387
|
-
/* @__PURE__ */
|
|
9388
|
-
/* @__PURE__ */
|
|
9801
|
+
/* @__PURE__ */ jsx109("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
9802
|
+
/* @__PURE__ */ jsxs93("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
9803
|
+
/* @__PURE__ */ jsx109("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ jsx109("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
9804
|
+
/* @__PURE__ */ jsx109("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
9389
9805
|
] })
|
|
9390
9806
|
]
|
|
9391
9807
|
}
|
|
@@ -9412,7 +9828,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
9412
9828
|
};
|
|
9413
9829
|
|
|
9414
9830
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
9415
|
-
import { jsx as
|
|
9831
|
+
import { jsx as jsx110, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
9416
9832
|
var ScWorkspaceSettingsMobile = ({
|
|
9417
9833
|
storeName = "Stores",
|
|
9418
9834
|
initials = "WS",
|
|
@@ -9427,28 +9843,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
9427
9843
|
...props
|
|
9428
9844
|
}) => {
|
|
9429
9845
|
const variant = currentWs ? "current" : "other";
|
|
9430
|
-
return /* @__PURE__ */
|
|
9846
|
+
return /* @__PURE__ */ jsxs94(
|
|
9431
9847
|
"div",
|
|
9432
9848
|
{
|
|
9433
9849
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
9434
9850
|
onClick,
|
|
9435
9851
|
...props,
|
|
9436
9852
|
children: [
|
|
9437
|
-
/* @__PURE__ */
|
|
9438
|
-
/* @__PURE__ */
|
|
9439
|
-
/* @__PURE__ */
|
|
9440
|
-
/* @__PURE__ */
|
|
9853
|
+
/* @__PURE__ */ jsxs94("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
9854
|
+
/* @__PURE__ */ jsxs94("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
9855
|
+
/* @__PURE__ */ jsx110("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ jsx110("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
9856
|
+
/* @__PURE__ */ jsx110("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
9441
9857
|
] }),
|
|
9442
|
-
/* @__PURE__ */
|
|
9858
|
+
/* @__PURE__ */ jsx110("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx110("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
9443
9859
|
] }),
|
|
9444
|
-
/* @__PURE__ */
|
|
9445
|
-
/* @__PURE__ */
|
|
9446
|
-
/* @__PURE__ */
|
|
9447
|
-
/* @__PURE__ */
|
|
9860
|
+
/* @__PURE__ */ jsx110("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
9861
|
+
/* @__PURE__ */ jsxs94("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
9862
|
+
/* @__PURE__ */ jsx110("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ jsx110("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
9863
|
+
/* @__PURE__ */ jsx110("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
9448
9864
|
] }),
|
|
9449
|
-
/* @__PURE__ */
|
|
9450
|
-
/* @__PURE__ */
|
|
9451
|
-
/* @__PURE__ */
|
|
9865
|
+
/* @__PURE__ */ jsxs94("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
9866
|
+
/* @__PURE__ */ jsx110("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ jsx110("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
9867
|
+
/* @__PURE__ */ jsx110("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
9452
9868
|
] })
|
|
9453
9869
|
]
|
|
9454
9870
|
}
|
|
@@ -9471,7 +9887,7 @@ var ScMobileTopNav_default = {
|
|
|
9471
9887
|
};
|
|
9472
9888
|
|
|
9473
9889
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
9474
|
-
import { Fragment as
|
|
9890
|
+
import { Fragment as Fragment26, jsx as jsx111, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
9475
9891
|
var ScMobileTopNav = ({
|
|
9476
9892
|
type = "home",
|
|
9477
9893
|
searchIcon = false,
|
|
@@ -9494,22 +9910,22 @@ var ScMobileTopNav = ({
|
|
|
9494
9910
|
}) => {
|
|
9495
9911
|
const hasBorder = type === "chat" || type === "inApp";
|
|
9496
9912
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
9497
|
-
return /* @__PURE__ */
|
|
9913
|
+
return /* @__PURE__ */ jsxs95(
|
|
9498
9914
|
"div",
|
|
9499
9915
|
{
|
|
9500
9916
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
9501
9917
|
...props,
|
|
9502
9918
|
children: [
|
|
9503
|
-
type === "home" && /* @__PURE__ */
|
|
9504
|
-
type === "chat" && /* @__PURE__ */
|
|
9505
|
-
/* @__PURE__ */
|
|
9506
|
-
/* @__PURE__ */
|
|
9507
|
-
/* @__PURE__ */
|
|
9919
|
+
type === "home" && /* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
9920
|
+
type === "chat" && /* @__PURE__ */ jsxs95(Fragment26, { children: [
|
|
9921
|
+
/* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
9922
|
+
/* @__PURE__ */ jsx111("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
9923
|
+
/* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
9508
9924
|
] }),
|
|
9509
|
-
showSearch && /* @__PURE__ */
|
|
9510
|
-
/* @__PURE__ */
|
|
9511
|
-
/* @__PURE__ */
|
|
9512
|
-
/* @__PURE__ */
|
|
9925
|
+
showSearch && /* @__PURE__ */ jsxs95(Fragment26, { children: [
|
|
9926
|
+
/* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs95("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
9927
|
+
/* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
9928
|
+
/* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx111(
|
|
9513
9929
|
"input",
|
|
9514
9930
|
{
|
|
9515
9931
|
type: "text",
|
|
@@ -9520,17 +9936,17 @@ var ScMobileTopNav = ({
|
|
|
9520
9936
|
}
|
|
9521
9937
|
) })
|
|
9522
9938
|
] }) }),
|
|
9523
|
-
/* @__PURE__ */
|
|
9939
|
+
/* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
9524
9940
|
] }),
|
|
9525
|
-
type === "inApp" && !search && /* @__PURE__ */
|
|
9526
|
-
/* @__PURE__ */
|
|
9527
|
-
/* @__PURE__ */
|
|
9528
|
-
/* @__PURE__ */
|
|
9941
|
+
type === "inApp" && !search && /* @__PURE__ */ jsxs95(Fragment26, { children: [
|
|
9942
|
+
/* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
9943
|
+
/* @__PURE__ */ jsx111("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
9944
|
+
/* @__PURE__ */ jsx111(
|
|
9529
9945
|
"div",
|
|
9530
9946
|
{
|
|
9531
9947
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
9532
9948
|
onClick: onSearchClick,
|
|
9533
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */
|
|
9949
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx111("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
9534
9950
|
}
|
|
9535
9951
|
)
|
|
9536
9952
|
] })
|
|
@@ -9551,7 +9967,7 @@ var ScMobileBottomAction_default = {
|
|
|
9551
9967
|
};
|
|
9552
9968
|
|
|
9553
9969
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
9554
|
-
import { jsx as
|
|
9970
|
+
import { jsx as jsx112, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
9555
9971
|
var ScMobileBottomAction = ({
|
|
9556
9972
|
text = "Save Changes",
|
|
9557
9973
|
disabled = false,
|
|
@@ -9563,28 +9979,28 @@ var ScMobileBottomAction = ({
|
|
|
9563
9979
|
...props
|
|
9564
9980
|
}) => {
|
|
9565
9981
|
const isTwoButton = !!secondaryText;
|
|
9566
|
-
return /* @__PURE__ */
|
|
9982
|
+
return /* @__PURE__ */ jsxs96(
|
|
9567
9983
|
"div",
|
|
9568
9984
|
{
|
|
9569
9985
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
9570
9986
|
...props,
|
|
9571
9987
|
children: [
|
|
9572
|
-
isTwoButton && /* @__PURE__ */
|
|
9988
|
+
isTwoButton && /* @__PURE__ */ jsx112(
|
|
9573
9989
|
"button",
|
|
9574
9990
|
{
|
|
9575
9991
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
9576
9992
|
onClick: onSecondaryClick,
|
|
9577
9993
|
disabled: secondaryDisabled,
|
|
9578
|
-
children: /* @__PURE__ */
|
|
9994
|
+
children: /* @__PURE__ */ jsx112("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
9579
9995
|
}
|
|
9580
9996
|
),
|
|
9581
|
-
/* @__PURE__ */
|
|
9997
|
+
/* @__PURE__ */ jsx112(
|
|
9582
9998
|
"button",
|
|
9583
9999
|
{
|
|
9584
10000
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
9585
10001
|
onClick,
|
|
9586
10002
|
disabled,
|
|
9587
|
-
children: /* @__PURE__ */
|
|
10003
|
+
children: /* @__PURE__ */ jsx112("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
9588
10004
|
}
|
|
9589
10005
|
)
|
|
9590
10006
|
]
|
|
@@ -9602,7 +10018,7 @@ var ScPopUpMenu_default = {
|
|
|
9602
10018
|
};
|
|
9603
10019
|
|
|
9604
10020
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
9605
|
-
import { jsx as
|
|
10021
|
+
import { jsx as jsx113, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
9606
10022
|
var ScPopUpMenu = ({
|
|
9607
10023
|
menu = "Options",
|
|
9608
10024
|
state = "default",
|
|
@@ -9611,15 +10027,15 @@ var ScPopUpMenu = ({
|
|
|
9611
10027
|
className,
|
|
9612
10028
|
...props
|
|
9613
10029
|
}) => {
|
|
9614
|
-
return /* @__PURE__ */
|
|
10030
|
+
return /* @__PURE__ */ jsxs97(
|
|
9615
10031
|
"div",
|
|
9616
10032
|
{
|
|
9617
10033
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
9618
10034
|
onClick,
|
|
9619
10035
|
...props,
|
|
9620
10036
|
children: [
|
|
9621
|
-
icon && /* @__PURE__ */
|
|
9622
|
-
/* @__PURE__ */
|
|
10037
|
+
icon && /* @__PURE__ */ jsx113("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
10038
|
+
/* @__PURE__ */ jsx113("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
9623
10039
|
]
|
|
9624
10040
|
}
|
|
9625
10041
|
);
|
|
@@ -9645,7 +10061,7 @@ var ScReferralCardMobile_default = {
|
|
|
9645
10061
|
};
|
|
9646
10062
|
|
|
9647
10063
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
9648
|
-
import { jsx as
|
|
10064
|
+
import { jsx as jsx114, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
9649
10065
|
var ScReferralCardMobile = ({
|
|
9650
10066
|
name = "Chris Hemsworth",
|
|
9651
10067
|
email = "chris@kepler.com",
|
|
@@ -9658,27 +10074,27 @@ var ScReferralCardMobile = ({
|
|
|
9658
10074
|
...props
|
|
9659
10075
|
}) => {
|
|
9660
10076
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
9661
|
-
return /* @__PURE__ */
|
|
10077
|
+
return /* @__PURE__ */ jsxs98(
|
|
9662
10078
|
"div",
|
|
9663
10079
|
{
|
|
9664
10080
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
9665
10081
|
onClick,
|
|
9666
10082
|
...props,
|
|
9667
10083
|
children: [
|
|
9668
|
-
/* @__PURE__ */
|
|
9669
|
-
/* @__PURE__ */
|
|
9670
|
-
/* @__PURE__ */
|
|
9671
|
-
/* @__PURE__ */
|
|
9672
|
-
/* @__PURE__ */
|
|
9673
|
-
/* @__PURE__ */
|
|
10084
|
+
/* @__PURE__ */ jsxs98("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
10085
|
+
/* @__PURE__ */ jsxs98("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
10086
|
+
/* @__PURE__ */ jsx114("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx114("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ jsx114("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
10087
|
+
/* @__PURE__ */ jsxs98("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
10088
|
+
/* @__PURE__ */ jsx114("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
10089
|
+
/* @__PURE__ */ jsx114("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
9674
10090
|
] })
|
|
9675
10091
|
] }),
|
|
9676
|
-
/* @__PURE__ */
|
|
10092
|
+
/* @__PURE__ */ jsx114("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx114("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
9677
10093
|
] }),
|
|
9678
|
-
/* @__PURE__ */
|
|
9679
|
-
/* @__PURE__ */
|
|
9680
|
-
/* @__PURE__ */
|
|
9681
|
-
/* @__PURE__ */
|
|
10094
|
+
/* @__PURE__ */ jsx114("div", { className: ScReferralCardMobile_default.divider }),
|
|
10095
|
+
/* @__PURE__ */ jsxs98("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
10096
|
+
/* @__PURE__ */ jsx114("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
10097
|
+
/* @__PURE__ */ jsx114("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
9682
10098
|
] })
|
|
9683
10099
|
]
|
|
9684
10100
|
}
|
|
@@ -9695,19 +10111,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
9695
10111
|
};
|
|
9696
10112
|
|
|
9697
10113
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
9698
|
-
import { jsx as
|
|
10114
|
+
import { jsx as jsx115, jsxs as jsxs99 } from "react/jsx-runtime";
|
|
9699
10115
|
var InvoiceHistoryMobile = ({
|
|
9700
10116
|
invoiceId = "# INV-2800-2026",
|
|
9701
10117
|
date = "Nov 9th, 2025",
|
|
9702
10118
|
amount = "\u20B9320.89",
|
|
9703
10119
|
className
|
|
9704
10120
|
}) => {
|
|
9705
|
-
return /* @__PURE__ */
|
|
9706
|
-
/* @__PURE__ */
|
|
9707
|
-
/* @__PURE__ */
|
|
9708
|
-
/* @__PURE__ */
|
|
10121
|
+
return /* @__PURE__ */ jsxs99("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
10122
|
+
/* @__PURE__ */ jsxs99("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
10123
|
+
/* @__PURE__ */ jsx115("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
10124
|
+
/* @__PURE__ */ jsx115("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
9709
10125
|
] }),
|
|
9710
|
-
/* @__PURE__ */
|
|
10126
|
+
/* @__PURE__ */ jsx115("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
9711
10127
|
] });
|
|
9712
10128
|
};
|
|
9713
10129
|
|
|
@@ -9725,7 +10141,7 @@ var UsageHistoryMobile_default = {
|
|
|
9725
10141
|
};
|
|
9726
10142
|
|
|
9727
10143
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
9728
|
-
import { jsx as
|
|
10144
|
+
import { jsx as jsx116, jsxs as jsxs100 } from "react/jsx-runtime";
|
|
9729
10145
|
var UsageHistoryMobile = ({
|
|
9730
10146
|
serviceName = "Artifax Generation",
|
|
9731
10147
|
credits = "50",
|
|
@@ -9734,18 +10150,18 @@ var UsageHistoryMobile = ({
|
|
|
9734
10150
|
balance = "84,902",
|
|
9735
10151
|
className
|
|
9736
10152
|
}) => {
|
|
9737
|
-
return /* @__PURE__ */
|
|
9738
|
-
/* @__PURE__ */
|
|
9739
|
-
/* @__PURE__ */
|
|
9740
|
-
/* @__PURE__ */
|
|
10153
|
+
return /* @__PURE__ */ jsxs100("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
10154
|
+
/* @__PURE__ */ jsxs100("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
10155
|
+
/* @__PURE__ */ jsx116("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
10156
|
+
/* @__PURE__ */ jsx116("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
9741
10157
|
] }),
|
|
9742
|
-
/* @__PURE__ */
|
|
9743
|
-
/* @__PURE__ */
|
|
9744
|
-
/* @__PURE__ */
|
|
9745
|
-
/* @__PURE__ */
|
|
9746
|
-
/* @__PURE__ */
|
|
10158
|
+
/* @__PURE__ */ jsxs100("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
10159
|
+
/* @__PURE__ */ jsxs100("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
10160
|
+
/* @__PURE__ */ jsx116("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
10161
|
+
/* @__PURE__ */ jsx116("div", { className: UsageHistoryMobile_default.divider }),
|
|
10162
|
+
/* @__PURE__ */ jsx116("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
9747
10163
|
] }),
|
|
9748
|
-
/* @__PURE__ */
|
|
10164
|
+
/* @__PURE__ */ jsx116("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
9749
10165
|
] })
|
|
9750
10166
|
] });
|
|
9751
10167
|
};
|
|
@@ -9769,7 +10185,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
9769
10185
|
};
|
|
9770
10186
|
|
|
9771
10187
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
9772
|
-
import { jsx as
|
|
10188
|
+
import { jsx as jsx117, jsxs as jsxs101 } from "react/jsx-runtime";
|
|
9773
10189
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
9774
10190
|
wsName = "Workspace name is kepler",
|
|
9775
10191
|
initials = "WS",
|
|
@@ -9782,14 +10198,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
9782
10198
|
className,
|
|
9783
10199
|
...props
|
|
9784
10200
|
}) => {
|
|
9785
|
-
return /* @__PURE__ */
|
|
10201
|
+
return /* @__PURE__ */ jsx117(
|
|
9786
10202
|
"div",
|
|
9787
10203
|
{
|
|
9788
10204
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
9789
10205
|
onClick,
|
|
9790
10206
|
...props,
|
|
9791
|
-
children: /* @__PURE__ */
|
|
9792
|
-
/* @__PURE__ */
|
|
10207
|
+
children: /* @__PURE__ */ jsxs101("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
10208
|
+
/* @__PURE__ */ jsx117("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx117(
|
|
9793
10209
|
ScDp,
|
|
9794
10210
|
{
|
|
9795
10211
|
type: imageUrl ? "image" : "initial",
|
|
@@ -9803,14 +10219,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
9803
10219
|
}
|
|
9804
10220
|
}
|
|
9805
10221
|
) }),
|
|
9806
|
-
/* @__PURE__ */
|
|
9807
|
-
/* @__PURE__ */
|
|
9808
|
-
/* @__PURE__ */
|
|
9809
|
-
/* @__PURE__ */
|
|
9810
|
-
/* @__PURE__ */
|
|
9811
|
-
/* @__PURE__ */
|
|
9812
|
-
/* @__PURE__ */
|
|
9813
|
-
/* @__PURE__ */
|
|
10222
|
+
/* @__PURE__ */ jsxs101("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
10223
|
+
/* @__PURE__ */ jsx117("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
10224
|
+
/* @__PURE__ */ jsxs101("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
10225
|
+
/* @__PURE__ */ jsx117("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
10226
|
+
/* @__PURE__ */ jsx117("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
10227
|
+
/* @__PURE__ */ jsx117("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
10228
|
+
/* @__PURE__ */ jsx117("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
10229
|
+
/* @__PURE__ */ jsx117("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
9814
10230
|
] })
|
|
9815
10231
|
] })
|
|
9816
10232
|
] })
|
|
@@ -9837,7 +10253,7 @@ var ScImageField_default = {
|
|
|
9837
10253
|
|
|
9838
10254
|
// src/SC-imageField/ScImageField.tsx
|
|
9839
10255
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
9840
|
-
import { jsx as
|
|
10256
|
+
import { jsx as jsx118, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
9841
10257
|
var ScImageField = ({
|
|
9842
10258
|
label = "Label",
|
|
9843
10259
|
imagePreview,
|
|
@@ -9860,8 +10276,8 @@ var ScImageField = ({
|
|
|
9860
10276
|
}
|
|
9861
10277
|
e.target.value = "";
|
|
9862
10278
|
}
|
|
9863
|
-
return /* @__PURE__ */
|
|
9864
|
-
/* @__PURE__ */
|
|
10279
|
+
return /* @__PURE__ */ jsxs102("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
10280
|
+
/* @__PURE__ */ jsx118(
|
|
9865
10281
|
"input",
|
|
9866
10282
|
{
|
|
9867
10283
|
ref: inputRef,
|
|
@@ -9871,9 +10287,9 @@ var ScImageField = ({
|
|
|
9871
10287
|
onChange: handleChange
|
|
9872
10288
|
}
|
|
9873
10289
|
),
|
|
9874
|
-
/* @__PURE__ */
|
|
9875
|
-
hasImage ? /* @__PURE__ */
|
|
9876
|
-
/* @__PURE__ */
|
|
10290
|
+
/* @__PURE__ */ jsx118("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ jsx118("div", { className: ScImageField_default.label, children: label }) }),
|
|
10291
|
+
hasImage ? /* @__PURE__ */ jsxs102("div", { className: ScImageField_default.previewArea, children: [
|
|
10292
|
+
/* @__PURE__ */ jsx118(
|
|
9877
10293
|
"img",
|
|
9878
10294
|
{
|
|
9879
10295
|
className: ScImageField_default.previewImage,
|
|
@@ -9881,8 +10297,8 @@ var ScImageField = ({
|
|
|
9881
10297
|
alt: "preview"
|
|
9882
10298
|
}
|
|
9883
10299
|
),
|
|
9884
|
-
/* @__PURE__ */
|
|
9885
|
-
/* @__PURE__ */
|
|
10300
|
+
/* @__PURE__ */ jsx118("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
10301
|
+
/* @__PURE__ */ jsx118(
|
|
9886
10302
|
SiconDelete2,
|
|
9887
10303
|
{
|
|
9888
10304
|
className: ScImageField_default.removeIcon,
|
|
@@ -9893,9 +10309,9 @@ var ScImageField = ({
|
|
|
9893
10309
|
}
|
|
9894
10310
|
}
|
|
9895
10311
|
)
|
|
9896
|
-
] }) : /* @__PURE__ */
|
|
9897
|
-
/* @__PURE__ */
|
|
9898
|
-
/* @__PURE__ */
|
|
10312
|
+
] }) : /* @__PURE__ */ jsxs102("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
10313
|
+
/* @__PURE__ */ jsx118(SiconUpload2, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
10314
|
+
/* @__PURE__ */ jsx118("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
9899
10315
|
] })
|
|
9900
10316
|
] });
|
|
9901
10317
|
};
|
|
@@ -9909,7 +10325,7 @@ var ScSettingsTabComp_default = {
|
|
|
9909
10325
|
};
|
|
9910
10326
|
|
|
9911
10327
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
9912
|
-
import { jsx as
|
|
10328
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
9913
10329
|
var ScSettingsTabComp = ({
|
|
9914
10330
|
tabName = "Tab",
|
|
9915
10331
|
active = false,
|
|
@@ -9917,12 +10333,12 @@ var ScSettingsTabComp = ({
|
|
|
9917
10333
|
className
|
|
9918
10334
|
}) => {
|
|
9919
10335
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
9920
|
-
return /* @__PURE__ */
|
|
10336
|
+
return /* @__PURE__ */ jsx119(
|
|
9921
10337
|
"div",
|
|
9922
10338
|
{
|
|
9923
10339
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
9924
10340
|
onClick,
|
|
9925
|
-
children: /* @__PURE__ */
|
|
10341
|
+
children: /* @__PURE__ */ jsx119("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
9926
10342
|
}
|
|
9927
10343
|
);
|
|
9928
10344
|
};
|
|
@@ -9942,7 +10358,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
9942
10358
|
|
|
9943
10359
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
9944
10360
|
import { SiconCredits as SiconCredits2 } from "@streamoid/icons";
|
|
9945
|
-
import { jsx as
|
|
10361
|
+
import { jsx as jsx120, jsxs as jsxs103 } from "react/jsx-runtime";
|
|
9946
10362
|
var ScCreditsUsageCardMobile = ({
|
|
9947
10363
|
usageLabel = "Credits usage",
|
|
9948
10364
|
usageText = "8,450 / 30,000",
|
|
@@ -9952,23 +10368,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
9952
10368
|
className,
|
|
9953
10369
|
...props
|
|
9954
10370
|
}) => {
|
|
9955
|
-
return /* @__PURE__ */
|
|
9956
|
-
/* @__PURE__ */
|
|
9957
|
-
/* @__PURE__ */
|
|
10371
|
+
return /* @__PURE__ */ jsxs103("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
10372
|
+
/* @__PURE__ */ jsxs103("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
10373
|
+
/* @__PURE__ */ jsx120(
|
|
9958
10374
|
SiconCredits2,
|
|
9959
10375
|
{
|
|
9960
10376
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
9961
10377
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
9962
10378
|
}
|
|
9963
10379
|
),
|
|
9964
|
-
/* @__PURE__ */
|
|
10380
|
+
/* @__PURE__ */ jsx120("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
9965
10381
|
] }),
|
|
9966
|
-
/* @__PURE__ */
|
|
9967
|
-
/* @__PURE__ */
|
|
9968
|
-
/* @__PURE__ */
|
|
9969
|
-
/* @__PURE__ */
|
|
10382
|
+
/* @__PURE__ */ jsx120("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
10383
|
+
/* @__PURE__ */ jsxs103("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
10384
|
+
/* @__PURE__ */ jsx120("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
10385
|
+
/* @__PURE__ */ jsx120("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
9970
10386
|
] }),
|
|
9971
|
-
/* @__PURE__ */
|
|
10387
|
+
/* @__PURE__ */ jsx120(
|
|
9972
10388
|
ScButton,
|
|
9973
10389
|
{
|
|
9974
10390
|
text: buyButtonText,
|
|
@@ -10010,7 +10426,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
10010
10426
|
|
|
10011
10427
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
10012
10428
|
import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
|
|
10013
|
-
import { Fragment as
|
|
10429
|
+
import { Fragment as Fragment27, jsx as jsx121, jsxs as jsxs104 } from "react/jsx-runtime";
|
|
10014
10430
|
var ScPlanDetailsCardMobile = ({
|
|
10015
10431
|
planName = "Pro",
|
|
10016
10432
|
planCredits = "30,000 credits",
|
|
@@ -10024,20 +10440,20 @@ var ScPlanDetailsCardMobile = ({
|
|
|
10024
10440
|
className,
|
|
10025
10441
|
...props
|
|
10026
10442
|
}) => {
|
|
10027
|
-
return /* @__PURE__ */
|
|
10028
|
-
/* @__PURE__ */
|
|
10029
|
-
/* @__PURE__ */
|
|
10030
|
-
/* @__PURE__ */
|
|
10443
|
+
return /* @__PURE__ */ jsxs104("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
10444
|
+
/* @__PURE__ */ jsxs104("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
10445
|
+
/* @__PURE__ */ jsxs104("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
10446
|
+
/* @__PURE__ */ jsx121(
|
|
10031
10447
|
SiconBilling4,
|
|
10032
10448
|
{
|
|
10033
10449
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
10034
10450
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
10035
10451
|
}
|
|
10036
10452
|
),
|
|
10037
|
-
/* @__PURE__ */
|
|
10453
|
+
/* @__PURE__ */ jsx121("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
10038
10454
|
] }),
|
|
10039
|
-
/* @__PURE__ */
|
|
10040
|
-
/* @__PURE__ */
|
|
10455
|
+
/* @__PURE__ */ jsx121("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx121("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs104(Fragment27, { children: [
|
|
10456
|
+
/* @__PURE__ */ jsx121(
|
|
10041
10457
|
ScBadges,
|
|
10042
10458
|
{
|
|
10043
10459
|
text: badgeText,
|
|
@@ -10046,28 +10462,28 @@ var ScPlanDetailsCardMobile = ({
|
|
|
10046
10462
|
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
10047
10463
|
}
|
|
10048
10464
|
),
|
|
10049
|
-
badgeSubText && /* @__PURE__ */
|
|
10050
|
-
/* @__PURE__ */
|
|
10051
|
-
/* @__PURE__ */
|
|
10465
|
+
badgeSubText && /* @__PURE__ */ jsxs104(Fragment27, { children: [
|
|
10466
|
+
/* @__PURE__ */ jsx121("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
10467
|
+
/* @__PURE__ */ jsx121("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
10052
10468
|
] })
|
|
10053
10469
|
] }) })
|
|
10054
10470
|
] }),
|
|
10055
|
-
/* @__PURE__ */
|
|
10056
|
-
/* @__PURE__ */
|
|
10057
|
-
/* @__PURE__ */
|
|
10058
|
-
/* @__PURE__ */
|
|
10059
|
-
/* @__PURE__ */
|
|
10471
|
+
/* @__PURE__ */ jsx121("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
10472
|
+
/* @__PURE__ */ jsx121("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs104(Fragment27, { children: [
|
|
10473
|
+
/* @__PURE__ */ jsxs104("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
10474
|
+
/* @__PURE__ */ jsx121("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
10475
|
+
/* @__PURE__ */ jsx121("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
10060
10476
|
] }),
|
|
10061
|
-
/* @__PURE__ */
|
|
10062
|
-
] }) : /* @__PURE__ */
|
|
10063
|
-
/* @__PURE__ */
|
|
10064
|
-
/* @__PURE__ */
|
|
10065
|
-
/* @__PURE__ */
|
|
10066
|
-
/* @__PURE__ */
|
|
10477
|
+
/* @__PURE__ */ jsx121("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
10478
|
+
] }) : /* @__PURE__ */ jsxs104(Fragment27, { children: [
|
|
10479
|
+
/* @__PURE__ */ jsxs104("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
10480
|
+
/* @__PURE__ */ jsx121("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
10481
|
+
/* @__PURE__ */ jsx121("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
10482
|
+
/* @__PURE__ */ jsx121("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
10067
10483
|
] }),
|
|
10068
|
-
/* @__PURE__ */
|
|
10484
|
+
/* @__PURE__ */ jsx121("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
10069
10485
|
] }) }),
|
|
10070
|
-
isLoading ? /* @__PURE__ */
|
|
10486
|
+
isLoading ? /* @__PURE__ */ jsx121("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx121(
|
|
10071
10487
|
ScButton,
|
|
10072
10488
|
{
|
|
10073
10489
|
text: upgradeButtonText,
|
|
@@ -10117,6 +10533,7 @@ export {
|
|
|
10117
10533
|
ScCreditsUsageCard,
|
|
10118
10534
|
ScCreditsUsageCardMobile,
|
|
10119
10535
|
ScCxoCopilotLogo,
|
|
10536
|
+
ScDefaultCard,
|
|
10120
10537
|
ScDp,
|
|
10121
10538
|
ScDrawer,
|
|
10122
10539
|
ScFieldButton,
|
|
@@ -10131,6 +10548,7 @@ export {
|
|
|
10131
10548
|
ScInfoPopup,
|
|
10132
10549
|
ScIntialProfileCover,
|
|
10133
10550
|
ScLogoUnit,
|
|
10551
|
+
ScMappingCard,
|
|
10134
10552
|
ScMediaApproval,
|
|
10135
10553
|
ScMediaSelect,
|
|
10136
10554
|
ScMenuOptions,
|
|
@@ -10164,6 +10582,8 @@ export {
|
|
|
10164
10582
|
ScSelect,
|
|
10165
10583
|
ScSelection,
|
|
10166
10584
|
ScSelectionList,
|
|
10585
|
+
ScSelectionPill,
|
|
10586
|
+
ScSelectionPillGroup,
|
|
10167
10587
|
ScSettingsNav,
|
|
10168
10588
|
ScSettingsTabComp,
|
|
10169
10589
|
ScSideBarLogoUnit,
|
|
@@ -10185,12 +10605,14 @@ export {
|
|
|
10185
10605
|
ScTableList,
|
|
10186
10606
|
ScTableListMobile,
|
|
10187
10607
|
ScTabs,
|
|
10608
|
+
ScTaxonomyPill,
|
|
10188
10609
|
ScTextArea,
|
|
10189
10610
|
ScTextField,
|
|
10190
10611
|
ScThinkingStepIcon,
|
|
10191
10612
|
ScTodoList,
|
|
10192
10613
|
ScToggleSwitch,
|
|
10193
10614
|
ScVDivider,
|
|
10615
|
+
ScValueMappingL1,
|
|
10194
10616
|
ScVersion,
|
|
10195
10617
|
ScWorkspaceCard,
|
|
10196
10618
|
ScWorkspaceSettingsMobile,
|