@streamoid/ui 0.1.6 → 0.1.8
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.d.mts +71 -9
- package/dist/index.d.ts +71 -9
- package/dist/index.js +934 -191
- package/dist/index.mjs +934 -191
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1091,11 +1091,11 @@ var require_react_development = __commonJS({
|
|
|
1091
1091
|
var dispatcher = resolveDispatcher();
|
|
1092
1092
|
return dispatcher.useReducer(reducer, initialArg, init);
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1094
|
+
function useRef2(initialValue) {
|
|
1095
1095
|
var dispatcher = resolveDispatcher();
|
|
1096
1096
|
return dispatcher.useRef(initialValue);
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1098
|
+
function useEffect2(create, deps) {
|
|
1099
1099
|
var dispatcher = resolveDispatcher();
|
|
1100
1100
|
return dispatcher.useEffect(create, deps);
|
|
1101
1101
|
}
|
|
@@ -1878,14 +1878,14 @@ var require_react_development = __commonJS({
|
|
|
1878
1878
|
exports.useContext = useContext;
|
|
1879
1879
|
exports.useDebugValue = useDebugValue;
|
|
1880
1880
|
exports.useDeferredValue = useDeferredValue;
|
|
1881
|
-
exports.useEffect =
|
|
1881
|
+
exports.useEffect = useEffect2;
|
|
1882
1882
|
exports.useId = useId;
|
|
1883
1883
|
exports.useImperativeHandle = useImperativeHandle;
|
|
1884
1884
|
exports.useInsertionEffect = useInsertionEffect;
|
|
1885
1885
|
exports.useLayoutEffect = useLayoutEffect;
|
|
1886
1886
|
exports.useMemo = useMemo;
|
|
1887
1887
|
exports.useReducer = useReducer;
|
|
1888
|
-
exports.useRef =
|
|
1888
|
+
exports.useRef = useRef2;
|
|
1889
1889
|
exports.useState = useState;
|
|
1890
1890
|
exports.useSyncExternalStore = useSyncExternalStore;
|
|
1891
1891
|
exports.useTransition = useTransition;
|
|
@@ -2793,11 +2793,11 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
2793
2793
|
return jsxWithValidation(type, props, key, false);
|
|
2794
2794
|
}
|
|
2795
2795
|
}
|
|
2796
|
-
var
|
|
2797
|
-
var
|
|
2796
|
+
var jsx107 = jsxWithValidationDynamic;
|
|
2797
|
+
var jsxs59 = jsxWithValidationStatic;
|
|
2798
2798
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
2799
|
-
exports.jsx =
|
|
2800
|
-
exports.jsxs =
|
|
2799
|
+
exports.jsx = jsx107;
|
|
2800
|
+
exports.jsxs = jsxs59;
|
|
2801
2801
|
})();
|
|
2802
2802
|
}
|
|
2803
2803
|
}
|
|
@@ -3033,6 +3033,22 @@ var SiconCatalogix = ({ color = "currentColor", strokeWidth = 1.25, size = 24, .
|
|
|
3033
3033
|
);
|
|
3034
3034
|
};
|
|
3035
3035
|
var sicon_catalogix_default = SiconCatalogix;
|
|
3036
|
+
var SiconClose = ({ color = "currentColor", strokeWidth = 1.25, size = 24, ...props }) => {
|
|
3037
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
3038
|
+
"svg",
|
|
3039
|
+
{
|
|
3040
|
+
...props,
|
|
3041
|
+
width: size,
|
|
3042
|
+
height: size,
|
|
3043
|
+
strokeWidth,
|
|
3044
|
+
viewBox: "0 0 24 24",
|
|
3045
|
+
fill: "none",
|
|
3046
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3047
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M6.75824 17.2426L12.0009 12M12.0009 12L17.2435 6.75735M12.0009 12L6.75824 6.75735M12.0009 12L17.2435 17.2426", stroke: color, strokeWidth, strokeLinecap: "round", strokeLinejoin: "round" })
|
|
3048
|
+
}
|
|
3049
|
+
);
|
|
3050
|
+
};
|
|
3051
|
+
var sicon_close_default = SiconClose;
|
|
3036
3052
|
var SiconCollapse = ({ color = "currentColor", strokeWidth = 1.25, size = 24, ...props }) => {
|
|
3037
3053
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
3038
3054
|
"svg",
|
|
@@ -5773,6 +5789,415 @@ var ScSidebar = ({
|
|
|
5773
5789
|
);
|
|
5774
5790
|
};
|
|
5775
5791
|
|
|
5792
|
+
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
5793
|
+
var import_jsx_runtime85 = __toESM(require_jsx_runtime());
|
|
5794
|
+
function SectionHeader({ label }) {
|
|
5795
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "opacity-50 shrink-0 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5796
|
+
"div",
|
|
5797
|
+
{
|
|
5798
|
+
className: "flex items-center w-full text-text-xs-regular",
|
|
5799
|
+
style: {
|
|
5800
|
+
padding: "var(--spacing-xs) var(--spacing-3xl)",
|
|
5801
|
+
color: "var(--alias-text---icons-tertiary)"
|
|
5802
|
+
},
|
|
5803
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { children: label })
|
|
5804
|
+
}
|
|
5805
|
+
) }) });
|
|
5806
|
+
}
|
|
5807
|
+
function HDivider() {
|
|
5808
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5809
|
+
"div",
|
|
5810
|
+
{
|
|
5811
|
+
className: "shrink-0 w-full",
|
|
5812
|
+
style: {
|
|
5813
|
+
height: "0.5px",
|
|
5814
|
+
backgroundColor: "var(--alias-border-subtle)"
|
|
5815
|
+
}
|
|
5816
|
+
}
|
|
5817
|
+
);
|
|
5818
|
+
}
|
|
5819
|
+
function resolveIcon(iconMap, item, active, expanded) {
|
|
5820
|
+
const renderer = iconMap[item.iconKey];
|
|
5821
|
+
if (!renderer) return null;
|
|
5822
|
+
if (typeof renderer === "function") {
|
|
5823
|
+
return renderer({ item, active, expanded });
|
|
5824
|
+
}
|
|
5825
|
+
return renderer;
|
|
5826
|
+
}
|
|
5827
|
+
function resolveToggleIcon(toggleIcon, expanded) {
|
|
5828
|
+
if (!toggleIcon) return null;
|
|
5829
|
+
if (typeof toggleIcon === "function") {
|
|
5830
|
+
return toggleIcon(expanded);
|
|
5831
|
+
}
|
|
5832
|
+
return toggleIcon;
|
|
5833
|
+
}
|
|
5834
|
+
function renderMenuItem({
|
|
5835
|
+
item,
|
|
5836
|
+
sectionId,
|
|
5837
|
+
expanded,
|
|
5838
|
+
activeItemId,
|
|
5839
|
+
iconMap,
|
|
5840
|
+
onItemSelect
|
|
5841
|
+
}) {
|
|
5842
|
+
const active = item.id === activeItemId;
|
|
5843
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5844
|
+
ScSidebarMenu,
|
|
5845
|
+
{
|
|
5846
|
+
icon: resolveIcon(iconMap, item, active, expanded),
|
|
5847
|
+
text: expanded ? item.label : void 0,
|
|
5848
|
+
state: active ? "active" : "default",
|
|
5849
|
+
variant: expanded ? "expanded" : "collapsed",
|
|
5850
|
+
onClick: () => onItemSelect?.(item, sectionId)
|
|
5851
|
+
},
|
|
5852
|
+
item.id
|
|
5853
|
+
);
|
|
5854
|
+
}
|
|
5855
|
+
function StreamoidSidebar({
|
|
5856
|
+
expanded,
|
|
5857
|
+
onToggle,
|
|
5858
|
+
config,
|
|
5859
|
+
iconMap,
|
|
5860
|
+
activeItemId,
|
|
5861
|
+
onItemSelect,
|
|
5862
|
+
expandedLogo,
|
|
5863
|
+
collapsedLogo,
|
|
5864
|
+
profile,
|
|
5865
|
+
versionText = "v1.0.0",
|
|
5866
|
+
toggleIcon,
|
|
5867
|
+
className,
|
|
5868
|
+
style
|
|
5869
|
+
}) {
|
|
5870
|
+
if (expanded) {
|
|
5871
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5872
|
+
"div",
|
|
5873
|
+
{
|
|
5874
|
+
className: `flex h-full items-center shrink-0 ${className ?? ""}`.trim(),
|
|
5875
|
+
style: { padding: "var(--spacing-3xl)", ...style },
|
|
5876
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
5877
|
+
"div",
|
|
5878
|
+
{
|
|
5879
|
+
className: "flex flex-col h-full relative shrink-0",
|
|
5880
|
+
style: {
|
|
5881
|
+
backgroundColor: "var(--alias-surface-base)",
|
|
5882
|
+
borderRadius: "var(--radius-3xl)",
|
|
5883
|
+
padding: "var(--spacing-md)",
|
|
5884
|
+
width: 256,
|
|
5885
|
+
gap: "var(--spacing-xxs)"
|
|
5886
|
+
},
|
|
5887
|
+
children: [
|
|
5888
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5889
|
+
"div",
|
|
5890
|
+
{
|
|
5891
|
+
"aria-hidden": "true",
|
|
5892
|
+
className: "absolute inset-0 pointer-events-none",
|
|
5893
|
+
style: {
|
|
5894
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
5895
|
+
borderRadius: "var(--radius-3xl)"
|
|
5896
|
+
}
|
|
5897
|
+
}
|
|
5898
|
+
),
|
|
5899
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
5900
|
+
"div",
|
|
5901
|
+
{
|
|
5902
|
+
className: "flex flex-col flex-1 items-start min-h-0 w-full overflow-y-auto sidebar-scroll",
|
|
5903
|
+
style: { gap: "var(--spacing-xxs)" },
|
|
5904
|
+
children: [
|
|
5905
|
+
expandedLogo,
|
|
5906
|
+
config.topItem && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5907
|
+
"div",
|
|
5908
|
+
{
|
|
5909
|
+
className: "flex flex-col items-start shrink-0 w-full",
|
|
5910
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
5911
|
+
children: renderMenuItem({
|
|
5912
|
+
item: config.topItem,
|
|
5913
|
+
sectionId: "top",
|
|
5914
|
+
expanded: true,
|
|
5915
|
+
activeItemId,
|
|
5916
|
+
iconMap,
|
|
5917
|
+
onItemSelect
|
|
5918
|
+
})
|
|
5919
|
+
}
|
|
5920
|
+
),
|
|
5921
|
+
config.sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
5922
|
+
"div",
|
|
5923
|
+
{
|
|
5924
|
+
className: "flex flex-col items-start shrink-0 w-full",
|
|
5925
|
+
style: {
|
|
5926
|
+
padding: "var(--spacing-md) 0",
|
|
5927
|
+
gap: "var(--spacing-xxs)"
|
|
5928
|
+
},
|
|
5929
|
+
children: [
|
|
5930
|
+
section.label ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(SectionHeader, { label: section.label }) : null,
|
|
5931
|
+
section.items.map(
|
|
5932
|
+
(item) => renderMenuItem({
|
|
5933
|
+
item,
|
|
5934
|
+
sectionId: section.id,
|
|
5935
|
+
expanded: true,
|
|
5936
|
+
activeItemId,
|
|
5937
|
+
iconMap,
|
|
5938
|
+
onItemSelect
|
|
5939
|
+
})
|
|
5940
|
+
)
|
|
5941
|
+
]
|
|
5942
|
+
},
|
|
5943
|
+
section.id
|
|
5944
|
+
))
|
|
5945
|
+
]
|
|
5946
|
+
}
|
|
5947
|
+
),
|
|
5948
|
+
config.bottomItems?.length ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5949
|
+
"div",
|
|
5950
|
+
{
|
|
5951
|
+
className: "flex flex-col items-start shrink-0 w-full",
|
|
5952
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
5953
|
+
children: config.bottomItems.map(
|
|
5954
|
+
(item) => renderMenuItem({
|
|
5955
|
+
item,
|
|
5956
|
+
sectionId: "bottom",
|
|
5957
|
+
expanded: true,
|
|
5958
|
+
activeItemId,
|
|
5959
|
+
iconMap,
|
|
5960
|
+
onItemSelect
|
|
5961
|
+
})
|
|
5962
|
+
)
|
|
5963
|
+
}
|
|
5964
|
+
) : null,
|
|
5965
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {}),
|
|
5966
|
+
profile ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
5967
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
5968
|
+
"div",
|
|
5969
|
+
{
|
|
5970
|
+
className: "flex items-center shrink-0 w-full cursor-pointer",
|
|
5971
|
+
style: {
|
|
5972
|
+
padding: "var(--spacing-md)",
|
|
5973
|
+
gap: "var(--spacing-md)",
|
|
5974
|
+
borderRadius: "var(--radius-xl)"
|
|
5975
|
+
},
|
|
5976
|
+
onClick: profile.onClick,
|
|
5977
|
+
onMouseEnter: (e) => {
|
|
5978
|
+
e.currentTarget.style.background = "var(--alias-fill-neutral-neutral)";
|
|
5979
|
+
},
|
|
5980
|
+
onMouseLeave: (e) => {
|
|
5981
|
+
e.currentTarget.style.background = "transparent";
|
|
5982
|
+
},
|
|
5983
|
+
children: [
|
|
5984
|
+
profile.avatar,
|
|
5985
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex flex-col flex-1 min-w-0", children: [
|
|
5986
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5987
|
+
"span",
|
|
5988
|
+
{
|
|
5989
|
+
className: "text-text-sm-medium truncate",
|
|
5990
|
+
style: { color: "var(--alias-text---icons-primary)" },
|
|
5991
|
+
children: profile.name
|
|
5992
|
+
}
|
|
5993
|
+
),
|
|
5994
|
+
profile.subtitle ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5995
|
+
"span",
|
|
5996
|
+
{
|
|
5997
|
+
className: "text-text-xs-regular truncate",
|
|
5998
|
+
style: { color: "var(--alias-text---icons-muted)" },
|
|
5999
|
+
children: profile.subtitle
|
|
6000
|
+
}
|
|
6001
|
+
) : null
|
|
6002
|
+
] })
|
|
6003
|
+
]
|
|
6004
|
+
}
|
|
6005
|
+
),
|
|
6006
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {})
|
|
6007
|
+
] }) : null,
|
|
6008
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
6009
|
+
"div",
|
|
6010
|
+
{
|
|
6011
|
+
className: "flex items-center w-full",
|
|
6012
|
+
style: {
|
|
6013
|
+
gap: "var(--spacing-xs)",
|
|
6014
|
+
padding: "var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-3xl)"
|
|
6015
|
+
},
|
|
6016
|
+
children: [
|
|
6017
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6018
|
+
"p",
|
|
6019
|
+
{
|
|
6020
|
+
className: "flex-1 text-text-sm-regular truncate",
|
|
6021
|
+
style: { color: "var(--alias-text---icons-muted)" },
|
|
6022
|
+
children: versionText
|
|
6023
|
+
}
|
|
6024
|
+
),
|
|
6025
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6026
|
+
"div",
|
|
6027
|
+
{
|
|
6028
|
+
className: "flex items-center cursor-pointer",
|
|
6029
|
+
style: {
|
|
6030
|
+
padding: "var(--spacing-md)",
|
|
6031
|
+
borderRadius: "var(--radius-3xl)"
|
|
6032
|
+
},
|
|
6033
|
+
onClick: onToggle,
|
|
6034
|
+
children: resolveToggleIcon(toggleIcon, true)
|
|
6035
|
+
}
|
|
6036
|
+
)
|
|
6037
|
+
]
|
|
6038
|
+
}
|
|
6039
|
+
) }) })
|
|
6040
|
+
]
|
|
6041
|
+
}
|
|
6042
|
+
)
|
|
6043
|
+
}
|
|
6044
|
+
);
|
|
6045
|
+
}
|
|
6046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6047
|
+
"div",
|
|
6048
|
+
{
|
|
6049
|
+
className: `flex h-full items-center justify-center shrink-0 ${className ?? ""}`.trim(),
|
|
6050
|
+
style,
|
|
6051
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
6052
|
+
"div",
|
|
6053
|
+
{
|
|
6054
|
+
className: "flex flex-col h-full items-center justify-center relative shrink-0",
|
|
6055
|
+
style: {
|
|
6056
|
+
backgroundColor: "var(--alias-surface-base)",
|
|
6057
|
+
padding: "var(--spacing-md)",
|
|
6058
|
+
gap: "var(--spacing-xxs)"
|
|
6059
|
+
},
|
|
6060
|
+
children: [
|
|
6061
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6062
|
+
"div",
|
|
6063
|
+
{
|
|
6064
|
+
"aria-hidden": "true",
|
|
6065
|
+
className: "absolute inset-0 pointer-events-none",
|
|
6066
|
+
style: {
|
|
6067
|
+
borderRight: "1px solid var(--alias-border-subtle)"
|
|
6068
|
+
}
|
|
6069
|
+
}
|
|
6070
|
+
),
|
|
6071
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
6072
|
+
"div",
|
|
6073
|
+
{
|
|
6074
|
+
className: "flex flex-col flex-1 items-center min-h-0 overflow-y-auto sidebar-scroll",
|
|
6075
|
+
style: { gap: "var(--spacing-xxs)" },
|
|
6076
|
+
children: [
|
|
6077
|
+
collapsedLogo,
|
|
6078
|
+
config.topItem ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6079
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6080
|
+
"div",
|
|
6081
|
+
{
|
|
6082
|
+
className: "flex flex-col items-start shrink-0",
|
|
6083
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
6084
|
+
children: renderMenuItem({
|
|
6085
|
+
item: config.topItem,
|
|
6086
|
+
sectionId: "top",
|
|
6087
|
+
expanded: false,
|
|
6088
|
+
activeItemId,
|
|
6089
|
+
iconMap,
|
|
6090
|
+
onItemSelect
|
|
6091
|
+
})
|
|
6092
|
+
}
|
|
6093
|
+
),
|
|
6094
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {})
|
|
6095
|
+
] }) : null,
|
|
6096
|
+
config.sections.map((section, sectionIndex) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex flex-col items-center w-full", children: [
|
|
6097
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6098
|
+
"div",
|
|
6099
|
+
{
|
|
6100
|
+
className: "flex flex-col items-start shrink-0",
|
|
6101
|
+
style: {
|
|
6102
|
+
padding: "var(--spacing-md) 0",
|
|
6103
|
+
gap: "var(--spacing-xxs)"
|
|
6104
|
+
},
|
|
6105
|
+
children: section.items.map(
|
|
6106
|
+
(item) => renderMenuItem({
|
|
6107
|
+
item,
|
|
6108
|
+
sectionId: section.id,
|
|
6109
|
+
expanded: false,
|
|
6110
|
+
activeItemId,
|
|
6111
|
+
iconMap,
|
|
6112
|
+
onItemSelect
|
|
6113
|
+
})
|
|
6114
|
+
)
|
|
6115
|
+
}
|
|
6116
|
+
),
|
|
6117
|
+
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {}) : null
|
|
6118
|
+
] }, section.id))
|
|
6119
|
+
]
|
|
6120
|
+
}
|
|
6121
|
+
),
|
|
6122
|
+
config.bottomItems?.length ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6123
|
+
"div",
|
|
6124
|
+
{
|
|
6125
|
+
className: "flex flex-col items-center justify-center shrink-0 w-full",
|
|
6126
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
6127
|
+
children: config.bottomItems.map(
|
|
6128
|
+
(item) => renderMenuItem({
|
|
6129
|
+
item,
|
|
6130
|
+
sectionId: "bottom",
|
|
6131
|
+
expanded: false,
|
|
6132
|
+
activeItemId,
|
|
6133
|
+
iconMap,
|
|
6134
|
+
onItemSelect
|
|
6135
|
+
})
|
|
6136
|
+
)
|
|
6137
|
+
}
|
|
6138
|
+
) : null,
|
|
6139
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {}),
|
|
6140
|
+
profile ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6141
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6142
|
+
"div",
|
|
6143
|
+
{
|
|
6144
|
+
className: "flex items-center justify-center shrink-0 cursor-pointer",
|
|
6145
|
+
style: {
|
|
6146
|
+
padding: "var(--spacing-md) 0",
|
|
6147
|
+
borderRadius: "var(--radius-3xl)"
|
|
6148
|
+
},
|
|
6149
|
+
onClick: profile.onClick,
|
|
6150
|
+
onMouseEnter: (e) => {
|
|
6151
|
+
e.currentTarget.style.background = "var(--alias-fill-neutral-neutral)";
|
|
6152
|
+
},
|
|
6153
|
+
onMouseLeave: (e) => {
|
|
6154
|
+
e.currentTarget.style.background = "transparent";
|
|
6155
|
+
},
|
|
6156
|
+
children: profile.avatar
|
|
6157
|
+
}
|
|
6158
|
+
),
|
|
6159
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {})
|
|
6160
|
+
] }) : null,
|
|
6161
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
6162
|
+
"div",
|
|
6163
|
+
{
|
|
6164
|
+
className: "shrink-0 flex flex-col items-center",
|
|
6165
|
+
style: {
|
|
6166
|
+
gap: "var(--spacing-xl)",
|
|
6167
|
+
padding: "var(--spacing-md)",
|
|
6168
|
+
width: 56
|
|
6169
|
+
},
|
|
6170
|
+
children: [
|
|
6171
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6172
|
+
"div",
|
|
6173
|
+
{
|
|
6174
|
+
className: "flex items-center cursor-pointer",
|
|
6175
|
+
style: {
|
|
6176
|
+
padding: "var(--spacing-md)",
|
|
6177
|
+
borderRadius: "var(--radius-3xl)"
|
|
6178
|
+
},
|
|
6179
|
+
onClick: onToggle,
|
|
6180
|
+
children: resolveToggleIcon(toggleIcon, false)
|
|
6181
|
+
}
|
|
6182
|
+
),
|
|
6183
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6184
|
+
"p",
|
|
6185
|
+
{
|
|
6186
|
+
className: "text-text-xs-regular text-center truncate",
|
|
6187
|
+
style: { color: "var(--alias-text---icons-muted)" },
|
|
6188
|
+
children: versionText
|
|
6189
|
+
}
|
|
6190
|
+
)
|
|
6191
|
+
]
|
|
6192
|
+
}
|
|
6193
|
+
)
|
|
6194
|
+
]
|
|
6195
|
+
}
|
|
6196
|
+
)
|
|
6197
|
+
}
|
|
6198
|
+
);
|
|
6199
|
+
}
|
|
6200
|
+
|
|
5776
6201
|
// src/SC-Slider/ScSlider.module.css
|
|
5777
6202
|
var ScSlider_default = {
|
|
5778
6203
|
scSlider: "ScSlider_scSlider",
|
|
@@ -5783,26 +6208,343 @@ var ScSlider_default = {
|
|
|
5783
6208
|
};
|
|
5784
6209
|
|
|
5785
6210
|
// src/SC-Slider/ScSlider.tsx
|
|
5786
|
-
var
|
|
6211
|
+
var import_jsx_runtime86 = __toESM(require_jsx_runtime());
|
|
5787
6212
|
var ScSlider = ({
|
|
5788
6213
|
className,
|
|
5789
6214
|
onValueChange,
|
|
5790
6215
|
...props
|
|
5791
6216
|
}) => {
|
|
5792
|
-
return /* @__PURE__ */ (0,
|
|
5793
|
-
/* @__PURE__ */ (0,
|
|
5794
|
-
/* @__PURE__ */ (0,
|
|
5795
|
-
/* @__PURE__ */ (0,
|
|
5796
|
-
/* @__PURE__ */ (0,
|
|
5797
|
-
/* @__PURE__ */ (0,
|
|
5798
|
-
/* @__PURE__ */ (0,
|
|
5799
|
-
/* @__PURE__ */ (0,
|
|
5800
|
-
/* @__PURE__ */ (0,
|
|
5801
|
-
/* @__PURE__ */ (0,
|
|
5802
|
-
/* @__PURE__ */ (0,
|
|
6217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
6218
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar }),
|
|
6219
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot }),
|
|
6220
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
6221
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
6222
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
6223
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
6224
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
6225
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
6226
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
6227
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot2 })
|
|
5803
6228
|
] });
|
|
5804
6229
|
};
|
|
5805
6230
|
|
|
6231
|
+
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
6232
|
+
var import_react = __toESM(require_react());
|
|
6233
|
+
var import_jsx_runtime87 = __toESM(require_jsx_runtime());
|
|
6234
|
+
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
6235
|
+
function deriveInitials(name) {
|
|
6236
|
+
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
6237
|
+
}
|
|
6238
|
+
function normalizeRole(role) {
|
|
6239
|
+
return role === "admin" ? "admin" : "member";
|
|
6240
|
+
}
|
|
6241
|
+
function roleLabel(role) {
|
|
6242
|
+
const normalized = normalizeRole(role);
|
|
6243
|
+
return normalized === "admin" ? "Admin" : "Member";
|
|
6244
|
+
}
|
|
6245
|
+
function WorkspaceRow({
|
|
6246
|
+
workspace,
|
|
6247
|
+
currentWorkspaceText,
|
|
6248
|
+
switchWorkspaceText,
|
|
6249
|
+
onSwitch
|
|
6250
|
+
}) {
|
|
6251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6252
|
+
"div",
|
|
6253
|
+
{
|
|
6254
|
+
className: "relative shrink-0 w-full",
|
|
6255
|
+
style: {
|
|
6256
|
+
backgroundColor: "var(--alias-surface-base)",
|
|
6257
|
+
borderRadius: "var(--radius-3xl)",
|
|
6258
|
+
backdropFilter: "blur(4px)"
|
|
6259
|
+
},
|
|
6260
|
+
children: [
|
|
6261
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6262
|
+
"div",
|
|
6263
|
+
{
|
|
6264
|
+
"aria-hidden": "true",
|
|
6265
|
+
className: "absolute inset-0 pointer-events-none",
|
|
6266
|
+
style: {
|
|
6267
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
6268
|
+
borderRadius: "var(--radius-3xl)"
|
|
6269
|
+
}
|
|
6270
|
+
}
|
|
6271
|
+
),
|
|
6272
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6273
|
+
"div",
|
|
6274
|
+
{
|
|
6275
|
+
className: "flex items-center w-full",
|
|
6276
|
+
style: {
|
|
6277
|
+
gap: "var(--spacing-3xl)",
|
|
6278
|
+
padding: "var(--spacing-6xl)"
|
|
6279
|
+
},
|
|
6280
|
+
children: [
|
|
6281
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6282
|
+
"div",
|
|
6283
|
+
{
|
|
6284
|
+
className: "flex flex-1 items-center min-w-0",
|
|
6285
|
+
style: { gap: "var(--spacing-xl)" },
|
|
6286
|
+
children: [
|
|
6287
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6288
|
+
ScIntialProfileCover,
|
|
6289
|
+
{
|
|
6290
|
+
intial: workspace.initials || deriveInitials(workspace.name),
|
|
6291
|
+
className: "shrink-0"
|
|
6292
|
+
}
|
|
6293
|
+
),
|
|
6294
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6295
|
+
"p",
|
|
6296
|
+
{
|
|
6297
|
+
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
6298
|
+
style: {
|
|
6299
|
+
color: "var(--alias-text---icons-primary)",
|
|
6300
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6301
|
+
fontSize: "var(--font-size-font-size-md)",
|
|
6302
|
+
fontWeight: 500,
|
|
6303
|
+
lineHeight: "var(--line-height-line-height-md)",
|
|
6304
|
+
display: "-webkit-box",
|
|
6305
|
+
WebkitLineClamp: 2,
|
|
6306
|
+
WebkitBoxOrient: "vertical"
|
|
6307
|
+
},
|
|
6308
|
+
children: workspace.name
|
|
6309
|
+
}
|
|
6310
|
+
)
|
|
6311
|
+
]
|
|
6312
|
+
}
|
|
6313
|
+
),
|
|
6314
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6315
|
+
"div",
|
|
6316
|
+
{
|
|
6317
|
+
className: "flex items-center justify-center shrink-0",
|
|
6318
|
+
style: {
|
|
6319
|
+
gap: "var(--spacing-6xl)",
|
|
6320
|
+
padding: "0 var(--spacing-3xl)"
|
|
6321
|
+
},
|
|
6322
|
+
children: [
|
|
6323
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6324
|
+
ScRole,
|
|
6325
|
+
{
|
|
6326
|
+
type: normalizeRole(workspace.role),
|
|
6327
|
+
label: roleLabel(workspace.role),
|
|
6328
|
+
style: { width: 80 }
|
|
6329
|
+
}
|
|
6330
|
+
),
|
|
6331
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6332
|
+
"div",
|
|
6333
|
+
{
|
|
6334
|
+
className: "flex items-center shrink-0",
|
|
6335
|
+
style: { gap: "var(--spacing-3xl)" },
|
|
6336
|
+
children: [
|
|
6337
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6338
|
+
ScPairtext,
|
|
6339
|
+
{
|
|
6340
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(sicon_team_default, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
6341
|
+
content: workspace.userCount || "\u2013",
|
|
6342
|
+
iconPosition: "left",
|
|
6343
|
+
type: "icon"
|
|
6344
|
+
}
|
|
6345
|
+
) }),
|
|
6346
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ScVDivider, {}),
|
|
6347
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6348
|
+
"div",
|
|
6349
|
+
{
|
|
6350
|
+
className: "flex items-center",
|
|
6351
|
+
style: {
|
|
6352
|
+
width: 200,
|
|
6353
|
+
flexShrink: 0,
|
|
6354
|
+
gap: "var(--spacing-md)"
|
|
6355
|
+
},
|
|
6356
|
+
children: [
|
|
6357
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6358
|
+
sicon_Crown_default,
|
|
6359
|
+
{
|
|
6360
|
+
className: "w-6 h-6 shrink-0",
|
|
6361
|
+
color: PRIMARY_ICON
|
|
6362
|
+
}
|
|
6363
|
+
),
|
|
6364
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6365
|
+
"span",
|
|
6366
|
+
{
|
|
6367
|
+
className: "truncate",
|
|
6368
|
+
style: {
|
|
6369
|
+
color: "var(--alias-text---icons-primary)",
|
|
6370
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6371
|
+
fontSize: "var(--font-size-font-size-sm)",
|
|
6372
|
+
lineHeight: "var(--line-height-line-height-sm)"
|
|
6373
|
+
},
|
|
6374
|
+
children: workspace.ownerEmail || "\u2013"
|
|
6375
|
+
}
|
|
6376
|
+
)
|
|
6377
|
+
]
|
|
6378
|
+
}
|
|
6379
|
+
)
|
|
6380
|
+
]
|
|
6381
|
+
}
|
|
6382
|
+
) })
|
|
6383
|
+
]
|
|
6384
|
+
}
|
|
6385
|
+
),
|
|
6386
|
+
workspace.isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6387
|
+
ScButton,
|
|
6388
|
+
{
|
|
6389
|
+
text: currentWorkspaceText,
|
|
6390
|
+
variant: "outline",
|
|
6391
|
+
state: "disabled",
|
|
6392
|
+
size: "lg",
|
|
6393
|
+
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
6394
|
+
}
|
|
6395
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6396
|
+
ScButton,
|
|
6397
|
+
{
|
|
6398
|
+
text: switchWorkspaceText,
|
|
6399
|
+
variant: "secondary",
|
|
6400
|
+
size: "lg",
|
|
6401
|
+
styleVariant: "icon-left",
|
|
6402
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(sicon_switch_default, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
6403
|
+
style: { width: 200, flexShrink: 0 },
|
|
6404
|
+
onClick: onSwitch
|
|
6405
|
+
}
|
|
6406
|
+
)
|
|
6407
|
+
]
|
|
6408
|
+
}
|
|
6409
|
+
) })
|
|
6410
|
+
]
|
|
6411
|
+
}
|
|
6412
|
+
);
|
|
6413
|
+
}
|
|
6414
|
+
function StreamoidWorkspaceSwitcher({
|
|
6415
|
+
open,
|
|
6416
|
+
onClose,
|
|
6417
|
+
workspaces,
|
|
6418
|
+
loading = false,
|
|
6419
|
+
onSwitchWorkspace,
|
|
6420
|
+
config
|
|
6421
|
+
}) {
|
|
6422
|
+
const modalRef = (0, import_react.useRef)(null);
|
|
6423
|
+
const title = config?.title || "Switch workspace";
|
|
6424
|
+
const loadingText = config?.loadingText || "Loading workspaces\u2026";
|
|
6425
|
+
const currentWorkspaceText = config?.currentWorkspaceText || "Current workspace";
|
|
6426
|
+
const switchWorkspaceText = config?.switchWorkspaceText || "Switch workspace";
|
|
6427
|
+
(0, import_react.useEffect)(() => {
|
|
6428
|
+
if (!open) return;
|
|
6429
|
+
function handleKeyDown(e) {
|
|
6430
|
+
if (e.key === "Escape") onClose();
|
|
6431
|
+
}
|
|
6432
|
+
document.addEventListener("keydown", handleKeyDown);
|
|
6433
|
+
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
6434
|
+
}, [open, onClose]);
|
|
6435
|
+
if (!open) return null;
|
|
6436
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6437
|
+
"div",
|
|
6438
|
+
{
|
|
6439
|
+
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
6440
|
+
style: { backgroundColor: "rgba(0, 0, 0, 0.6)" },
|
|
6441
|
+
onClick: (e) => {
|
|
6442
|
+
if (e.target === e.currentTarget) onClose();
|
|
6443
|
+
},
|
|
6444
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6445
|
+
"div",
|
|
6446
|
+
{
|
|
6447
|
+
ref: modalRef,
|
|
6448
|
+
className: "flex flex-col items-start relative",
|
|
6449
|
+
style: {
|
|
6450
|
+
backgroundColor: "var(--alias-surface-subtle)",
|
|
6451
|
+
borderRadius: "var(--radius-4xl)",
|
|
6452
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
6453
|
+
width: "min(1000px, 90vw)",
|
|
6454
|
+
height: "60vh"
|
|
6455
|
+
},
|
|
6456
|
+
children: [
|
|
6457
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6458
|
+
"div",
|
|
6459
|
+
{
|
|
6460
|
+
className: "shrink-0 w-full relative",
|
|
6461
|
+
style: {
|
|
6462
|
+
borderBottom: "1px solid var(--alias-border-divider)"
|
|
6463
|
+
},
|
|
6464
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6465
|
+
"div",
|
|
6466
|
+
{
|
|
6467
|
+
className: "flex items-center w-full",
|
|
6468
|
+
style: {
|
|
6469
|
+
gap: "var(--spacing-3xl)",
|
|
6470
|
+
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
6471
|
+
},
|
|
6472
|
+
children: [
|
|
6473
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6474
|
+
"p",
|
|
6475
|
+
{
|
|
6476
|
+
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
6477
|
+
style: {
|
|
6478
|
+
color: "var(--alias-text---icons-primary)",
|
|
6479
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6480
|
+
fontSize: "var(--font-size-font-size-lg)",
|
|
6481
|
+
fontWeight: 600,
|
|
6482
|
+
lineHeight: "var(--line-height-line-height-lg)"
|
|
6483
|
+
},
|
|
6484
|
+
children: title
|
|
6485
|
+
}
|
|
6486
|
+
),
|
|
6487
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(sicon_close_default, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
6488
|
+
]
|
|
6489
|
+
}
|
|
6490
|
+
) })
|
|
6491
|
+
}
|
|
6492
|
+
),
|
|
6493
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6494
|
+
"div",
|
|
6495
|
+
{
|
|
6496
|
+
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
6497
|
+
style: {
|
|
6498
|
+
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
6499
|
+
},
|
|
6500
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6501
|
+
"div",
|
|
6502
|
+
{
|
|
6503
|
+
className: "flex flex-col items-start",
|
|
6504
|
+
style: {
|
|
6505
|
+
padding: "var(--spacing-6xl)",
|
|
6506
|
+
gap: "var(--spacing-3xl)"
|
|
6507
|
+
},
|
|
6508
|
+
children: [
|
|
6509
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6510
|
+
"p",
|
|
6511
|
+
{
|
|
6512
|
+
style: {
|
|
6513
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6514
|
+
fontSize: "var(--font-size-font-size-sm)",
|
|
6515
|
+
color: "var(--alias-text---icons-muted)"
|
|
6516
|
+
},
|
|
6517
|
+
children: loadingText
|
|
6518
|
+
}
|
|
6519
|
+
) : null,
|
|
6520
|
+
workspaces.map((ws) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6521
|
+
WorkspaceRow,
|
|
6522
|
+
{
|
|
6523
|
+
workspace: ws,
|
|
6524
|
+
currentWorkspaceText,
|
|
6525
|
+
switchWorkspaceText,
|
|
6526
|
+
onSwitch: () => {
|
|
6527
|
+
if (ws.isCurrent) {
|
|
6528
|
+
onClose();
|
|
6529
|
+
return;
|
|
6530
|
+
}
|
|
6531
|
+
void onSwitchWorkspace(ws);
|
|
6532
|
+
}
|
|
6533
|
+
},
|
|
6534
|
+
ws.id
|
|
6535
|
+
))
|
|
6536
|
+
]
|
|
6537
|
+
}
|
|
6538
|
+
)
|
|
6539
|
+
}
|
|
6540
|
+
)
|
|
6541
|
+
]
|
|
6542
|
+
}
|
|
6543
|
+
)
|
|
6544
|
+
}
|
|
6545
|
+
);
|
|
6546
|
+
}
|
|
6547
|
+
|
|
5806
6548
|
// src/SC-app listing card/ScAppListingCard.module.css
|
|
5807
6549
|
var ScAppListingCard_default = {
|
|
5808
6550
|
scAppListingCard: "ScAppListingCard_scAppListingCard",
|
|
@@ -5813,23 +6555,23 @@ var ScAppListingCard_default = {
|
|
|
5813
6555
|
};
|
|
5814
6556
|
|
|
5815
6557
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
5816
|
-
var
|
|
6558
|
+
var import_jsx_runtime88 = __toESM(require_jsx_runtime());
|
|
5817
6559
|
var ScAppListingCard = ({
|
|
5818
|
-
icon = /* @__PURE__ */ (0,
|
|
6560
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(sicon_Cart_default, { className: ScAppListingCard_default.siconCartInstance }),
|
|
5819
6561
|
title = "Stores",
|
|
5820
6562
|
descrp = "Centralized product and asset management for every storefront",
|
|
5821
6563
|
className,
|
|
5822
6564
|
...props
|
|
5823
6565
|
}) => {
|
|
5824
|
-
return /* @__PURE__ */ (0,
|
|
5825
|
-
/* @__PURE__ */ (0,
|
|
5826
|
-
/* @__PURE__ */ (0,
|
|
5827
|
-
/* @__PURE__ */ (0,
|
|
6566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
6567
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.header, children: [
|
|
6568
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
6569
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.title, children: [
|
|
5828
6570
|
title,
|
|
5829
6571
|
" "
|
|
5830
6572
|
] })
|
|
5831
6573
|
] }),
|
|
5832
|
-
/* @__PURE__ */ (0,
|
|
6574
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.description, children: [
|
|
5833
6575
|
descrp,
|
|
5834
6576
|
" "
|
|
5835
6577
|
] })
|
|
@@ -5846,22 +6588,22 @@ var ScAppCard_default = {
|
|
|
5846
6588
|
};
|
|
5847
6589
|
|
|
5848
6590
|
// src/SC-appCard/ScAppCard.tsx
|
|
5849
|
-
var
|
|
6591
|
+
var import_jsx_runtime89 = __toESM(require_jsx_runtime());
|
|
5850
6592
|
var ScAppCard = ({
|
|
5851
|
-
appIcon = /* @__PURE__ */ (0,
|
|
6593
|
+
appIcon = /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(sicon_artifacts_default, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
5852
6594
|
appName = "Artifax",
|
|
5853
6595
|
appDescription = "Info about artifax",
|
|
5854
6596
|
className,
|
|
5855
6597
|
...props
|
|
5856
6598
|
}) => {
|
|
5857
|
-
return /* @__PURE__ */ (0,
|
|
5858
|
-
/* @__PURE__ */ (0,
|
|
5859
|
-
/* @__PURE__ */ (0,
|
|
5860
|
-
/* @__PURE__ */ (0,
|
|
6599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
6600
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
6601
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.textContainer, children: [
|
|
6602
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.title, children: [
|
|
5861
6603
|
appName,
|
|
5862
6604
|
" "
|
|
5863
6605
|
] }),
|
|
5864
|
-
/* @__PURE__ */ (0,
|
|
6606
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.subtitle, children: [
|
|
5865
6607
|
appDescription,
|
|
5866
6608
|
" "
|
|
5867
6609
|
] })
|
|
@@ -5897,19 +6639,19 @@ var ScToggleSwitch_default = {
|
|
|
5897
6639
|
};
|
|
5898
6640
|
|
|
5899
6641
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
5900
|
-
var
|
|
6642
|
+
var import_jsx_runtime90 = __toESM(require_jsx_runtime());
|
|
5901
6643
|
var ScToggleSwitch = ({
|
|
5902
6644
|
active = "false",
|
|
5903
6645
|
className,
|
|
5904
6646
|
...props
|
|
5905
6647
|
}) => {
|
|
5906
6648
|
const variantsClassName = ScToggleSwitch_default["active-" + active];
|
|
5907
|
-
return /* @__PURE__ */ (0,
|
|
6649
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5908
6650
|
"div",
|
|
5909
6651
|
{
|
|
5910
6652
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
5911
6653
|
...props,
|
|
5912
|
-
children: /* @__PURE__ */ (0,
|
|
6654
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
5913
6655
|
"svg",
|
|
5914
6656
|
{
|
|
5915
6657
|
width: "41",
|
|
@@ -5918,21 +6660,21 @@ var ScToggleSwitch = ({
|
|
|
5918
6660
|
fill: "none",
|
|
5919
6661
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5920
6662
|
children: [
|
|
5921
|
-
/* @__PURE__ */ (0,
|
|
6663
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5922
6664
|
"path",
|
|
5923
6665
|
{
|
|
5924
6666
|
d: "M0.25 12.25C0.25 5.62258 5.62258 0.25 12.25 0.25H28.25C34.8774 0.25 40.25 5.62258 40.25 12.25C40.25 18.8774 34.8774 24.25 28.25 24.25H12.25C5.62258 24.25 0.25 18.8774 0.25 12.25Z",
|
|
5925
6667
|
fill: "var(--alias-fill-neutral-neutral, #1a1a1a)"
|
|
5926
6668
|
}
|
|
5927
6669
|
),
|
|
5928
|
-
/* @__PURE__ */ (0,
|
|
6670
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5929
6671
|
"path",
|
|
5930
6672
|
{
|
|
5931
6673
|
d: "M40 12.25C40 5.76065 34.7393 0.5 28.25 0.5H12.25C5.76065 0.5 0.5 5.76065 0.5 12.25C0.5 18.7393 5.76065 24 12.25 24H28.25C34.7393 24 40 18.7393 40 12.25ZM40.5 12.25C40.5 19.0155 35.0155 24.5 28.25 24.5H12.25C5.48451 24.5 0 19.0155 0 12.25C0 5.48451 5.48451 0 12.25 0H28.25C35.0155 0 40.5 5.48451 40.5 12.25Z",
|
|
5932
6674
|
fill: "var(--alias-border-divider, #242424)"
|
|
5933
6675
|
}
|
|
5934
6676
|
),
|
|
5935
|
-
/* @__PURE__ */ (0,
|
|
6677
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5936
6678
|
"path",
|
|
5937
6679
|
{
|
|
5938
6680
|
d: "M2.25 12.25C2.25 6.72715 6.72715 2.25 12.25 2.25C17.7728 2.25 22.25 6.72715 22.25 12.25C22.25 17.7728 17.7728 22.25 12.25 22.25C6.72715 22.25 2.25 17.7728 2.25 12.25Z",
|
|
@@ -5947,7 +6689,7 @@ var ScToggleSwitch = ({
|
|
|
5947
6689
|
};
|
|
5948
6690
|
|
|
5949
6691
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
5950
|
-
var
|
|
6692
|
+
var import_jsx_runtime91 = __toESM(require_jsx_runtime());
|
|
5951
6693
|
var ScArtifaxInvite = ({
|
|
5952
6694
|
active = "true",
|
|
5953
6695
|
appName = "Artifax",
|
|
@@ -5957,22 +6699,22 @@ var ScArtifaxInvite = ({
|
|
|
5957
6699
|
...props
|
|
5958
6700
|
}) => {
|
|
5959
6701
|
const variantsClassName = ScArtifaxInvite_default["active-" + active];
|
|
5960
|
-
return /* @__PURE__ */ (0,
|
|
6702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
5961
6703
|
"div",
|
|
5962
6704
|
{
|
|
5963
6705
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
5964
6706
|
...props,
|
|
5965
6707
|
children: [
|
|
5966
|
-
/* @__PURE__ */ (0,
|
|
6708
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5967
6709
|
ScAppCard,
|
|
5968
6710
|
{
|
|
5969
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
6711
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(sicon_artifacts_default, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
5970
6712
|
appName,
|
|
5971
6713
|
appDescription,
|
|
5972
6714
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
5973
6715
|
}
|
|
5974
6716
|
),
|
|
5975
|
-
/* @__PURE__ */ (0,
|
|
6717
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5976
6718
|
ScToggleSwitch,
|
|
5977
6719
|
{
|
|
5978
6720
|
active: "false",
|
|
@@ -5993,22 +6735,22 @@ var ScPhtogenixInvite_default = {
|
|
|
5993
6735
|
};
|
|
5994
6736
|
|
|
5995
6737
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
5996
|
-
var
|
|
6738
|
+
var import_jsx_runtime92 = __toESM(require_jsx_runtime());
|
|
5997
6739
|
var ScPhtogenixInvite = ({
|
|
5998
6740
|
active = "true",
|
|
5999
6741
|
scAppCardappDescription = "Info about photogenix",
|
|
6000
6742
|
scAppCardappName = "Photogenix",
|
|
6001
|
-
scAppCardappIcon = /* @__PURE__ */ (0,
|
|
6743
|
+
scAppCardappIcon = /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_artifacts_default, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
6002
6744
|
className,
|
|
6003
6745
|
...props
|
|
6004
6746
|
}) => {
|
|
6005
6747
|
const variantsClassName = ScPhtogenixInvite_default["active-" + active];
|
|
6006
|
-
return /* @__PURE__ */ (0,
|
|
6748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
6007
6749
|
"div",
|
|
6008
6750
|
{
|
|
6009
6751
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
6010
6752
|
children: [
|
|
6011
|
-
/* @__PURE__ */ (0,
|
|
6753
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6012
6754
|
ScAppCard,
|
|
6013
6755
|
{
|
|
6014
6756
|
appIcon: scAppCardappIcon,
|
|
@@ -6017,7 +6759,7 @@ var ScPhtogenixInvite = ({
|
|
|
6017
6759
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
6018
6760
|
}
|
|
6019
6761
|
),
|
|
6020
|
-
/* @__PURE__ */ (0,
|
|
6762
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6021
6763
|
ScToggleSwitch,
|
|
6022
6764
|
{
|
|
6023
6765
|
active: "false",
|
|
@@ -6058,10 +6800,10 @@ var ScOnlyField_default = {
|
|
|
6058
6800
|
};
|
|
6059
6801
|
|
|
6060
6802
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
6061
|
-
var
|
|
6803
|
+
var import_jsx_runtime93 = __toESM(require_jsx_runtime());
|
|
6062
6804
|
var ScOnlyField = ({
|
|
6063
|
-
tfRightIcon = /* @__PURE__ */ (0,
|
|
6064
|
-
tfLeftIcon = /* @__PURE__ */ (0,
|
|
6805
|
+
tfRightIcon = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(sicon_bolt_default, { className: ScOnlyField_default.siconBoltInstance }),
|
|
6806
|
+
tfLeftIcon = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(sicon_bolt_default, { className: ScOnlyField_default.siconBoltInstance }),
|
|
6065
6807
|
state = "default",
|
|
6066
6808
|
tfGroup = "icon-right",
|
|
6067
6809
|
labelGroup = "none",
|
|
@@ -6070,25 +6812,25 @@ var ScOnlyField = ({
|
|
|
6070
6812
|
...props
|
|
6071
6813
|
}) => {
|
|
6072
6814
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup];
|
|
6073
|
-
return /* @__PURE__ */ (0,
|
|
6815
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
6074
6816
|
"div",
|
|
6075
6817
|
{
|
|
6076
6818
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
6077
6819
|
...props,
|
|
6078
|
-
children: /* @__PURE__ */ (0,
|
|
6079
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
6080
|
-
/* @__PURE__ */ (0,
|
|
6820
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
6821
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_jsx_runtime93.Fragment, { children: tfLeftIcon }),
|
|
6822
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScOnlyField_default.inputText, children: [
|
|
6081
6823
|
placeholderFilled,
|
|
6082
6824
|
" "
|
|
6083
6825
|
] }),
|
|
6084
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
6826
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_jsx_runtime93.Fragment, { children: tfRightIcon })
|
|
6085
6827
|
] })
|
|
6086
6828
|
}
|
|
6087
6829
|
);
|
|
6088
6830
|
};
|
|
6089
6831
|
|
|
6090
6832
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
6091
|
-
var
|
|
6833
|
+
var import_jsx_runtime94 = __toESM(require_jsx_runtime());
|
|
6092
6834
|
var ScCatalogixInvite = ({
|
|
6093
6835
|
active = "false",
|
|
6094
6836
|
appName = "Catalogix",
|
|
@@ -6101,23 +6843,23 @@ var ScCatalogixInvite = ({
|
|
|
6101
6843
|
...props
|
|
6102
6844
|
}) => {
|
|
6103
6845
|
const variantsClassName = ScCatalogixInvite_default["active-" + active];
|
|
6104
|
-
return /* @__PURE__ */ (0,
|
|
6846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
6105
6847
|
"div",
|
|
6106
6848
|
{
|
|
6107
6849
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
6108
6850
|
...props,
|
|
6109
6851
|
children: [
|
|
6110
|
-
/* @__PURE__ */ (0,
|
|
6111
|
-
/* @__PURE__ */ (0,
|
|
6852
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
6853
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6112
6854
|
ScAppCard,
|
|
6113
6855
|
{
|
|
6114
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
6856
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_artifacts_default, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
6115
6857
|
appDescription,
|
|
6116
6858
|
appName,
|
|
6117
6859
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
6118
6860
|
}
|
|
6119
6861
|
),
|
|
6120
|
-
/* @__PURE__ */ (0,
|
|
6862
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6121
6863
|
ScToggleSwitch,
|
|
6122
6864
|
{
|
|
6123
6865
|
active: "false",
|
|
@@ -6125,67 +6867,67 @@ var ScCatalogixInvite = ({
|
|
|
6125
6867
|
}
|
|
6126
6868
|
)
|
|
6127
6869
|
] }),
|
|
6128
|
-
active === "true" && /* @__PURE__ */ (0,
|
|
6129
|
-
/* @__PURE__ */ (0,
|
|
6130
|
-
/* @__PURE__ */ (0,
|
|
6870
|
+
active === "true" && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_jsx_runtime94.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
6871
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
6872
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
6131
6873
|
storeAccessTitle,
|
|
6132
6874
|
" "
|
|
6133
6875
|
] }),
|
|
6134
|
-
/* @__PURE__ */ (0,
|
|
6876
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
6135
6877
|
selectedCount,
|
|
6136
6878
|
" "
|
|
6137
6879
|
] })
|
|
6138
6880
|
] }),
|
|
6139
|
-
/* @__PURE__ */ (0,
|
|
6881
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6140
6882
|
ScOnlyField,
|
|
6141
6883
|
{
|
|
6142
|
-
tfLeftIcon: /* @__PURE__ */ (0,
|
|
6143
|
-
tfRightIcon: /* @__PURE__ */ (0,
|
|
6884
|
+
tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
6885
|
+
tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
6144
6886
|
placeholderFilled: searchPlaceholder,
|
|
6145
6887
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
6146
6888
|
}
|
|
6147
6889
|
),
|
|
6148
|
-
/* @__PURE__ */ (0,
|
|
6149
|
-
/* @__PURE__ */ (0,
|
|
6890
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeListContainer, children: [
|
|
6891
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6150
6892
|
ScPairtext,
|
|
6151
6893
|
{
|
|
6152
|
-
icon: /* @__PURE__ */ (0,
|
|
6894
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6153
6895
|
iconPosition: "right",
|
|
6154
6896
|
type: "checkbox",
|
|
6155
6897
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6156
6898
|
}
|
|
6157
6899
|
),
|
|
6158
|
-
/* @__PURE__ */ (0,
|
|
6900
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6159
6901
|
ScPairtext,
|
|
6160
6902
|
{
|
|
6161
|
-
icon: /* @__PURE__ */ (0,
|
|
6903
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6162
6904
|
iconPosition: "right",
|
|
6163
6905
|
type: "checkbox",
|
|
6164
6906
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6165
6907
|
}
|
|
6166
6908
|
),
|
|
6167
|
-
/* @__PURE__ */ (0,
|
|
6909
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6168
6910
|
ScPairtext,
|
|
6169
6911
|
{
|
|
6170
|
-
icon: /* @__PURE__ */ (0,
|
|
6912
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6171
6913
|
iconPosition: "right",
|
|
6172
6914
|
type: "checkbox",
|
|
6173
6915
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6174
6916
|
}
|
|
6175
6917
|
),
|
|
6176
|
-
/* @__PURE__ */ (0,
|
|
6918
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6177
6919
|
ScPairtext,
|
|
6178
6920
|
{
|
|
6179
|
-
icon: /* @__PURE__ */ (0,
|
|
6921
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6180
6922
|
iconPosition: "right",
|
|
6181
6923
|
type: "checkbox",
|
|
6182
6924
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6183
6925
|
}
|
|
6184
6926
|
),
|
|
6185
|
-
/* @__PURE__ */ (0,
|
|
6927
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6186
6928
|
ScPairtext,
|
|
6187
6929
|
{
|
|
6188
|
-
icon: /* @__PURE__ */ (0,
|
|
6930
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6189
6931
|
iconPosition: "right",
|
|
6190
6932
|
type: "checkbox",
|
|
6191
6933
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -6199,34 +6941,34 @@ var ScCatalogixInvite = ({
|
|
|
6199
6941
|
};
|
|
6200
6942
|
|
|
6201
6943
|
// src/SC-appField/ScAppField.tsx
|
|
6202
|
-
var
|
|
6944
|
+
var import_jsx_runtime95 = __toESM(require_jsx_runtime());
|
|
6203
6945
|
var ScAppField = ({
|
|
6204
6946
|
appFieldTitle = "App permission",
|
|
6205
6947
|
className,
|
|
6206
6948
|
...props
|
|
6207
6949
|
}) => {
|
|
6208
|
-
return /* @__PURE__ */ (0,
|
|
6209
|
-
/* @__PURE__ */ (0,
|
|
6950
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
6951
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScAppField_default.title, children: [
|
|
6210
6952
|
appFieldTitle,
|
|
6211
6953
|
" "
|
|
6212
6954
|
] }) }),
|
|
6213
|
-
/* @__PURE__ */ (0,
|
|
6214
|
-
/* @__PURE__ */ (0,
|
|
6955
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScAppField_default.inputContainer, children: [
|
|
6956
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6215
6957
|
ScArtifaxInvite,
|
|
6216
6958
|
{
|
|
6217
6959
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
6218
6960
|
}
|
|
6219
6961
|
),
|
|
6220
|
-
/* @__PURE__ */ (0,
|
|
6962
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6221
6963
|
ScPhtogenixInvite,
|
|
6222
6964
|
{
|
|
6223
6965
|
scAppCardappDescription: "Info about photogenix",
|
|
6224
6966
|
scAppCardappName: "Photogenix",
|
|
6225
|
-
scAppCardappIcon: /* @__PURE__ */ (0,
|
|
6967
|
+
scAppCardappIcon: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(sicon_photogenix_default, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
6226
6968
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
6227
6969
|
}
|
|
6228
6970
|
),
|
|
6229
|
-
/* @__PURE__ */ (0,
|
|
6971
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6230
6972
|
ScCatalogixInvite,
|
|
6231
6973
|
{
|
|
6232
6974
|
active: "true",
|
|
@@ -6246,13 +6988,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
6246
6988
|
};
|
|
6247
6989
|
|
|
6248
6990
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
6249
|
-
var
|
|
6991
|
+
var import_jsx_runtime96 = __toESM(require_jsx_runtime());
|
|
6250
6992
|
var ScBillingHistoryHeader = ({
|
|
6251
6993
|
className,
|
|
6252
6994
|
...props
|
|
6253
6995
|
}) => {
|
|
6254
|
-
return /* @__PURE__ */ (0,
|
|
6255
|
-
/* @__PURE__ */ (0,
|
|
6996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
6997
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6256
6998
|
ScHeader,
|
|
6257
6999
|
{
|
|
6258
7000
|
text: "Invoice",
|
|
@@ -6260,7 +7002,7 @@ var ScBillingHistoryHeader = ({
|
|
|
6260
7002
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
6261
7003
|
}
|
|
6262
7004
|
),
|
|
6263
|
-
/* @__PURE__ */ (0,
|
|
7005
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6264
7006
|
ScHeader,
|
|
6265
7007
|
{
|
|
6266
7008
|
text: "Amount",
|
|
@@ -6268,7 +7010,7 @@ var ScBillingHistoryHeader = ({
|
|
|
6268
7010
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
6269
7011
|
}
|
|
6270
7012
|
),
|
|
6271
|
-
/* @__PURE__ */ (0,
|
|
7013
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6272
7014
|
ScHeader,
|
|
6273
7015
|
{
|
|
6274
7016
|
text: "Date",
|
|
@@ -6276,7 +7018,7 @@ var ScBillingHistoryHeader = ({
|
|
|
6276
7018
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
6277
7019
|
}
|
|
6278
7020
|
),
|
|
6279
|
-
/* @__PURE__ */ (0,
|
|
7021
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6280
7022
|
ScHeader,
|
|
6281
7023
|
{
|
|
6282
7024
|
text: "Action",
|
|
@@ -6297,30 +7039,30 @@ var ScCheckField_default = {
|
|
|
6297
7039
|
};
|
|
6298
7040
|
|
|
6299
7041
|
// src/SC-checkField/ScCheckField.tsx
|
|
6300
|
-
var
|
|
7042
|
+
var import_jsx_runtime97 = __toESM(require_jsx_runtime());
|
|
6301
7043
|
var ScCheckField = ({
|
|
6302
7044
|
label = "Label",
|
|
6303
7045
|
className,
|
|
6304
7046
|
...props
|
|
6305
7047
|
}) => {
|
|
6306
|
-
return /* @__PURE__ */ (0,
|
|
6307
|
-
/* @__PURE__ */ (0,
|
|
7048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
7049
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScCheckField_default.label, children: [
|
|
6308
7050
|
label,
|
|
6309
7051
|
" "
|
|
6310
7052
|
] }) }),
|
|
6311
|
-
/* @__PURE__ */ (0,
|
|
6312
|
-
/* @__PURE__ */ (0,
|
|
7053
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScCheckField_default.tabSwitcher, children: [
|
|
7054
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6313
7055
|
ScPairtext,
|
|
6314
7056
|
{
|
|
6315
|
-
icon: /* @__PURE__ */ (0,
|
|
7057
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(sicon_Home_default, { className: ScCheckField_default.siconHomeInstance }),
|
|
6316
7058
|
type: "checkbox",
|
|
6317
7059
|
className: ScCheckField_default.scPairtextInstance
|
|
6318
7060
|
}
|
|
6319
7061
|
),
|
|
6320
|
-
/* @__PURE__ */ (0,
|
|
7062
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6321
7063
|
ScPairtext,
|
|
6322
7064
|
{
|
|
6323
|
-
icon: /* @__PURE__ */ (0,
|
|
7065
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(sicon_Home_default, { className: ScCheckField_default.siconHomeInstance }),
|
|
6324
7066
|
type: "checkbox",
|
|
6325
7067
|
className: ScCheckField_default.scPairtextInstance
|
|
6326
7068
|
}
|
|
@@ -6340,9 +7082,9 @@ var ScFieldButton_default = {
|
|
|
6340
7082
|
};
|
|
6341
7083
|
|
|
6342
7084
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
6343
|
-
var
|
|
7085
|
+
var import_jsx_runtime98 = __toESM(require_jsx_runtime());
|
|
6344
7086
|
var ScFieldButton = ({
|
|
6345
|
-
icon = /* @__PURE__ */ (0,
|
|
7087
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(sicon_Home_default, { className: ScFieldButton_default.siconHomeInstance }),
|
|
6346
7088
|
type = "default",
|
|
6347
7089
|
state = "default",
|
|
6348
7090
|
className,
|
|
@@ -6350,18 +7092,18 @@ var ScFieldButton = ({
|
|
|
6350
7092
|
...props
|
|
6351
7093
|
}) => {
|
|
6352
7094
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
6353
|
-
return /* @__PURE__ */ (0,
|
|
7095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
6354
7096
|
"div",
|
|
6355
7097
|
{
|
|
6356
7098
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
6357
7099
|
...props,
|
|
6358
|
-
children: /* @__PURE__ */ (0,
|
|
6359
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0,
|
|
6360
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0,
|
|
7100
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScFieldButton_default.container, children: [
|
|
7101
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_jsx_runtime98.Fragment, { children: icon }),
|
|
7102
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_jsx_runtime98.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScFieldButton_default.label, children: [
|
|
6361
7103
|
text,
|
|
6362
7104
|
" "
|
|
6363
7105
|
] }) }),
|
|
6364
|
-
type === "icon-left" && /* @__PURE__ */ (0,
|
|
7106
|
+
type === "icon-left" && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_jsx_runtime98.Fragment, { children: icon })
|
|
6365
7107
|
] })
|
|
6366
7108
|
}
|
|
6367
7109
|
);
|
|
@@ -6375,16 +7117,16 @@ var ScPendingAction_default = {
|
|
|
6375
7117
|
};
|
|
6376
7118
|
|
|
6377
7119
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
6378
|
-
var
|
|
7120
|
+
var import_jsx_runtime99 = __toESM(require_jsx_runtime());
|
|
6379
7121
|
var ScPendingAction = ({
|
|
6380
7122
|
className,
|
|
6381
7123
|
...props
|
|
6382
7124
|
}) => {
|
|
6383
|
-
return /* @__PURE__ */ (0,
|
|
6384
|
-
/* @__PURE__ */ (0,
|
|
7125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
7126
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6385
7127
|
ScButton,
|
|
6386
7128
|
{
|
|
6387
|
-
icon: /* @__PURE__ */ (0,
|
|
7129
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(sicon_Home_default, { className: ScPendingAction_default.siconHomeInstance }),
|
|
6388
7130
|
text: "Cancel",
|
|
6389
7131
|
variant: "error",
|
|
6390
7132
|
type: "tertiary",
|
|
@@ -6392,11 +7134,11 @@ var ScPendingAction = ({
|
|
|
6392
7134
|
className: ScPendingAction_default.scButtonInstance
|
|
6393
7135
|
}
|
|
6394
7136
|
),
|
|
6395
|
-
/* @__PURE__ */ (0,
|
|
6396
|
-
/* @__PURE__ */ (0,
|
|
7137
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
7138
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6397
7139
|
ScButton,
|
|
6398
7140
|
{
|
|
6399
|
-
icon: /* @__PURE__ */ (0,
|
|
7141
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(sicon_Home_default, { className: ScPendingAction_default.siconHomeInstance }),
|
|
6400
7142
|
text: "Resend",
|
|
6401
7143
|
variant: "tertiary",
|
|
6402
7144
|
size: "sm",
|
|
@@ -6419,7 +7161,7 @@ var ScQuickPrompt_default = {
|
|
|
6419
7161
|
};
|
|
6420
7162
|
|
|
6421
7163
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
6422
|
-
var
|
|
7164
|
+
var import_jsx_runtime100 = __toESM(require_jsx_runtime());
|
|
6423
7165
|
var ScQuickPrompt = ({
|
|
6424
7166
|
appName = "Photogenix",
|
|
6425
7167
|
heading = "Swap Model and Background",
|
|
@@ -6427,20 +7169,20 @@ var ScQuickPrompt = ({
|
|
|
6427
7169
|
className,
|
|
6428
7170
|
...props
|
|
6429
7171
|
}) => {
|
|
6430
|
-
return /* @__PURE__ */ (0,
|
|
6431
|
-
/* @__PURE__ */ (0,
|
|
6432
|
-
/* @__PURE__ */ (0,
|
|
6433
|
-
/* @__PURE__ */ (0,
|
|
7172
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
7173
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.header, children: [
|
|
7174
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(sicon_bolt_default, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
7175
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.title, children: [
|
|
6434
7176
|
appName,
|
|
6435
7177
|
" "
|
|
6436
7178
|
] }) })
|
|
6437
7179
|
] }),
|
|
6438
|
-
/* @__PURE__ */ (0,
|
|
6439
|
-
/* @__PURE__ */ (0,
|
|
7180
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.body, children: [
|
|
7181
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.heading, children: [
|
|
6440
7182
|
heading,
|
|
6441
7183
|
" "
|
|
6442
7184
|
] }),
|
|
6443
|
-
/* @__PURE__ */ (0,
|
|
7185
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.description, children: [
|
|
6444
7186
|
description,
|
|
6445
7187
|
" "
|
|
6446
7188
|
] })
|
|
@@ -6457,13 +7199,13 @@ var ScReferralTableHeader_default = {
|
|
|
6457
7199
|
};
|
|
6458
7200
|
|
|
6459
7201
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
6460
|
-
var
|
|
7202
|
+
var import_jsx_runtime101 = __toESM(require_jsx_runtime());
|
|
6461
7203
|
var ScReferralTableHeader = ({
|
|
6462
7204
|
className,
|
|
6463
7205
|
...props
|
|
6464
7206
|
}) => {
|
|
6465
|
-
return /* @__PURE__ */ (0,
|
|
6466
|
-
/* @__PURE__ */ (0,
|
|
7207
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
7208
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6467
7209
|
ScHeader,
|
|
6468
7210
|
{
|
|
6469
7211
|
text: "User",
|
|
@@ -6471,7 +7213,7 @@ var ScReferralTableHeader = ({
|
|
|
6471
7213
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
6472
7214
|
}
|
|
6473
7215
|
),
|
|
6474
|
-
/* @__PURE__ */ (0,
|
|
7216
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6475
7217
|
ScHeader,
|
|
6476
7218
|
{
|
|
6477
7219
|
text: "Date",
|
|
@@ -6479,7 +7221,7 @@ var ScReferralTableHeader = ({
|
|
|
6479
7221
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
6480
7222
|
}
|
|
6481
7223
|
),
|
|
6482
|
-
/* @__PURE__ */ (0,
|
|
7224
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6483
7225
|
ScHeader,
|
|
6484
7226
|
{
|
|
6485
7227
|
text: "Status",
|
|
@@ -6487,7 +7229,7 @@ var ScReferralTableHeader = ({
|
|
|
6487
7229
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
6488
7230
|
}
|
|
6489
7231
|
),
|
|
6490
|
-
/* @__PURE__ */ (0,
|
|
7232
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6491
7233
|
ScHeader,
|
|
6492
7234
|
{
|
|
6493
7235
|
text: "Reward",
|
|
@@ -6508,7 +7250,7 @@ var ScReferralTableList_default = {
|
|
|
6508
7250
|
};
|
|
6509
7251
|
|
|
6510
7252
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
6511
|
-
var
|
|
7253
|
+
var import_jsx_runtime102 = __toESM(require_jsx_runtime());
|
|
6512
7254
|
var ScReferralTableList = ({
|
|
6513
7255
|
userEmail = "chris@kepler.com",
|
|
6514
7256
|
userName,
|
|
@@ -6518,8 +7260,8 @@ var ScReferralTableList = ({
|
|
|
6518
7260
|
className,
|
|
6519
7261
|
...props
|
|
6520
7262
|
}) => {
|
|
6521
|
-
return /* @__PURE__ */ (0,
|
|
6522
|
-
/* @__PURE__ */ (0,
|
|
7263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
7264
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
6523
7265
|
ScProfile,
|
|
6524
7266
|
{
|
|
6525
7267
|
subText: userEmail,
|
|
@@ -6527,12 +7269,12 @@ var ScReferralTableList = ({
|
|
|
6527
7269
|
className: ScReferralTableList_default.scProfileInstance
|
|
6528
7270
|
}
|
|
6529
7271
|
),
|
|
6530
|
-
/* @__PURE__ */ (0,
|
|
7272
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScReferralTableList_default.date, children: [
|
|
6531
7273
|
date,
|
|
6532
7274
|
" "
|
|
6533
7275
|
] }),
|
|
6534
|
-
/* @__PURE__ */ (0,
|
|
6535
|
-
/* @__PURE__ */ (0,
|
|
7276
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
7277
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScReferralTableList_default.points, children: [
|
|
6536
7278
|
points,
|
|
6537
7279
|
" "
|
|
6538
7280
|
] })
|
|
@@ -6546,33 +7288,33 @@ var ScSettingsNav_default = {
|
|
|
6546
7288
|
};
|
|
6547
7289
|
|
|
6548
7290
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
6549
|
-
var
|
|
7291
|
+
var import_jsx_runtime103 = __toESM(require_jsx_runtime());
|
|
6550
7292
|
var ScSettingsNav = ({
|
|
6551
7293
|
className,
|
|
6552
7294
|
...props
|
|
6553
7295
|
}) => {
|
|
6554
|
-
return /* @__PURE__ */ (0,
|
|
6555
|
-
/* @__PURE__ */ (0,
|
|
7296
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: ScSettingsNav_default.container, children: [
|
|
7297
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6556
7298
|
ScSidebarMenu,
|
|
6557
7299
|
{
|
|
6558
|
-
icon: /* @__PURE__ */ (0,
|
|
7300
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(sicon_team_default, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
6559
7301
|
text: "Profile",
|
|
6560
7302
|
state: "active",
|
|
6561
7303
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
6562
7304
|
}
|
|
6563
7305
|
),
|
|
6564
|
-
/* @__PURE__ */ (0,
|
|
7306
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6565
7307
|
ScSidebarMenu,
|
|
6566
7308
|
{
|
|
6567
|
-
icon: /* @__PURE__ */ (0,
|
|
7309
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(sicon_workspace_default, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
6568
7310
|
text: "Workspace",
|
|
6569
7311
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
6570
7312
|
}
|
|
6571
7313
|
),
|
|
6572
|
-
/* @__PURE__ */ (0,
|
|
7314
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6573
7315
|
ScSidebarMenu,
|
|
6574
7316
|
{
|
|
6575
|
-
icon: /* @__PURE__ */ (0,
|
|
7317
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(sicon_referral_default, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
6576
7318
|
text: "Referral",
|
|
6577
7319
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
6578
7320
|
}
|
|
@@ -6588,18 +7330,18 @@ var ScTabField_default = {
|
|
|
6588
7330
|
};
|
|
6589
7331
|
|
|
6590
7332
|
// src/SC-tabField/ScTabField.tsx
|
|
6591
|
-
var
|
|
7333
|
+
var import_jsx_runtime104 = __toESM(require_jsx_runtime());
|
|
6592
7334
|
var ScTabField = ({
|
|
6593
7335
|
label = "Label",
|
|
6594
7336
|
className,
|
|
6595
7337
|
...props
|
|
6596
7338
|
}) => {
|
|
6597
|
-
return /* @__PURE__ */ (0,
|
|
6598
|
-
/* @__PURE__ */ (0,
|
|
7339
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
7340
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: ScTabField_default.label, children: [
|
|
6599
7341
|
label,
|
|
6600
7342
|
" "
|
|
6601
7343
|
] }) }),
|
|
6602
|
-
/* @__PURE__ */ (0,
|
|
7344
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
6603
7345
|
] });
|
|
6604
7346
|
};
|
|
6605
7347
|
|
|
@@ -6616,19 +7358,19 @@ var ScTableHeader_default = {
|
|
|
6616
7358
|
};
|
|
6617
7359
|
|
|
6618
7360
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
6619
|
-
var
|
|
7361
|
+
var import_jsx_runtime105 = __toESM(require_jsx_runtime());
|
|
6620
7362
|
var ScTableHeader = ({
|
|
6621
7363
|
type = "default",
|
|
6622
7364
|
className,
|
|
6623
7365
|
...props
|
|
6624
7366
|
}) => {
|
|
6625
7367
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
6626
|
-
return /* @__PURE__ */ (0,
|
|
7368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
6627
7369
|
"div",
|
|
6628
7370
|
{
|
|
6629
7371
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
6630
7372
|
children: [
|
|
6631
|
-
/* @__PURE__ */ (0,
|
|
7373
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6632
7374
|
ScHeader,
|
|
6633
7375
|
{
|
|
6634
7376
|
text: "User",
|
|
@@ -6636,7 +7378,7 @@ var ScTableHeader = ({
|
|
|
6636
7378
|
className: ScTableHeader_default.scHeaderInstance
|
|
6637
7379
|
}
|
|
6638
7380
|
),
|
|
6639
|
-
/* @__PURE__ */ (0,
|
|
7381
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6640
7382
|
ScHeader,
|
|
6641
7383
|
{
|
|
6642
7384
|
text: "Role",
|
|
@@ -6644,7 +7386,7 @@ var ScTableHeader = ({
|
|
|
6644
7386
|
className: ScTableHeader_default.scHeaderInstance2
|
|
6645
7387
|
}
|
|
6646
7388
|
),
|
|
6647
|
-
/* @__PURE__ */ (0,
|
|
7389
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6648
7390
|
ScHeader,
|
|
6649
7391
|
{
|
|
6650
7392
|
text: "Access",
|
|
@@ -6652,7 +7394,7 @@ var ScTableHeader = ({
|
|
|
6652
7394
|
className: ScTableHeader_default.scHeaderInstance3
|
|
6653
7395
|
}
|
|
6654
7396
|
),
|
|
6655
|
-
/* @__PURE__ */ (0,
|
|
7397
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6656
7398
|
ScHeader,
|
|
6657
7399
|
{
|
|
6658
7400
|
text: "Invited by",
|
|
@@ -6660,7 +7402,7 @@ var ScTableHeader = ({
|
|
|
6660
7402
|
className: ScTableHeader_default.scHeaderInstance4
|
|
6661
7403
|
}
|
|
6662
7404
|
),
|
|
6663
|
-
type === "pending" && /* @__PURE__ */ (0,
|
|
7405
|
+
type === "pending" && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_jsx_runtime105.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6664
7406
|
ScHeader,
|
|
6665
7407
|
{
|
|
6666
7408
|
text: "Invite action",
|
|
@@ -6668,7 +7410,7 @@ var ScTableHeader = ({
|
|
|
6668
7410
|
className: ScTableHeader_default.scHeaderInstance5
|
|
6669
7411
|
}
|
|
6670
7412
|
) }),
|
|
6671
|
-
type === "default" && /* @__PURE__ */ (0,
|
|
7413
|
+
type === "default" && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_jsx_runtime105.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6672
7414
|
ScHeader,
|
|
6673
7415
|
{
|
|
6674
7416
|
text: "Signed On",
|
|
@@ -6700,7 +7442,7 @@ var ScTableList_default = {
|
|
|
6700
7442
|
};
|
|
6701
7443
|
|
|
6702
7444
|
// src/SC-tableList/ScTableList.tsx
|
|
6703
|
-
var
|
|
7445
|
+
var import_jsx_runtime106 = __toESM(require_jsx_runtime());
|
|
6704
7446
|
var ScTableList = ({
|
|
6705
7447
|
invitedBy = "Rohan",
|
|
6706
7448
|
signedOn = "Nov 9th, 2025",
|
|
@@ -6712,51 +7454,51 @@ var ScTableList = ({
|
|
|
6712
7454
|
...props
|
|
6713
7455
|
}) => {
|
|
6714
7456
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
6715
|
-
return /* @__PURE__ */ (0,
|
|
7457
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
6716
7458
|
"div",
|
|
6717
7459
|
{
|
|
6718
7460
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
6719
7461
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
6720
7462
|
...props,
|
|
6721
7463
|
children: [
|
|
6722
|
-
/* @__PURE__ */ (0,
|
|
7464
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6723
7465
|
ScProfile,
|
|
6724
7466
|
{
|
|
6725
7467
|
subText: userEmail,
|
|
6726
7468
|
className: ScTableList_default.scProfileInstance
|
|
6727
7469
|
}
|
|
6728
7470
|
),
|
|
6729
|
-
/* @__PURE__ */ (0,
|
|
6730
|
-
/* @__PURE__ */ (0,
|
|
6731
|
-
/* @__PURE__ */ (0,
|
|
7471
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
7472
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScTableList_default.accessInfo, children: [
|
|
7473
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6732
7474
|
ScAccess,
|
|
6733
7475
|
{
|
|
6734
|
-
component: /* @__PURE__ */ (0,
|
|
6735
|
-
component2: /* @__PURE__ */ (0,
|
|
7476
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_artifacts_default, { className: ScTableList_default.siconArtifactsInstance }),
|
|
7477
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_photogenix_default, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
6736
7478
|
className: ScTableList_default.scAccessInstance
|
|
6737
7479
|
}
|
|
6738
7480
|
),
|
|
6739
|
-
/* @__PURE__ */ (0,
|
|
7481
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6740
7482
|
ScAccess,
|
|
6741
7483
|
{
|
|
6742
|
-
component: /* @__PURE__ */ (0,
|
|
6743
|
-
component2: /* @__PURE__ */ (0,
|
|
7484
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_userAdd_default, { className: ScTableList_default.siconUserAddInstance }),
|
|
7485
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_Coins_default, { className: ScTableList_default.siconCoinsInstance }),
|
|
6744
7486
|
visibleSiconCatalogix: false,
|
|
6745
7487
|
className: ScTableList_default.scAccessInstance
|
|
6746
7488
|
}
|
|
6747
7489
|
)
|
|
6748
7490
|
] }),
|
|
6749
|
-
/* @__PURE__ */ (0,
|
|
7491
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScTableList_default.userName, children: [
|
|
6750
7492
|
invitedBy,
|
|
6751
7493
|
" "
|
|
6752
7494
|
] }),
|
|
6753
|
-
variant === "pending" && /* @__PURE__ */ (0,
|
|
7495
|
+
variant === "pending" && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_jsx_runtime106.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6754
7496
|
ScPendingAction,
|
|
6755
7497
|
{
|
|
6756
7498
|
className: ScTableList_default.scPendingActionInstance
|
|
6757
7499
|
}
|
|
6758
7500
|
) }),
|
|
6759
|
-
variant === "active" && /* @__PURE__ */ (0,
|
|
7501
|
+
variant === "active" && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_jsx_runtime106.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScTableList_default.date, children: [
|
|
6760
7502
|
signedOn,
|
|
6761
7503
|
" "
|
|
6762
7504
|
] }) })
|
|
@@ -6785,7 +7527,7 @@ var ScWorkspaceCard_default = {
|
|
|
6785
7527
|
};
|
|
6786
7528
|
|
|
6787
7529
|
// src/SC-workspaceCard/ScWorkspaceCard.tsx
|
|
6788
|
-
var
|
|
7530
|
+
var import_jsx_runtime107 = __toESM(require_jsx_runtime());
|
|
6789
7531
|
var ScWorkspaceCard = ({
|
|
6790
7532
|
workspaceName = "Stores",
|
|
6791
7533
|
role = "Admin",
|
|
@@ -6795,21 +7537,21 @@ var ScWorkspaceCard = ({
|
|
|
6795
7537
|
className,
|
|
6796
7538
|
...props
|
|
6797
7539
|
}) => {
|
|
6798
|
-
return /* @__PURE__ */ (0,
|
|
6799
|
-
/* @__PURE__ */ (0,
|
|
6800
|
-
/* @__PURE__ */ (0,
|
|
7540
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
7541
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
7542
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6801
7543
|
ScIntialProfileCover,
|
|
6802
7544
|
{
|
|
6803
7545
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
6804
7546
|
}
|
|
6805
7547
|
),
|
|
6806
|
-
/* @__PURE__ */ (0,
|
|
7548
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
6807
7549
|
workspaceName,
|
|
6808
7550
|
" "
|
|
6809
7551
|
] })
|
|
6810
7552
|
] }),
|
|
6811
|
-
/* @__PURE__ */ (0,
|
|
6812
|
-
/* @__PURE__ */ (0,
|
|
7553
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
7554
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6813
7555
|
ScBadges,
|
|
6814
7556
|
{
|
|
6815
7557
|
text: role,
|
|
@@ -6817,41 +7559,41 @@ var ScWorkspaceCard = ({
|
|
|
6817
7559
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
6818
7560
|
}
|
|
6819
7561
|
),
|
|
6820
|
-
/* @__PURE__ */ (0,
|
|
6821
|
-
/* @__PURE__ */ (0,
|
|
7562
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
7563
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6822
7564
|
ScPairtext,
|
|
6823
7565
|
{
|
|
6824
|
-
icon: /* @__PURE__ */ (0,
|
|
7566
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_team_default, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
6825
7567
|
content: userCount,
|
|
6826
7568
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
6827
7569
|
}
|
|
6828
7570
|
),
|
|
6829
|
-
/* @__PURE__ */ (0,
|
|
6830
|
-
/* @__PURE__ */ (0,
|
|
7571
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
7572
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6831
7573
|
ScPairtext,
|
|
6832
7574
|
{
|
|
6833
|
-
icon: /* @__PURE__ */ (0,
|
|
7575
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_Crown_default, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
6834
7576
|
content: ownerEmail,
|
|
6835
7577
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
6836
7578
|
}
|
|
6837
7579
|
)
|
|
6838
7580
|
] })
|
|
6839
7581
|
] }),
|
|
6840
|
-
/* @__PURE__ */ (0,
|
|
7582
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6841
7583
|
ScButton,
|
|
6842
7584
|
{
|
|
6843
|
-
icon: /* @__PURE__ */ (0,
|
|
7585
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_switch_default, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
6844
7586
|
text: buttonText,
|
|
6845
7587
|
state: "disabled",
|
|
6846
7588
|
variant: "outline",
|
|
6847
7589
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
6848
7590
|
}
|
|
6849
7591
|
),
|
|
6850
|
-
/* @__PURE__ */ (0,
|
|
7592
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6851
7593
|
ScButton,
|
|
6852
7594
|
{
|
|
6853
7595
|
text: "Leave workspace",
|
|
6854
|
-
icon: /* @__PURE__ */ (0,
|
|
7596
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_logout_default, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
6855
7597
|
styleVariant: "icon-only",
|
|
6856
7598
|
variant: "error",
|
|
6857
7599
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -6917,8 +7659,9 @@ export {
|
|
|
6917
7659
|
ScToggleSwitch,
|
|
6918
7660
|
ScVDivider,
|
|
6919
7661
|
ScVersion,
|
|
6920
|
-
|
|
6921
|
-
|
|
7662
|
+
ScWorkspaceCard,
|
|
7663
|
+
StreamoidSidebar,
|
|
7664
|
+
StreamoidWorkspaceSwitcher
|
|
6922
7665
|
};
|
|
6923
7666
|
/*! Bundled license information:
|
|
6924
7667
|
|