@streamoid/ui 0.6.10 → 0.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1117 -0
- package/dist/index.d.mts +130 -1
- package/dist/index.d.ts +130 -1
- package/dist/index.js +1357 -210
- package/dist/index.mjs +1357 -210
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -954,8 +954,19 @@ var ScButton = ({
|
|
|
954
954
|
return /* @__PURE__ */ jsxs14(
|
|
955
955
|
"div",
|
|
956
956
|
{
|
|
957
|
-
className: ScButton_default.scButton
|
|
957
|
+
className: [ScButton_default.scButton, variantsClassName, className].filter(Boolean).join(" "),
|
|
958
|
+
role: "button",
|
|
959
|
+
tabIndex: state === "disabled" ? -1 : 0,
|
|
960
|
+
"aria-disabled": state === "disabled" || void 0,
|
|
958
961
|
...props,
|
|
962
|
+
onKeyDown: (e) => {
|
|
963
|
+
props.onKeyDown?.(e);
|
|
964
|
+
if (state === "disabled") return;
|
|
965
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
966
|
+
e.preventDefault();
|
|
967
|
+
props.onClick?.(e);
|
|
968
|
+
}
|
|
969
|
+
},
|
|
959
970
|
children: [
|
|
960
971
|
noiseUrl && /* @__PURE__ */ jsx14(
|
|
961
972
|
"div",
|
|
@@ -7106,6 +7117,181 @@ function ScWorkspaceSwitchCard({
|
|
|
7106
7117
|
}
|
|
7107
7118
|
var NscWorkspaceSwitch = ScWorkspaceSwitchCard;
|
|
7108
7119
|
|
|
7120
|
+
// src/SC-Beacon/ScBeacon.module.css
|
|
7121
|
+
var ScBeacon_default = {
|
|
7122
|
+
scBeacon: "ScBeacon_scBeacon",
|
|
7123
|
+
success: "ScBeacon_success",
|
|
7124
|
+
warning: "ScBeacon_warning",
|
|
7125
|
+
error: "ScBeacon_error",
|
|
7126
|
+
neutral: "ScBeacon_neutral"
|
|
7127
|
+
};
|
|
7128
|
+
|
|
7129
|
+
// src/SC-Beacon/ScBeacon.tsx
|
|
7130
|
+
import { jsx as jsx78, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
7131
|
+
var ScBeacon = ({
|
|
7132
|
+
tone = "neutral",
|
|
7133
|
+
className,
|
|
7134
|
+
...props
|
|
7135
|
+
}) => {
|
|
7136
|
+
return /* @__PURE__ */ jsx78(
|
|
7137
|
+
"span",
|
|
7138
|
+
{
|
|
7139
|
+
className: ScBeacon_default.scBeacon + " " + ScBeacon_default[tone] + (className ? " " + className : ""),
|
|
7140
|
+
"aria-hidden": "true",
|
|
7141
|
+
...props,
|
|
7142
|
+
children: /* @__PURE__ */ jsxs69(
|
|
7143
|
+
"svg",
|
|
7144
|
+
{
|
|
7145
|
+
viewBox: "0 0 20 20",
|
|
7146
|
+
width: "100%",
|
|
7147
|
+
height: "100%",
|
|
7148
|
+
fill: "none",
|
|
7149
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7150
|
+
children: [
|
|
7151
|
+
/* @__PURE__ */ jsx78("circle", { cx: "10", cy: "10", r: "10", fill: "currentColor", fillOpacity: "0.24" }),
|
|
7152
|
+
/* @__PURE__ */ jsx78("circle", { cx: "10", cy: "10", r: "4", fill: "currentColor" })
|
|
7153
|
+
]
|
|
7154
|
+
}
|
|
7155
|
+
)
|
|
7156
|
+
}
|
|
7157
|
+
);
|
|
7158
|
+
};
|
|
7159
|
+
|
|
7160
|
+
// src/SC-StoreCard/ScStoreCard.module.css
|
|
7161
|
+
var ScStoreCard_default = {
|
|
7162
|
+
scStoreCard: "ScStoreCard_scStoreCard",
|
|
7163
|
+
nameSection: "ScStoreCard_nameSection",
|
|
7164
|
+
storeName: "ScStoreCard_storeName",
|
|
7165
|
+
divider: "ScStoreCard_divider",
|
|
7166
|
+
footer: "ScStoreCard_footer",
|
|
7167
|
+
products: "ScStoreCard_products",
|
|
7168
|
+
date: "ScStoreCard_date"
|
|
7169
|
+
};
|
|
7170
|
+
|
|
7171
|
+
// src/SC-StoreCard/ScStoreCard.tsx
|
|
7172
|
+
import { jsx as jsx79, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
7173
|
+
var ScStoreCard = ({
|
|
7174
|
+
storeName = "Store Name",
|
|
7175
|
+
noOfProducts = "1490 Products",
|
|
7176
|
+
dateCreated = "24th Jan 2026",
|
|
7177
|
+
tone = "neutral",
|
|
7178
|
+
className,
|
|
7179
|
+
...props
|
|
7180
|
+
}) => {
|
|
7181
|
+
return /* @__PURE__ */ jsxs70(
|
|
7182
|
+
"div",
|
|
7183
|
+
{
|
|
7184
|
+
className: ScStoreCard_default.scStoreCard + (className ? " " + className : ""),
|
|
7185
|
+
...props,
|
|
7186
|
+
children: [
|
|
7187
|
+
/* @__PURE__ */ jsx79("div", { className: ScStoreCard_default.nameSection, children: /* @__PURE__ */ jsx79("p", { className: ScStoreCard_default.storeName, title: storeName, children: storeName }) }),
|
|
7188
|
+
/* @__PURE__ */ jsx79(ScHDivider, { className: ScStoreCard_default.divider }),
|
|
7189
|
+
/* @__PURE__ */ jsxs70("div", { className: ScStoreCard_default.footer, children: [
|
|
7190
|
+
/* @__PURE__ */ jsx79(ScBeacon, { tone }),
|
|
7191
|
+
/* @__PURE__ */ jsx79("span", { className: ScStoreCard_default.products, children: noOfProducts }),
|
|
7192
|
+
/* @__PURE__ */ jsx79("span", { className: ScStoreCard_default.date, children: dateCreated })
|
|
7193
|
+
] })
|
|
7194
|
+
]
|
|
7195
|
+
}
|
|
7196
|
+
);
|
|
7197
|
+
};
|
|
7198
|
+
|
|
7199
|
+
// src/SC-Catalogix-Store-Header/ScCatalogixStoreHeader.module.css
|
|
7200
|
+
var ScCatalogixStoreHeader_default = {
|
|
7201
|
+
scCatalogixStoreHeader: "ScCatalogixStoreHeader_scCatalogixStoreHeader",
|
|
7202
|
+
label: "ScCatalogixStoreHeader_label",
|
|
7203
|
+
colName: "ScCatalogixStoreHeader_colName",
|
|
7204
|
+
colStatus: "ScCatalogixStoreHeader_colStatus",
|
|
7205
|
+
colNum: "ScCatalogixStoreHeader_colNum",
|
|
7206
|
+
colDate: "ScCatalogixStoreHeader_colDate",
|
|
7207
|
+
colBy: "ScCatalogixStoreHeader_colBy"
|
|
7208
|
+
};
|
|
7209
|
+
|
|
7210
|
+
// src/SC-Catalogix-Store-Header/ScCatalogixStoreHeader.tsx
|
|
7211
|
+
import { jsx as jsx80, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
7212
|
+
var ScCatalogixStoreHeader = ({
|
|
7213
|
+
storeNameLabel = "Store name",
|
|
7214
|
+
statusLabel = "Status",
|
|
7215
|
+
productsLabel = "Products",
|
|
7216
|
+
assetsLabel = "Assets",
|
|
7217
|
+
createdOnLabel = "Created on",
|
|
7218
|
+
createdByLabel = "Created by",
|
|
7219
|
+
showAssets = true,
|
|
7220
|
+
showCreatedBy = true,
|
|
7221
|
+
className,
|
|
7222
|
+
...props
|
|
7223
|
+
}) => {
|
|
7224
|
+
return /* @__PURE__ */ jsxs71(
|
|
7225
|
+
"div",
|
|
7226
|
+
{
|
|
7227
|
+
className: ScCatalogixStoreHeader_default.scCatalogixStoreHeader + (className ? " " + className : ""),
|
|
7228
|
+
...props,
|
|
7229
|
+
children: [
|
|
7230
|
+
/* @__PURE__ */ jsx80("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colName, children: storeNameLabel }),
|
|
7231
|
+
/* @__PURE__ */ jsx80("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colStatus, children: statusLabel }),
|
|
7232
|
+
/* @__PURE__ */ jsx80("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: productsLabel }),
|
|
7233
|
+
showAssets && /* @__PURE__ */ jsx80("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: assetsLabel }),
|
|
7234
|
+
/* @__PURE__ */ jsx80("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colDate, children: createdOnLabel }),
|
|
7235
|
+
showCreatedBy && /* @__PURE__ */ jsx80("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colBy, children: createdByLabel })
|
|
7236
|
+
]
|
|
7237
|
+
}
|
|
7238
|
+
);
|
|
7239
|
+
};
|
|
7240
|
+
|
|
7241
|
+
// src/SC-CatalogixStoreTableList/ScCatalogixStoreTableList.module.css
|
|
7242
|
+
var ScCatalogixStoreTableList_default = {
|
|
7243
|
+
scCatalogixStoreTableList: "ScCatalogixStoreTableList_scCatalogixStoreTableList",
|
|
7244
|
+
name: "ScCatalogixStoreTableList_name",
|
|
7245
|
+
status: "ScCatalogixStoreTableList_status",
|
|
7246
|
+
statusSuccess: "ScCatalogixStoreTableList_statusSuccess",
|
|
7247
|
+
statusWarning: "ScCatalogixStoreTableList_statusWarning",
|
|
7248
|
+
statusError: "ScCatalogixStoreTableList_statusError",
|
|
7249
|
+
statusNeutral: "ScCatalogixStoreTableList_statusNeutral",
|
|
7250
|
+
cell: "ScCatalogixStoreTableList_cell",
|
|
7251
|
+
colNum: "ScCatalogixStoreTableList_colNum",
|
|
7252
|
+
colDate: "ScCatalogixStoreTableList_colDate",
|
|
7253
|
+
colBy: "ScCatalogixStoreTableList_colBy"
|
|
7254
|
+
};
|
|
7255
|
+
|
|
7256
|
+
// src/SC-CatalogixStoreTableList/ScCatalogixStoreTableList.tsx
|
|
7257
|
+
import { jsx as jsx81, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
7258
|
+
var STATUS_TONE_CLASS = {
|
|
7259
|
+
success: "statusSuccess",
|
|
7260
|
+
warning: "statusWarning",
|
|
7261
|
+
error: "statusError",
|
|
7262
|
+
neutral: "statusNeutral"
|
|
7263
|
+
};
|
|
7264
|
+
var ScCatalogixStoreTableList = ({
|
|
7265
|
+
storeName = "Farfetch - Spring Season 2026 - Topwear",
|
|
7266
|
+
status = "Need Attention",
|
|
7267
|
+
statusTone = "error",
|
|
7268
|
+
products = "1240",
|
|
7269
|
+
assets = "27830",
|
|
7270
|
+
createdOn = "Nov 9th, 2025",
|
|
7271
|
+
createdBy = "Chris Hemsworth",
|
|
7272
|
+
showAssets = true,
|
|
7273
|
+
showCreatedBy = true,
|
|
7274
|
+
className,
|
|
7275
|
+
...props
|
|
7276
|
+
}) => {
|
|
7277
|
+
const toneClass = ScCatalogixStoreTableList_default[STATUS_TONE_CLASS[statusTone] || "statusNeutral"];
|
|
7278
|
+
return /* @__PURE__ */ jsxs72(
|
|
7279
|
+
"div",
|
|
7280
|
+
{
|
|
7281
|
+
className: ScCatalogixStoreTableList_default.scCatalogixStoreTableList + (className ? " " + className : ""),
|
|
7282
|
+
...props,
|
|
7283
|
+
children: [
|
|
7284
|
+
/* @__PURE__ */ jsx81("span", { className: ScCatalogixStoreTableList_default.name, title: storeName, children: storeName }),
|
|
7285
|
+
/* @__PURE__ */ jsx81("span", { className: ScCatalogixStoreTableList_default.status + " " + toneClass, children: status }),
|
|
7286
|
+
/* @__PURE__ */ jsx81("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: products }),
|
|
7287
|
+
showAssets && /* @__PURE__ */ jsx81("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: assets }),
|
|
7288
|
+
/* @__PURE__ */ jsx81("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colDate, children: createdOn }),
|
|
7289
|
+
showCreatedBy && /* @__PURE__ */ jsx81("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colBy, children: createdBy })
|
|
7290
|
+
]
|
|
7291
|
+
}
|
|
7292
|
+
);
|
|
7293
|
+
};
|
|
7294
|
+
|
|
7109
7295
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.module.css
|
|
7110
7296
|
var ScThinkingStepIcon_default = {
|
|
7111
7297
|
scThinkingStepIcon: "ScThinkingStepIcon_scThinkingStepIcon",
|
|
@@ -7120,7 +7306,7 @@ var ScThinkingStepIcon_default = {
|
|
|
7120
7306
|
};
|
|
7121
7307
|
|
|
7122
7308
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.tsx
|
|
7123
|
-
import { jsx as
|
|
7309
|
+
import { jsx as jsx82, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
7124
7310
|
var ScThinkingStepIcon = ({
|
|
7125
7311
|
state = "default",
|
|
7126
7312
|
size = 12,
|
|
@@ -7129,13 +7315,13 @@ var ScThinkingStepIcon = ({
|
|
|
7129
7315
|
...props
|
|
7130
7316
|
}) => {
|
|
7131
7317
|
const variantsClassName = ScThinkingStepIcon_default["state-" + state];
|
|
7132
|
-
return /* @__PURE__ */
|
|
7318
|
+
return /* @__PURE__ */ jsx82(
|
|
7133
7319
|
"span",
|
|
7134
7320
|
{
|
|
7135
7321
|
className: ScThinkingStepIcon_default.scThinkingStepIcon + " " + (className ?? "") + " " + variantsClassName,
|
|
7136
7322
|
style: { width: size, height: size, ...style },
|
|
7137
7323
|
...props,
|
|
7138
|
-
children: /* @__PURE__ */
|
|
7324
|
+
children: /* @__PURE__ */ jsxs73(
|
|
7139
7325
|
"svg",
|
|
7140
7326
|
{
|
|
7141
7327
|
className: ScThinkingStepIcon_default.glyph,
|
|
@@ -7146,7 +7332,7 @@ var ScThinkingStepIcon = ({
|
|
|
7146
7332
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7147
7333
|
"aria-hidden": "true",
|
|
7148
7334
|
children: [
|
|
7149
|
-
state === "default" && /* @__PURE__ */
|
|
7335
|
+
state === "default" && /* @__PURE__ */ jsx82(
|
|
7150
7336
|
"circle",
|
|
7151
7337
|
{
|
|
7152
7338
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7157,7 +7343,7 @@ var ScThinkingStepIcon = ({
|
|
|
7157
7343
|
strokeLinecap: "round"
|
|
7158
7344
|
}
|
|
7159
7345
|
),
|
|
7160
|
-
state === "working" && /* @__PURE__ */
|
|
7346
|
+
state === "working" && /* @__PURE__ */ jsx82(
|
|
7161
7347
|
"path",
|
|
7162
7348
|
{
|
|
7163
7349
|
className: ScThinkingStepIcon_default.stroke + " " + ScThinkingStepIcon_default.spinner,
|
|
@@ -7167,7 +7353,7 @@ var ScThinkingStepIcon = ({
|
|
|
7167
7353
|
strokeLinejoin: "round"
|
|
7168
7354
|
}
|
|
7169
7355
|
),
|
|
7170
|
-
state === "completed" && /* @__PURE__ */
|
|
7356
|
+
state === "completed" && /* @__PURE__ */ jsx82(
|
|
7171
7357
|
"path",
|
|
7172
7358
|
{
|
|
7173
7359
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7177,7 +7363,7 @@ var ScThinkingStepIcon = ({
|
|
|
7177
7363
|
strokeLinejoin: "round"
|
|
7178
7364
|
}
|
|
7179
7365
|
),
|
|
7180
|
-
state === "error" && /* @__PURE__ */
|
|
7366
|
+
state === "error" && /* @__PURE__ */ jsx82(
|
|
7181
7367
|
"path",
|
|
7182
7368
|
{
|
|
7183
7369
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7217,7 +7403,7 @@ var ScInChatList_default = {
|
|
|
7217
7403
|
|
|
7218
7404
|
// src/SC-InChatList/ScInChatList.tsx
|
|
7219
7405
|
import { SiconUp as SiconUp2, SiconDown as SiconDown2, SiconDot as SiconDot2 } from "@streamoid/icons";
|
|
7220
|
-
import { jsx as
|
|
7406
|
+
import { jsx as jsx83, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
7221
7407
|
var ScInChatList = ({
|
|
7222
7408
|
title = "Infrastructure that helps modern brands scale",
|
|
7223
7409
|
description = "Description",
|
|
@@ -7234,33 +7420,33 @@ var ScInChatList = ({
|
|
|
7234
7420
|
}) => {
|
|
7235
7421
|
const isExpandable = descriptionVisibility === "hidden" || descriptionVisibility === "visible";
|
|
7236
7422
|
const isExpanded = descriptionVisibility === "visible";
|
|
7237
|
-
return /* @__PURE__ */
|
|
7423
|
+
return /* @__PURE__ */ jsxs74(
|
|
7238
7424
|
"div",
|
|
7239
7425
|
{
|
|
7240
7426
|
className: ScInChatList_default.scInChatList + (className ? " " + className : ""),
|
|
7241
7427
|
style,
|
|
7242
7428
|
children: [
|
|
7243
|
-
leadingIndicator && /* @__PURE__ */
|
|
7244
|
-
/* @__PURE__ */
|
|
7245
|
-
/* @__PURE__ */
|
|
7246
|
-
showSteps && /* @__PURE__ */
|
|
7247
|
-
/* @__PURE__ */
|
|
7429
|
+
leadingIndicator && /* @__PURE__ */ jsx83("div", { className: ScInChatList_default.indicatorWrapper, children: /* @__PURE__ */ jsx83(ScThinkingStepIcon, { state: iconState }) }),
|
|
7430
|
+
/* @__PURE__ */ jsxs74("div", { className: ScInChatList_default.content, children: [
|
|
7431
|
+
/* @__PURE__ */ jsxs74("div", { className: ScInChatList_default.headerArea, children: [
|
|
7432
|
+
showSteps && /* @__PURE__ */ jsx83("p", { className: ScInChatList_default.stepCount, children: stepCount }),
|
|
7433
|
+
/* @__PURE__ */ jsxs74(
|
|
7248
7434
|
"div",
|
|
7249
7435
|
{
|
|
7250
7436
|
className: ScInChatList_default.titleRow + " " + (isExpandable ? ScInChatList_default.titleRowClickable : ScInChatList_default.titleRowStatic),
|
|
7251
7437
|
onClick: isExpandable ? onToggle : void 0,
|
|
7252
7438
|
children: [
|
|
7253
|
-
/* @__PURE__ */
|
|
7254
|
-
isExpandable && /* @__PURE__ */
|
|
7439
|
+
/* @__PURE__ */ jsx83("p", { className: ScInChatList_default.title, children: title }),
|
|
7440
|
+
isExpandable && /* @__PURE__ */ jsx83("div", { className: ScInChatList_default.chevronWrapper, children: isExpanded ? /* @__PURE__ */ jsx83(SiconUp2, { size: 12, className: ScInChatList_default.chevronIcon }) : /* @__PURE__ */ jsx83(SiconDown2, { size: 12, className: ScInChatList_default.chevronIcon }) })
|
|
7255
7441
|
]
|
|
7256
7442
|
}
|
|
7257
7443
|
),
|
|
7258
|
-
isExpanded && /* @__PURE__ */
|
|
7259
|
-
/* @__PURE__ */
|
|
7260
|
-
/* @__PURE__ */
|
|
7444
|
+
isExpanded && /* @__PURE__ */ jsxs74("div", { className: ScInChatList_default.descriptionRow, children: [
|
|
7445
|
+
/* @__PURE__ */ jsx83("div", { className: ScInChatList_default.descriptionIcon, children: /* @__PURE__ */ jsx83(SiconDot2, { size: 20, className: ScInChatList_default.descriptionDot }) }),
|
|
7446
|
+
/* @__PURE__ */ jsx83("p", { className: ScInChatList_default.descriptionText, children: description })
|
|
7261
7447
|
] })
|
|
7262
7448
|
] }),
|
|
7263
|
-
showTool && /* @__PURE__ */
|
|
7449
|
+
showTool && /* @__PURE__ */ jsx83("div", { className: ScInChatList_default.toolPill, children: /* @__PURE__ */ jsx83("p", { className: ScInChatList_default.toolText, children: toolUsing }) })
|
|
7264
7450
|
] })
|
|
7265
7451
|
]
|
|
7266
7452
|
}
|
|
@@ -7274,7 +7460,7 @@ var ScSubAgent_default = {
|
|
|
7274
7460
|
};
|
|
7275
7461
|
|
|
7276
7462
|
// src/SC-SubAgent/ScSubAgent.tsx
|
|
7277
|
-
import { jsx as
|
|
7463
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
7278
7464
|
function formatSubAgentLabel(agentName) {
|
|
7279
7465
|
const normalized = (agentName ?? "").trim();
|
|
7280
7466
|
if (!normalized) return "Using sub-agent...";
|
|
@@ -7287,12 +7473,12 @@ var ScSubAgent = ({
|
|
|
7287
7473
|
...props
|
|
7288
7474
|
}) => {
|
|
7289
7475
|
const label = text ?? formatSubAgentLabel(agentName);
|
|
7290
|
-
return /* @__PURE__ */
|
|
7476
|
+
return /* @__PURE__ */ jsx84(
|
|
7291
7477
|
"div",
|
|
7292
7478
|
{
|
|
7293
7479
|
className: [ScSubAgent_default.scSubAgent, className].filter(Boolean).join(" "),
|
|
7294
7480
|
...props,
|
|
7295
|
-
children: /* @__PURE__ */
|
|
7481
|
+
children: /* @__PURE__ */ jsx84("p", { className: ScSubAgent_default.label, children: label })
|
|
7296
7482
|
}
|
|
7297
7483
|
);
|
|
7298
7484
|
};
|
|
@@ -7306,7 +7492,7 @@ var ScInChatMessage_default = {
|
|
|
7306
7492
|
};
|
|
7307
7493
|
|
|
7308
7494
|
// src/SC-InChatMessage/ScInChatMessage.tsx
|
|
7309
|
-
import { jsx as
|
|
7495
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
7310
7496
|
var ScInChatMessage = ({
|
|
7311
7497
|
type = "input",
|
|
7312
7498
|
text,
|
|
@@ -7316,13 +7502,13 @@ var ScInChatMessage = ({
|
|
|
7316
7502
|
...props
|
|
7317
7503
|
}) => {
|
|
7318
7504
|
const variantsClassName = ScInChatMessage_default["type-" + type];
|
|
7319
|
-
return /* @__PURE__ */
|
|
7505
|
+
return /* @__PURE__ */ jsx85(
|
|
7320
7506
|
"div",
|
|
7321
7507
|
{
|
|
7322
7508
|
className: [ScInChatMessage_default.scInChatMessage, variantsClassName, className].filter(Boolean).join(" "),
|
|
7323
7509
|
id,
|
|
7324
7510
|
...props,
|
|
7325
|
-
children: /* @__PURE__ */
|
|
7511
|
+
children: /* @__PURE__ */ jsx85("p", { className: ScInChatMessage_default.text, children: children ?? text })
|
|
7326
7512
|
}
|
|
7327
7513
|
);
|
|
7328
7514
|
};
|
|
@@ -7339,7 +7525,7 @@ var ScSelection_default = {
|
|
|
7339
7525
|
};
|
|
7340
7526
|
|
|
7341
7527
|
// src/SC-Selection/ScSelection.tsx
|
|
7342
|
-
import { jsx as
|
|
7528
|
+
import { jsx as jsx86, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
7343
7529
|
var ScSelection = ({
|
|
7344
7530
|
title = "Title",
|
|
7345
7531
|
description = "Description",
|
|
@@ -7355,23 +7541,23 @@ var ScSelection = ({
|
|
|
7355
7541
|
onClick?.(event);
|
|
7356
7542
|
onSelect?.(value);
|
|
7357
7543
|
};
|
|
7358
|
-
return /* @__PURE__ */
|
|
7544
|
+
return /* @__PURE__ */ jsxs75(
|
|
7359
7545
|
"div",
|
|
7360
7546
|
{
|
|
7361
7547
|
className: [ScSelection_default.scSelection, variantsClassName, className].filter(Boolean).join(" "),
|
|
7362
7548
|
onClick: handleClick,
|
|
7363
7549
|
...props,
|
|
7364
7550
|
children: [
|
|
7365
|
-
/* @__PURE__ */
|
|
7551
|
+
/* @__PURE__ */ jsx86(
|
|
7366
7552
|
ScRadio,
|
|
7367
7553
|
{
|
|
7368
7554
|
state: active ? "selected" : "default",
|
|
7369
7555
|
className: ScSelection_default.scRadioInstance
|
|
7370
7556
|
}
|
|
7371
7557
|
),
|
|
7372
|
-
/* @__PURE__ */
|
|
7373
|
-
/* @__PURE__ */
|
|
7374
|
-
/* @__PURE__ */
|
|
7558
|
+
/* @__PURE__ */ jsxs75("div", { className: ScSelection_default.wrapper, children: [
|
|
7559
|
+
/* @__PURE__ */ jsx86("p", { className: ScSelection_default.title, children: title }),
|
|
7560
|
+
description && /* @__PURE__ */ jsx86("p", { className: ScSelection_default.description, children: description })
|
|
7375
7561
|
] })
|
|
7376
7562
|
]
|
|
7377
7563
|
}
|
|
@@ -7398,7 +7584,7 @@ var ScSelectionList_default = {
|
|
|
7398
7584
|
};
|
|
7399
7585
|
|
|
7400
7586
|
// src/SC-SelectionList/ScSelectionList.tsx
|
|
7401
|
-
import { jsx as
|
|
7587
|
+
import { jsx as jsx87, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
7402
7588
|
var ScSelectionList = ({
|
|
7403
7589
|
state = "default",
|
|
7404
7590
|
label = "Suggested Colours: ",
|
|
@@ -7421,14 +7607,14 @@ var ScSelectionList = ({
|
|
|
7421
7607
|
onChange?.(next);
|
|
7422
7608
|
if (next === "rejected") onReject?.();
|
|
7423
7609
|
};
|
|
7424
|
-
return /* @__PURE__ */
|
|
7610
|
+
return /* @__PURE__ */ jsxs76(
|
|
7425
7611
|
"div",
|
|
7426
7612
|
{
|
|
7427
7613
|
className: ScSelectionList_default.scSelectionList + (disabled ? " " + ScSelectionList_default.disabled : "") + (className ? " " + className : "") + " " + variantsClassName,
|
|
7428
7614
|
...props,
|
|
7429
7615
|
children: [
|
|
7430
|
-
/* @__PURE__ */
|
|
7431
|
-
/* @__PURE__ */
|
|
7616
|
+
/* @__PURE__ */ jsxs76("div", { className: ScSelectionList_default.toggles, children: [
|
|
7617
|
+
/* @__PURE__ */ jsx87(
|
|
7432
7618
|
"button",
|
|
7433
7619
|
{
|
|
7434
7620
|
type: "button",
|
|
@@ -7437,7 +7623,7 @@ var ScSelectionList = ({
|
|
|
7437
7623
|
disabled,
|
|
7438
7624
|
"aria-pressed": state === "approved",
|
|
7439
7625
|
"aria-label": state === "approved" ? "Revoke approval" : "Approve",
|
|
7440
|
-
children: /* @__PURE__ */
|
|
7626
|
+
children: /* @__PURE__ */ jsx87(
|
|
7441
7627
|
"svg",
|
|
7442
7628
|
{
|
|
7443
7629
|
className: ScSelectionList_default.checkIcon,
|
|
@@ -7446,7 +7632,7 @@ var ScSelectionList = ({
|
|
|
7446
7632
|
viewBox: "0 0 8 6",
|
|
7447
7633
|
fill: "none",
|
|
7448
7634
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7449
|
-
children: /* @__PURE__ */
|
|
7635
|
+
children: /* @__PURE__ */ jsx87(
|
|
7450
7636
|
"path",
|
|
7451
7637
|
{
|
|
7452
7638
|
d: "M0.5 3.5L2.5 5.5L7.5 0.5",
|
|
@@ -7459,7 +7645,7 @@ var ScSelectionList = ({
|
|
|
7459
7645
|
)
|
|
7460
7646
|
}
|
|
7461
7647
|
),
|
|
7462
|
-
/* @__PURE__ */
|
|
7648
|
+
/* @__PURE__ */ jsx87(
|
|
7463
7649
|
"button",
|
|
7464
7650
|
{
|
|
7465
7651
|
type: "button",
|
|
@@ -7468,7 +7654,7 @@ var ScSelectionList = ({
|
|
|
7468
7654
|
disabled,
|
|
7469
7655
|
"aria-pressed": state === "rejected",
|
|
7470
7656
|
"aria-label": state === "rejected" ? "Revoke rejection" : "Reject",
|
|
7471
|
-
children: /* @__PURE__ */
|
|
7657
|
+
children: /* @__PURE__ */ jsx87(
|
|
7472
7658
|
"svg",
|
|
7473
7659
|
{
|
|
7474
7660
|
className: ScSelectionList_default.closeIcon,
|
|
@@ -7477,7 +7663,7 @@ var ScSelectionList = ({
|
|
|
7477
7663
|
viewBox: "0 0 6.24261 6.24262",
|
|
7478
7664
|
fill: "none",
|
|
7479
7665
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7480
|
-
children: /* @__PURE__ */
|
|
7666
|
+
children: /* @__PURE__ */ jsx87(
|
|
7481
7667
|
"path",
|
|
7482
7668
|
{
|
|
7483
7669
|
d: "M0.5 5.74262L3.12132 3.12132M3.12132 3.12132L5.74261 0.5M3.12132 3.12132L0.5 0.5M3.12132 3.12132L5.74261 5.74262",
|
|
@@ -7491,15 +7677,966 @@ var ScSelectionList = ({
|
|
|
7491
7677
|
}
|
|
7492
7678
|
)
|
|
7493
7679
|
] }),
|
|
7494
|
-
/* @__PURE__ */
|
|
7495
|
-
/* @__PURE__ */
|
|
7496
|
-
/* @__PURE__ */
|
|
7680
|
+
/* @__PURE__ */ jsx87("div", { className: ScSelectionList_default.content, children: /* @__PURE__ */ jsxs76("div", { className: ScSelectionList_default.row, children: [
|
|
7681
|
+
/* @__PURE__ */ jsx87("span", { className: ScSelectionList_default.label, children: label }),
|
|
7682
|
+
/* @__PURE__ */ jsx87("span", { className: ScSelectionList_default.valuesPill, children: /* @__PURE__ */ jsx87("span", { className: ScSelectionList_default.valuesText, children: optionValues }) })
|
|
7497
7683
|
] }) })
|
|
7498
7684
|
]
|
|
7499
7685
|
}
|
|
7500
7686
|
);
|
|
7501
7687
|
};
|
|
7502
7688
|
|
|
7689
|
+
// src/SC-textArea/ScTextArea.tsx
|
|
7690
|
+
import { useState as useState11 } from "react";
|
|
7691
|
+
|
|
7692
|
+
// src/SC-textArea/ScTextArea.module.css
|
|
7693
|
+
var ScTextArea_default = {
|
|
7694
|
+
scTextArea: "ScTextArea_scTextArea",
|
|
7695
|
+
"label-group-none": "ScTextArea_label-group-none",
|
|
7696
|
+
labelContainer: "ScTextArea_labelContainer",
|
|
7697
|
+
label: "ScTextArea_label",
|
|
7698
|
+
info: "ScTextArea_info",
|
|
7699
|
+
inputContainer: "ScTextArea_inputContainer",
|
|
7700
|
+
inputText: "ScTextArea_inputText",
|
|
7701
|
+
"state-hover": "ScTextArea_state-hover",
|
|
7702
|
+
"state-filled": "ScTextArea_state-filled",
|
|
7703
|
+
"state-active": "ScTextArea_state-active",
|
|
7704
|
+
"state-error": "ScTextArea_state-error",
|
|
7705
|
+
"state-disabled": "ScTextArea_state-disabled"
|
|
7706
|
+
};
|
|
7707
|
+
|
|
7708
|
+
// src/SC-textArea/ScTextArea.tsx
|
|
7709
|
+
import { jsx as jsx88, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
7710
|
+
var ScTextArea = ({
|
|
7711
|
+
state,
|
|
7712
|
+
labelGroup = "",
|
|
7713
|
+
label = "",
|
|
7714
|
+
info = "info",
|
|
7715
|
+
placeholderFilled = "Placeholder",
|
|
7716
|
+
className,
|
|
7717
|
+
style,
|
|
7718
|
+
...props
|
|
7719
|
+
}) => {
|
|
7720
|
+
const [focused, setFocused] = useState11(false);
|
|
7721
|
+
const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
|
|
7722
|
+
const stateClass = ScTextArea_default["state-" + derivedState];
|
|
7723
|
+
const labelGroupClass = ScTextArea_default["label-group-" + (labelGroup || "none")];
|
|
7724
|
+
return /* @__PURE__ */ jsxs77(
|
|
7725
|
+
"div",
|
|
7726
|
+
{
|
|
7727
|
+
className: [ScTextArea_default.scTextArea, stateClass, labelGroupClass, className].filter(Boolean).join(" "),
|
|
7728
|
+
style,
|
|
7729
|
+
children: [
|
|
7730
|
+
labelGroup && /* @__PURE__ */ jsxs77("div", { className: ScTextArea_default.labelContainer, children: [
|
|
7731
|
+
/* @__PURE__ */ jsxs77("div", { className: ScTextArea_default.label, children: [
|
|
7732
|
+
label,
|
|
7733
|
+
" "
|
|
7734
|
+
] }),
|
|
7735
|
+
labelGroup === "text" && /* @__PURE__ */ jsxs77("div", { className: ScTextArea_default.info, children: [
|
|
7736
|
+
info,
|
|
7737
|
+
" "
|
|
7738
|
+
] })
|
|
7739
|
+
] }),
|
|
7740
|
+
/* @__PURE__ */ jsx88("div", { className: ScTextArea_default.inputContainer, children: /* @__PURE__ */ jsx88(
|
|
7741
|
+
"textarea",
|
|
7742
|
+
{
|
|
7743
|
+
className: ScTextArea_default.inputText,
|
|
7744
|
+
placeholder: placeholderFilled,
|
|
7745
|
+
...props,
|
|
7746
|
+
onFocus: (e) => {
|
|
7747
|
+
setFocused(true);
|
|
7748
|
+
props.onFocus?.(e);
|
|
7749
|
+
},
|
|
7750
|
+
onBlur: (e) => {
|
|
7751
|
+
setFocused(false);
|
|
7752
|
+
props.onBlur?.(e);
|
|
7753
|
+
}
|
|
7754
|
+
}
|
|
7755
|
+
) })
|
|
7756
|
+
]
|
|
7757
|
+
}
|
|
7758
|
+
);
|
|
7759
|
+
};
|
|
7760
|
+
|
|
7761
|
+
// src/SC-select/ScSelect.tsx
|
|
7762
|
+
import { useState as useState12, useRef as useRef3, useEffect as useEffect3 } from "react";
|
|
7763
|
+
|
|
7764
|
+
// src/SC-select/ScSelect.module.css
|
|
7765
|
+
var ScSelect_default = {
|
|
7766
|
+
scSelect: "ScSelect_scSelect",
|
|
7767
|
+
"label-group-": "ScSelect_label-group-",
|
|
7768
|
+
labelContainer: "ScSelect_labelContainer",
|
|
7769
|
+
label: "ScSelect_label",
|
|
7770
|
+
selectArea: "ScSelect_selectArea",
|
|
7771
|
+
trigger: "ScSelect_trigger",
|
|
7772
|
+
triggerText: "ScSelect_triggerText",
|
|
7773
|
+
placeholder: "ScSelect_placeholder",
|
|
7774
|
+
chevron: "ScSelect_chevron",
|
|
7775
|
+
chevronOpen: "ScSelect_chevronOpen",
|
|
7776
|
+
"state-filled": "ScSelect_state-filled",
|
|
7777
|
+
"state-active": "ScSelect_state-active",
|
|
7778
|
+
"state-disabled": "ScSelect_state-disabled",
|
|
7779
|
+
menu: "ScSelect_menu",
|
|
7780
|
+
option: "ScSelect_option",
|
|
7781
|
+
"option-selected": "ScSelect_option-selected",
|
|
7782
|
+
optionLabel: "ScSelect_optionLabel",
|
|
7783
|
+
optionDescription: "ScSelect_optionDescription"
|
|
7784
|
+
};
|
|
7785
|
+
|
|
7786
|
+
// src/SC-select/ScSelect.tsx
|
|
7787
|
+
import { jsx as jsx89, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
7788
|
+
var ScSelect = (props) => {
|
|
7789
|
+
const {
|
|
7790
|
+
value,
|
|
7791
|
+
onChange,
|
|
7792
|
+
options = [],
|
|
7793
|
+
placeholder = "Select an option...",
|
|
7794
|
+
label,
|
|
7795
|
+
labelGroup = "",
|
|
7796
|
+
disabled = false,
|
|
7797
|
+
className
|
|
7798
|
+
} = props;
|
|
7799
|
+
const [open, setOpen] = useState12(false);
|
|
7800
|
+
const rootRef = useRef3(null);
|
|
7801
|
+
useEffect3(() => {
|
|
7802
|
+
if (!open) return;
|
|
7803
|
+
const handleClick = (e) => {
|
|
7804
|
+
if (rootRef.current && !rootRef.current.contains(e.target)) {
|
|
7805
|
+
setOpen(false);
|
|
7806
|
+
}
|
|
7807
|
+
};
|
|
7808
|
+
document.addEventListener("mousedown", handleClick);
|
|
7809
|
+
return () => document.removeEventListener("mousedown", handleClick);
|
|
7810
|
+
}, [open]);
|
|
7811
|
+
const selected = options.find((o) => o.id === value);
|
|
7812
|
+
const state = disabled ? "disabled" : open ? "active" : selected ? "filled" : "default";
|
|
7813
|
+
const handleToggle = () => {
|
|
7814
|
+
if (disabled) return;
|
|
7815
|
+
setOpen((prev) => !prev);
|
|
7816
|
+
};
|
|
7817
|
+
const handleSelect = (id) => {
|
|
7818
|
+
if (onChange) onChange(id);
|
|
7819
|
+
setOpen(false);
|
|
7820
|
+
};
|
|
7821
|
+
const rootClass = [
|
|
7822
|
+
ScSelect_default.scSelect,
|
|
7823
|
+
ScSelect_default["state-" + state],
|
|
7824
|
+
labelGroup ? ScSelect_default["label-group-" + labelGroup] : void 0,
|
|
7825
|
+
className
|
|
7826
|
+
].filter(Boolean).join(" ");
|
|
7827
|
+
return /* @__PURE__ */ jsxs78("div", { className: rootClass, ref: rootRef, children: [
|
|
7828
|
+
labelGroup === "label" && label ? /* @__PURE__ */ jsx89("div", { className: ScSelect_default.labelContainer, children: /* @__PURE__ */ jsx89("div", { className: ScSelect_default.label, children: label }) }) : null,
|
|
7829
|
+
/* @__PURE__ */ jsxs78("div", { className: ScSelect_default.selectArea, children: [
|
|
7830
|
+
/* @__PURE__ */ jsxs78(
|
|
7831
|
+
"button",
|
|
7832
|
+
{
|
|
7833
|
+
type: "button",
|
|
7834
|
+
className: ScSelect_default.trigger,
|
|
7835
|
+
onClick: handleToggle,
|
|
7836
|
+
disabled,
|
|
7837
|
+
"aria-haspopup": "listbox",
|
|
7838
|
+
"aria-expanded": open,
|
|
7839
|
+
children: [
|
|
7840
|
+
/* @__PURE__ */ jsx89(
|
|
7841
|
+
"span",
|
|
7842
|
+
{
|
|
7843
|
+
className: [ScSelect_default.triggerText, selected ? void 0 : ScSelect_default.placeholder].filter(Boolean).join(" "),
|
|
7844
|
+
children: selected ? selected.label : placeholder
|
|
7845
|
+
}
|
|
7846
|
+
),
|
|
7847
|
+
/* @__PURE__ */ jsx89(
|
|
7848
|
+
"span",
|
|
7849
|
+
{
|
|
7850
|
+
className: [ScSelect_default.chevron, open ? ScSelect_default.chevronOpen : void 0].filter(Boolean).join(" "),
|
|
7851
|
+
children: /* @__PURE__ */ jsx89("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx89(
|
|
7852
|
+
"path",
|
|
7853
|
+
{
|
|
7854
|
+
d: "M5 7.5L10 12.5L15 7.5",
|
|
7855
|
+
stroke: "currentColor",
|
|
7856
|
+
strokeWidth: "1.5",
|
|
7857
|
+
strokeLinecap: "round",
|
|
7858
|
+
strokeLinejoin: "round"
|
|
7859
|
+
}
|
|
7860
|
+
) })
|
|
7861
|
+
}
|
|
7862
|
+
)
|
|
7863
|
+
]
|
|
7864
|
+
}
|
|
7865
|
+
),
|
|
7866
|
+
open ? /* @__PURE__ */ jsx89("div", { className: ScSelect_default.menu, role: "listbox", children: options.map((option) => {
|
|
7867
|
+
const isSelected = option.id === value;
|
|
7868
|
+
const optionClass = [
|
|
7869
|
+
ScSelect_default.option,
|
|
7870
|
+
isSelected ? ScSelect_default["option-selected"] : void 0
|
|
7871
|
+
].filter(Boolean).join(" ");
|
|
7872
|
+
return /* @__PURE__ */ jsxs78(
|
|
7873
|
+
"div",
|
|
7874
|
+
{
|
|
7875
|
+
className: optionClass,
|
|
7876
|
+
role: "option",
|
|
7877
|
+
"aria-selected": isSelected,
|
|
7878
|
+
onClick: () => handleSelect(option.id),
|
|
7879
|
+
children: [
|
|
7880
|
+
/* @__PURE__ */ jsx89("span", { className: ScSelect_default.optionLabel, children: option.label }),
|
|
7881
|
+
option.description ? /* @__PURE__ */ jsx89("span", { className: ScSelect_default.optionDescription, children: option.description }) : null
|
|
7882
|
+
]
|
|
7883
|
+
},
|
|
7884
|
+
option.id
|
|
7885
|
+
);
|
|
7886
|
+
}) }) : null
|
|
7887
|
+
] })
|
|
7888
|
+
] });
|
|
7889
|
+
};
|
|
7890
|
+
|
|
7891
|
+
// src/SC-fileField/ScFileField.tsx
|
|
7892
|
+
import { useRef as useRef4 } from "react";
|
|
7893
|
+
|
|
7894
|
+
// src/SC-fileField/ScFileField.module.css
|
|
7895
|
+
var ScFileField_default = {
|
|
7896
|
+
scFileField: "ScFileField_scFileField",
|
|
7897
|
+
labelContainer: "ScFileField_labelContainer",
|
|
7898
|
+
label: "ScFileField_label",
|
|
7899
|
+
dropzone: "ScFileField_dropzone",
|
|
7900
|
+
hiddenInput: "ScFileField_hiddenInput",
|
|
7901
|
+
uploadIcon: "ScFileField_uploadIcon",
|
|
7902
|
+
dropzoneText: "ScFileField_dropzoneText",
|
|
7903
|
+
dropzoneAction: "ScFileField_dropzoneAction",
|
|
7904
|
+
acceptedText: "ScFileField_acceptedText",
|
|
7905
|
+
inputContainer: "ScFileField_inputContainer",
|
|
7906
|
+
fileIcon: "ScFileField_fileIcon",
|
|
7907
|
+
fileInfo: "ScFileField_fileInfo",
|
|
7908
|
+
fileName: "ScFileField_fileName",
|
|
7909
|
+
progressTrack: "ScFileField_progressTrack",
|
|
7910
|
+
progressFill: "ScFileField_progressFill",
|
|
7911
|
+
clearButton: "ScFileField_clearButton",
|
|
7912
|
+
errorText: "ScFileField_errorText"
|
|
7913
|
+
};
|
|
7914
|
+
|
|
7915
|
+
// src/SC-fileField/ScFileField.tsx
|
|
7916
|
+
import { jsx as jsx90, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
7917
|
+
var ScFileField = (props) => {
|
|
7918
|
+
const {
|
|
7919
|
+
onFileSelect,
|
|
7920
|
+
accept,
|
|
7921
|
+
multiple,
|
|
7922
|
+
fileName,
|
|
7923
|
+
uploading,
|
|
7924
|
+
progress = 0,
|
|
7925
|
+
error,
|
|
7926
|
+
onClear,
|
|
7927
|
+
label,
|
|
7928
|
+
className
|
|
7929
|
+
} = props;
|
|
7930
|
+
const inputRef = useRef4(null);
|
|
7931
|
+
const hasFile = Boolean(fileName);
|
|
7932
|
+
const isUploading = Boolean(uploading);
|
|
7933
|
+
const clampedProgress = Math.max(0, Math.min(100, progress));
|
|
7934
|
+
const handleChange = (e) => {
|
|
7935
|
+
if (onFileSelect) {
|
|
7936
|
+
onFileSelect(e.target.files);
|
|
7937
|
+
}
|
|
7938
|
+
};
|
|
7939
|
+
const uploadIcon = /* @__PURE__ */ jsxs79(
|
|
7940
|
+
"svg",
|
|
7941
|
+
{
|
|
7942
|
+
className: ScFileField_default.uploadIcon,
|
|
7943
|
+
width: "28",
|
|
7944
|
+
height: "28",
|
|
7945
|
+
viewBox: "0 0 24 24",
|
|
7946
|
+
fill: "none",
|
|
7947
|
+
stroke: "currentColor",
|
|
7948
|
+
strokeWidth: "1.5",
|
|
7949
|
+
strokeLinecap: "round",
|
|
7950
|
+
strokeLinejoin: "round",
|
|
7951
|
+
"aria-hidden": "true",
|
|
7952
|
+
children: [
|
|
7953
|
+
/* @__PURE__ */ jsx90("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
7954
|
+
/* @__PURE__ */ jsx90("path", { d: "M12 16V4" }),
|
|
7955
|
+
/* @__PURE__ */ jsx90("path", { d: "M7 9l5-5 5 5" })
|
|
7956
|
+
]
|
|
7957
|
+
}
|
|
7958
|
+
);
|
|
7959
|
+
const fileIcon = /* @__PURE__ */ jsxs79(
|
|
7960
|
+
"svg",
|
|
7961
|
+
{
|
|
7962
|
+
className: ScFileField_default.fileIcon,
|
|
7963
|
+
width: "20",
|
|
7964
|
+
height: "20",
|
|
7965
|
+
viewBox: "0 0 24 24",
|
|
7966
|
+
fill: "none",
|
|
7967
|
+
stroke: "currentColor",
|
|
7968
|
+
strokeWidth: "1.5",
|
|
7969
|
+
strokeLinecap: "round",
|
|
7970
|
+
strokeLinejoin: "round",
|
|
7971
|
+
"aria-hidden": "true",
|
|
7972
|
+
children: [
|
|
7973
|
+
/* @__PURE__ */ jsx90("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
|
|
7974
|
+
/* @__PURE__ */ jsx90("path", { d: "M14 2v6h6" })
|
|
7975
|
+
]
|
|
7976
|
+
}
|
|
7977
|
+
);
|
|
7978
|
+
const clearIcon = /* @__PURE__ */ jsxs79(
|
|
7979
|
+
"svg",
|
|
7980
|
+
{
|
|
7981
|
+
width: "20",
|
|
7982
|
+
height: "20",
|
|
7983
|
+
viewBox: "0 0 24 24",
|
|
7984
|
+
fill: "none",
|
|
7985
|
+
stroke: "currentColor",
|
|
7986
|
+
strokeWidth: "1.5",
|
|
7987
|
+
strokeLinecap: "round",
|
|
7988
|
+
strokeLinejoin: "round",
|
|
7989
|
+
"aria-hidden": "true",
|
|
7990
|
+
children: [
|
|
7991
|
+
/* @__PURE__ */ jsx90("path", { d: "M18 6L6 18" }),
|
|
7992
|
+
/* @__PURE__ */ jsx90("path", { d: "M6 6l12 12" })
|
|
7993
|
+
]
|
|
7994
|
+
}
|
|
7995
|
+
);
|
|
7996
|
+
const rootClass = [ScFileField_default.scFileField, className].filter(Boolean).join(" ");
|
|
7997
|
+
const showRow = hasFile || isUploading;
|
|
7998
|
+
return /* @__PURE__ */ jsxs79("div", { className: rootClass, children: [
|
|
7999
|
+
label ? /* @__PURE__ */ jsx90("div", { className: ScFileField_default.labelContainer, children: /* @__PURE__ */ jsx90("div", { className: ScFileField_default.label, children: label }) }) : null,
|
|
8000
|
+
showRow ? /* @__PURE__ */ jsxs79("div", { className: ScFileField_default.inputContainer, children: [
|
|
8001
|
+
fileIcon,
|
|
8002
|
+
/* @__PURE__ */ jsxs79("div", { className: ScFileField_default.fileInfo, children: [
|
|
8003
|
+
/* @__PURE__ */ jsx90("span", { className: ScFileField_default.fileName, children: fileName }),
|
|
8004
|
+
isUploading ? /* @__PURE__ */ jsx90("div", { className: ScFileField_default.progressTrack, children: /* @__PURE__ */ jsx90(
|
|
8005
|
+
"div",
|
|
8006
|
+
{
|
|
8007
|
+
className: ScFileField_default.progressFill,
|
|
8008
|
+
style: { width: clampedProgress + "%" }
|
|
8009
|
+
}
|
|
8010
|
+
) }) : null
|
|
8011
|
+
] }),
|
|
8012
|
+
!isUploading ? /* @__PURE__ */ jsx90(
|
|
8013
|
+
"button",
|
|
8014
|
+
{
|
|
8015
|
+
type: "button",
|
|
8016
|
+
className: ScFileField_default.clearButton,
|
|
8017
|
+
onClick: onClear,
|
|
8018
|
+
"aria-label": "Clear file",
|
|
8019
|
+
children: clearIcon
|
|
8020
|
+
}
|
|
8021
|
+
) : null
|
|
8022
|
+
] }) : /* @__PURE__ */ jsxs79("label", { className: ScFileField_default.dropzone, children: [
|
|
8023
|
+
/* @__PURE__ */ jsx90(
|
|
8024
|
+
"input",
|
|
8025
|
+
{
|
|
8026
|
+
ref: inputRef,
|
|
8027
|
+
type: "file",
|
|
8028
|
+
className: ScFileField_default.hiddenInput,
|
|
8029
|
+
accept,
|
|
8030
|
+
multiple,
|
|
8031
|
+
onChange: handleChange
|
|
8032
|
+
}
|
|
8033
|
+
),
|
|
8034
|
+
uploadIcon,
|
|
8035
|
+
/* @__PURE__ */ jsxs79("div", { className: ScFileField_default.dropzoneText, children: [
|
|
8036
|
+
/* @__PURE__ */ jsx90("span", { className: ScFileField_default.dropzoneAction, children: "Click to upload" }),
|
|
8037
|
+
" or drag and drop"
|
|
8038
|
+
] }),
|
|
8039
|
+
accept ? /* @__PURE__ */ jsxs79("div", { className: ScFileField_default.acceptedText, children: [
|
|
8040
|
+
"Accepted: ",
|
|
8041
|
+
accept
|
|
8042
|
+
] }) : null
|
|
8043
|
+
] }),
|
|
8044
|
+
error ? /* @__PURE__ */ jsx90("div", { className: ScFileField_default.errorText, children: error }) : null
|
|
8045
|
+
] });
|
|
8046
|
+
};
|
|
8047
|
+
|
|
8048
|
+
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
8049
|
+
import { useState as useState13, useEffect as useEffect4 } from "react";
|
|
8050
|
+
|
|
8051
|
+
// src/SC-mediaApproval/ScMediaApproval.module.css
|
|
8052
|
+
var ScMediaApproval_default = {
|
|
8053
|
+
scMediaApproval: "ScMediaApproval_scMediaApproval",
|
|
8054
|
+
mediaFrame: "ScMediaApproval_mediaFrame",
|
|
8055
|
+
media: "ScMediaApproval_media",
|
|
8056
|
+
mediaEmpty: "ScMediaApproval_mediaEmpty",
|
|
8057
|
+
spinnerOverlay: "ScMediaApproval_spinnerOverlay",
|
|
8058
|
+
spinner: "ScMediaApproval_spinner",
|
|
8059
|
+
spin: "ScMediaApproval_spin",
|
|
8060
|
+
navButton: "ScMediaApproval_navButton",
|
|
8061
|
+
navPrev: "ScMediaApproval_navPrev",
|
|
8062
|
+
navNext: "ScMediaApproval_navNext",
|
|
8063
|
+
counterBadge: "ScMediaApproval_counterBadge",
|
|
8064
|
+
dots: "ScMediaApproval_dots",
|
|
8065
|
+
dot: "ScMediaApproval_dot",
|
|
8066
|
+
"state-active": "ScMediaApproval_state-active",
|
|
8067
|
+
feedbackBlock: "ScMediaApproval_feedbackBlock",
|
|
8068
|
+
label: "ScMediaApproval_label",
|
|
8069
|
+
inputContainer: "ScMediaApproval_inputContainer",
|
|
8070
|
+
textArea: "ScMediaApproval_textArea"
|
|
8071
|
+
};
|
|
8072
|
+
|
|
8073
|
+
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
8074
|
+
import { Fragment as Fragment22, jsx as jsx91, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
8075
|
+
var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
|
|
8076
|
+
var isVideoUrl = (url, mediaType) => {
|
|
8077
|
+
if (mediaType === "video") return true;
|
|
8078
|
+
if (mediaType === "image") return false;
|
|
8079
|
+
return VIDEO_EXT.test(url);
|
|
8080
|
+
};
|
|
8081
|
+
var ScMediaApproval = (props) => {
|
|
8082
|
+
const {
|
|
8083
|
+
mediaUrls = [],
|
|
8084
|
+
mediaType,
|
|
8085
|
+
activeIndex,
|
|
8086
|
+
onIndexChange,
|
|
8087
|
+
onPreview,
|
|
8088
|
+
loading,
|
|
8089
|
+
feedbackLabel = "What should be changed?",
|
|
8090
|
+
feedbackValue,
|
|
8091
|
+
onFeedbackChange,
|
|
8092
|
+
feedbackPlaceholder,
|
|
8093
|
+
className
|
|
8094
|
+
} = props;
|
|
8095
|
+
const total = mediaUrls.length;
|
|
8096
|
+
const [index, setIndex] = useState13(activeIndex ?? 0);
|
|
8097
|
+
const [mediaLoading, setMediaLoading] = useState13(false);
|
|
8098
|
+
useEffect4(() => {
|
|
8099
|
+
if (typeof activeIndex === "number") {
|
|
8100
|
+
setIndex(activeIndex);
|
|
8101
|
+
}
|
|
8102
|
+
}, [activeIndex]);
|
|
8103
|
+
const goTo = (next) => {
|
|
8104
|
+
if (total === 0) return;
|
|
8105
|
+
const clamped = (next % total + total) % total;
|
|
8106
|
+
if (clamped !== index) setMediaLoading(true);
|
|
8107
|
+
setIndex(clamped);
|
|
8108
|
+
if (onIndexChange) onIndexChange(clamped);
|
|
8109
|
+
};
|
|
8110
|
+
const safeIndex = total > 0 ? Math.min(index, total - 1) : 0;
|
|
8111
|
+
const currentUrl = total > 0 ? mediaUrls[safeIndex] : void 0;
|
|
8112
|
+
const currentIsVideo = currentUrl ? isVideoUrl(currentUrl, mediaType) : false;
|
|
8113
|
+
const handlePreview = () => {
|
|
8114
|
+
if (currentUrl && onPreview) onPreview(currentUrl);
|
|
8115
|
+
};
|
|
8116
|
+
return /* @__PURE__ */ jsxs80("div", { className: [ScMediaApproval_default.scMediaApproval, className].filter(Boolean).join(" "), children: [
|
|
8117
|
+
/* @__PURE__ */ jsxs80("div", { className: ScMediaApproval_default.mediaFrame, children: [
|
|
8118
|
+
currentUrl ? currentIsVideo ? /* @__PURE__ */ jsx91(
|
|
8119
|
+
"video",
|
|
8120
|
+
{
|
|
8121
|
+
className: ScMediaApproval_default.media,
|
|
8122
|
+
src: currentUrl,
|
|
8123
|
+
controls: true,
|
|
8124
|
+
onClick: handlePreview,
|
|
8125
|
+
onLoadedData: () => setMediaLoading(false)
|
|
8126
|
+
}
|
|
8127
|
+
) : /* @__PURE__ */ jsx91(
|
|
8128
|
+
"img",
|
|
8129
|
+
{
|
|
8130
|
+
className: ScMediaApproval_default.media,
|
|
8131
|
+
src: currentUrl,
|
|
8132
|
+
alt: "",
|
|
8133
|
+
onClick: handlePreview,
|
|
8134
|
+
onLoad: () => setMediaLoading(false)
|
|
8135
|
+
}
|
|
8136
|
+
) : /* @__PURE__ */ jsx91("div", { className: ScMediaApproval_default.mediaEmpty }),
|
|
8137
|
+
(loading || mediaLoading) && /* @__PURE__ */ jsx91("div", { className: ScMediaApproval_default.spinnerOverlay, children: /* @__PURE__ */ jsx91(
|
|
8138
|
+
"svg",
|
|
8139
|
+
{
|
|
8140
|
+
className: ScMediaApproval_default.spinner,
|
|
8141
|
+
width: "32",
|
|
8142
|
+
height: "32",
|
|
8143
|
+
viewBox: "0 0 24 24",
|
|
8144
|
+
fill: "none",
|
|
8145
|
+
children: /* @__PURE__ */ jsx91(
|
|
8146
|
+
"path",
|
|
8147
|
+
{
|
|
8148
|
+
d: "M12 3a9 9 0 1 0 9 9",
|
|
8149
|
+
stroke: "var(--alias-text-and-icons-fullwhite, #ffffff)",
|
|
8150
|
+
strokeWidth: "2",
|
|
8151
|
+
strokeLinecap: "round"
|
|
8152
|
+
}
|
|
8153
|
+
)
|
|
8154
|
+
}
|
|
8155
|
+
) }),
|
|
8156
|
+
total > 1 && /* @__PURE__ */ jsxs80(Fragment22, { children: [
|
|
8157
|
+
/* @__PURE__ */ jsx91(
|
|
8158
|
+
"button",
|
|
8159
|
+
{
|
|
8160
|
+
type: "button",
|
|
8161
|
+
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navPrev].join(" "),
|
|
8162
|
+
"aria-label": "Previous",
|
|
8163
|
+
onClick: () => goTo(safeIndex - 1),
|
|
8164
|
+
children: /* @__PURE__ */ jsx91("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx91(
|
|
8165
|
+
"path",
|
|
8166
|
+
{
|
|
8167
|
+
d: "M15 6L9 12L15 18",
|
|
8168
|
+
stroke: "var(--alias-text-and-icons-fullwhite, #ffffff)",
|
|
8169
|
+
strokeWidth: "2",
|
|
8170
|
+
strokeLinecap: "round",
|
|
8171
|
+
strokeLinejoin: "round"
|
|
8172
|
+
}
|
|
8173
|
+
) })
|
|
8174
|
+
}
|
|
8175
|
+
),
|
|
8176
|
+
/* @__PURE__ */ jsx91(
|
|
8177
|
+
"button",
|
|
8178
|
+
{
|
|
8179
|
+
type: "button",
|
|
8180
|
+
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navNext].join(" "),
|
|
8181
|
+
"aria-label": "Next",
|
|
8182
|
+
onClick: () => goTo(safeIndex + 1),
|
|
8183
|
+
children: /* @__PURE__ */ jsx91("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx91(
|
|
8184
|
+
"path",
|
|
8185
|
+
{
|
|
8186
|
+
d: "M9 6L15 12L9 18",
|
|
8187
|
+
stroke: "var(--alias-text-and-icons-fullwhite, #ffffff)",
|
|
8188
|
+
strokeWidth: "2",
|
|
8189
|
+
strokeLinecap: "round",
|
|
8190
|
+
strokeLinejoin: "round"
|
|
8191
|
+
}
|
|
8192
|
+
) })
|
|
8193
|
+
}
|
|
8194
|
+
),
|
|
8195
|
+
/* @__PURE__ */ jsxs80("div", { className: ScMediaApproval_default.counterBadge, children: [
|
|
8196
|
+
safeIndex + 1,
|
|
8197
|
+
" / ",
|
|
8198
|
+
total
|
|
8199
|
+
] }),
|
|
8200
|
+
/* @__PURE__ */ jsx91("div", { className: ScMediaApproval_default.dots, children: mediaUrls.map((_, i) => /* @__PURE__ */ jsx91(
|
|
8201
|
+
"button",
|
|
8202
|
+
{
|
|
8203
|
+
type: "button",
|
|
8204
|
+
"aria-label": "Go to item " + (i + 1),
|
|
8205
|
+
className: [
|
|
8206
|
+
ScMediaApproval_default.dot,
|
|
8207
|
+
i === safeIndex ? ScMediaApproval_default["state-active"] : ""
|
|
8208
|
+
].filter(Boolean).join(" "),
|
|
8209
|
+
onClick: () => goTo(i)
|
|
8210
|
+
},
|
|
8211
|
+
i
|
|
8212
|
+
)) })
|
|
8213
|
+
] })
|
|
8214
|
+
] }),
|
|
8215
|
+
/* @__PURE__ */ jsxs80("div", { className: ScMediaApproval_default.feedbackBlock, children: [
|
|
8216
|
+
/* @__PURE__ */ jsx91("div", { className: ScMediaApproval_default.label, children: feedbackLabel }),
|
|
8217
|
+
/* @__PURE__ */ jsx91("div", { className: ScMediaApproval_default.inputContainer, children: /* @__PURE__ */ jsx91(
|
|
8218
|
+
"textarea",
|
|
8219
|
+
{
|
|
8220
|
+
className: ScMediaApproval_default.textArea,
|
|
8221
|
+
value: feedbackValue ?? "",
|
|
8222
|
+
placeholder: feedbackPlaceholder,
|
|
8223
|
+
onChange: (e) => {
|
|
8224
|
+
if (onFeedbackChange) onFeedbackChange(e.target.value);
|
|
8225
|
+
}
|
|
8226
|
+
}
|
|
8227
|
+
) })
|
|
8228
|
+
] })
|
|
8229
|
+
] });
|
|
8230
|
+
};
|
|
8231
|
+
|
|
8232
|
+
// src/SC-mediaSelect/ScMediaSelect.tsx
|
|
8233
|
+
import { useMemo } from "react";
|
|
8234
|
+
|
|
8235
|
+
// src/SC-mediaSelect/ScMediaSelect.module.css
|
|
8236
|
+
var ScMediaSelect_default = {
|
|
8237
|
+
scMediaSelect: "ScMediaSelect_scMediaSelect",
|
|
8238
|
+
header: "ScMediaSelect_header",
|
|
8239
|
+
countLabel: "ScMediaSelect_countLabel",
|
|
8240
|
+
actions: "ScMediaSelect_actions",
|
|
8241
|
+
linkButton: "ScMediaSelect_linkButton",
|
|
8242
|
+
divider: "ScMediaSelect_divider",
|
|
8243
|
+
grid: "ScMediaSelect_grid",
|
|
8244
|
+
item: "ScMediaSelect_item",
|
|
8245
|
+
"state-default": "ScMediaSelect_state-default",
|
|
8246
|
+
"state-selected": "ScMediaSelect_state-selected",
|
|
8247
|
+
media: "ScMediaSelect_media",
|
|
8248
|
+
checkBadge: "ScMediaSelect_checkBadge",
|
|
8249
|
+
previewButton: "ScMediaSelect_previewButton"
|
|
8250
|
+
};
|
|
8251
|
+
|
|
8252
|
+
// src/SC-mediaSelect/ScMediaSelect.tsx
|
|
8253
|
+
import { jsx as jsx92, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
8254
|
+
var CheckBadge = () => /* @__PURE__ */ jsx92("span", { className: ScMediaSelect_default.checkBadge, children: /* @__PURE__ */ jsx92("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx92(
|
|
8255
|
+
"path",
|
|
8256
|
+
{
|
|
8257
|
+
d: "M3.5 7.25L6 9.75L10.5 4.75",
|
|
8258
|
+
stroke: "var(--alias-text-and-icons-inverse, #101010)",
|
|
8259
|
+
strokeWidth: "1.75",
|
|
8260
|
+
strokeLinecap: "round",
|
|
8261
|
+
strokeLinejoin: "round"
|
|
8262
|
+
}
|
|
8263
|
+
) }) });
|
|
8264
|
+
var MaximizeIcon = () => /* @__PURE__ */ jsx92("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx92(
|
|
8265
|
+
"path",
|
|
8266
|
+
{
|
|
8267
|
+
d: "M15 3H21V9M9 21H3V15M21 3L14 10M3 21L10 14",
|
|
8268
|
+
stroke: "currentColor",
|
|
8269
|
+
strokeWidth: "2",
|
|
8270
|
+
strokeLinecap: "round",
|
|
8271
|
+
strokeLinejoin: "round"
|
|
8272
|
+
}
|
|
8273
|
+
) });
|
|
8274
|
+
var ScMediaSelect = (props) => {
|
|
8275
|
+
const {
|
|
8276
|
+
items = [],
|
|
8277
|
+
selected = [],
|
|
8278
|
+
onToggle,
|
|
8279
|
+
onSelectAll,
|
|
8280
|
+
onDeselectAll,
|
|
8281
|
+
min = 0,
|
|
8282
|
+
max,
|
|
8283
|
+
mediaType = "image",
|
|
8284
|
+
onPreview,
|
|
8285
|
+
className
|
|
8286
|
+
} = props;
|
|
8287
|
+
const total = items.length;
|
|
8288
|
+
const resolvedMax = typeof max === "number" ? max : total;
|
|
8289
|
+
const selectedSet = useMemo(() => new Set(selected), [selected]);
|
|
8290
|
+
const selectedCount = selectedSet.size;
|
|
8291
|
+
let countLabel = selectedCount + " of " + total + " selected";
|
|
8292
|
+
if (min > 0) countLabel += " (min " + min + ")";
|
|
8293
|
+
if (resolvedMax < total) countLabel += " (max " + resolvedMax + ")";
|
|
8294
|
+
return /* @__PURE__ */ jsxs81("div", { className: [ScMediaSelect_default.scMediaSelect, className].filter(Boolean).join(" "), children: [
|
|
8295
|
+
/* @__PURE__ */ jsxs81("div", { className: ScMediaSelect_default.header, children: [
|
|
8296
|
+
/* @__PURE__ */ jsx92("span", { className: ScMediaSelect_default.countLabel, children: countLabel }),
|
|
8297
|
+
/* @__PURE__ */ jsxs81("div", { className: ScMediaSelect_default.actions, children: [
|
|
8298
|
+
/* @__PURE__ */ jsx92(
|
|
8299
|
+
"button",
|
|
8300
|
+
{
|
|
8301
|
+
type: "button",
|
|
8302
|
+
className: ScMediaSelect_default.linkButton,
|
|
8303
|
+
onClick: () => onSelectAll && onSelectAll(),
|
|
8304
|
+
children: "Select all"
|
|
8305
|
+
}
|
|
8306
|
+
),
|
|
8307
|
+
/* @__PURE__ */ jsx92("span", { className: ScMediaSelect_default.divider, children: "|" }),
|
|
8308
|
+
/* @__PURE__ */ jsx92(
|
|
8309
|
+
"button",
|
|
8310
|
+
{
|
|
8311
|
+
type: "button",
|
|
8312
|
+
className: ScMediaSelect_default.linkButton,
|
|
8313
|
+
onClick: () => onDeselectAll && onDeselectAll(),
|
|
8314
|
+
children: "Deselect all"
|
|
8315
|
+
}
|
|
8316
|
+
)
|
|
8317
|
+
] })
|
|
8318
|
+
] }),
|
|
8319
|
+
/* @__PURE__ */ jsx92("div", { className: ScMediaSelect_default.grid, children: items.map((url, index) => {
|
|
8320
|
+
const isSelected = selectedSet.has(url);
|
|
8321
|
+
const itemClass = [
|
|
8322
|
+
ScMediaSelect_default.item,
|
|
8323
|
+
isSelected ? ScMediaSelect_default["state-selected"] : ScMediaSelect_default["state-default"]
|
|
8324
|
+
].filter(Boolean).join(" ");
|
|
8325
|
+
return /* @__PURE__ */ jsxs81(
|
|
8326
|
+
"div",
|
|
8327
|
+
{
|
|
8328
|
+
className: itemClass,
|
|
8329
|
+
onClick: () => onToggle && onToggle(url),
|
|
8330
|
+
role: "button",
|
|
8331
|
+
tabIndex: 0,
|
|
8332
|
+
"aria-pressed": isSelected,
|
|
8333
|
+
children: [
|
|
8334
|
+
mediaType === "video" ? /* @__PURE__ */ jsx92("video", { className: ScMediaSelect_default.media, src: url, muted: true, playsInline: true }) : /* @__PURE__ */ jsx92("img", { className: ScMediaSelect_default.media, src: url, alt: "" }),
|
|
8335
|
+
isSelected && /* @__PURE__ */ jsx92(CheckBadge, {}),
|
|
8336
|
+
onPreview && /* @__PURE__ */ jsx92(
|
|
8337
|
+
"button",
|
|
8338
|
+
{
|
|
8339
|
+
type: "button",
|
|
8340
|
+
className: ScMediaSelect_default.previewButton,
|
|
8341
|
+
onClick: (e) => {
|
|
8342
|
+
e.stopPropagation();
|
|
8343
|
+
onPreview(url);
|
|
8344
|
+
},
|
|
8345
|
+
"aria-label": "Preview",
|
|
8346
|
+
children: /* @__PURE__ */ jsx92(MaximizeIcon, {})
|
|
8347
|
+
}
|
|
8348
|
+
)
|
|
8349
|
+
]
|
|
8350
|
+
},
|
|
8351
|
+
url + "-" + index
|
|
8352
|
+
);
|
|
8353
|
+
}) })
|
|
8354
|
+
] });
|
|
8355
|
+
};
|
|
8356
|
+
|
|
8357
|
+
// src/SC-todoList/ScTodoList.tsx
|
|
8358
|
+
import { useState as useState14 } from "react";
|
|
8359
|
+
|
|
8360
|
+
// src/SC-todoList/ScTodoList.module.css
|
|
8361
|
+
var ScTodoList_default = {
|
|
8362
|
+
scTodoList: "ScTodoList_scTodoList",
|
|
8363
|
+
progress: "ScTodoList_progress",
|
|
8364
|
+
progressIcon: "ScTodoList_progressIcon",
|
|
8365
|
+
progressText: "ScTodoList_progressText",
|
|
8366
|
+
rows: "ScTodoList_rows",
|
|
8367
|
+
row: "ScTodoList_row",
|
|
8368
|
+
checkbox: "ScTodoList_checkbox",
|
|
8369
|
+
content: "ScTodoList_content",
|
|
8370
|
+
"status-completed": "ScTodoList_status-completed",
|
|
8371
|
+
editInput: "ScTodoList_editInput",
|
|
8372
|
+
actions: "ScTodoList_actions",
|
|
8373
|
+
actionButton: "ScTodoList_actionButton",
|
|
8374
|
+
actionButtonDanger: "ScTodoList_actionButtonDanger",
|
|
8375
|
+
addRow: "ScTodoList_addRow",
|
|
8376
|
+
addInput: "ScTodoList_addInput",
|
|
8377
|
+
addButton: "ScTodoList_addButton"
|
|
8378
|
+
};
|
|
8379
|
+
|
|
8380
|
+
// src/SC-todoList/ScTodoList.tsx
|
|
8381
|
+
import { jsx as jsx93, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
8382
|
+
var ScTodoList = ({
|
|
8383
|
+
items = [],
|
|
8384
|
+
onToggle,
|
|
8385
|
+
onEdit,
|
|
8386
|
+
onDelete,
|
|
8387
|
+
onAdd,
|
|
8388
|
+
addPlaceholder = "Add an item",
|
|
8389
|
+
className
|
|
8390
|
+
}) => {
|
|
8391
|
+
const [editingId, setEditingId] = useState14(null);
|
|
8392
|
+
const [editValue, setEditValue] = useState14("");
|
|
8393
|
+
const [newValue, setNewValue] = useState14("");
|
|
8394
|
+
const total = items.length;
|
|
8395
|
+
const completed = items.filter((i) => i.status === "completed").length;
|
|
8396
|
+
const startEditing = (item) => {
|
|
8397
|
+
setEditingId(item.id);
|
|
8398
|
+
setEditValue(item.content);
|
|
8399
|
+
};
|
|
8400
|
+
const commitEdit = (id) => {
|
|
8401
|
+
onEdit?.(id, editValue);
|
|
8402
|
+
setEditingId(null);
|
|
8403
|
+
setEditValue("");
|
|
8404
|
+
};
|
|
8405
|
+
const cancelEdit = () => {
|
|
8406
|
+
setEditingId(null);
|
|
8407
|
+
setEditValue("");
|
|
8408
|
+
};
|
|
8409
|
+
const commitAdd = () => {
|
|
8410
|
+
const trimmed = newValue.trim();
|
|
8411
|
+
if (trimmed.length === 0) return;
|
|
8412
|
+
onAdd?.(newValue);
|
|
8413
|
+
setNewValue("");
|
|
8414
|
+
};
|
|
8415
|
+
return /* @__PURE__ */ jsxs82("div", { className: [ScTodoList_default.scTodoList, className].filter(Boolean).join(" "), children: [
|
|
8416
|
+
total > 0 && /* @__PURE__ */ jsxs82("div", { className: ScTodoList_default.progress, children: [
|
|
8417
|
+
/* @__PURE__ */ jsx93(
|
|
8418
|
+
"svg",
|
|
8419
|
+
{
|
|
8420
|
+
className: ScTodoList_default.progressIcon,
|
|
8421
|
+
width: "14",
|
|
8422
|
+
height: "14",
|
|
8423
|
+
viewBox: "0 0 14 14",
|
|
8424
|
+
fill: "none",
|
|
8425
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8426
|
+
children: /* @__PURE__ */ jsx93(
|
|
8427
|
+
"path",
|
|
8428
|
+
{
|
|
8429
|
+
d: "M3 7L6 10L11 4",
|
|
8430
|
+
stroke: "currentColor",
|
|
8431
|
+
strokeWidth: "1.5",
|
|
8432
|
+
strokeLinecap: "round",
|
|
8433
|
+
strokeLinejoin: "round"
|
|
8434
|
+
}
|
|
8435
|
+
)
|
|
8436
|
+
}
|
|
8437
|
+
),
|
|
8438
|
+
/* @__PURE__ */ jsxs82("span", { className: ScTodoList_default.progressText, children: [
|
|
8439
|
+
completed,
|
|
8440
|
+
" of ",
|
|
8441
|
+
total,
|
|
8442
|
+
" completed"
|
|
8443
|
+
] })
|
|
8444
|
+
] }),
|
|
8445
|
+
/* @__PURE__ */ jsx93("div", { className: ScTodoList_default.rows, children: items.map((item) => {
|
|
8446
|
+
const isEditing = editingId === item.id;
|
|
8447
|
+
const isCompleted = item.status === "completed";
|
|
8448
|
+
return /* @__PURE__ */ jsxs82("div", { className: ScTodoList_default.row, children: [
|
|
8449
|
+
/* @__PURE__ */ jsx93(
|
|
8450
|
+
"button",
|
|
8451
|
+
{
|
|
8452
|
+
type: "button",
|
|
8453
|
+
className: ScTodoList_default.checkbox,
|
|
8454
|
+
"aria-label": isCompleted ? "Mark as pending" : "Mark as completed",
|
|
8455
|
+
onClick: () => onToggle?.(item.id),
|
|
8456
|
+
children: isCompleted ? /* @__PURE__ */ jsxs82(
|
|
8457
|
+
"svg",
|
|
8458
|
+
{
|
|
8459
|
+
width: "18",
|
|
8460
|
+
height: "18",
|
|
8461
|
+
viewBox: "0 0 18 18",
|
|
8462
|
+
fill: "none",
|
|
8463
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8464
|
+
children: [
|
|
8465
|
+
/* @__PURE__ */ jsx93("circle", { cx: "9", cy: "9", r: "9", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
8466
|
+
/* @__PURE__ */ jsx93(
|
|
8467
|
+
"path",
|
|
8468
|
+
{
|
|
8469
|
+
d: "M5.25 9L7.75 11.5L12.75 6.5",
|
|
8470
|
+
stroke: "var(--alias-text-and-icons-inverse, #101010)",
|
|
8471
|
+
strokeWidth: "1.5",
|
|
8472
|
+
strokeLinecap: "round",
|
|
8473
|
+
strokeLinejoin: "round"
|
|
8474
|
+
}
|
|
8475
|
+
)
|
|
8476
|
+
]
|
|
8477
|
+
}
|
|
8478
|
+
) : /* @__PURE__ */ jsx93(
|
|
8479
|
+
"svg",
|
|
8480
|
+
{
|
|
8481
|
+
width: "18",
|
|
8482
|
+
height: "18",
|
|
8483
|
+
viewBox: "0 0 18 18",
|
|
8484
|
+
fill: "none",
|
|
8485
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8486
|
+
children: /* @__PURE__ */ jsx93(
|
|
8487
|
+
"circle",
|
|
8488
|
+
{
|
|
8489
|
+
cx: "9",
|
|
8490
|
+
cy: "9",
|
|
8491
|
+
r: "8.25",
|
|
8492
|
+
stroke: "var(--alias-border-default, #3e3e3e)",
|
|
8493
|
+
strokeWidth: "1.5"
|
|
8494
|
+
}
|
|
8495
|
+
)
|
|
8496
|
+
}
|
|
8497
|
+
)
|
|
8498
|
+
}
|
|
8499
|
+
),
|
|
8500
|
+
isEditing ? /* @__PURE__ */ jsx93(
|
|
8501
|
+
"input",
|
|
8502
|
+
{
|
|
8503
|
+
className: ScTodoList_default.editInput,
|
|
8504
|
+
autoFocus: true,
|
|
8505
|
+
value: editValue,
|
|
8506
|
+
onChange: (e) => setEditValue(e.target.value),
|
|
8507
|
+
onBlur: () => commitEdit(item.id),
|
|
8508
|
+
onKeyDown: (e) => {
|
|
8509
|
+
if (e.key === "Enter") {
|
|
8510
|
+
e.preventDefault();
|
|
8511
|
+
commitEdit(item.id);
|
|
8512
|
+
} else if (e.key === "Escape") {
|
|
8513
|
+
e.preventDefault();
|
|
8514
|
+
cancelEdit();
|
|
8515
|
+
}
|
|
8516
|
+
}
|
|
8517
|
+
}
|
|
8518
|
+
) : /* @__PURE__ */ jsx93(
|
|
8519
|
+
"span",
|
|
8520
|
+
{
|
|
8521
|
+
className: [
|
|
8522
|
+
ScTodoList_default.content,
|
|
8523
|
+
isCompleted ? ScTodoList_default["status-completed"] : ""
|
|
8524
|
+
].filter(Boolean).join(" "),
|
|
8525
|
+
children: item.content
|
|
8526
|
+
}
|
|
8527
|
+
),
|
|
8528
|
+
!isEditing && /* @__PURE__ */ jsxs82("div", { className: ScTodoList_default.actions, children: [
|
|
8529
|
+
/* @__PURE__ */ jsx93(
|
|
8530
|
+
"button",
|
|
8531
|
+
{
|
|
8532
|
+
type: "button",
|
|
8533
|
+
className: ScTodoList_default.actionButton,
|
|
8534
|
+
"aria-label": "Edit item",
|
|
8535
|
+
onClick: () => startEditing(item),
|
|
8536
|
+
children: /* @__PURE__ */ jsx93(
|
|
8537
|
+
"svg",
|
|
8538
|
+
{
|
|
8539
|
+
width: "16",
|
|
8540
|
+
height: "16",
|
|
8541
|
+
viewBox: "0 0 16 16",
|
|
8542
|
+
fill: "none",
|
|
8543
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8544
|
+
children: /* @__PURE__ */ jsx93(
|
|
8545
|
+
"path",
|
|
8546
|
+
{
|
|
8547
|
+
d: "M11.333 2.667a1.414 1.414 0 0 1 2 2L5.333 12.667l-2.667.667.667-2.667 8-8Z",
|
|
8548
|
+
stroke: "currentColor",
|
|
8549
|
+
strokeWidth: "1.3",
|
|
8550
|
+
strokeLinecap: "round",
|
|
8551
|
+
strokeLinejoin: "round"
|
|
8552
|
+
}
|
|
8553
|
+
)
|
|
8554
|
+
}
|
|
8555
|
+
)
|
|
8556
|
+
}
|
|
8557
|
+
),
|
|
8558
|
+
/* @__PURE__ */ jsx93(
|
|
8559
|
+
"button",
|
|
8560
|
+
{
|
|
8561
|
+
type: "button",
|
|
8562
|
+
className: [ScTodoList_default.actionButton, ScTodoList_default.actionButtonDanger].filter(Boolean).join(" "),
|
|
8563
|
+
"aria-label": "Delete item",
|
|
8564
|
+
onClick: () => onDelete?.(item.id),
|
|
8565
|
+
children: /* @__PURE__ */ jsx93(
|
|
8566
|
+
"svg",
|
|
8567
|
+
{
|
|
8568
|
+
width: "16",
|
|
8569
|
+
height: "16",
|
|
8570
|
+
viewBox: "0 0 16 16",
|
|
8571
|
+
fill: "none",
|
|
8572
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8573
|
+
children: /* @__PURE__ */ jsx93(
|
|
8574
|
+
"path",
|
|
8575
|
+
{
|
|
8576
|
+
d: "M2.667 4h10.666M6.667 7.333v3.334M9.333 7.333v3.334M3.333 4l.667 8a1.333 1.333 0 0 0 1.333 1.333h5.334A1.333 1.333 0 0 0 12 12l.667-8M6 4V2.667a.667.667 0 0 1 .667-.667h2.666a.667.667 0 0 1 .667.667V4",
|
|
8577
|
+
stroke: "currentColor",
|
|
8578
|
+
strokeWidth: "1.3",
|
|
8579
|
+
strokeLinecap: "round",
|
|
8580
|
+
strokeLinejoin: "round"
|
|
8581
|
+
}
|
|
8582
|
+
)
|
|
8583
|
+
}
|
|
8584
|
+
)
|
|
8585
|
+
}
|
|
8586
|
+
)
|
|
8587
|
+
] })
|
|
8588
|
+
] }, item.id);
|
|
8589
|
+
}) }),
|
|
8590
|
+
/* @__PURE__ */ jsxs82("div", { className: ScTodoList_default.addRow, children: [
|
|
8591
|
+
/* @__PURE__ */ jsx93(
|
|
8592
|
+
"input",
|
|
8593
|
+
{
|
|
8594
|
+
className: ScTodoList_default.addInput,
|
|
8595
|
+
value: newValue,
|
|
8596
|
+
placeholder: addPlaceholder,
|
|
8597
|
+
onChange: (e) => setNewValue(e.target.value),
|
|
8598
|
+
onKeyDown: (e) => {
|
|
8599
|
+
if (e.key === "Enter") {
|
|
8600
|
+
e.preventDefault();
|
|
8601
|
+
commitAdd();
|
|
8602
|
+
}
|
|
8603
|
+
}
|
|
8604
|
+
}
|
|
8605
|
+
),
|
|
8606
|
+
/* @__PURE__ */ jsx93(
|
|
8607
|
+
"button",
|
|
8608
|
+
{
|
|
8609
|
+
type: "button",
|
|
8610
|
+
className: ScTodoList_default.addButton,
|
|
8611
|
+
"aria-label": "Add item",
|
|
8612
|
+
disabled: newValue.trim().length === 0,
|
|
8613
|
+
onClick: commitAdd,
|
|
8614
|
+
children: /* @__PURE__ */ jsx93(
|
|
8615
|
+
"svg",
|
|
8616
|
+
{
|
|
8617
|
+
width: "18",
|
|
8618
|
+
height: "18",
|
|
8619
|
+
viewBox: "0 0 18 18",
|
|
8620
|
+
fill: "none",
|
|
8621
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8622
|
+
children: /* @__PURE__ */ jsx93(
|
|
8623
|
+
"path",
|
|
8624
|
+
{
|
|
8625
|
+
d: "M9 4v10M4 9h10",
|
|
8626
|
+
stroke: "currentColor",
|
|
8627
|
+
strokeWidth: "1.5",
|
|
8628
|
+
strokeLinecap: "round",
|
|
8629
|
+
strokeLinejoin: "round"
|
|
8630
|
+
}
|
|
8631
|
+
)
|
|
8632
|
+
}
|
|
8633
|
+
)
|
|
8634
|
+
}
|
|
8635
|
+
)
|
|
8636
|
+
] })
|
|
8637
|
+
] });
|
|
8638
|
+
};
|
|
8639
|
+
|
|
7503
8640
|
// src/SC-Role-Mobile/ScRoleMobile.module.css
|
|
7504
8641
|
var ScRoleMobile_default = {
|
|
7505
8642
|
scRoleMobile: "ScRoleMobile_scRoleMobile",
|
|
@@ -7509,18 +8646,18 @@ var ScRoleMobile_default = {
|
|
|
7509
8646
|
};
|
|
7510
8647
|
|
|
7511
8648
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
7512
|
-
import { jsx as
|
|
8649
|
+
import { jsx as jsx94 } from "react/jsx-runtime";
|
|
7513
8650
|
var ScRoleMobile = ({
|
|
7514
8651
|
role = "admin",
|
|
7515
8652
|
className,
|
|
7516
8653
|
...props
|
|
7517
8654
|
}) => {
|
|
7518
|
-
return /* @__PURE__ */
|
|
8655
|
+
return /* @__PURE__ */ jsx94(
|
|
7519
8656
|
"div",
|
|
7520
8657
|
{
|
|
7521
8658
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
7522
8659
|
...props,
|
|
7523
|
-
children: /* @__PURE__ */
|
|
8660
|
+
children: /* @__PURE__ */ jsx94("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
7524
8661
|
}
|
|
7525
8662
|
);
|
|
7526
8663
|
};
|
|
@@ -7537,7 +8674,7 @@ var ScProfileV2Mobile_default = {
|
|
|
7537
8674
|
};
|
|
7538
8675
|
|
|
7539
8676
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
7540
|
-
import { jsx as
|
|
8677
|
+
import { jsx as jsx95, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
7541
8678
|
var ScProfileV2Mobile = ({
|
|
7542
8679
|
name = "Chris Hemsworth",
|
|
7543
8680
|
email = "chris@kepler.com",
|
|
@@ -7547,17 +8684,17 @@ var ScProfileV2Mobile = ({
|
|
|
7547
8684
|
...props
|
|
7548
8685
|
}) => {
|
|
7549
8686
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
7550
|
-
const profileImage = /* @__PURE__ */
|
|
7551
|
-
return /* @__PURE__ */
|
|
8687
|
+
const profileImage = /* @__PURE__ */ jsx95("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx95("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ jsx95("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
8688
|
+
return /* @__PURE__ */ jsxs83(
|
|
7552
8689
|
"div",
|
|
7553
8690
|
{
|
|
7554
8691
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
7555
8692
|
...props,
|
|
7556
8693
|
children: [
|
|
7557
8694
|
dpPosition === "left" && profileImage,
|
|
7558
|
-
/* @__PURE__ */
|
|
7559
|
-
/* @__PURE__ */
|
|
7560
|
-
/* @__PURE__ */
|
|
8695
|
+
/* @__PURE__ */ jsxs83("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
8696
|
+
/* @__PURE__ */ jsx95("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
8697
|
+
/* @__PURE__ */ jsx95("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
7561
8698
|
] }),
|
|
7562
8699
|
dpPosition === "right" && profileImage
|
|
7563
8700
|
]
|
|
@@ -7584,7 +8721,7 @@ var ScTableListMobile_default = {
|
|
|
7584
8721
|
};
|
|
7585
8722
|
|
|
7586
8723
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
7587
|
-
import { jsx as
|
|
8724
|
+
import { jsx as jsx96, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
7588
8725
|
var ScTableListMobile = ({
|
|
7589
8726
|
name = "Chris Hemsworth",
|
|
7590
8727
|
email = "chris@kepler.com",
|
|
@@ -7597,25 +8734,25 @@ var ScTableListMobile = ({
|
|
|
7597
8734
|
...props
|
|
7598
8735
|
}) => {
|
|
7599
8736
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
7600
|
-
return /* @__PURE__ */
|
|
8737
|
+
return /* @__PURE__ */ jsxs84(
|
|
7601
8738
|
"div",
|
|
7602
8739
|
{
|
|
7603
8740
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
7604
8741
|
onClick: onRowClick,
|
|
7605
8742
|
...props,
|
|
7606
8743
|
children: [
|
|
7607
|
-
/* @__PURE__ */
|
|
7608
|
-
/* @__PURE__ */
|
|
7609
|
-
/* @__PURE__ */
|
|
7610
|
-
/* @__PURE__ */
|
|
8744
|
+
/* @__PURE__ */ jsxs84("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
8745
|
+
/* @__PURE__ */ jsxs84("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
8746
|
+
/* @__PURE__ */ jsx96("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
8747
|
+
/* @__PURE__ */ jsx96("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
7611
8748
|
] }),
|
|
7612
|
-
/* @__PURE__ */
|
|
8749
|
+
/* @__PURE__ */ jsx96("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx96("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ jsx96("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
7613
8750
|
] }),
|
|
7614
|
-
/* @__PURE__ */
|
|
7615
|
-
/* @__PURE__ */
|
|
7616
|
-
/* @__PURE__ */
|
|
7617
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */
|
|
7618
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */
|
|
8751
|
+
/* @__PURE__ */ jsxs84("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
8752
|
+
/* @__PURE__ */ jsx96("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ jsx96("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
8753
|
+
/* @__PURE__ */ jsxs84("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
8754
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ jsx96("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ jsx96("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
8755
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ jsx96("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ jsx96("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
7619
8756
|
] })
|
|
7620
8757
|
] })
|
|
7621
8758
|
]
|
|
@@ -7643,7 +8780,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
7643
8780
|
};
|
|
7644
8781
|
|
|
7645
8782
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
7646
|
-
import { jsx as
|
|
8783
|
+
import { jsx as jsx97, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
7647
8784
|
var ScWorkspaceSwitchMobile = ({
|
|
7648
8785
|
storeName = "Stores",
|
|
7649
8786
|
initials = "WS",
|
|
@@ -7656,24 +8793,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
7656
8793
|
...props
|
|
7657
8794
|
}) => {
|
|
7658
8795
|
const variant = currentWs ? "current" : "other";
|
|
7659
|
-
return /* @__PURE__ */
|
|
8796
|
+
return /* @__PURE__ */ jsxs85(
|
|
7660
8797
|
"div",
|
|
7661
8798
|
{
|
|
7662
8799
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
7663
8800
|
onClick,
|
|
7664
8801
|
...props,
|
|
7665
8802
|
children: [
|
|
7666
|
-
/* @__PURE__ */
|
|
7667
|
-
/* @__PURE__ */
|
|
7668
|
-
/* @__PURE__ */
|
|
7669
|
-
/* @__PURE__ */
|
|
8803
|
+
/* @__PURE__ */ jsxs85("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
8804
|
+
/* @__PURE__ */ jsxs85("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
8805
|
+
/* @__PURE__ */ jsx97("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ jsx97("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
8806
|
+
/* @__PURE__ */ jsx97("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
7670
8807
|
] }),
|
|
7671
|
-
/* @__PURE__ */
|
|
8808
|
+
/* @__PURE__ */ jsx97("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx97("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
7672
8809
|
] }),
|
|
7673
|
-
/* @__PURE__ */
|
|
7674
|
-
/* @__PURE__ */
|
|
7675
|
-
/* @__PURE__ */
|
|
7676
|
-
/* @__PURE__ */
|
|
8810
|
+
/* @__PURE__ */ jsx97("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
8811
|
+
/* @__PURE__ */ jsxs85("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
8812
|
+
/* @__PURE__ */ jsx97("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ jsx97("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
8813
|
+
/* @__PURE__ */ jsx97("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
7677
8814
|
] })
|
|
7678
8815
|
]
|
|
7679
8816
|
}
|
|
@@ -7700,7 +8837,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
7700
8837
|
};
|
|
7701
8838
|
|
|
7702
8839
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
7703
|
-
import { jsx as
|
|
8840
|
+
import { jsx as jsx98, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
7704
8841
|
var ScWorkspaceSettingsMobile = ({
|
|
7705
8842
|
storeName = "Stores",
|
|
7706
8843
|
initials = "WS",
|
|
@@ -7715,28 +8852,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
7715
8852
|
...props
|
|
7716
8853
|
}) => {
|
|
7717
8854
|
const variant = currentWs ? "current" : "other";
|
|
7718
|
-
return /* @__PURE__ */
|
|
8855
|
+
return /* @__PURE__ */ jsxs86(
|
|
7719
8856
|
"div",
|
|
7720
8857
|
{
|
|
7721
8858
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
7722
8859
|
onClick,
|
|
7723
8860
|
...props,
|
|
7724
8861
|
children: [
|
|
7725
|
-
/* @__PURE__ */
|
|
7726
|
-
/* @__PURE__ */
|
|
7727
|
-
/* @__PURE__ */
|
|
7728
|
-
/* @__PURE__ */
|
|
8862
|
+
/* @__PURE__ */ jsxs86("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
8863
|
+
/* @__PURE__ */ jsxs86("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
8864
|
+
/* @__PURE__ */ jsx98("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ jsx98("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
8865
|
+
/* @__PURE__ */ jsx98("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
7729
8866
|
] }),
|
|
7730
|
-
/* @__PURE__ */
|
|
8867
|
+
/* @__PURE__ */ jsx98("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx98("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
7731
8868
|
] }),
|
|
7732
|
-
/* @__PURE__ */
|
|
7733
|
-
/* @__PURE__ */
|
|
7734
|
-
/* @__PURE__ */
|
|
7735
|
-
/* @__PURE__ */
|
|
8869
|
+
/* @__PURE__ */ jsx98("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
8870
|
+
/* @__PURE__ */ jsxs86("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
8871
|
+
/* @__PURE__ */ jsx98("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ jsx98("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
8872
|
+
/* @__PURE__ */ jsx98("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
7736
8873
|
] }),
|
|
7737
|
-
/* @__PURE__ */
|
|
7738
|
-
/* @__PURE__ */
|
|
7739
|
-
/* @__PURE__ */
|
|
8874
|
+
/* @__PURE__ */ jsxs86("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
8875
|
+
/* @__PURE__ */ jsx98("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ jsx98("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
8876
|
+
/* @__PURE__ */ jsx98("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
7740
8877
|
] })
|
|
7741
8878
|
]
|
|
7742
8879
|
}
|
|
@@ -7759,7 +8896,7 @@ var ScMobileTopNav_default = {
|
|
|
7759
8896
|
};
|
|
7760
8897
|
|
|
7761
8898
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
7762
|
-
import { Fragment as
|
|
8899
|
+
import { Fragment as Fragment23, jsx as jsx99, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
7763
8900
|
var ScMobileTopNav = ({
|
|
7764
8901
|
type = "home",
|
|
7765
8902
|
searchIcon = false,
|
|
@@ -7782,22 +8919,22 @@ var ScMobileTopNav = ({
|
|
|
7782
8919
|
}) => {
|
|
7783
8920
|
const hasBorder = type === "chat" || type === "inApp";
|
|
7784
8921
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
7785
|
-
return /* @__PURE__ */
|
|
8922
|
+
return /* @__PURE__ */ jsxs87(
|
|
7786
8923
|
"div",
|
|
7787
8924
|
{
|
|
7788
8925
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
7789
8926
|
...props,
|
|
7790
8927
|
children: [
|
|
7791
|
-
type === "home" && /* @__PURE__ */
|
|
7792
|
-
type === "chat" && /* @__PURE__ */
|
|
7793
|
-
/* @__PURE__ */
|
|
7794
|
-
/* @__PURE__ */
|
|
7795
|
-
/* @__PURE__ */
|
|
8928
|
+
type === "home" && /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
8929
|
+
type === "chat" && /* @__PURE__ */ jsxs87(Fragment23, { children: [
|
|
8930
|
+
/* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
8931
|
+
/* @__PURE__ */ jsx99("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
8932
|
+
/* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
7796
8933
|
] }),
|
|
7797
|
-
showSearch && /* @__PURE__ */
|
|
7798
|
-
/* @__PURE__ */
|
|
7799
|
-
/* @__PURE__ */
|
|
7800
|
-
/* @__PURE__ */
|
|
8934
|
+
showSearch && /* @__PURE__ */ jsxs87(Fragment23, { children: [
|
|
8935
|
+
/* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs87("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
8936
|
+
/* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
8937
|
+
/* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx99(
|
|
7801
8938
|
"input",
|
|
7802
8939
|
{
|
|
7803
8940
|
type: "text",
|
|
@@ -7808,17 +8945,17 @@ var ScMobileTopNav = ({
|
|
|
7808
8945
|
}
|
|
7809
8946
|
) })
|
|
7810
8947
|
] }) }),
|
|
7811
|
-
/* @__PURE__ */
|
|
8948
|
+
/* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
7812
8949
|
] }),
|
|
7813
|
-
type === "inApp" && !search && /* @__PURE__ */
|
|
7814
|
-
/* @__PURE__ */
|
|
7815
|
-
/* @__PURE__ */
|
|
7816
|
-
/* @__PURE__ */
|
|
8950
|
+
type === "inApp" && !search && /* @__PURE__ */ jsxs87(Fragment23, { children: [
|
|
8951
|
+
/* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
8952
|
+
/* @__PURE__ */ jsx99("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
8953
|
+
/* @__PURE__ */ jsx99(
|
|
7817
8954
|
"div",
|
|
7818
8955
|
{
|
|
7819
8956
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
7820
8957
|
onClick: onSearchClick,
|
|
7821
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */
|
|
8958
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
7822
8959
|
}
|
|
7823
8960
|
)
|
|
7824
8961
|
] })
|
|
@@ -7839,7 +8976,7 @@ var ScMobileBottomAction_default = {
|
|
|
7839
8976
|
};
|
|
7840
8977
|
|
|
7841
8978
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
7842
|
-
import { jsx as
|
|
8979
|
+
import { jsx as jsx100, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
7843
8980
|
var ScMobileBottomAction = ({
|
|
7844
8981
|
text = "Save Changes",
|
|
7845
8982
|
disabled = false,
|
|
@@ -7851,28 +8988,28 @@ var ScMobileBottomAction = ({
|
|
|
7851
8988
|
...props
|
|
7852
8989
|
}) => {
|
|
7853
8990
|
const isTwoButton = !!secondaryText;
|
|
7854
|
-
return /* @__PURE__ */
|
|
8991
|
+
return /* @__PURE__ */ jsxs88(
|
|
7855
8992
|
"div",
|
|
7856
8993
|
{
|
|
7857
8994
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
7858
8995
|
...props,
|
|
7859
8996
|
children: [
|
|
7860
|
-
isTwoButton && /* @__PURE__ */
|
|
8997
|
+
isTwoButton && /* @__PURE__ */ jsx100(
|
|
7861
8998
|
"button",
|
|
7862
8999
|
{
|
|
7863
9000
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
7864
9001
|
onClick: onSecondaryClick,
|
|
7865
9002
|
disabled: secondaryDisabled,
|
|
7866
|
-
children: /* @__PURE__ */
|
|
9003
|
+
children: /* @__PURE__ */ jsx100("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
7867
9004
|
}
|
|
7868
9005
|
),
|
|
7869
|
-
/* @__PURE__ */
|
|
9006
|
+
/* @__PURE__ */ jsx100(
|
|
7870
9007
|
"button",
|
|
7871
9008
|
{
|
|
7872
9009
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
7873
9010
|
onClick,
|
|
7874
9011
|
disabled,
|
|
7875
|
-
children: /* @__PURE__ */
|
|
9012
|
+
children: /* @__PURE__ */ jsx100("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
7876
9013
|
}
|
|
7877
9014
|
)
|
|
7878
9015
|
]
|
|
@@ -7890,7 +9027,7 @@ var ScPopUpMenu_default = {
|
|
|
7890
9027
|
};
|
|
7891
9028
|
|
|
7892
9029
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
7893
|
-
import { jsx as
|
|
9030
|
+
import { jsx as jsx101, jsxs as jsxs89 } from "react/jsx-runtime";
|
|
7894
9031
|
var ScPopUpMenu = ({
|
|
7895
9032
|
menu = "Options",
|
|
7896
9033
|
state = "default",
|
|
@@ -7899,15 +9036,15 @@ var ScPopUpMenu = ({
|
|
|
7899
9036
|
className,
|
|
7900
9037
|
...props
|
|
7901
9038
|
}) => {
|
|
7902
|
-
return /* @__PURE__ */
|
|
9039
|
+
return /* @__PURE__ */ jsxs89(
|
|
7903
9040
|
"div",
|
|
7904
9041
|
{
|
|
7905
9042
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
7906
9043
|
onClick,
|
|
7907
9044
|
...props,
|
|
7908
9045
|
children: [
|
|
7909
|
-
icon && /* @__PURE__ */
|
|
7910
|
-
/* @__PURE__ */
|
|
9046
|
+
icon && /* @__PURE__ */ jsx101("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
9047
|
+
/* @__PURE__ */ jsx101("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
7911
9048
|
]
|
|
7912
9049
|
}
|
|
7913
9050
|
);
|
|
@@ -7933,7 +9070,7 @@ var ScReferralCardMobile_default = {
|
|
|
7933
9070
|
};
|
|
7934
9071
|
|
|
7935
9072
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
7936
|
-
import { jsx as
|
|
9073
|
+
import { jsx as jsx102, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
7937
9074
|
var ScReferralCardMobile = ({
|
|
7938
9075
|
name = "Chris Hemsworth",
|
|
7939
9076
|
email = "chris@kepler.com",
|
|
@@ -7946,27 +9083,27 @@ var ScReferralCardMobile = ({
|
|
|
7946
9083
|
...props
|
|
7947
9084
|
}) => {
|
|
7948
9085
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
7949
|
-
return /* @__PURE__ */
|
|
9086
|
+
return /* @__PURE__ */ jsxs90(
|
|
7950
9087
|
"div",
|
|
7951
9088
|
{
|
|
7952
9089
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
7953
9090
|
onClick,
|
|
7954
9091
|
...props,
|
|
7955
9092
|
children: [
|
|
7956
|
-
/* @__PURE__ */
|
|
7957
|
-
/* @__PURE__ */
|
|
7958
|
-
/* @__PURE__ */
|
|
7959
|
-
/* @__PURE__ */
|
|
7960
|
-
/* @__PURE__ */
|
|
7961
|
-
/* @__PURE__ */
|
|
9093
|
+
/* @__PURE__ */ jsxs90("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
9094
|
+
/* @__PURE__ */ jsxs90("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
9095
|
+
/* @__PURE__ */ jsx102("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx102("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ jsx102("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
9096
|
+
/* @__PURE__ */ jsxs90("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
9097
|
+
/* @__PURE__ */ jsx102("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
9098
|
+
/* @__PURE__ */ jsx102("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
7962
9099
|
] })
|
|
7963
9100
|
] }),
|
|
7964
|
-
/* @__PURE__ */
|
|
9101
|
+
/* @__PURE__ */ jsx102("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx102("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
7965
9102
|
] }),
|
|
7966
|
-
/* @__PURE__ */
|
|
7967
|
-
/* @__PURE__ */
|
|
7968
|
-
/* @__PURE__ */
|
|
7969
|
-
/* @__PURE__ */
|
|
9103
|
+
/* @__PURE__ */ jsx102("div", { className: ScReferralCardMobile_default.divider }),
|
|
9104
|
+
/* @__PURE__ */ jsxs90("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
9105
|
+
/* @__PURE__ */ jsx102("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
9106
|
+
/* @__PURE__ */ jsx102("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
7970
9107
|
] })
|
|
7971
9108
|
]
|
|
7972
9109
|
}
|
|
@@ -7983,19 +9120,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
7983
9120
|
};
|
|
7984
9121
|
|
|
7985
9122
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
7986
|
-
import { jsx as
|
|
9123
|
+
import { jsx as jsx103, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
7987
9124
|
var InvoiceHistoryMobile = ({
|
|
7988
9125
|
invoiceId = "# INV-2800-2026",
|
|
7989
9126
|
date = "Nov 9th, 2025",
|
|
7990
9127
|
amount = "\u20B9320.89",
|
|
7991
9128
|
className
|
|
7992
9129
|
}) => {
|
|
7993
|
-
return /* @__PURE__ */
|
|
7994
|
-
/* @__PURE__ */
|
|
7995
|
-
/* @__PURE__ */
|
|
7996
|
-
/* @__PURE__ */
|
|
9130
|
+
return /* @__PURE__ */ jsxs91("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
9131
|
+
/* @__PURE__ */ jsxs91("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
9132
|
+
/* @__PURE__ */ jsx103("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
9133
|
+
/* @__PURE__ */ jsx103("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
7997
9134
|
] }),
|
|
7998
|
-
/* @__PURE__ */
|
|
9135
|
+
/* @__PURE__ */ jsx103("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
7999
9136
|
] });
|
|
8000
9137
|
};
|
|
8001
9138
|
|
|
@@ -8013,7 +9150,7 @@ var UsageHistoryMobile_default = {
|
|
|
8013
9150
|
};
|
|
8014
9151
|
|
|
8015
9152
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
8016
|
-
import { jsx as
|
|
9153
|
+
import { jsx as jsx104, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
8017
9154
|
var UsageHistoryMobile = ({
|
|
8018
9155
|
serviceName = "Artifax Generation",
|
|
8019
9156
|
credits = "50",
|
|
@@ -8022,18 +9159,18 @@ var UsageHistoryMobile = ({
|
|
|
8022
9159
|
balance = "84,902",
|
|
8023
9160
|
className
|
|
8024
9161
|
}) => {
|
|
8025
|
-
return /* @__PURE__ */
|
|
8026
|
-
/* @__PURE__ */
|
|
8027
|
-
/* @__PURE__ */
|
|
8028
|
-
/* @__PURE__ */
|
|
9162
|
+
return /* @__PURE__ */ jsxs92("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
9163
|
+
/* @__PURE__ */ jsxs92("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
9164
|
+
/* @__PURE__ */ jsx104("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
9165
|
+
/* @__PURE__ */ jsx104("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
8029
9166
|
] }),
|
|
8030
|
-
/* @__PURE__ */
|
|
8031
|
-
/* @__PURE__ */
|
|
8032
|
-
/* @__PURE__ */
|
|
8033
|
-
/* @__PURE__ */
|
|
8034
|
-
/* @__PURE__ */
|
|
9167
|
+
/* @__PURE__ */ jsxs92("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
9168
|
+
/* @__PURE__ */ jsxs92("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
9169
|
+
/* @__PURE__ */ jsx104("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
9170
|
+
/* @__PURE__ */ jsx104("div", { className: UsageHistoryMobile_default.divider }),
|
|
9171
|
+
/* @__PURE__ */ jsx104("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
8035
9172
|
] }),
|
|
8036
|
-
/* @__PURE__ */
|
|
9173
|
+
/* @__PURE__ */ jsx104("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
8037
9174
|
] })
|
|
8038
9175
|
] });
|
|
8039
9176
|
};
|
|
@@ -8057,7 +9194,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
8057
9194
|
};
|
|
8058
9195
|
|
|
8059
9196
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
8060
|
-
import { jsx as
|
|
9197
|
+
import { jsx as jsx105, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
8061
9198
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
8062
9199
|
wsName = "Workspace name is kepler",
|
|
8063
9200
|
initials = "WS",
|
|
@@ -8070,14 +9207,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
8070
9207
|
className,
|
|
8071
9208
|
...props
|
|
8072
9209
|
}) => {
|
|
8073
|
-
return /* @__PURE__ */
|
|
9210
|
+
return /* @__PURE__ */ jsx105(
|
|
8074
9211
|
"div",
|
|
8075
9212
|
{
|
|
8076
9213
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
8077
9214
|
onClick,
|
|
8078
9215
|
...props,
|
|
8079
|
-
children: /* @__PURE__ */
|
|
8080
|
-
/* @__PURE__ */
|
|
9216
|
+
children: /* @__PURE__ */ jsxs93("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
9217
|
+
/* @__PURE__ */ jsx105("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx105(
|
|
8081
9218
|
ScDp,
|
|
8082
9219
|
{
|
|
8083
9220
|
type: imageUrl ? "image" : "initial",
|
|
@@ -8091,14 +9228,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
8091
9228
|
}
|
|
8092
9229
|
}
|
|
8093
9230
|
) }),
|
|
8094
|
-
/* @__PURE__ */
|
|
8095
|
-
/* @__PURE__ */
|
|
8096
|
-
/* @__PURE__ */
|
|
8097
|
-
/* @__PURE__ */
|
|
8098
|
-
/* @__PURE__ */
|
|
8099
|
-
/* @__PURE__ */
|
|
8100
|
-
/* @__PURE__ */
|
|
8101
|
-
/* @__PURE__ */
|
|
9231
|
+
/* @__PURE__ */ jsxs93("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
9232
|
+
/* @__PURE__ */ jsx105("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
9233
|
+
/* @__PURE__ */ jsxs93("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
9234
|
+
/* @__PURE__ */ jsx105("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
9235
|
+
/* @__PURE__ */ jsx105("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
9236
|
+
/* @__PURE__ */ jsx105("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
9237
|
+
/* @__PURE__ */ jsx105("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
9238
|
+
/* @__PURE__ */ jsx105("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
8102
9239
|
] })
|
|
8103
9240
|
] })
|
|
8104
9241
|
] })
|
|
@@ -8107,7 +9244,7 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
8107
9244
|
};
|
|
8108
9245
|
|
|
8109
9246
|
// src/SC-imageField/ScImageField.tsx
|
|
8110
|
-
import { useRef as
|
|
9247
|
+
import { useRef as useRef5 } from "react";
|
|
8111
9248
|
|
|
8112
9249
|
// src/SC-imageField/ScImageField.module.css
|
|
8113
9250
|
var ScImageField_default = {
|
|
@@ -8125,7 +9262,7 @@ var ScImageField_default = {
|
|
|
8125
9262
|
|
|
8126
9263
|
// src/SC-imageField/ScImageField.tsx
|
|
8127
9264
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
8128
|
-
import { jsx as
|
|
9265
|
+
import { jsx as jsx106, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
8129
9266
|
var ScImageField = ({
|
|
8130
9267
|
label = "Label",
|
|
8131
9268
|
imagePreview,
|
|
@@ -8134,7 +9271,7 @@ var ScImageField = ({
|
|
|
8134
9271
|
onRemove,
|
|
8135
9272
|
className
|
|
8136
9273
|
}) => {
|
|
8137
|
-
const inputRef =
|
|
9274
|
+
const inputRef = useRef5(null);
|
|
8138
9275
|
const hasImage = !!imagePreview;
|
|
8139
9276
|
function handleClick() {
|
|
8140
9277
|
if (!hasImage) {
|
|
@@ -8148,8 +9285,8 @@ var ScImageField = ({
|
|
|
8148
9285
|
}
|
|
8149
9286
|
e.target.value = "";
|
|
8150
9287
|
}
|
|
8151
|
-
return /* @__PURE__ */
|
|
8152
|
-
/* @__PURE__ */
|
|
9288
|
+
return /* @__PURE__ */ jsxs94("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
9289
|
+
/* @__PURE__ */ jsx106(
|
|
8153
9290
|
"input",
|
|
8154
9291
|
{
|
|
8155
9292
|
ref: inputRef,
|
|
@@ -8159,9 +9296,9 @@ var ScImageField = ({
|
|
|
8159
9296
|
onChange: handleChange
|
|
8160
9297
|
}
|
|
8161
9298
|
),
|
|
8162
|
-
/* @__PURE__ */
|
|
8163
|
-
hasImage ? /* @__PURE__ */
|
|
8164
|
-
/* @__PURE__ */
|
|
9299
|
+
/* @__PURE__ */ jsx106("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ jsx106("div", { className: ScImageField_default.label, children: label }) }),
|
|
9300
|
+
hasImage ? /* @__PURE__ */ jsxs94("div", { className: ScImageField_default.previewArea, children: [
|
|
9301
|
+
/* @__PURE__ */ jsx106(
|
|
8165
9302
|
"img",
|
|
8166
9303
|
{
|
|
8167
9304
|
className: ScImageField_default.previewImage,
|
|
@@ -8169,8 +9306,8 @@ var ScImageField = ({
|
|
|
8169
9306
|
alt: "preview"
|
|
8170
9307
|
}
|
|
8171
9308
|
),
|
|
8172
|
-
/* @__PURE__ */
|
|
8173
|
-
/* @__PURE__ */
|
|
9309
|
+
/* @__PURE__ */ jsx106("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
9310
|
+
/* @__PURE__ */ jsx106(
|
|
8174
9311
|
SiconDelete2,
|
|
8175
9312
|
{
|
|
8176
9313
|
className: ScImageField_default.removeIcon,
|
|
@@ -8181,9 +9318,9 @@ var ScImageField = ({
|
|
|
8181
9318
|
}
|
|
8182
9319
|
}
|
|
8183
9320
|
)
|
|
8184
|
-
] }) : /* @__PURE__ */
|
|
8185
|
-
/* @__PURE__ */
|
|
8186
|
-
/* @__PURE__ */
|
|
9321
|
+
] }) : /* @__PURE__ */ jsxs94("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
9322
|
+
/* @__PURE__ */ jsx106(SiconUpload2, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
9323
|
+
/* @__PURE__ */ jsx106("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
8187
9324
|
] })
|
|
8188
9325
|
] });
|
|
8189
9326
|
};
|
|
@@ -8197,7 +9334,7 @@ var ScSettingsTabComp_default = {
|
|
|
8197
9334
|
};
|
|
8198
9335
|
|
|
8199
9336
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
8200
|
-
import { jsx as
|
|
9337
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
8201
9338
|
var ScSettingsTabComp = ({
|
|
8202
9339
|
tabName = "Tab",
|
|
8203
9340
|
active = false,
|
|
@@ -8205,12 +9342,12 @@ var ScSettingsTabComp = ({
|
|
|
8205
9342
|
className
|
|
8206
9343
|
}) => {
|
|
8207
9344
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
8208
|
-
return /* @__PURE__ */
|
|
9345
|
+
return /* @__PURE__ */ jsx107(
|
|
8209
9346
|
"div",
|
|
8210
9347
|
{
|
|
8211
9348
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
8212
9349
|
onClick,
|
|
8213
|
-
children: /* @__PURE__ */
|
|
9350
|
+
children: /* @__PURE__ */ jsx107("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
8214
9351
|
}
|
|
8215
9352
|
);
|
|
8216
9353
|
};
|
|
@@ -8230,7 +9367,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
8230
9367
|
|
|
8231
9368
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
8232
9369
|
import { SiconCredits as SiconCredits2 } from "@streamoid/icons";
|
|
8233
|
-
import { jsx as
|
|
9370
|
+
import { jsx as jsx108, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
8234
9371
|
var ScCreditsUsageCardMobile = ({
|
|
8235
9372
|
usageLabel = "Credits usage",
|
|
8236
9373
|
usageText = "8,450 / 30,000",
|
|
@@ -8240,23 +9377,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
8240
9377
|
className,
|
|
8241
9378
|
...props
|
|
8242
9379
|
}) => {
|
|
8243
|
-
return /* @__PURE__ */
|
|
8244
|
-
/* @__PURE__ */
|
|
8245
|
-
/* @__PURE__ */
|
|
9380
|
+
return /* @__PURE__ */ jsxs95("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
9381
|
+
/* @__PURE__ */ jsxs95("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
9382
|
+
/* @__PURE__ */ jsx108(
|
|
8246
9383
|
SiconCredits2,
|
|
8247
9384
|
{
|
|
8248
9385
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
8249
9386
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
8250
9387
|
}
|
|
8251
9388
|
),
|
|
8252
|
-
/* @__PURE__ */
|
|
9389
|
+
/* @__PURE__ */ jsx108("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
8253
9390
|
] }),
|
|
8254
|
-
/* @__PURE__ */
|
|
8255
|
-
/* @__PURE__ */
|
|
8256
|
-
/* @__PURE__ */
|
|
8257
|
-
/* @__PURE__ */
|
|
9391
|
+
/* @__PURE__ */ jsx108("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
9392
|
+
/* @__PURE__ */ jsxs95("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
9393
|
+
/* @__PURE__ */ jsx108("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
9394
|
+
/* @__PURE__ */ jsx108("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
8258
9395
|
] }),
|
|
8259
|
-
/* @__PURE__ */
|
|
9396
|
+
/* @__PURE__ */ jsx108(
|
|
8260
9397
|
ScButton,
|
|
8261
9398
|
{
|
|
8262
9399
|
text: buyButtonText,
|
|
@@ -8298,7 +9435,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
8298
9435
|
|
|
8299
9436
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
8300
9437
|
import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
|
|
8301
|
-
import { Fragment as
|
|
9438
|
+
import { Fragment as Fragment24, jsx as jsx109, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
8302
9439
|
var ScPlanDetailsCardMobile = ({
|
|
8303
9440
|
planName = "Pro",
|
|
8304
9441
|
planCredits = "30,000 credits",
|
|
@@ -8312,20 +9449,20 @@ var ScPlanDetailsCardMobile = ({
|
|
|
8312
9449
|
className,
|
|
8313
9450
|
...props
|
|
8314
9451
|
}) => {
|
|
8315
|
-
return /* @__PURE__ */
|
|
8316
|
-
/* @__PURE__ */
|
|
8317
|
-
/* @__PURE__ */
|
|
8318
|
-
/* @__PURE__ */
|
|
9452
|
+
return /* @__PURE__ */ jsxs96("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
9453
|
+
/* @__PURE__ */ jsxs96("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
9454
|
+
/* @__PURE__ */ jsxs96("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
9455
|
+
/* @__PURE__ */ jsx109(
|
|
8319
9456
|
SiconBilling4,
|
|
8320
9457
|
{
|
|
8321
9458
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
8322
9459
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
8323
9460
|
}
|
|
8324
9461
|
),
|
|
8325
|
-
/* @__PURE__ */
|
|
9462
|
+
/* @__PURE__ */ jsx109("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
8326
9463
|
] }),
|
|
8327
|
-
/* @__PURE__ */
|
|
8328
|
-
/* @__PURE__ */
|
|
9464
|
+
/* @__PURE__ */ jsx109("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx109("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs96(Fragment24, { children: [
|
|
9465
|
+
/* @__PURE__ */ jsx109(
|
|
8329
9466
|
ScBadges,
|
|
8330
9467
|
{
|
|
8331
9468
|
text: badgeText,
|
|
@@ -8334,28 +9471,28 @@ var ScPlanDetailsCardMobile = ({
|
|
|
8334
9471
|
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
8335
9472
|
}
|
|
8336
9473
|
),
|
|
8337
|
-
badgeSubText && /* @__PURE__ */
|
|
8338
|
-
/* @__PURE__ */
|
|
8339
|
-
/* @__PURE__ */
|
|
9474
|
+
badgeSubText && /* @__PURE__ */ jsxs96(Fragment24, { children: [
|
|
9475
|
+
/* @__PURE__ */ jsx109("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
9476
|
+
/* @__PURE__ */ jsx109("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
8340
9477
|
] })
|
|
8341
9478
|
] }) })
|
|
8342
9479
|
] }),
|
|
8343
|
-
/* @__PURE__ */
|
|
8344
|
-
/* @__PURE__ */
|
|
8345
|
-
/* @__PURE__ */
|
|
8346
|
-
/* @__PURE__ */
|
|
8347
|
-
/* @__PURE__ */
|
|
9480
|
+
/* @__PURE__ */ jsx109("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
9481
|
+
/* @__PURE__ */ jsx109("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs96(Fragment24, { children: [
|
|
9482
|
+
/* @__PURE__ */ jsxs96("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
9483
|
+
/* @__PURE__ */ jsx109("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
9484
|
+
/* @__PURE__ */ jsx109("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
8348
9485
|
] }),
|
|
8349
|
-
/* @__PURE__ */
|
|
8350
|
-
] }) : /* @__PURE__ */
|
|
8351
|
-
/* @__PURE__ */
|
|
8352
|
-
/* @__PURE__ */
|
|
8353
|
-
/* @__PURE__ */
|
|
8354
|
-
/* @__PURE__ */
|
|
9486
|
+
/* @__PURE__ */ jsx109("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
9487
|
+
] }) : /* @__PURE__ */ jsxs96(Fragment24, { children: [
|
|
9488
|
+
/* @__PURE__ */ jsxs96("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
9489
|
+
/* @__PURE__ */ jsx109("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
9490
|
+
/* @__PURE__ */ jsx109("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
9491
|
+
/* @__PURE__ */ jsx109("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
8355
9492
|
] }),
|
|
8356
|
-
/* @__PURE__ */
|
|
9493
|
+
/* @__PURE__ */ jsx109("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
8357
9494
|
] }) }),
|
|
8358
|
-
isLoading ? /* @__PURE__ */
|
|
9495
|
+
isLoading ? /* @__PURE__ */ jsx109("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx109(
|
|
8359
9496
|
ScButton,
|
|
8360
9497
|
{
|
|
8361
9498
|
text: upgradeButtonText,
|
|
@@ -8386,6 +9523,7 @@ export {
|
|
|
8386
9523
|
ScArtifaxInvite,
|
|
8387
9524
|
ScArtifaxSidebar,
|
|
8388
9525
|
ScBadges,
|
|
9526
|
+
ScBeacon,
|
|
8389
9527
|
ScBillingHistoryHeader,
|
|
8390
9528
|
ScBillingHistoryTableList,
|
|
8391
9529
|
ScBillingLogsTableHeader,
|
|
@@ -8396,6 +9534,8 @@ export {
|
|
|
8396
9534
|
ScCalendarDateComps,
|
|
8397
9535
|
ScCatalogixInvite,
|
|
8398
9536
|
ScCatalogixSidebar,
|
|
9537
|
+
ScCatalogixStoreHeader,
|
|
9538
|
+
ScCatalogixStoreTableList,
|
|
8399
9539
|
ScCheckField,
|
|
8400
9540
|
ScCheckbox,
|
|
8401
9541
|
ScCreditsUsageCard,
|
|
@@ -8403,6 +9543,7 @@ export {
|
|
|
8403
9543
|
ScCxoCopilotLogo,
|
|
8404
9544
|
ScDp,
|
|
8405
9545
|
ScFieldButton,
|
|
9546
|
+
ScFileField,
|
|
8406
9547
|
ScGoogleSignIn,
|
|
8407
9548
|
ScGuide,
|
|
8408
9549
|
ScHDivider,
|
|
@@ -8412,6 +9553,8 @@ export {
|
|
|
8412
9553
|
ScInChatMessage,
|
|
8413
9554
|
ScIntialProfileCover,
|
|
8414
9555
|
ScLogoUnit,
|
|
9556
|
+
ScMediaApproval,
|
|
9557
|
+
ScMediaSelect,
|
|
8415
9558
|
ScMenuOptions,
|
|
8416
9559
|
ScMobileBottomAction,
|
|
8417
9560
|
ScMobileTopNav,
|
|
@@ -8438,6 +9581,7 @@ export {
|
|
|
8438
9581
|
ScReferralTableList,
|
|
8439
9582
|
ScRole,
|
|
8440
9583
|
ScRoleMobile,
|
|
9584
|
+
ScSelect,
|
|
8441
9585
|
ScSelection,
|
|
8442
9586
|
ScSelectionList,
|
|
8443
9587
|
ScSettingsNav,
|
|
@@ -8449,6 +9593,7 @@ export {
|
|
|
8449
9593
|
ScSidebarProfile,
|
|
8450
9594
|
ScSidebarSwitchMenu,
|
|
8451
9595
|
ScSlider,
|
|
9596
|
+
ScStoreCard,
|
|
8452
9597
|
ScStrLogo,
|
|
8453
9598
|
ScStreamoidMascot,
|
|
8454
9599
|
ScStreamoidWordmark,
|
|
@@ -8459,8 +9604,10 @@ export {
|
|
|
8459
9604
|
ScTableHeader,
|
|
8460
9605
|
ScTableList,
|
|
8461
9606
|
ScTableListMobile,
|
|
9607
|
+
ScTextArea,
|
|
8462
9608
|
ScTextField,
|
|
8463
9609
|
ScThinkingStepIcon,
|
|
9610
|
+
ScTodoList,
|
|
8464
9611
|
ScToggleSwitch,
|
|
8465
9612
|
ScVDivider,
|
|
8466
9613
|
ScVersion,
|