@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.js
CHANGED
|
@@ -1097,11 +1097,11 @@ var require_react_development = __commonJS({
|
|
|
1097
1097
|
var dispatcher = resolveDispatcher();
|
|
1098
1098
|
return dispatcher.useReducer(reducer, initialArg, init);
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function useRef2(initialValue) {
|
|
1101
1101
|
var dispatcher = resolveDispatcher();
|
|
1102
1102
|
return dispatcher.useRef(initialValue);
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function useEffect2(create, deps) {
|
|
1105
1105
|
var dispatcher = resolveDispatcher();
|
|
1106
1106
|
return dispatcher.useEffect(create, deps);
|
|
1107
1107
|
}
|
|
@@ -1884,14 +1884,14 @@ var require_react_development = __commonJS({
|
|
|
1884
1884
|
exports.useContext = useContext;
|
|
1885
1885
|
exports.useDebugValue = useDebugValue;
|
|
1886
1886
|
exports.useDeferredValue = useDeferredValue;
|
|
1887
|
-
exports.useEffect =
|
|
1887
|
+
exports.useEffect = useEffect2;
|
|
1888
1888
|
exports.useId = useId;
|
|
1889
1889
|
exports.useImperativeHandle = useImperativeHandle;
|
|
1890
1890
|
exports.useInsertionEffect = useInsertionEffect;
|
|
1891
1891
|
exports.useLayoutEffect = useLayoutEffect;
|
|
1892
1892
|
exports.useMemo = useMemo;
|
|
1893
1893
|
exports.useReducer = useReducer;
|
|
1894
|
-
exports.useRef =
|
|
1894
|
+
exports.useRef = useRef2;
|
|
1895
1895
|
exports.useState = useState;
|
|
1896
1896
|
exports.useSyncExternalStore = useSyncExternalStore;
|
|
1897
1897
|
exports.useTransition = useTransition;
|
|
@@ -2799,11 +2799,11 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
2799
2799
|
return jsxWithValidation(type, props, key, false);
|
|
2800
2800
|
}
|
|
2801
2801
|
}
|
|
2802
|
-
var
|
|
2803
|
-
var
|
|
2802
|
+
var jsx107 = jsxWithValidationDynamic;
|
|
2803
|
+
var jsxs59 = jsxWithValidationStatic;
|
|
2804
2804
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
2805
|
-
exports.jsx =
|
|
2806
|
-
exports.jsxs =
|
|
2805
|
+
exports.jsx = jsx107;
|
|
2806
|
+
exports.jsxs = jsxs59;
|
|
2807
2807
|
})();
|
|
2808
2808
|
}
|
|
2809
2809
|
}
|
|
@@ -2881,8 +2881,9 @@ __export(index_exports, {
|
|
|
2881
2881
|
ScToggleSwitch: () => ScToggleSwitch,
|
|
2882
2882
|
ScVDivider: () => ScVDivider,
|
|
2883
2883
|
ScVersion: () => ScVersion,
|
|
2884
|
-
|
|
2885
|
-
|
|
2884
|
+
ScWorkspaceCard: () => ScWorkspaceCard,
|
|
2885
|
+
StreamoidSidebar: () => StreamoidSidebar,
|
|
2886
|
+
StreamoidWorkspaceSwitcher: () => StreamoidWorkspaceSwitcher
|
|
2886
2887
|
});
|
|
2887
2888
|
module.exports = __toCommonJS(index_exports);
|
|
2888
2889
|
|
|
@@ -3104,6 +3105,22 @@ var SiconCatalogix = ({ color = "currentColor", strokeWidth = 1.25, size = 24, .
|
|
|
3104
3105
|
);
|
|
3105
3106
|
};
|
|
3106
3107
|
var sicon_catalogix_default = SiconCatalogix;
|
|
3108
|
+
var SiconClose = ({ color = "currentColor", strokeWidth = 1.25, size = 24, ...props }) => {
|
|
3109
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
3110
|
+
"svg",
|
|
3111
|
+
{
|
|
3112
|
+
...props,
|
|
3113
|
+
width: size,
|
|
3114
|
+
height: size,
|
|
3115
|
+
strokeWidth,
|
|
3116
|
+
viewBox: "0 0 24 24",
|
|
3117
|
+
fill: "none",
|
|
3118
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3119
|
+
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" })
|
|
3120
|
+
}
|
|
3121
|
+
);
|
|
3122
|
+
};
|
|
3123
|
+
var sicon_close_default = SiconClose;
|
|
3107
3124
|
var SiconCollapse = ({ color = "currentColor", strokeWidth = 1.25, size = 24, ...props }) => {
|
|
3108
3125
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
3109
3126
|
"svg",
|
|
@@ -5844,6 +5861,415 @@ var ScSidebar = ({
|
|
|
5844
5861
|
);
|
|
5845
5862
|
};
|
|
5846
5863
|
|
|
5864
|
+
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
5865
|
+
var import_jsx_runtime85 = __toESM(require_jsx_runtime());
|
|
5866
|
+
function SectionHeader({ label }) {
|
|
5867
|
+
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)(
|
|
5868
|
+
"div",
|
|
5869
|
+
{
|
|
5870
|
+
className: "flex items-center w-full text-text-xs-regular",
|
|
5871
|
+
style: {
|
|
5872
|
+
padding: "var(--spacing-xs) var(--spacing-3xl)",
|
|
5873
|
+
color: "var(--alias-text---icons-tertiary)"
|
|
5874
|
+
},
|
|
5875
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { children: label })
|
|
5876
|
+
}
|
|
5877
|
+
) }) });
|
|
5878
|
+
}
|
|
5879
|
+
function HDivider() {
|
|
5880
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5881
|
+
"div",
|
|
5882
|
+
{
|
|
5883
|
+
className: "shrink-0 w-full",
|
|
5884
|
+
style: {
|
|
5885
|
+
height: "0.5px",
|
|
5886
|
+
backgroundColor: "var(--alias-border-subtle)"
|
|
5887
|
+
}
|
|
5888
|
+
}
|
|
5889
|
+
);
|
|
5890
|
+
}
|
|
5891
|
+
function resolveIcon(iconMap, item, active, expanded) {
|
|
5892
|
+
const renderer = iconMap[item.iconKey];
|
|
5893
|
+
if (!renderer) return null;
|
|
5894
|
+
if (typeof renderer === "function") {
|
|
5895
|
+
return renderer({ item, active, expanded });
|
|
5896
|
+
}
|
|
5897
|
+
return renderer;
|
|
5898
|
+
}
|
|
5899
|
+
function resolveToggleIcon(toggleIcon, expanded) {
|
|
5900
|
+
if (!toggleIcon) return null;
|
|
5901
|
+
if (typeof toggleIcon === "function") {
|
|
5902
|
+
return toggleIcon(expanded);
|
|
5903
|
+
}
|
|
5904
|
+
return toggleIcon;
|
|
5905
|
+
}
|
|
5906
|
+
function renderMenuItem({
|
|
5907
|
+
item,
|
|
5908
|
+
sectionId,
|
|
5909
|
+
expanded,
|
|
5910
|
+
activeItemId,
|
|
5911
|
+
iconMap,
|
|
5912
|
+
onItemSelect
|
|
5913
|
+
}) {
|
|
5914
|
+
const active = item.id === activeItemId;
|
|
5915
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5916
|
+
ScSidebarMenu,
|
|
5917
|
+
{
|
|
5918
|
+
icon: resolveIcon(iconMap, item, active, expanded),
|
|
5919
|
+
text: expanded ? item.label : void 0,
|
|
5920
|
+
state: active ? "active" : "default",
|
|
5921
|
+
variant: expanded ? "expanded" : "collapsed",
|
|
5922
|
+
onClick: () => onItemSelect?.(item, sectionId)
|
|
5923
|
+
},
|
|
5924
|
+
item.id
|
|
5925
|
+
);
|
|
5926
|
+
}
|
|
5927
|
+
function StreamoidSidebar({
|
|
5928
|
+
expanded,
|
|
5929
|
+
onToggle,
|
|
5930
|
+
config,
|
|
5931
|
+
iconMap,
|
|
5932
|
+
activeItemId,
|
|
5933
|
+
onItemSelect,
|
|
5934
|
+
expandedLogo,
|
|
5935
|
+
collapsedLogo,
|
|
5936
|
+
profile,
|
|
5937
|
+
versionText = "v1.0.0",
|
|
5938
|
+
toggleIcon,
|
|
5939
|
+
className,
|
|
5940
|
+
style
|
|
5941
|
+
}) {
|
|
5942
|
+
if (expanded) {
|
|
5943
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5944
|
+
"div",
|
|
5945
|
+
{
|
|
5946
|
+
className: `flex h-full items-center shrink-0 ${className ?? ""}`.trim(),
|
|
5947
|
+
style: { padding: "var(--spacing-3xl)", ...style },
|
|
5948
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
5949
|
+
"div",
|
|
5950
|
+
{
|
|
5951
|
+
className: "flex flex-col h-full relative shrink-0",
|
|
5952
|
+
style: {
|
|
5953
|
+
backgroundColor: "var(--alias-surface-base)",
|
|
5954
|
+
borderRadius: "var(--radius-3xl)",
|
|
5955
|
+
padding: "var(--spacing-md)",
|
|
5956
|
+
width: 256,
|
|
5957
|
+
gap: "var(--spacing-xxs)"
|
|
5958
|
+
},
|
|
5959
|
+
children: [
|
|
5960
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5961
|
+
"div",
|
|
5962
|
+
{
|
|
5963
|
+
"aria-hidden": "true",
|
|
5964
|
+
className: "absolute inset-0 pointer-events-none",
|
|
5965
|
+
style: {
|
|
5966
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
5967
|
+
borderRadius: "var(--radius-3xl)"
|
|
5968
|
+
}
|
|
5969
|
+
}
|
|
5970
|
+
),
|
|
5971
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
5972
|
+
"div",
|
|
5973
|
+
{
|
|
5974
|
+
className: "flex flex-col flex-1 items-start min-h-0 w-full overflow-y-auto sidebar-scroll",
|
|
5975
|
+
style: { gap: "var(--spacing-xxs)" },
|
|
5976
|
+
children: [
|
|
5977
|
+
expandedLogo,
|
|
5978
|
+
config.topItem && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
5979
|
+
"div",
|
|
5980
|
+
{
|
|
5981
|
+
className: "flex flex-col items-start shrink-0 w-full",
|
|
5982
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
5983
|
+
children: renderMenuItem({
|
|
5984
|
+
item: config.topItem,
|
|
5985
|
+
sectionId: "top",
|
|
5986
|
+
expanded: true,
|
|
5987
|
+
activeItemId,
|
|
5988
|
+
iconMap,
|
|
5989
|
+
onItemSelect
|
|
5990
|
+
})
|
|
5991
|
+
}
|
|
5992
|
+
),
|
|
5993
|
+
config.sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
5994
|
+
"div",
|
|
5995
|
+
{
|
|
5996
|
+
className: "flex flex-col items-start shrink-0 w-full",
|
|
5997
|
+
style: {
|
|
5998
|
+
padding: "var(--spacing-md) 0",
|
|
5999
|
+
gap: "var(--spacing-xxs)"
|
|
6000
|
+
},
|
|
6001
|
+
children: [
|
|
6002
|
+
section.label ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(SectionHeader, { label: section.label }) : null,
|
|
6003
|
+
section.items.map(
|
|
6004
|
+
(item) => renderMenuItem({
|
|
6005
|
+
item,
|
|
6006
|
+
sectionId: section.id,
|
|
6007
|
+
expanded: true,
|
|
6008
|
+
activeItemId,
|
|
6009
|
+
iconMap,
|
|
6010
|
+
onItemSelect
|
|
6011
|
+
})
|
|
6012
|
+
)
|
|
6013
|
+
]
|
|
6014
|
+
},
|
|
6015
|
+
section.id
|
|
6016
|
+
))
|
|
6017
|
+
]
|
|
6018
|
+
}
|
|
6019
|
+
),
|
|
6020
|
+
config.bottomItems?.length ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6021
|
+
"div",
|
|
6022
|
+
{
|
|
6023
|
+
className: "flex flex-col items-start shrink-0 w-full",
|
|
6024
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
6025
|
+
children: config.bottomItems.map(
|
|
6026
|
+
(item) => renderMenuItem({
|
|
6027
|
+
item,
|
|
6028
|
+
sectionId: "bottom",
|
|
6029
|
+
expanded: true,
|
|
6030
|
+
activeItemId,
|
|
6031
|
+
iconMap,
|
|
6032
|
+
onItemSelect
|
|
6033
|
+
})
|
|
6034
|
+
)
|
|
6035
|
+
}
|
|
6036
|
+
) : null,
|
|
6037
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {}),
|
|
6038
|
+
profile ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6039
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
6040
|
+
"div",
|
|
6041
|
+
{
|
|
6042
|
+
className: "flex items-center shrink-0 w-full cursor-pointer",
|
|
6043
|
+
style: {
|
|
6044
|
+
padding: "var(--spacing-md)",
|
|
6045
|
+
gap: "var(--spacing-md)",
|
|
6046
|
+
borderRadius: "var(--radius-xl)"
|
|
6047
|
+
},
|
|
6048
|
+
onClick: profile.onClick,
|
|
6049
|
+
onMouseEnter: (e) => {
|
|
6050
|
+
e.currentTarget.style.background = "var(--alias-fill-neutral-neutral)";
|
|
6051
|
+
},
|
|
6052
|
+
onMouseLeave: (e) => {
|
|
6053
|
+
e.currentTarget.style.background = "transparent";
|
|
6054
|
+
},
|
|
6055
|
+
children: [
|
|
6056
|
+
profile.avatar,
|
|
6057
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex flex-col flex-1 min-w-0", children: [
|
|
6058
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6059
|
+
"span",
|
|
6060
|
+
{
|
|
6061
|
+
className: "text-text-sm-medium truncate",
|
|
6062
|
+
style: { color: "var(--alias-text---icons-primary)" },
|
|
6063
|
+
children: profile.name
|
|
6064
|
+
}
|
|
6065
|
+
),
|
|
6066
|
+
profile.subtitle ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6067
|
+
"span",
|
|
6068
|
+
{
|
|
6069
|
+
className: "text-text-xs-regular truncate",
|
|
6070
|
+
style: { color: "var(--alias-text---icons-muted)" },
|
|
6071
|
+
children: profile.subtitle
|
|
6072
|
+
}
|
|
6073
|
+
) : null
|
|
6074
|
+
] })
|
|
6075
|
+
]
|
|
6076
|
+
}
|
|
6077
|
+
),
|
|
6078
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {})
|
|
6079
|
+
] }) : null,
|
|
6080
|
+
/* @__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)(
|
|
6081
|
+
"div",
|
|
6082
|
+
{
|
|
6083
|
+
className: "flex items-center w-full",
|
|
6084
|
+
style: {
|
|
6085
|
+
gap: "var(--spacing-xs)",
|
|
6086
|
+
padding: "var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-3xl)"
|
|
6087
|
+
},
|
|
6088
|
+
children: [
|
|
6089
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6090
|
+
"p",
|
|
6091
|
+
{
|
|
6092
|
+
className: "flex-1 text-text-sm-regular truncate",
|
|
6093
|
+
style: { color: "var(--alias-text---icons-muted)" },
|
|
6094
|
+
children: versionText
|
|
6095
|
+
}
|
|
6096
|
+
),
|
|
6097
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6098
|
+
"div",
|
|
6099
|
+
{
|
|
6100
|
+
className: "flex items-center cursor-pointer",
|
|
6101
|
+
style: {
|
|
6102
|
+
padding: "var(--spacing-md)",
|
|
6103
|
+
borderRadius: "var(--radius-3xl)"
|
|
6104
|
+
},
|
|
6105
|
+
onClick: onToggle,
|
|
6106
|
+
children: resolveToggleIcon(toggleIcon, true)
|
|
6107
|
+
}
|
|
6108
|
+
)
|
|
6109
|
+
]
|
|
6110
|
+
}
|
|
6111
|
+
) }) })
|
|
6112
|
+
]
|
|
6113
|
+
}
|
|
6114
|
+
)
|
|
6115
|
+
}
|
|
6116
|
+
);
|
|
6117
|
+
}
|
|
6118
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6119
|
+
"div",
|
|
6120
|
+
{
|
|
6121
|
+
className: `flex h-full items-center justify-center shrink-0 ${className ?? ""}`.trim(),
|
|
6122
|
+
style,
|
|
6123
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
6124
|
+
"div",
|
|
6125
|
+
{
|
|
6126
|
+
className: "flex flex-col h-full items-center justify-center relative shrink-0",
|
|
6127
|
+
style: {
|
|
6128
|
+
backgroundColor: "var(--alias-surface-base)",
|
|
6129
|
+
padding: "var(--spacing-md)",
|
|
6130
|
+
gap: "var(--spacing-xxs)"
|
|
6131
|
+
},
|
|
6132
|
+
children: [
|
|
6133
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6134
|
+
"div",
|
|
6135
|
+
{
|
|
6136
|
+
"aria-hidden": "true",
|
|
6137
|
+
className: "absolute inset-0 pointer-events-none",
|
|
6138
|
+
style: {
|
|
6139
|
+
borderRight: "1px solid var(--alias-border-subtle)"
|
|
6140
|
+
}
|
|
6141
|
+
}
|
|
6142
|
+
),
|
|
6143
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
6144
|
+
"div",
|
|
6145
|
+
{
|
|
6146
|
+
className: "flex flex-col flex-1 items-center min-h-0 overflow-y-auto sidebar-scroll",
|
|
6147
|
+
style: { gap: "var(--spacing-xxs)" },
|
|
6148
|
+
children: [
|
|
6149
|
+
collapsedLogo,
|
|
6150
|
+
config.topItem ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6151
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6152
|
+
"div",
|
|
6153
|
+
{
|
|
6154
|
+
className: "flex flex-col items-start shrink-0",
|
|
6155
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
6156
|
+
children: renderMenuItem({
|
|
6157
|
+
item: config.topItem,
|
|
6158
|
+
sectionId: "top",
|
|
6159
|
+
expanded: false,
|
|
6160
|
+
activeItemId,
|
|
6161
|
+
iconMap,
|
|
6162
|
+
onItemSelect
|
|
6163
|
+
})
|
|
6164
|
+
}
|
|
6165
|
+
),
|
|
6166
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {})
|
|
6167
|
+
] }) : null,
|
|
6168
|
+
config.sections.map((section, sectionIndex) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex flex-col items-center w-full", children: [
|
|
6169
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6170
|
+
"div",
|
|
6171
|
+
{
|
|
6172
|
+
className: "flex flex-col items-start shrink-0",
|
|
6173
|
+
style: {
|
|
6174
|
+
padding: "var(--spacing-md) 0",
|
|
6175
|
+
gap: "var(--spacing-xxs)"
|
|
6176
|
+
},
|
|
6177
|
+
children: section.items.map(
|
|
6178
|
+
(item) => renderMenuItem({
|
|
6179
|
+
item,
|
|
6180
|
+
sectionId: section.id,
|
|
6181
|
+
expanded: false,
|
|
6182
|
+
activeItemId,
|
|
6183
|
+
iconMap,
|
|
6184
|
+
onItemSelect
|
|
6185
|
+
})
|
|
6186
|
+
)
|
|
6187
|
+
}
|
|
6188
|
+
),
|
|
6189
|
+
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {}) : null
|
|
6190
|
+
] }, section.id))
|
|
6191
|
+
]
|
|
6192
|
+
}
|
|
6193
|
+
),
|
|
6194
|
+
config.bottomItems?.length ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6195
|
+
"div",
|
|
6196
|
+
{
|
|
6197
|
+
className: "flex flex-col items-center justify-center shrink-0 w-full",
|
|
6198
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
6199
|
+
children: config.bottomItems.map(
|
|
6200
|
+
(item) => renderMenuItem({
|
|
6201
|
+
item,
|
|
6202
|
+
sectionId: "bottom",
|
|
6203
|
+
expanded: false,
|
|
6204
|
+
activeItemId,
|
|
6205
|
+
iconMap,
|
|
6206
|
+
onItemSelect
|
|
6207
|
+
})
|
|
6208
|
+
)
|
|
6209
|
+
}
|
|
6210
|
+
) : null,
|
|
6211
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {}),
|
|
6212
|
+
profile ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6213
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6214
|
+
"div",
|
|
6215
|
+
{
|
|
6216
|
+
className: "flex items-center justify-center shrink-0 cursor-pointer",
|
|
6217
|
+
style: {
|
|
6218
|
+
padding: "var(--spacing-md) 0",
|
|
6219
|
+
borderRadius: "var(--radius-3xl)"
|
|
6220
|
+
},
|
|
6221
|
+
onClick: profile.onClick,
|
|
6222
|
+
onMouseEnter: (e) => {
|
|
6223
|
+
e.currentTarget.style.background = "var(--alias-fill-neutral-neutral)";
|
|
6224
|
+
},
|
|
6225
|
+
onMouseLeave: (e) => {
|
|
6226
|
+
e.currentTarget.style.background = "transparent";
|
|
6227
|
+
},
|
|
6228
|
+
children: profile.avatar
|
|
6229
|
+
}
|
|
6230
|
+
),
|
|
6231
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(HDivider, {})
|
|
6232
|
+
] }) : null,
|
|
6233
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
6234
|
+
"div",
|
|
6235
|
+
{
|
|
6236
|
+
className: "shrink-0 flex flex-col items-center",
|
|
6237
|
+
style: {
|
|
6238
|
+
gap: "var(--spacing-xl)",
|
|
6239
|
+
padding: "var(--spacing-md)",
|
|
6240
|
+
width: 56
|
|
6241
|
+
},
|
|
6242
|
+
children: [
|
|
6243
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6244
|
+
"div",
|
|
6245
|
+
{
|
|
6246
|
+
className: "flex items-center cursor-pointer",
|
|
6247
|
+
style: {
|
|
6248
|
+
padding: "var(--spacing-md)",
|
|
6249
|
+
borderRadius: "var(--radius-3xl)"
|
|
6250
|
+
},
|
|
6251
|
+
onClick: onToggle,
|
|
6252
|
+
children: resolveToggleIcon(toggleIcon, false)
|
|
6253
|
+
}
|
|
6254
|
+
),
|
|
6255
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6256
|
+
"p",
|
|
6257
|
+
{
|
|
6258
|
+
className: "text-text-xs-regular text-center truncate",
|
|
6259
|
+
style: { color: "var(--alias-text---icons-muted)" },
|
|
6260
|
+
children: versionText
|
|
6261
|
+
}
|
|
6262
|
+
)
|
|
6263
|
+
]
|
|
6264
|
+
}
|
|
6265
|
+
)
|
|
6266
|
+
]
|
|
6267
|
+
}
|
|
6268
|
+
)
|
|
6269
|
+
}
|
|
6270
|
+
);
|
|
6271
|
+
}
|
|
6272
|
+
|
|
5847
6273
|
// src/SC-Slider/ScSlider.module.css
|
|
5848
6274
|
var ScSlider_default = {
|
|
5849
6275
|
scSlider: "ScSlider_scSlider",
|
|
@@ -5854,26 +6280,343 @@ var ScSlider_default = {
|
|
|
5854
6280
|
};
|
|
5855
6281
|
|
|
5856
6282
|
// src/SC-Slider/ScSlider.tsx
|
|
5857
|
-
var
|
|
6283
|
+
var import_jsx_runtime86 = __toESM(require_jsx_runtime());
|
|
5858
6284
|
var ScSlider = ({
|
|
5859
6285
|
className,
|
|
5860
6286
|
onValueChange,
|
|
5861
6287
|
...props
|
|
5862
6288
|
}) => {
|
|
5863
|
-
return /* @__PURE__ */ (0,
|
|
5864
|
-
/* @__PURE__ */ (0,
|
|
5865
|
-
/* @__PURE__ */ (0,
|
|
5866
|
-
/* @__PURE__ */ (0,
|
|
5867
|
-
/* @__PURE__ */ (0,
|
|
5868
|
-
/* @__PURE__ */ (0,
|
|
5869
|
-
/* @__PURE__ */ (0,
|
|
5870
|
-
/* @__PURE__ */ (0,
|
|
5871
|
-
/* @__PURE__ */ (0,
|
|
5872
|
-
/* @__PURE__ */ (0,
|
|
5873
|
-
/* @__PURE__ */ (0,
|
|
6289
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
6290
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar }),
|
|
6291
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot }),
|
|
6292
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
6293
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
6294
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
6295
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
6296
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
6297
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
6298
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
6299
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScSlider_default.progressDot2 })
|
|
5874
6300
|
] });
|
|
5875
6301
|
};
|
|
5876
6302
|
|
|
6303
|
+
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
6304
|
+
var import_react = __toESM(require_react());
|
|
6305
|
+
var import_jsx_runtime87 = __toESM(require_jsx_runtime());
|
|
6306
|
+
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
6307
|
+
function deriveInitials(name) {
|
|
6308
|
+
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
6309
|
+
}
|
|
6310
|
+
function normalizeRole(role) {
|
|
6311
|
+
return role === "admin" ? "admin" : "member";
|
|
6312
|
+
}
|
|
6313
|
+
function roleLabel(role) {
|
|
6314
|
+
const normalized = normalizeRole(role);
|
|
6315
|
+
return normalized === "admin" ? "Admin" : "Member";
|
|
6316
|
+
}
|
|
6317
|
+
function WorkspaceRow({
|
|
6318
|
+
workspace,
|
|
6319
|
+
currentWorkspaceText,
|
|
6320
|
+
switchWorkspaceText,
|
|
6321
|
+
onSwitch
|
|
6322
|
+
}) {
|
|
6323
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6324
|
+
"div",
|
|
6325
|
+
{
|
|
6326
|
+
className: "relative shrink-0 w-full",
|
|
6327
|
+
style: {
|
|
6328
|
+
backgroundColor: "var(--alias-surface-base)",
|
|
6329
|
+
borderRadius: "var(--radius-3xl)",
|
|
6330
|
+
backdropFilter: "blur(4px)"
|
|
6331
|
+
},
|
|
6332
|
+
children: [
|
|
6333
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6334
|
+
"div",
|
|
6335
|
+
{
|
|
6336
|
+
"aria-hidden": "true",
|
|
6337
|
+
className: "absolute inset-0 pointer-events-none",
|
|
6338
|
+
style: {
|
|
6339
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
6340
|
+
borderRadius: "var(--radius-3xl)"
|
|
6341
|
+
}
|
|
6342
|
+
}
|
|
6343
|
+
),
|
|
6344
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6345
|
+
"div",
|
|
6346
|
+
{
|
|
6347
|
+
className: "flex items-center w-full",
|
|
6348
|
+
style: {
|
|
6349
|
+
gap: "var(--spacing-3xl)",
|
|
6350
|
+
padding: "var(--spacing-6xl)"
|
|
6351
|
+
},
|
|
6352
|
+
children: [
|
|
6353
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6354
|
+
"div",
|
|
6355
|
+
{
|
|
6356
|
+
className: "flex flex-1 items-center min-w-0",
|
|
6357
|
+
style: { gap: "var(--spacing-xl)" },
|
|
6358
|
+
children: [
|
|
6359
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6360
|
+
ScIntialProfileCover,
|
|
6361
|
+
{
|
|
6362
|
+
intial: workspace.initials || deriveInitials(workspace.name),
|
|
6363
|
+
className: "shrink-0"
|
|
6364
|
+
}
|
|
6365
|
+
),
|
|
6366
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6367
|
+
"p",
|
|
6368
|
+
{
|
|
6369
|
+
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
6370
|
+
style: {
|
|
6371
|
+
color: "var(--alias-text---icons-primary)",
|
|
6372
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6373
|
+
fontSize: "var(--font-size-font-size-md)",
|
|
6374
|
+
fontWeight: 500,
|
|
6375
|
+
lineHeight: "var(--line-height-line-height-md)",
|
|
6376
|
+
display: "-webkit-box",
|
|
6377
|
+
WebkitLineClamp: 2,
|
|
6378
|
+
WebkitBoxOrient: "vertical"
|
|
6379
|
+
},
|
|
6380
|
+
children: workspace.name
|
|
6381
|
+
}
|
|
6382
|
+
)
|
|
6383
|
+
]
|
|
6384
|
+
}
|
|
6385
|
+
),
|
|
6386
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6387
|
+
"div",
|
|
6388
|
+
{
|
|
6389
|
+
className: "flex items-center justify-center shrink-0",
|
|
6390
|
+
style: {
|
|
6391
|
+
gap: "var(--spacing-6xl)",
|
|
6392
|
+
padding: "0 var(--spacing-3xl)"
|
|
6393
|
+
},
|
|
6394
|
+
children: [
|
|
6395
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6396
|
+
ScRole,
|
|
6397
|
+
{
|
|
6398
|
+
type: normalizeRole(workspace.role),
|
|
6399
|
+
label: roleLabel(workspace.role),
|
|
6400
|
+
style: { width: 80 }
|
|
6401
|
+
}
|
|
6402
|
+
),
|
|
6403
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6404
|
+
"div",
|
|
6405
|
+
{
|
|
6406
|
+
className: "flex items-center shrink-0",
|
|
6407
|
+
style: { gap: "var(--spacing-3xl)" },
|
|
6408
|
+
children: [
|
|
6409
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6410
|
+
ScPairtext,
|
|
6411
|
+
{
|
|
6412
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(sicon_team_default, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
6413
|
+
content: workspace.userCount || "\u2013",
|
|
6414
|
+
iconPosition: "left",
|
|
6415
|
+
type: "icon"
|
|
6416
|
+
}
|
|
6417
|
+
) }),
|
|
6418
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ScVDivider, {}),
|
|
6419
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6420
|
+
"div",
|
|
6421
|
+
{
|
|
6422
|
+
className: "flex items-center",
|
|
6423
|
+
style: {
|
|
6424
|
+
width: 200,
|
|
6425
|
+
flexShrink: 0,
|
|
6426
|
+
gap: "var(--spacing-md)"
|
|
6427
|
+
},
|
|
6428
|
+
children: [
|
|
6429
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6430
|
+
sicon_Crown_default,
|
|
6431
|
+
{
|
|
6432
|
+
className: "w-6 h-6 shrink-0",
|
|
6433
|
+
color: PRIMARY_ICON
|
|
6434
|
+
}
|
|
6435
|
+
),
|
|
6436
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6437
|
+
"span",
|
|
6438
|
+
{
|
|
6439
|
+
className: "truncate",
|
|
6440
|
+
style: {
|
|
6441
|
+
color: "var(--alias-text---icons-primary)",
|
|
6442
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6443
|
+
fontSize: "var(--font-size-font-size-sm)",
|
|
6444
|
+
lineHeight: "var(--line-height-line-height-sm)"
|
|
6445
|
+
},
|
|
6446
|
+
children: workspace.ownerEmail || "\u2013"
|
|
6447
|
+
}
|
|
6448
|
+
)
|
|
6449
|
+
]
|
|
6450
|
+
}
|
|
6451
|
+
)
|
|
6452
|
+
]
|
|
6453
|
+
}
|
|
6454
|
+
) })
|
|
6455
|
+
]
|
|
6456
|
+
}
|
|
6457
|
+
),
|
|
6458
|
+
workspace.isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6459
|
+
ScButton,
|
|
6460
|
+
{
|
|
6461
|
+
text: currentWorkspaceText,
|
|
6462
|
+
variant: "outline",
|
|
6463
|
+
state: "disabled",
|
|
6464
|
+
size: "lg",
|
|
6465
|
+
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
6466
|
+
}
|
|
6467
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6468
|
+
ScButton,
|
|
6469
|
+
{
|
|
6470
|
+
text: switchWorkspaceText,
|
|
6471
|
+
variant: "secondary",
|
|
6472
|
+
size: "lg",
|
|
6473
|
+
styleVariant: "icon-left",
|
|
6474
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(sicon_switch_default, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
6475
|
+
style: { width: 200, flexShrink: 0 },
|
|
6476
|
+
onClick: onSwitch
|
|
6477
|
+
}
|
|
6478
|
+
)
|
|
6479
|
+
]
|
|
6480
|
+
}
|
|
6481
|
+
) })
|
|
6482
|
+
]
|
|
6483
|
+
}
|
|
6484
|
+
);
|
|
6485
|
+
}
|
|
6486
|
+
function StreamoidWorkspaceSwitcher({
|
|
6487
|
+
open,
|
|
6488
|
+
onClose,
|
|
6489
|
+
workspaces,
|
|
6490
|
+
loading = false,
|
|
6491
|
+
onSwitchWorkspace,
|
|
6492
|
+
config
|
|
6493
|
+
}) {
|
|
6494
|
+
const modalRef = (0, import_react.useRef)(null);
|
|
6495
|
+
const title = config?.title || "Switch workspace";
|
|
6496
|
+
const loadingText = config?.loadingText || "Loading workspaces\u2026";
|
|
6497
|
+
const currentWorkspaceText = config?.currentWorkspaceText || "Current workspace";
|
|
6498
|
+
const switchWorkspaceText = config?.switchWorkspaceText || "Switch workspace";
|
|
6499
|
+
(0, import_react.useEffect)(() => {
|
|
6500
|
+
if (!open) return;
|
|
6501
|
+
function handleKeyDown(e) {
|
|
6502
|
+
if (e.key === "Escape") onClose();
|
|
6503
|
+
}
|
|
6504
|
+
document.addEventListener("keydown", handleKeyDown);
|
|
6505
|
+
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
6506
|
+
}, [open, onClose]);
|
|
6507
|
+
if (!open) return null;
|
|
6508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6509
|
+
"div",
|
|
6510
|
+
{
|
|
6511
|
+
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
6512
|
+
style: { backgroundColor: "rgba(0, 0, 0, 0.6)" },
|
|
6513
|
+
onClick: (e) => {
|
|
6514
|
+
if (e.target === e.currentTarget) onClose();
|
|
6515
|
+
},
|
|
6516
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6517
|
+
"div",
|
|
6518
|
+
{
|
|
6519
|
+
ref: modalRef,
|
|
6520
|
+
className: "flex flex-col items-start relative",
|
|
6521
|
+
style: {
|
|
6522
|
+
backgroundColor: "var(--alias-surface-subtle)",
|
|
6523
|
+
borderRadius: "var(--radius-4xl)",
|
|
6524
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
6525
|
+
width: "min(1000px, 90vw)",
|
|
6526
|
+
height: "60vh"
|
|
6527
|
+
},
|
|
6528
|
+
children: [
|
|
6529
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6530
|
+
"div",
|
|
6531
|
+
{
|
|
6532
|
+
className: "shrink-0 w-full relative",
|
|
6533
|
+
style: {
|
|
6534
|
+
borderBottom: "1px solid var(--alias-border-divider)"
|
|
6535
|
+
},
|
|
6536
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6537
|
+
"div",
|
|
6538
|
+
{
|
|
6539
|
+
className: "flex items-center w-full",
|
|
6540
|
+
style: {
|
|
6541
|
+
gap: "var(--spacing-3xl)",
|
|
6542
|
+
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
6543
|
+
},
|
|
6544
|
+
children: [
|
|
6545
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6546
|
+
"p",
|
|
6547
|
+
{
|
|
6548
|
+
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
6549
|
+
style: {
|
|
6550
|
+
color: "var(--alias-text---icons-primary)",
|
|
6551
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6552
|
+
fontSize: "var(--font-size-font-size-lg)",
|
|
6553
|
+
fontWeight: 600,
|
|
6554
|
+
lineHeight: "var(--line-height-line-height-lg)"
|
|
6555
|
+
},
|
|
6556
|
+
children: title
|
|
6557
|
+
}
|
|
6558
|
+
),
|
|
6559
|
+
/* @__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 }) })
|
|
6560
|
+
]
|
|
6561
|
+
}
|
|
6562
|
+
) })
|
|
6563
|
+
}
|
|
6564
|
+
),
|
|
6565
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6566
|
+
"div",
|
|
6567
|
+
{
|
|
6568
|
+
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
6569
|
+
style: {
|
|
6570
|
+
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
6571
|
+
},
|
|
6572
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6573
|
+
"div",
|
|
6574
|
+
{
|
|
6575
|
+
className: "flex flex-col items-start",
|
|
6576
|
+
style: {
|
|
6577
|
+
padding: "var(--spacing-6xl)",
|
|
6578
|
+
gap: "var(--spacing-3xl)"
|
|
6579
|
+
},
|
|
6580
|
+
children: [
|
|
6581
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6582
|
+
"p",
|
|
6583
|
+
{
|
|
6584
|
+
style: {
|
|
6585
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6586
|
+
fontSize: "var(--font-size-font-size-sm)",
|
|
6587
|
+
color: "var(--alias-text---icons-muted)"
|
|
6588
|
+
},
|
|
6589
|
+
children: loadingText
|
|
6590
|
+
}
|
|
6591
|
+
) : null,
|
|
6592
|
+
workspaces.map((ws) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6593
|
+
WorkspaceRow,
|
|
6594
|
+
{
|
|
6595
|
+
workspace: ws,
|
|
6596
|
+
currentWorkspaceText,
|
|
6597
|
+
switchWorkspaceText,
|
|
6598
|
+
onSwitch: () => {
|
|
6599
|
+
if (ws.isCurrent) {
|
|
6600
|
+
onClose();
|
|
6601
|
+
return;
|
|
6602
|
+
}
|
|
6603
|
+
void onSwitchWorkspace(ws);
|
|
6604
|
+
}
|
|
6605
|
+
},
|
|
6606
|
+
ws.id
|
|
6607
|
+
))
|
|
6608
|
+
]
|
|
6609
|
+
}
|
|
6610
|
+
)
|
|
6611
|
+
}
|
|
6612
|
+
)
|
|
6613
|
+
]
|
|
6614
|
+
}
|
|
6615
|
+
)
|
|
6616
|
+
}
|
|
6617
|
+
);
|
|
6618
|
+
}
|
|
6619
|
+
|
|
5877
6620
|
// src/SC-app listing card/ScAppListingCard.module.css
|
|
5878
6621
|
var ScAppListingCard_default = {
|
|
5879
6622
|
scAppListingCard: "ScAppListingCard_scAppListingCard",
|
|
@@ -5884,23 +6627,23 @@ var ScAppListingCard_default = {
|
|
|
5884
6627
|
};
|
|
5885
6628
|
|
|
5886
6629
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
5887
|
-
var
|
|
6630
|
+
var import_jsx_runtime88 = __toESM(require_jsx_runtime());
|
|
5888
6631
|
var ScAppListingCard = ({
|
|
5889
|
-
icon = /* @__PURE__ */ (0,
|
|
6632
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(sicon_Cart_default, { className: ScAppListingCard_default.siconCartInstance }),
|
|
5890
6633
|
title = "Stores",
|
|
5891
6634
|
descrp = "Centralized product and asset management for every storefront",
|
|
5892
6635
|
className,
|
|
5893
6636
|
...props
|
|
5894
6637
|
}) => {
|
|
5895
|
-
return /* @__PURE__ */ (0,
|
|
5896
|
-
/* @__PURE__ */ (0,
|
|
5897
|
-
/* @__PURE__ */ (0,
|
|
5898
|
-
/* @__PURE__ */ (0,
|
|
6638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
6639
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.header, children: [
|
|
6640
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
6641
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.title, children: [
|
|
5899
6642
|
title,
|
|
5900
6643
|
" "
|
|
5901
6644
|
] })
|
|
5902
6645
|
] }),
|
|
5903
|
-
/* @__PURE__ */ (0,
|
|
6646
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.description, children: [
|
|
5904
6647
|
descrp,
|
|
5905
6648
|
" "
|
|
5906
6649
|
] })
|
|
@@ -5917,22 +6660,22 @@ var ScAppCard_default = {
|
|
|
5917
6660
|
};
|
|
5918
6661
|
|
|
5919
6662
|
// src/SC-appCard/ScAppCard.tsx
|
|
5920
|
-
var
|
|
6663
|
+
var import_jsx_runtime89 = __toESM(require_jsx_runtime());
|
|
5921
6664
|
var ScAppCard = ({
|
|
5922
|
-
appIcon = /* @__PURE__ */ (0,
|
|
6665
|
+
appIcon = /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(sicon_artifacts_default, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
5923
6666
|
appName = "Artifax",
|
|
5924
6667
|
appDescription = "Info about artifax",
|
|
5925
6668
|
className,
|
|
5926
6669
|
...props
|
|
5927
6670
|
}) => {
|
|
5928
|
-
return /* @__PURE__ */ (0,
|
|
5929
|
-
/* @__PURE__ */ (0,
|
|
5930
|
-
/* @__PURE__ */ (0,
|
|
5931
|
-
/* @__PURE__ */ (0,
|
|
6671
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
6672
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
6673
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.textContainer, children: [
|
|
6674
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.title, children: [
|
|
5932
6675
|
appName,
|
|
5933
6676
|
" "
|
|
5934
6677
|
] }),
|
|
5935
|
-
/* @__PURE__ */ (0,
|
|
6678
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.subtitle, children: [
|
|
5936
6679
|
appDescription,
|
|
5937
6680
|
" "
|
|
5938
6681
|
] })
|
|
@@ -5968,19 +6711,19 @@ var ScToggleSwitch_default = {
|
|
|
5968
6711
|
};
|
|
5969
6712
|
|
|
5970
6713
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
5971
|
-
var
|
|
6714
|
+
var import_jsx_runtime90 = __toESM(require_jsx_runtime());
|
|
5972
6715
|
var ScToggleSwitch = ({
|
|
5973
6716
|
active = "false",
|
|
5974
6717
|
className,
|
|
5975
6718
|
...props
|
|
5976
6719
|
}) => {
|
|
5977
6720
|
const variantsClassName = ScToggleSwitch_default["active-" + active];
|
|
5978
|
-
return /* @__PURE__ */ (0,
|
|
6721
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5979
6722
|
"div",
|
|
5980
6723
|
{
|
|
5981
6724
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
5982
6725
|
...props,
|
|
5983
|
-
children: /* @__PURE__ */ (0,
|
|
6726
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
5984
6727
|
"svg",
|
|
5985
6728
|
{
|
|
5986
6729
|
width: "41",
|
|
@@ -5989,21 +6732,21 @@ var ScToggleSwitch = ({
|
|
|
5989
6732
|
fill: "none",
|
|
5990
6733
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5991
6734
|
children: [
|
|
5992
|
-
/* @__PURE__ */ (0,
|
|
6735
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5993
6736
|
"path",
|
|
5994
6737
|
{
|
|
5995
6738
|
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",
|
|
5996
6739
|
fill: "var(--alias-fill-neutral-neutral, #1a1a1a)"
|
|
5997
6740
|
}
|
|
5998
6741
|
),
|
|
5999
|
-
/* @__PURE__ */ (0,
|
|
6742
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
6000
6743
|
"path",
|
|
6001
6744
|
{
|
|
6002
6745
|
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",
|
|
6003
6746
|
fill: "var(--alias-border-divider, #242424)"
|
|
6004
6747
|
}
|
|
6005
6748
|
),
|
|
6006
|
-
/* @__PURE__ */ (0,
|
|
6749
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
6007
6750
|
"path",
|
|
6008
6751
|
{
|
|
6009
6752
|
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",
|
|
@@ -6018,7 +6761,7 @@ var ScToggleSwitch = ({
|
|
|
6018
6761
|
};
|
|
6019
6762
|
|
|
6020
6763
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
6021
|
-
var
|
|
6764
|
+
var import_jsx_runtime91 = __toESM(require_jsx_runtime());
|
|
6022
6765
|
var ScArtifaxInvite = ({
|
|
6023
6766
|
active = "true",
|
|
6024
6767
|
appName = "Artifax",
|
|
@@ -6028,22 +6771,22 @@ var ScArtifaxInvite = ({
|
|
|
6028
6771
|
...props
|
|
6029
6772
|
}) => {
|
|
6030
6773
|
const variantsClassName = ScArtifaxInvite_default["active-" + active];
|
|
6031
|
-
return /* @__PURE__ */ (0,
|
|
6774
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
6032
6775
|
"div",
|
|
6033
6776
|
{
|
|
6034
6777
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
6035
6778
|
...props,
|
|
6036
6779
|
children: [
|
|
6037
|
-
/* @__PURE__ */ (0,
|
|
6780
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
6038
6781
|
ScAppCard,
|
|
6039
6782
|
{
|
|
6040
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
6783
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(sicon_artifacts_default, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
6041
6784
|
appName,
|
|
6042
6785
|
appDescription,
|
|
6043
6786
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
6044
6787
|
}
|
|
6045
6788
|
),
|
|
6046
|
-
/* @__PURE__ */ (0,
|
|
6789
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
6047
6790
|
ScToggleSwitch,
|
|
6048
6791
|
{
|
|
6049
6792
|
active: "false",
|
|
@@ -6064,22 +6807,22 @@ var ScPhtogenixInvite_default = {
|
|
|
6064
6807
|
};
|
|
6065
6808
|
|
|
6066
6809
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
6067
|
-
var
|
|
6810
|
+
var import_jsx_runtime92 = __toESM(require_jsx_runtime());
|
|
6068
6811
|
var ScPhtogenixInvite = ({
|
|
6069
6812
|
active = "true",
|
|
6070
6813
|
scAppCardappDescription = "Info about photogenix",
|
|
6071
6814
|
scAppCardappName = "Photogenix",
|
|
6072
|
-
scAppCardappIcon = /* @__PURE__ */ (0,
|
|
6815
|
+
scAppCardappIcon = /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_artifacts_default, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
6073
6816
|
className,
|
|
6074
6817
|
...props
|
|
6075
6818
|
}) => {
|
|
6076
6819
|
const variantsClassName = ScPhtogenixInvite_default["active-" + active];
|
|
6077
|
-
return /* @__PURE__ */ (0,
|
|
6820
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
6078
6821
|
"div",
|
|
6079
6822
|
{
|
|
6080
6823
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
6081
6824
|
children: [
|
|
6082
|
-
/* @__PURE__ */ (0,
|
|
6825
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6083
6826
|
ScAppCard,
|
|
6084
6827
|
{
|
|
6085
6828
|
appIcon: scAppCardappIcon,
|
|
@@ -6088,7 +6831,7 @@ var ScPhtogenixInvite = ({
|
|
|
6088
6831
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
6089
6832
|
}
|
|
6090
6833
|
),
|
|
6091
|
-
/* @__PURE__ */ (0,
|
|
6834
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6092
6835
|
ScToggleSwitch,
|
|
6093
6836
|
{
|
|
6094
6837
|
active: "false",
|
|
@@ -6129,10 +6872,10 @@ var ScOnlyField_default = {
|
|
|
6129
6872
|
};
|
|
6130
6873
|
|
|
6131
6874
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
6132
|
-
var
|
|
6875
|
+
var import_jsx_runtime93 = __toESM(require_jsx_runtime());
|
|
6133
6876
|
var ScOnlyField = ({
|
|
6134
|
-
tfRightIcon = /* @__PURE__ */ (0,
|
|
6135
|
-
tfLeftIcon = /* @__PURE__ */ (0,
|
|
6877
|
+
tfRightIcon = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(sicon_bolt_default, { className: ScOnlyField_default.siconBoltInstance }),
|
|
6878
|
+
tfLeftIcon = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(sicon_bolt_default, { className: ScOnlyField_default.siconBoltInstance }),
|
|
6136
6879
|
state = "default",
|
|
6137
6880
|
tfGroup = "icon-right",
|
|
6138
6881
|
labelGroup = "none",
|
|
@@ -6141,25 +6884,25 @@ var ScOnlyField = ({
|
|
|
6141
6884
|
...props
|
|
6142
6885
|
}) => {
|
|
6143
6886
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup];
|
|
6144
|
-
return /* @__PURE__ */ (0,
|
|
6887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
6145
6888
|
"div",
|
|
6146
6889
|
{
|
|
6147
6890
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
6148
6891
|
...props,
|
|
6149
|
-
children: /* @__PURE__ */ (0,
|
|
6150
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
6151
|
-
/* @__PURE__ */ (0,
|
|
6892
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
6893
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_jsx_runtime93.Fragment, { children: tfLeftIcon }),
|
|
6894
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScOnlyField_default.inputText, children: [
|
|
6152
6895
|
placeholderFilled,
|
|
6153
6896
|
" "
|
|
6154
6897
|
] }),
|
|
6155
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
6898
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_jsx_runtime93.Fragment, { children: tfRightIcon })
|
|
6156
6899
|
] })
|
|
6157
6900
|
}
|
|
6158
6901
|
);
|
|
6159
6902
|
};
|
|
6160
6903
|
|
|
6161
6904
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
6162
|
-
var
|
|
6905
|
+
var import_jsx_runtime94 = __toESM(require_jsx_runtime());
|
|
6163
6906
|
var ScCatalogixInvite = ({
|
|
6164
6907
|
active = "false",
|
|
6165
6908
|
appName = "Catalogix",
|
|
@@ -6172,23 +6915,23 @@ var ScCatalogixInvite = ({
|
|
|
6172
6915
|
...props
|
|
6173
6916
|
}) => {
|
|
6174
6917
|
const variantsClassName = ScCatalogixInvite_default["active-" + active];
|
|
6175
|
-
return /* @__PURE__ */ (0,
|
|
6918
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
6176
6919
|
"div",
|
|
6177
6920
|
{
|
|
6178
6921
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
6179
6922
|
...props,
|
|
6180
6923
|
children: [
|
|
6181
|
-
/* @__PURE__ */ (0,
|
|
6182
|
-
/* @__PURE__ */ (0,
|
|
6924
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
6925
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6183
6926
|
ScAppCard,
|
|
6184
6927
|
{
|
|
6185
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
6928
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_artifacts_default, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
6186
6929
|
appDescription,
|
|
6187
6930
|
appName,
|
|
6188
6931
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
6189
6932
|
}
|
|
6190
6933
|
),
|
|
6191
|
-
/* @__PURE__ */ (0,
|
|
6934
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6192
6935
|
ScToggleSwitch,
|
|
6193
6936
|
{
|
|
6194
6937
|
active: "false",
|
|
@@ -6196,67 +6939,67 @@ var ScCatalogixInvite = ({
|
|
|
6196
6939
|
}
|
|
6197
6940
|
)
|
|
6198
6941
|
] }),
|
|
6199
|
-
active === "true" && /* @__PURE__ */ (0,
|
|
6200
|
-
/* @__PURE__ */ (0,
|
|
6201
|
-
/* @__PURE__ */ (0,
|
|
6942
|
+
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: [
|
|
6943
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
6944
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
6202
6945
|
storeAccessTitle,
|
|
6203
6946
|
" "
|
|
6204
6947
|
] }),
|
|
6205
|
-
/* @__PURE__ */ (0,
|
|
6948
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
6206
6949
|
selectedCount,
|
|
6207
6950
|
" "
|
|
6208
6951
|
] })
|
|
6209
6952
|
] }),
|
|
6210
|
-
/* @__PURE__ */ (0,
|
|
6953
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6211
6954
|
ScOnlyField,
|
|
6212
6955
|
{
|
|
6213
|
-
tfLeftIcon: /* @__PURE__ */ (0,
|
|
6214
|
-
tfRightIcon: /* @__PURE__ */ (0,
|
|
6956
|
+
tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
6957
|
+
tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
6215
6958
|
placeholderFilled: searchPlaceholder,
|
|
6216
6959
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
6217
6960
|
}
|
|
6218
6961
|
),
|
|
6219
|
-
/* @__PURE__ */ (0,
|
|
6220
|
-
/* @__PURE__ */ (0,
|
|
6962
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeListContainer, children: [
|
|
6963
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6221
6964
|
ScPairtext,
|
|
6222
6965
|
{
|
|
6223
|
-
icon: /* @__PURE__ */ (0,
|
|
6966
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6224
6967
|
iconPosition: "right",
|
|
6225
6968
|
type: "checkbox",
|
|
6226
6969
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6227
6970
|
}
|
|
6228
6971
|
),
|
|
6229
|
-
/* @__PURE__ */ (0,
|
|
6972
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6230
6973
|
ScPairtext,
|
|
6231
6974
|
{
|
|
6232
|
-
icon: /* @__PURE__ */ (0,
|
|
6975
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6233
6976
|
iconPosition: "right",
|
|
6234
6977
|
type: "checkbox",
|
|
6235
6978
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6236
6979
|
}
|
|
6237
6980
|
),
|
|
6238
|
-
/* @__PURE__ */ (0,
|
|
6981
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6239
6982
|
ScPairtext,
|
|
6240
6983
|
{
|
|
6241
|
-
icon: /* @__PURE__ */ (0,
|
|
6984
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6242
6985
|
iconPosition: "right",
|
|
6243
6986
|
type: "checkbox",
|
|
6244
6987
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6245
6988
|
}
|
|
6246
6989
|
),
|
|
6247
|
-
/* @__PURE__ */ (0,
|
|
6990
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6248
6991
|
ScPairtext,
|
|
6249
6992
|
{
|
|
6250
|
-
icon: /* @__PURE__ */ (0,
|
|
6993
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6251
6994
|
iconPosition: "right",
|
|
6252
6995
|
type: "checkbox",
|
|
6253
6996
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6254
6997
|
}
|
|
6255
6998
|
),
|
|
6256
|
-
/* @__PURE__ */ (0,
|
|
6999
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6257
7000
|
ScPairtext,
|
|
6258
7001
|
{
|
|
6259
|
-
icon: /* @__PURE__ */ (0,
|
|
7002
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6260
7003
|
iconPosition: "right",
|
|
6261
7004
|
type: "checkbox",
|
|
6262
7005
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -6270,34 +7013,34 @@ var ScCatalogixInvite = ({
|
|
|
6270
7013
|
};
|
|
6271
7014
|
|
|
6272
7015
|
// src/SC-appField/ScAppField.tsx
|
|
6273
|
-
var
|
|
7016
|
+
var import_jsx_runtime95 = __toESM(require_jsx_runtime());
|
|
6274
7017
|
var ScAppField = ({
|
|
6275
7018
|
appFieldTitle = "App permission",
|
|
6276
7019
|
className,
|
|
6277
7020
|
...props
|
|
6278
7021
|
}) => {
|
|
6279
|
-
return /* @__PURE__ */ (0,
|
|
6280
|
-
/* @__PURE__ */ (0,
|
|
7022
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
7023
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScAppField_default.title, children: [
|
|
6281
7024
|
appFieldTitle,
|
|
6282
7025
|
" "
|
|
6283
7026
|
] }) }),
|
|
6284
|
-
/* @__PURE__ */ (0,
|
|
6285
|
-
/* @__PURE__ */ (0,
|
|
7027
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScAppField_default.inputContainer, children: [
|
|
7028
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6286
7029
|
ScArtifaxInvite,
|
|
6287
7030
|
{
|
|
6288
7031
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
6289
7032
|
}
|
|
6290
7033
|
),
|
|
6291
|
-
/* @__PURE__ */ (0,
|
|
7034
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6292
7035
|
ScPhtogenixInvite,
|
|
6293
7036
|
{
|
|
6294
7037
|
scAppCardappDescription: "Info about photogenix",
|
|
6295
7038
|
scAppCardappName: "Photogenix",
|
|
6296
|
-
scAppCardappIcon: /* @__PURE__ */ (0,
|
|
7039
|
+
scAppCardappIcon: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(sicon_photogenix_default, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
6297
7040
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
6298
7041
|
}
|
|
6299
7042
|
),
|
|
6300
|
-
/* @__PURE__ */ (0,
|
|
7043
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6301
7044
|
ScCatalogixInvite,
|
|
6302
7045
|
{
|
|
6303
7046
|
active: "true",
|
|
@@ -6317,13 +7060,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
6317
7060
|
};
|
|
6318
7061
|
|
|
6319
7062
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
6320
|
-
var
|
|
7063
|
+
var import_jsx_runtime96 = __toESM(require_jsx_runtime());
|
|
6321
7064
|
var ScBillingHistoryHeader = ({
|
|
6322
7065
|
className,
|
|
6323
7066
|
...props
|
|
6324
7067
|
}) => {
|
|
6325
|
-
return /* @__PURE__ */ (0,
|
|
6326
|
-
/* @__PURE__ */ (0,
|
|
7068
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
7069
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6327
7070
|
ScHeader,
|
|
6328
7071
|
{
|
|
6329
7072
|
text: "Invoice",
|
|
@@ -6331,7 +7074,7 @@ var ScBillingHistoryHeader = ({
|
|
|
6331
7074
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
6332
7075
|
}
|
|
6333
7076
|
),
|
|
6334
|
-
/* @__PURE__ */ (0,
|
|
7077
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6335
7078
|
ScHeader,
|
|
6336
7079
|
{
|
|
6337
7080
|
text: "Amount",
|
|
@@ -6339,7 +7082,7 @@ var ScBillingHistoryHeader = ({
|
|
|
6339
7082
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
6340
7083
|
}
|
|
6341
7084
|
),
|
|
6342
|
-
/* @__PURE__ */ (0,
|
|
7085
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6343
7086
|
ScHeader,
|
|
6344
7087
|
{
|
|
6345
7088
|
text: "Date",
|
|
@@ -6347,7 +7090,7 @@ var ScBillingHistoryHeader = ({
|
|
|
6347
7090
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
6348
7091
|
}
|
|
6349
7092
|
),
|
|
6350
|
-
/* @__PURE__ */ (0,
|
|
7093
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6351
7094
|
ScHeader,
|
|
6352
7095
|
{
|
|
6353
7096
|
text: "Action",
|
|
@@ -6368,30 +7111,30 @@ var ScCheckField_default = {
|
|
|
6368
7111
|
};
|
|
6369
7112
|
|
|
6370
7113
|
// src/SC-checkField/ScCheckField.tsx
|
|
6371
|
-
var
|
|
7114
|
+
var import_jsx_runtime97 = __toESM(require_jsx_runtime());
|
|
6372
7115
|
var ScCheckField = ({
|
|
6373
7116
|
label = "Label",
|
|
6374
7117
|
className,
|
|
6375
7118
|
...props
|
|
6376
7119
|
}) => {
|
|
6377
|
-
return /* @__PURE__ */ (0,
|
|
6378
|
-
/* @__PURE__ */ (0,
|
|
7120
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
7121
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScCheckField_default.label, children: [
|
|
6379
7122
|
label,
|
|
6380
7123
|
" "
|
|
6381
7124
|
] }) }),
|
|
6382
|
-
/* @__PURE__ */ (0,
|
|
6383
|
-
/* @__PURE__ */ (0,
|
|
7125
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScCheckField_default.tabSwitcher, children: [
|
|
7126
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6384
7127
|
ScPairtext,
|
|
6385
7128
|
{
|
|
6386
|
-
icon: /* @__PURE__ */ (0,
|
|
7129
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(sicon_Home_default, { className: ScCheckField_default.siconHomeInstance }),
|
|
6387
7130
|
type: "checkbox",
|
|
6388
7131
|
className: ScCheckField_default.scPairtextInstance
|
|
6389
7132
|
}
|
|
6390
7133
|
),
|
|
6391
|
-
/* @__PURE__ */ (0,
|
|
7134
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6392
7135
|
ScPairtext,
|
|
6393
7136
|
{
|
|
6394
|
-
icon: /* @__PURE__ */ (0,
|
|
7137
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(sicon_Home_default, { className: ScCheckField_default.siconHomeInstance }),
|
|
6395
7138
|
type: "checkbox",
|
|
6396
7139
|
className: ScCheckField_default.scPairtextInstance
|
|
6397
7140
|
}
|
|
@@ -6411,9 +7154,9 @@ var ScFieldButton_default = {
|
|
|
6411
7154
|
};
|
|
6412
7155
|
|
|
6413
7156
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
6414
|
-
var
|
|
7157
|
+
var import_jsx_runtime98 = __toESM(require_jsx_runtime());
|
|
6415
7158
|
var ScFieldButton = ({
|
|
6416
|
-
icon = /* @__PURE__ */ (0,
|
|
7159
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(sicon_Home_default, { className: ScFieldButton_default.siconHomeInstance }),
|
|
6417
7160
|
type = "default",
|
|
6418
7161
|
state = "default",
|
|
6419
7162
|
className,
|
|
@@ -6421,18 +7164,18 @@ var ScFieldButton = ({
|
|
|
6421
7164
|
...props
|
|
6422
7165
|
}) => {
|
|
6423
7166
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
6424
|
-
return /* @__PURE__ */ (0,
|
|
7167
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
6425
7168
|
"div",
|
|
6426
7169
|
{
|
|
6427
7170
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
6428
7171
|
...props,
|
|
6429
|
-
children: /* @__PURE__ */ (0,
|
|
6430
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0,
|
|
6431
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0,
|
|
7172
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScFieldButton_default.container, children: [
|
|
7173
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_jsx_runtime98.Fragment, { children: icon }),
|
|
7174
|
+
(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: [
|
|
6432
7175
|
text,
|
|
6433
7176
|
" "
|
|
6434
7177
|
] }) }),
|
|
6435
|
-
type === "icon-left" && /* @__PURE__ */ (0,
|
|
7178
|
+
type === "icon-left" && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_jsx_runtime98.Fragment, { children: icon })
|
|
6436
7179
|
] })
|
|
6437
7180
|
}
|
|
6438
7181
|
);
|
|
@@ -6446,16 +7189,16 @@ var ScPendingAction_default = {
|
|
|
6446
7189
|
};
|
|
6447
7190
|
|
|
6448
7191
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
6449
|
-
var
|
|
7192
|
+
var import_jsx_runtime99 = __toESM(require_jsx_runtime());
|
|
6450
7193
|
var ScPendingAction = ({
|
|
6451
7194
|
className,
|
|
6452
7195
|
...props
|
|
6453
7196
|
}) => {
|
|
6454
|
-
return /* @__PURE__ */ (0,
|
|
6455
|
-
/* @__PURE__ */ (0,
|
|
7197
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
7198
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6456
7199
|
ScButton,
|
|
6457
7200
|
{
|
|
6458
|
-
icon: /* @__PURE__ */ (0,
|
|
7201
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(sicon_Home_default, { className: ScPendingAction_default.siconHomeInstance }),
|
|
6459
7202
|
text: "Cancel",
|
|
6460
7203
|
variant: "error",
|
|
6461
7204
|
type: "tertiary",
|
|
@@ -6463,11 +7206,11 @@ var ScPendingAction = ({
|
|
|
6463
7206
|
className: ScPendingAction_default.scButtonInstance
|
|
6464
7207
|
}
|
|
6465
7208
|
),
|
|
6466
|
-
/* @__PURE__ */ (0,
|
|
6467
|
-
/* @__PURE__ */ (0,
|
|
7209
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
7210
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6468
7211
|
ScButton,
|
|
6469
7212
|
{
|
|
6470
|
-
icon: /* @__PURE__ */ (0,
|
|
7213
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(sicon_Home_default, { className: ScPendingAction_default.siconHomeInstance }),
|
|
6471
7214
|
text: "Resend",
|
|
6472
7215
|
variant: "tertiary",
|
|
6473
7216
|
size: "sm",
|
|
@@ -6490,7 +7233,7 @@ var ScQuickPrompt_default = {
|
|
|
6490
7233
|
};
|
|
6491
7234
|
|
|
6492
7235
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
6493
|
-
var
|
|
7236
|
+
var import_jsx_runtime100 = __toESM(require_jsx_runtime());
|
|
6494
7237
|
var ScQuickPrompt = ({
|
|
6495
7238
|
appName = "Photogenix",
|
|
6496
7239
|
heading = "Swap Model and Background",
|
|
@@ -6498,20 +7241,20 @@ var ScQuickPrompt = ({
|
|
|
6498
7241
|
className,
|
|
6499
7242
|
...props
|
|
6500
7243
|
}) => {
|
|
6501
|
-
return /* @__PURE__ */ (0,
|
|
6502
|
-
/* @__PURE__ */ (0,
|
|
6503
|
-
/* @__PURE__ */ (0,
|
|
6504
|
-
/* @__PURE__ */ (0,
|
|
7244
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
7245
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.header, children: [
|
|
7246
|
+
/* @__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 }) }),
|
|
7247
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.title, children: [
|
|
6505
7248
|
appName,
|
|
6506
7249
|
" "
|
|
6507
7250
|
] }) })
|
|
6508
7251
|
] }),
|
|
6509
|
-
/* @__PURE__ */ (0,
|
|
6510
|
-
/* @__PURE__ */ (0,
|
|
7252
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.body, children: [
|
|
7253
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.heading, children: [
|
|
6511
7254
|
heading,
|
|
6512
7255
|
" "
|
|
6513
7256
|
] }),
|
|
6514
|
-
/* @__PURE__ */ (0,
|
|
7257
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.description, children: [
|
|
6515
7258
|
description,
|
|
6516
7259
|
" "
|
|
6517
7260
|
] })
|
|
@@ -6528,13 +7271,13 @@ var ScReferralTableHeader_default = {
|
|
|
6528
7271
|
};
|
|
6529
7272
|
|
|
6530
7273
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
6531
|
-
var
|
|
7274
|
+
var import_jsx_runtime101 = __toESM(require_jsx_runtime());
|
|
6532
7275
|
var ScReferralTableHeader = ({
|
|
6533
7276
|
className,
|
|
6534
7277
|
...props
|
|
6535
7278
|
}) => {
|
|
6536
|
-
return /* @__PURE__ */ (0,
|
|
6537
|
-
/* @__PURE__ */ (0,
|
|
7279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
7280
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6538
7281
|
ScHeader,
|
|
6539
7282
|
{
|
|
6540
7283
|
text: "User",
|
|
@@ -6542,7 +7285,7 @@ var ScReferralTableHeader = ({
|
|
|
6542
7285
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
6543
7286
|
}
|
|
6544
7287
|
),
|
|
6545
|
-
/* @__PURE__ */ (0,
|
|
7288
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6546
7289
|
ScHeader,
|
|
6547
7290
|
{
|
|
6548
7291
|
text: "Date",
|
|
@@ -6550,7 +7293,7 @@ var ScReferralTableHeader = ({
|
|
|
6550
7293
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
6551
7294
|
}
|
|
6552
7295
|
),
|
|
6553
|
-
/* @__PURE__ */ (0,
|
|
7296
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6554
7297
|
ScHeader,
|
|
6555
7298
|
{
|
|
6556
7299
|
text: "Status",
|
|
@@ -6558,7 +7301,7 @@ var ScReferralTableHeader = ({
|
|
|
6558
7301
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
6559
7302
|
}
|
|
6560
7303
|
),
|
|
6561
|
-
/* @__PURE__ */ (0,
|
|
7304
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6562
7305
|
ScHeader,
|
|
6563
7306
|
{
|
|
6564
7307
|
text: "Reward",
|
|
@@ -6579,7 +7322,7 @@ var ScReferralTableList_default = {
|
|
|
6579
7322
|
};
|
|
6580
7323
|
|
|
6581
7324
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
6582
|
-
var
|
|
7325
|
+
var import_jsx_runtime102 = __toESM(require_jsx_runtime());
|
|
6583
7326
|
var ScReferralTableList = ({
|
|
6584
7327
|
userEmail = "chris@kepler.com",
|
|
6585
7328
|
userName,
|
|
@@ -6589,8 +7332,8 @@ var ScReferralTableList = ({
|
|
|
6589
7332
|
className,
|
|
6590
7333
|
...props
|
|
6591
7334
|
}) => {
|
|
6592
|
-
return /* @__PURE__ */ (0,
|
|
6593
|
-
/* @__PURE__ */ (0,
|
|
7335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
7336
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
6594
7337
|
ScProfile,
|
|
6595
7338
|
{
|
|
6596
7339
|
subText: userEmail,
|
|
@@ -6598,12 +7341,12 @@ var ScReferralTableList = ({
|
|
|
6598
7341
|
className: ScReferralTableList_default.scProfileInstance
|
|
6599
7342
|
}
|
|
6600
7343
|
),
|
|
6601
|
-
/* @__PURE__ */ (0,
|
|
7344
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScReferralTableList_default.date, children: [
|
|
6602
7345
|
date,
|
|
6603
7346
|
" "
|
|
6604
7347
|
] }),
|
|
6605
|
-
/* @__PURE__ */ (0,
|
|
6606
|
-
/* @__PURE__ */ (0,
|
|
7348
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
7349
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScReferralTableList_default.points, children: [
|
|
6607
7350
|
points,
|
|
6608
7351
|
" "
|
|
6609
7352
|
] })
|
|
@@ -6617,33 +7360,33 @@ var ScSettingsNav_default = {
|
|
|
6617
7360
|
};
|
|
6618
7361
|
|
|
6619
7362
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
6620
|
-
var
|
|
7363
|
+
var import_jsx_runtime103 = __toESM(require_jsx_runtime());
|
|
6621
7364
|
var ScSettingsNav = ({
|
|
6622
7365
|
className,
|
|
6623
7366
|
...props
|
|
6624
7367
|
}) => {
|
|
6625
|
-
return /* @__PURE__ */ (0,
|
|
6626
|
-
/* @__PURE__ */ (0,
|
|
7368
|
+
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: [
|
|
7369
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6627
7370
|
ScSidebarMenu,
|
|
6628
7371
|
{
|
|
6629
|
-
icon: /* @__PURE__ */ (0,
|
|
7372
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(sicon_team_default, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
6630
7373
|
text: "Profile",
|
|
6631
7374
|
state: "active",
|
|
6632
7375
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
6633
7376
|
}
|
|
6634
7377
|
),
|
|
6635
|
-
/* @__PURE__ */ (0,
|
|
7378
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6636
7379
|
ScSidebarMenu,
|
|
6637
7380
|
{
|
|
6638
|
-
icon: /* @__PURE__ */ (0,
|
|
7381
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(sicon_workspace_default, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
6639
7382
|
text: "Workspace",
|
|
6640
7383
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
6641
7384
|
}
|
|
6642
7385
|
),
|
|
6643
|
-
/* @__PURE__ */ (0,
|
|
7386
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6644
7387
|
ScSidebarMenu,
|
|
6645
7388
|
{
|
|
6646
|
-
icon: /* @__PURE__ */ (0,
|
|
7389
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(sicon_referral_default, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
6647
7390
|
text: "Referral",
|
|
6648
7391
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
6649
7392
|
}
|
|
@@ -6659,18 +7402,18 @@ var ScTabField_default = {
|
|
|
6659
7402
|
};
|
|
6660
7403
|
|
|
6661
7404
|
// src/SC-tabField/ScTabField.tsx
|
|
6662
|
-
var
|
|
7405
|
+
var import_jsx_runtime104 = __toESM(require_jsx_runtime());
|
|
6663
7406
|
var ScTabField = ({
|
|
6664
7407
|
label = "Label",
|
|
6665
7408
|
className,
|
|
6666
7409
|
...props
|
|
6667
7410
|
}) => {
|
|
6668
|
-
return /* @__PURE__ */ (0,
|
|
6669
|
-
/* @__PURE__ */ (0,
|
|
7411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
7412
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: ScTabField_default.label, children: [
|
|
6670
7413
|
label,
|
|
6671
7414
|
" "
|
|
6672
7415
|
] }) }),
|
|
6673
|
-
/* @__PURE__ */ (0,
|
|
7416
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
6674
7417
|
] });
|
|
6675
7418
|
};
|
|
6676
7419
|
|
|
@@ -6687,19 +7430,19 @@ var ScTableHeader_default = {
|
|
|
6687
7430
|
};
|
|
6688
7431
|
|
|
6689
7432
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
6690
|
-
var
|
|
7433
|
+
var import_jsx_runtime105 = __toESM(require_jsx_runtime());
|
|
6691
7434
|
var ScTableHeader = ({
|
|
6692
7435
|
type = "default",
|
|
6693
7436
|
className,
|
|
6694
7437
|
...props
|
|
6695
7438
|
}) => {
|
|
6696
7439
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
6697
|
-
return /* @__PURE__ */ (0,
|
|
7440
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
6698
7441
|
"div",
|
|
6699
7442
|
{
|
|
6700
7443
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
6701
7444
|
children: [
|
|
6702
|
-
/* @__PURE__ */ (0,
|
|
7445
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6703
7446
|
ScHeader,
|
|
6704
7447
|
{
|
|
6705
7448
|
text: "User",
|
|
@@ -6707,7 +7450,7 @@ var ScTableHeader = ({
|
|
|
6707
7450
|
className: ScTableHeader_default.scHeaderInstance
|
|
6708
7451
|
}
|
|
6709
7452
|
),
|
|
6710
|
-
/* @__PURE__ */ (0,
|
|
7453
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6711
7454
|
ScHeader,
|
|
6712
7455
|
{
|
|
6713
7456
|
text: "Role",
|
|
@@ -6715,7 +7458,7 @@ var ScTableHeader = ({
|
|
|
6715
7458
|
className: ScTableHeader_default.scHeaderInstance2
|
|
6716
7459
|
}
|
|
6717
7460
|
),
|
|
6718
|
-
/* @__PURE__ */ (0,
|
|
7461
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6719
7462
|
ScHeader,
|
|
6720
7463
|
{
|
|
6721
7464
|
text: "Access",
|
|
@@ -6723,7 +7466,7 @@ var ScTableHeader = ({
|
|
|
6723
7466
|
className: ScTableHeader_default.scHeaderInstance3
|
|
6724
7467
|
}
|
|
6725
7468
|
),
|
|
6726
|
-
/* @__PURE__ */ (0,
|
|
7469
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6727
7470
|
ScHeader,
|
|
6728
7471
|
{
|
|
6729
7472
|
text: "Invited by",
|
|
@@ -6731,7 +7474,7 @@ var ScTableHeader = ({
|
|
|
6731
7474
|
className: ScTableHeader_default.scHeaderInstance4
|
|
6732
7475
|
}
|
|
6733
7476
|
),
|
|
6734
|
-
type === "pending" && /* @__PURE__ */ (0,
|
|
7477
|
+
type === "pending" && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_jsx_runtime105.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6735
7478
|
ScHeader,
|
|
6736
7479
|
{
|
|
6737
7480
|
text: "Invite action",
|
|
@@ -6739,7 +7482,7 @@ var ScTableHeader = ({
|
|
|
6739
7482
|
className: ScTableHeader_default.scHeaderInstance5
|
|
6740
7483
|
}
|
|
6741
7484
|
) }),
|
|
6742
|
-
type === "default" && /* @__PURE__ */ (0,
|
|
7485
|
+
type === "default" && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_jsx_runtime105.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
6743
7486
|
ScHeader,
|
|
6744
7487
|
{
|
|
6745
7488
|
text: "Signed On",
|
|
@@ -6771,7 +7514,7 @@ var ScTableList_default = {
|
|
|
6771
7514
|
};
|
|
6772
7515
|
|
|
6773
7516
|
// src/SC-tableList/ScTableList.tsx
|
|
6774
|
-
var
|
|
7517
|
+
var import_jsx_runtime106 = __toESM(require_jsx_runtime());
|
|
6775
7518
|
var ScTableList = ({
|
|
6776
7519
|
invitedBy = "Rohan",
|
|
6777
7520
|
signedOn = "Nov 9th, 2025",
|
|
@@ -6783,51 +7526,51 @@ var ScTableList = ({
|
|
|
6783
7526
|
...props
|
|
6784
7527
|
}) => {
|
|
6785
7528
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
6786
|
-
return /* @__PURE__ */ (0,
|
|
7529
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
6787
7530
|
"div",
|
|
6788
7531
|
{
|
|
6789
7532
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
6790
7533
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
6791
7534
|
...props,
|
|
6792
7535
|
children: [
|
|
6793
|
-
/* @__PURE__ */ (0,
|
|
7536
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6794
7537
|
ScProfile,
|
|
6795
7538
|
{
|
|
6796
7539
|
subText: userEmail,
|
|
6797
7540
|
className: ScTableList_default.scProfileInstance
|
|
6798
7541
|
}
|
|
6799
7542
|
),
|
|
6800
|
-
/* @__PURE__ */ (0,
|
|
6801
|
-
/* @__PURE__ */ (0,
|
|
6802
|
-
/* @__PURE__ */ (0,
|
|
7543
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
7544
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScTableList_default.accessInfo, children: [
|
|
7545
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6803
7546
|
ScAccess,
|
|
6804
7547
|
{
|
|
6805
|
-
component: /* @__PURE__ */ (0,
|
|
6806
|
-
component2: /* @__PURE__ */ (0,
|
|
7548
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_artifacts_default, { className: ScTableList_default.siconArtifactsInstance }),
|
|
7549
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_photogenix_default, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
6807
7550
|
className: ScTableList_default.scAccessInstance
|
|
6808
7551
|
}
|
|
6809
7552
|
),
|
|
6810
|
-
/* @__PURE__ */ (0,
|
|
7553
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6811
7554
|
ScAccess,
|
|
6812
7555
|
{
|
|
6813
|
-
component: /* @__PURE__ */ (0,
|
|
6814
|
-
component2: /* @__PURE__ */ (0,
|
|
7556
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_userAdd_default, { className: ScTableList_default.siconUserAddInstance }),
|
|
7557
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_Coins_default, { className: ScTableList_default.siconCoinsInstance }),
|
|
6815
7558
|
visibleSiconCatalogix: false,
|
|
6816
7559
|
className: ScTableList_default.scAccessInstance
|
|
6817
7560
|
}
|
|
6818
7561
|
)
|
|
6819
7562
|
] }),
|
|
6820
|
-
/* @__PURE__ */ (0,
|
|
7563
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScTableList_default.userName, children: [
|
|
6821
7564
|
invitedBy,
|
|
6822
7565
|
" "
|
|
6823
7566
|
] }),
|
|
6824
|
-
variant === "pending" && /* @__PURE__ */ (0,
|
|
7567
|
+
variant === "pending" && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_jsx_runtime106.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6825
7568
|
ScPendingAction,
|
|
6826
7569
|
{
|
|
6827
7570
|
className: ScTableList_default.scPendingActionInstance
|
|
6828
7571
|
}
|
|
6829
7572
|
) }),
|
|
6830
|
-
variant === "active" && /* @__PURE__ */ (0,
|
|
7573
|
+
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: [
|
|
6831
7574
|
signedOn,
|
|
6832
7575
|
" "
|
|
6833
7576
|
] }) })
|
|
@@ -6856,7 +7599,7 @@ var ScWorkspaceCard_default = {
|
|
|
6856
7599
|
};
|
|
6857
7600
|
|
|
6858
7601
|
// src/SC-workspaceCard/ScWorkspaceCard.tsx
|
|
6859
|
-
var
|
|
7602
|
+
var import_jsx_runtime107 = __toESM(require_jsx_runtime());
|
|
6860
7603
|
var ScWorkspaceCard = ({
|
|
6861
7604
|
workspaceName = "Stores",
|
|
6862
7605
|
role = "Admin",
|
|
@@ -6866,21 +7609,21 @@ var ScWorkspaceCard = ({
|
|
|
6866
7609
|
className,
|
|
6867
7610
|
...props
|
|
6868
7611
|
}) => {
|
|
6869
|
-
return /* @__PURE__ */ (0,
|
|
6870
|
-
/* @__PURE__ */ (0,
|
|
6871
|
-
/* @__PURE__ */ (0,
|
|
7612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
7613
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
7614
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6872
7615
|
ScIntialProfileCover,
|
|
6873
7616
|
{
|
|
6874
7617
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
6875
7618
|
}
|
|
6876
7619
|
),
|
|
6877
|
-
/* @__PURE__ */ (0,
|
|
7620
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
6878
7621
|
workspaceName,
|
|
6879
7622
|
" "
|
|
6880
7623
|
] })
|
|
6881
7624
|
] }),
|
|
6882
|
-
/* @__PURE__ */ (0,
|
|
6883
|
-
/* @__PURE__ */ (0,
|
|
7625
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
7626
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6884
7627
|
ScBadges,
|
|
6885
7628
|
{
|
|
6886
7629
|
text: role,
|
|
@@ -6888,41 +7631,41 @@ var ScWorkspaceCard = ({
|
|
|
6888
7631
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
6889
7632
|
}
|
|
6890
7633
|
),
|
|
6891
|
-
/* @__PURE__ */ (0,
|
|
6892
|
-
/* @__PURE__ */ (0,
|
|
7634
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
7635
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6893
7636
|
ScPairtext,
|
|
6894
7637
|
{
|
|
6895
|
-
icon: /* @__PURE__ */ (0,
|
|
7638
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_team_default, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
6896
7639
|
content: userCount,
|
|
6897
7640
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
6898
7641
|
}
|
|
6899
7642
|
),
|
|
6900
|
-
/* @__PURE__ */ (0,
|
|
6901
|
-
/* @__PURE__ */ (0,
|
|
7643
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
7644
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6902
7645
|
ScPairtext,
|
|
6903
7646
|
{
|
|
6904
|
-
icon: /* @__PURE__ */ (0,
|
|
7647
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_Crown_default, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
6905
7648
|
content: ownerEmail,
|
|
6906
7649
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
6907
7650
|
}
|
|
6908
7651
|
)
|
|
6909
7652
|
] })
|
|
6910
7653
|
] }),
|
|
6911
|
-
/* @__PURE__ */ (0,
|
|
7654
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6912
7655
|
ScButton,
|
|
6913
7656
|
{
|
|
6914
|
-
icon: /* @__PURE__ */ (0,
|
|
7657
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_switch_default, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
6915
7658
|
text: buttonText,
|
|
6916
7659
|
state: "disabled",
|
|
6917
7660
|
variant: "outline",
|
|
6918
7661
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
6919
7662
|
}
|
|
6920
7663
|
),
|
|
6921
|
-
/* @__PURE__ */ (0,
|
|
7664
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6922
7665
|
ScButton,
|
|
6923
7666
|
{
|
|
6924
7667
|
text: "Leave workspace",
|
|
6925
|
-
icon: /* @__PURE__ */ (0,
|
|
7668
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_logout_default, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
6926
7669
|
styleVariant: "icon-only",
|
|
6927
7670
|
variant: "error",
|
|
6928
7671
|
className: ScWorkspaceCard_default.scButtonInstance2
|