@streamoid/ui 0.6.11 → 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 +237 -0
- package/dist/index.d.mts +44 -1
- package/dist/index.d.ts +44 -1
- package/dist/index.js +490 -311
- package/dist/index.mjs +490 -311
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7117,6 +7117,181 @@ function ScWorkspaceSwitchCard({
|
|
|
7117
7117
|
}
|
|
7118
7118
|
var NscWorkspaceSwitch = ScWorkspaceSwitchCard;
|
|
7119
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
|
+
|
|
7120
7295
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.module.css
|
|
7121
7296
|
var ScThinkingStepIcon_default = {
|
|
7122
7297
|
scThinkingStepIcon: "ScThinkingStepIcon_scThinkingStepIcon",
|
|
@@ -7131,7 +7306,7 @@ var ScThinkingStepIcon_default = {
|
|
|
7131
7306
|
};
|
|
7132
7307
|
|
|
7133
7308
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.tsx
|
|
7134
|
-
import { jsx as
|
|
7309
|
+
import { jsx as jsx82, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
7135
7310
|
var ScThinkingStepIcon = ({
|
|
7136
7311
|
state = "default",
|
|
7137
7312
|
size = 12,
|
|
@@ -7140,13 +7315,13 @@ var ScThinkingStepIcon = ({
|
|
|
7140
7315
|
...props
|
|
7141
7316
|
}) => {
|
|
7142
7317
|
const variantsClassName = ScThinkingStepIcon_default["state-" + state];
|
|
7143
|
-
return /* @__PURE__ */
|
|
7318
|
+
return /* @__PURE__ */ jsx82(
|
|
7144
7319
|
"span",
|
|
7145
7320
|
{
|
|
7146
7321
|
className: ScThinkingStepIcon_default.scThinkingStepIcon + " " + (className ?? "") + " " + variantsClassName,
|
|
7147
7322
|
style: { width: size, height: size, ...style },
|
|
7148
7323
|
...props,
|
|
7149
|
-
children: /* @__PURE__ */
|
|
7324
|
+
children: /* @__PURE__ */ jsxs73(
|
|
7150
7325
|
"svg",
|
|
7151
7326
|
{
|
|
7152
7327
|
className: ScThinkingStepIcon_default.glyph,
|
|
@@ -7157,7 +7332,7 @@ var ScThinkingStepIcon = ({
|
|
|
7157
7332
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7158
7333
|
"aria-hidden": "true",
|
|
7159
7334
|
children: [
|
|
7160
|
-
state === "default" && /* @__PURE__ */
|
|
7335
|
+
state === "default" && /* @__PURE__ */ jsx82(
|
|
7161
7336
|
"circle",
|
|
7162
7337
|
{
|
|
7163
7338
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7168,7 +7343,7 @@ var ScThinkingStepIcon = ({
|
|
|
7168
7343
|
strokeLinecap: "round"
|
|
7169
7344
|
}
|
|
7170
7345
|
),
|
|
7171
|
-
state === "working" && /* @__PURE__ */
|
|
7346
|
+
state === "working" && /* @__PURE__ */ jsx82(
|
|
7172
7347
|
"path",
|
|
7173
7348
|
{
|
|
7174
7349
|
className: ScThinkingStepIcon_default.stroke + " " + ScThinkingStepIcon_default.spinner,
|
|
@@ -7178,7 +7353,7 @@ var ScThinkingStepIcon = ({
|
|
|
7178
7353
|
strokeLinejoin: "round"
|
|
7179
7354
|
}
|
|
7180
7355
|
),
|
|
7181
|
-
state === "completed" && /* @__PURE__ */
|
|
7356
|
+
state === "completed" && /* @__PURE__ */ jsx82(
|
|
7182
7357
|
"path",
|
|
7183
7358
|
{
|
|
7184
7359
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7188,7 +7363,7 @@ var ScThinkingStepIcon = ({
|
|
|
7188
7363
|
strokeLinejoin: "round"
|
|
7189
7364
|
}
|
|
7190
7365
|
),
|
|
7191
|
-
state === "error" && /* @__PURE__ */
|
|
7366
|
+
state === "error" && /* @__PURE__ */ jsx82(
|
|
7192
7367
|
"path",
|
|
7193
7368
|
{
|
|
7194
7369
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -7228,7 +7403,7 @@ var ScInChatList_default = {
|
|
|
7228
7403
|
|
|
7229
7404
|
// src/SC-InChatList/ScInChatList.tsx
|
|
7230
7405
|
import { SiconUp as SiconUp2, SiconDown as SiconDown2, SiconDot as SiconDot2 } from "@streamoid/icons";
|
|
7231
|
-
import { jsx as
|
|
7406
|
+
import { jsx as jsx83, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
7232
7407
|
var ScInChatList = ({
|
|
7233
7408
|
title = "Infrastructure that helps modern brands scale",
|
|
7234
7409
|
description = "Description",
|
|
@@ -7245,33 +7420,33 @@ var ScInChatList = ({
|
|
|
7245
7420
|
}) => {
|
|
7246
7421
|
const isExpandable = descriptionVisibility === "hidden" || descriptionVisibility === "visible";
|
|
7247
7422
|
const isExpanded = descriptionVisibility === "visible";
|
|
7248
|
-
return /* @__PURE__ */
|
|
7423
|
+
return /* @__PURE__ */ jsxs74(
|
|
7249
7424
|
"div",
|
|
7250
7425
|
{
|
|
7251
7426
|
className: ScInChatList_default.scInChatList + (className ? " " + className : ""),
|
|
7252
7427
|
style,
|
|
7253
7428
|
children: [
|
|
7254
|
-
leadingIndicator && /* @__PURE__ */
|
|
7255
|
-
/* @__PURE__ */
|
|
7256
|
-
/* @__PURE__ */
|
|
7257
|
-
showSteps && /* @__PURE__ */
|
|
7258
|
-
/* @__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(
|
|
7259
7434
|
"div",
|
|
7260
7435
|
{
|
|
7261
7436
|
className: ScInChatList_default.titleRow + " " + (isExpandable ? ScInChatList_default.titleRowClickable : ScInChatList_default.titleRowStatic),
|
|
7262
7437
|
onClick: isExpandable ? onToggle : void 0,
|
|
7263
7438
|
children: [
|
|
7264
|
-
/* @__PURE__ */
|
|
7265
|
-
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 }) })
|
|
7266
7441
|
]
|
|
7267
7442
|
}
|
|
7268
7443
|
),
|
|
7269
|
-
isExpanded && /* @__PURE__ */
|
|
7270
|
-
/* @__PURE__ */
|
|
7271
|
-
/* @__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 })
|
|
7272
7447
|
] })
|
|
7273
7448
|
] }),
|
|
7274
|
-
showTool && /* @__PURE__ */
|
|
7449
|
+
showTool && /* @__PURE__ */ jsx83("div", { className: ScInChatList_default.toolPill, children: /* @__PURE__ */ jsx83("p", { className: ScInChatList_default.toolText, children: toolUsing }) })
|
|
7275
7450
|
] })
|
|
7276
7451
|
]
|
|
7277
7452
|
}
|
|
@@ -7285,7 +7460,7 @@ var ScSubAgent_default = {
|
|
|
7285
7460
|
};
|
|
7286
7461
|
|
|
7287
7462
|
// src/SC-SubAgent/ScSubAgent.tsx
|
|
7288
|
-
import { jsx as
|
|
7463
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
7289
7464
|
function formatSubAgentLabel(agentName) {
|
|
7290
7465
|
const normalized = (agentName ?? "").trim();
|
|
7291
7466
|
if (!normalized) return "Using sub-agent...";
|
|
@@ -7298,12 +7473,12 @@ var ScSubAgent = ({
|
|
|
7298
7473
|
...props
|
|
7299
7474
|
}) => {
|
|
7300
7475
|
const label = text ?? formatSubAgentLabel(agentName);
|
|
7301
|
-
return /* @__PURE__ */
|
|
7476
|
+
return /* @__PURE__ */ jsx84(
|
|
7302
7477
|
"div",
|
|
7303
7478
|
{
|
|
7304
7479
|
className: [ScSubAgent_default.scSubAgent, className].filter(Boolean).join(" "),
|
|
7305
7480
|
...props,
|
|
7306
|
-
children: /* @__PURE__ */
|
|
7481
|
+
children: /* @__PURE__ */ jsx84("p", { className: ScSubAgent_default.label, children: label })
|
|
7307
7482
|
}
|
|
7308
7483
|
);
|
|
7309
7484
|
};
|
|
@@ -7317,7 +7492,7 @@ var ScInChatMessage_default = {
|
|
|
7317
7492
|
};
|
|
7318
7493
|
|
|
7319
7494
|
// src/SC-InChatMessage/ScInChatMessage.tsx
|
|
7320
|
-
import { jsx as
|
|
7495
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
7321
7496
|
var ScInChatMessage = ({
|
|
7322
7497
|
type = "input",
|
|
7323
7498
|
text,
|
|
@@ -7327,13 +7502,13 @@ var ScInChatMessage = ({
|
|
|
7327
7502
|
...props
|
|
7328
7503
|
}) => {
|
|
7329
7504
|
const variantsClassName = ScInChatMessage_default["type-" + type];
|
|
7330
|
-
return /* @__PURE__ */
|
|
7505
|
+
return /* @__PURE__ */ jsx85(
|
|
7331
7506
|
"div",
|
|
7332
7507
|
{
|
|
7333
7508
|
className: [ScInChatMessage_default.scInChatMessage, variantsClassName, className].filter(Boolean).join(" "),
|
|
7334
7509
|
id,
|
|
7335
7510
|
...props,
|
|
7336
|
-
children: /* @__PURE__ */
|
|
7511
|
+
children: /* @__PURE__ */ jsx85("p", { className: ScInChatMessage_default.text, children: children ?? text })
|
|
7337
7512
|
}
|
|
7338
7513
|
);
|
|
7339
7514
|
};
|
|
@@ -7350,7 +7525,7 @@ var ScSelection_default = {
|
|
|
7350
7525
|
};
|
|
7351
7526
|
|
|
7352
7527
|
// src/SC-Selection/ScSelection.tsx
|
|
7353
|
-
import { jsx as
|
|
7528
|
+
import { jsx as jsx86, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
7354
7529
|
var ScSelection = ({
|
|
7355
7530
|
title = "Title",
|
|
7356
7531
|
description = "Description",
|
|
@@ -7366,23 +7541,23 @@ var ScSelection = ({
|
|
|
7366
7541
|
onClick?.(event);
|
|
7367
7542
|
onSelect?.(value);
|
|
7368
7543
|
};
|
|
7369
|
-
return /* @__PURE__ */
|
|
7544
|
+
return /* @__PURE__ */ jsxs75(
|
|
7370
7545
|
"div",
|
|
7371
7546
|
{
|
|
7372
7547
|
className: [ScSelection_default.scSelection, variantsClassName, className].filter(Boolean).join(" "),
|
|
7373
7548
|
onClick: handleClick,
|
|
7374
7549
|
...props,
|
|
7375
7550
|
children: [
|
|
7376
|
-
/* @__PURE__ */
|
|
7551
|
+
/* @__PURE__ */ jsx86(
|
|
7377
7552
|
ScRadio,
|
|
7378
7553
|
{
|
|
7379
7554
|
state: active ? "selected" : "default",
|
|
7380
7555
|
className: ScSelection_default.scRadioInstance
|
|
7381
7556
|
}
|
|
7382
7557
|
),
|
|
7383
|
-
/* @__PURE__ */
|
|
7384
|
-
/* @__PURE__ */
|
|
7385
|
-
description && /* @__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 })
|
|
7386
7561
|
] })
|
|
7387
7562
|
]
|
|
7388
7563
|
}
|
|
@@ -7409,7 +7584,7 @@ var ScSelectionList_default = {
|
|
|
7409
7584
|
};
|
|
7410
7585
|
|
|
7411
7586
|
// src/SC-SelectionList/ScSelectionList.tsx
|
|
7412
|
-
import { jsx as
|
|
7587
|
+
import { jsx as jsx87, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
7413
7588
|
var ScSelectionList = ({
|
|
7414
7589
|
state = "default",
|
|
7415
7590
|
label = "Suggested Colours: ",
|
|
@@ -7432,14 +7607,14 @@ var ScSelectionList = ({
|
|
|
7432
7607
|
onChange?.(next);
|
|
7433
7608
|
if (next === "rejected") onReject?.();
|
|
7434
7609
|
};
|
|
7435
|
-
return /* @__PURE__ */
|
|
7610
|
+
return /* @__PURE__ */ jsxs76(
|
|
7436
7611
|
"div",
|
|
7437
7612
|
{
|
|
7438
7613
|
className: ScSelectionList_default.scSelectionList + (disabled ? " " + ScSelectionList_default.disabled : "") + (className ? " " + className : "") + " " + variantsClassName,
|
|
7439
7614
|
...props,
|
|
7440
7615
|
children: [
|
|
7441
|
-
/* @__PURE__ */
|
|
7442
|
-
/* @__PURE__ */
|
|
7616
|
+
/* @__PURE__ */ jsxs76("div", { className: ScSelectionList_default.toggles, children: [
|
|
7617
|
+
/* @__PURE__ */ jsx87(
|
|
7443
7618
|
"button",
|
|
7444
7619
|
{
|
|
7445
7620
|
type: "button",
|
|
@@ -7448,7 +7623,7 @@ var ScSelectionList = ({
|
|
|
7448
7623
|
disabled,
|
|
7449
7624
|
"aria-pressed": state === "approved",
|
|
7450
7625
|
"aria-label": state === "approved" ? "Revoke approval" : "Approve",
|
|
7451
|
-
children: /* @__PURE__ */
|
|
7626
|
+
children: /* @__PURE__ */ jsx87(
|
|
7452
7627
|
"svg",
|
|
7453
7628
|
{
|
|
7454
7629
|
className: ScSelectionList_default.checkIcon,
|
|
@@ -7457,7 +7632,7 @@ var ScSelectionList = ({
|
|
|
7457
7632
|
viewBox: "0 0 8 6",
|
|
7458
7633
|
fill: "none",
|
|
7459
7634
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7460
|
-
children: /* @__PURE__ */
|
|
7635
|
+
children: /* @__PURE__ */ jsx87(
|
|
7461
7636
|
"path",
|
|
7462
7637
|
{
|
|
7463
7638
|
d: "M0.5 3.5L2.5 5.5L7.5 0.5",
|
|
@@ -7470,7 +7645,7 @@ var ScSelectionList = ({
|
|
|
7470
7645
|
)
|
|
7471
7646
|
}
|
|
7472
7647
|
),
|
|
7473
|
-
/* @__PURE__ */
|
|
7648
|
+
/* @__PURE__ */ jsx87(
|
|
7474
7649
|
"button",
|
|
7475
7650
|
{
|
|
7476
7651
|
type: "button",
|
|
@@ -7479,7 +7654,7 @@ var ScSelectionList = ({
|
|
|
7479
7654
|
disabled,
|
|
7480
7655
|
"aria-pressed": state === "rejected",
|
|
7481
7656
|
"aria-label": state === "rejected" ? "Revoke rejection" : "Reject",
|
|
7482
|
-
children: /* @__PURE__ */
|
|
7657
|
+
children: /* @__PURE__ */ jsx87(
|
|
7483
7658
|
"svg",
|
|
7484
7659
|
{
|
|
7485
7660
|
className: ScSelectionList_default.closeIcon,
|
|
@@ -7488,7 +7663,7 @@ var ScSelectionList = ({
|
|
|
7488
7663
|
viewBox: "0 0 6.24261 6.24262",
|
|
7489
7664
|
fill: "none",
|
|
7490
7665
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7491
|
-
children: /* @__PURE__ */
|
|
7666
|
+
children: /* @__PURE__ */ jsx87(
|
|
7492
7667
|
"path",
|
|
7493
7668
|
{
|
|
7494
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",
|
|
@@ -7502,9 +7677,9 @@ var ScSelectionList = ({
|
|
|
7502
7677
|
}
|
|
7503
7678
|
)
|
|
7504
7679
|
] }),
|
|
7505
|
-
/* @__PURE__ */
|
|
7506
|
-
/* @__PURE__ */
|
|
7507
|
-
/* @__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 }) })
|
|
7508
7683
|
] }) })
|
|
7509
7684
|
]
|
|
7510
7685
|
}
|
|
@@ -7531,7 +7706,7 @@ var ScTextArea_default = {
|
|
|
7531
7706
|
};
|
|
7532
7707
|
|
|
7533
7708
|
// src/SC-textArea/ScTextArea.tsx
|
|
7534
|
-
import { jsx as
|
|
7709
|
+
import { jsx as jsx88, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
7535
7710
|
var ScTextArea = ({
|
|
7536
7711
|
state,
|
|
7537
7712
|
labelGroup = "",
|
|
@@ -7546,23 +7721,23 @@ var ScTextArea = ({
|
|
|
7546
7721
|
const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
|
|
7547
7722
|
const stateClass = ScTextArea_default["state-" + derivedState];
|
|
7548
7723
|
const labelGroupClass = ScTextArea_default["label-group-" + (labelGroup || "none")];
|
|
7549
|
-
return /* @__PURE__ */
|
|
7724
|
+
return /* @__PURE__ */ jsxs77(
|
|
7550
7725
|
"div",
|
|
7551
7726
|
{
|
|
7552
7727
|
className: [ScTextArea_default.scTextArea, stateClass, labelGroupClass, className].filter(Boolean).join(" "),
|
|
7553
7728
|
style,
|
|
7554
7729
|
children: [
|
|
7555
|
-
labelGroup && /* @__PURE__ */
|
|
7556
|
-
/* @__PURE__ */
|
|
7730
|
+
labelGroup && /* @__PURE__ */ jsxs77("div", { className: ScTextArea_default.labelContainer, children: [
|
|
7731
|
+
/* @__PURE__ */ jsxs77("div", { className: ScTextArea_default.label, children: [
|
|
7557
7732
|
label,
|
|
7558
7733
|
" "
|
|
7559
7734
|
] }),
|
|
7560
|
-
labelGroup === "text" && /* @__PURE__ */
|
|
7735
|
+
labelGroup === "text" && /* @__PURE__ */ jsxs77("div", { className: ScTextArea_default.info, children: [
|
|
7561
7736
|
info,
|
|
7562
7737
|
" "
|
|
7563
7738
|
] })
|
|
7564
7739
|
] }),
|
|
7565
|
-
/* @__PURE__ */
|
|
7740
|
+
/* @__PURE__ */ jsx88("div", { className: ScTextArea_default.inputContainer, children: /* @__PURE__ */ jsx88(
|
|
7566
7741
|
"textarea",
|
|
7567
7742
|
{
|
|
7568
7743
|
className: ScTextArea_default.inputText,
|
|
@@ -7609,7 +7784,7 @@ var ScSelect_default = {
|
|
|
7609
7784
|
};
|
|
7610
7785
|
|
|
7611
7786
|
// src/SC-select/ScSelect.tsx
|
|
7612
|
-
import { jsx as
|
|
7787
|
+
import { jsx as jsx89, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
7613
7788
|
var ScSelect = (props) => {
|
|
7614
7789
|
const {
|
|
7615
7790
|
value,
|
|
@@ -7649,10 +7824,10 @@ var ScSelect = (props) => {
|
|
|
7649
7824
|
labelGroup ? ScSelect_default["label-group-" + labelGroup] : void 0,
|
|
7650
7825
|
className
|
|
7651
7826
|
].filter(Boolean).join(" ");
|
|
7652
|
-
return /* @__PURE__ */
|
|
7653
|
-
labelGroup === "label" && label ? /* @__PURE__ */
|
|
7654
|
-
/* @__PURE__ */
|
|
7655
|
-
/* @__PURE__ */
|
|
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(
|
|
7656
7831
|
"button",
|
|
7657
7832
|
{
|
|
7658
7833
|
type: "button",
|
|
@@ -7662,18 +7837,18 @@ var ScSelect = (props) => {
|
|
|
7662
7837
|
"aria-haspopup": "listbox",
|
|
7663
7838
|
"aria-expanded": open,
|
|
7664
7839
|
children: [
|
|
7665
|
-
/* @__PURE__ */
|
|
7840
|
+
/* @__PURE__ */ jsx89(
|
|
7666
7841
|
"span",
|
|
7667
7842
|
{
|
|
7668
7843
|
className: [ScSelect_default.triggerText, selected ? void 0 : ScSelect_default.placeholder].filter(Boolean).join(" "),
|
|
7669
7844
|
children: selected ? selected.label : placeholder
|
|
7670
7845
|
}
|
|
7671
7846
|
),
|
|
7672
|
-
/* @__PURE__ */
|
|
7847
|
+
/* @__PURE__ */ jsx89(
|
|
7673
7848
|
"span",
|
|
7674
7849
|
{
|
|
7675
7850
|
className: [ScSelect_default.chevron, open ? ScSelect_default.chevronOpen : void 0].filter(Boolean).join(" "),
|
|
7676
|
-
children: /* @__PURE__ */
|
|
7851
|
+
children: /* @__PURE__ */ jsx89("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx89(
|
|
7677
7852
|
"path",
|
|
7678
7853
|
{
|
|
7679
7854
|
d: "M5 7.5L10 12.5L15 7.5",
|
|
@@ -7688,13 +7863,13 @@ var ScSelect = (props) => {
|
|
|
7688
7863
|
]
|
|
7689
7864
|
}
|
|
7690
7865
|
),
|
|
7691
|
-
open ? /* @__PURE__ */
|
|
7866
|
+
open ? /* @__PURE__ */ jsx89("div", { className: ScSelect_default.menu, role: "listbox", children: options.map((option) => {
|
|
7692
7867
|
const isSelected = option.id === value;
|
|
7693
7868
|
const optionClass = [
|
|
7694
7869
|
ScSelect_default.option,
|
|
7695
7870
|
isSelected ? ScSelect_default["option-selected"] : void 0
|
|
7696
7871
|
].filter(Boolean).join(" ");
|
|
7697
|
-
return /* @__PURE__ */
|
|
7872
|
+
return /* @__PURE__ */ jsxs78(
|
|
7698
7873
|
"div",
|
|
7699
7874
|
{
|
|
7700
7875
|
className: optionClass,
|
|
@@ -7702,8 +7877,8 @@ var ScSelect = (props) => {
|
|
|
7702
7877
|
"aria-selected": isSelected,
|
|
7703
7878
|
onClick: () => handleSelect(option.id),
|
|
7704
7879
|
children: [
|
|
7705
|
-
/* @__PURE__ */
|
|
7706
|
-
option.description ? /* @__PURE__ */
|
|
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
|
|
7707
7882
|
]
|
|
7708
7883
|
},
|
|
7709
7884
|
option.id
|
|
@@ -7738,7 +7913,7 @@ var ScFileField_default = {
|
|
|
7738
7913
|
};
|
|
7739
7914
|
|
|
7740
7915
|
// src/SC-fileField/ScFileField.tsx
|
|
7741
|
-
import { jsx as
|
|
7916
|
+
import { jsx as jsx90, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
7742
7917
|
var ScFileField = (props) => {
|
|
7743
7918
|
const {
|
|
7744
7919
|
onFileSelect,
|
|
@@ -7761,7 +7936,7 @@ var ScFileField = (props) => {
|
|
|
7761
7936
|
onFileSelect(e.target.files);
|
|
7762
7937
|
}
|
|
7763
7938
|
};
|
|
7764
|
-
const uploadIcon = /* @__PURE__ */
|
|
7939
|
+
const uploadIcon = /* @__PURE__ */ jsxs79(
|
|
7765
7940
|
"svg",
|
|
7766
7941
|
{
|
|
7767
7942
|
className: ScFileField_default.uploadIcon,
|
|
@@ -7775,13 +7950,13 @@ var ScFileField = (props) => {
|
|
|
7775
7950
|
strokeLinejoin: "round",
|
|
7776
7951
|
"aria-hidden": "true",
|
|
7777
7952
|
children: [
|
|
7778
|
-
/* @__PURE__ */
|
|
7779
|
-
/* @__PURE__ */
|
|
7780
|
-
/* @__PURE__ */
|
|
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" })
|
|
7781
7956
|
]
|
|
7782
7957
|
}
|
|
7783
7958
|
);
|
|
7784
|
-
const fileIcon = /* @__PURE__ */
|
|
7959
|
+
const fileIcon = /* @__PURE__ */ jsxs79(
|
|
7785
7960
|
"svg",
|
|
7786
7961
|
{
|
|
7787
7962
|
className: ScFileField_default.fileIcon,
|
|
@@ -7795,12 +7970,12 @@ var ScFileField = (props) => {
|
|
|
7795
7970
|
strokeLinejoin: "round",
|
|
7796
7971
|
"aria-hidden": "true",
|
|
7797
7972
|
children: [
|
|
7798
|
-
/* @__PURE__ */
|
|
7799
|
-
/* @__PURE__ */
|
|
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" })
|
|
7800
7975
|
]
|
|
7801
7976
|
}
|
|
7802
7977
|
);
|
|
7803
|
-
const clearIcon = /* @__PURE__ */
|
|
7978
|
+
const clearIcon = /* @__PURE__ */ jsxs79(
|
|
7804
7979
|
"svg",
|
|
7805
7980
|
{
|
|
7806
7981
|
width: "20",
|
|
@@ -7813,20 +7988,20 @@ var ScFileField = (props) => {
|
|
|
7813
7988
|
strokeLinejoin: "round",
|
|
7814
7989
|
"aria-hidden": "true",
|
|
7815
7990
|
children: [
|
|
7816
|
-
/* @__PURE__ */
|
|
7817
|
-
/* @__PURE__ */
|
|
7991
|
+
/* @__PURE__ */ jsx90("path", { d: "M18 6L6 18" }),
|
|
7992
|
+
/* @__PURE__ */ jsx90("path", { d: "M6 6l12 12" })
|
|
7818
7993
|
]
|
|
7819
7994
|
}
|
|
7820
7995
|
);
|
|
7821
7996
|
const rootClass = [ScFileField_default.scFileField, className].filter(Boolean).join(" ");
|
|
7822
7997
|
const showRow = hasFile || isUploading;
|
|
7823
|
-
return /* @__PURE__ */
|
|
7824
|
-
label ? /* @__PURE__ */
|
|
7825
|
-
showRow ? /* @__PURE__ */
|
|
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: [
|
|
7826
8001
|
fileIcon,
|
|
7827
|
-
/* @__PURE__ */
|
|
7828
|
-
/* @__PURE__ */
|
|
7829
|
-
isUploading ? /* @__PURE__ */
|
|
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(
|
|
7830
8005
|
"div",
|
|
7831
8006
|
{
|
|
7832
8007
|
className: ScFileField_default.progressFill,
|
|
@@ -7834,7 +8009,7 @@ var ScFileField = (props) => {
|
|
|
7834
8009
|
}
|
|
7835
8010
|
) }) : null
|
|
7836
8011
|
] }),
|
|
7837
|
-
!isUploading ? /* @__PURE__ */
|
|
8012
|
+
!isUploading ? /* @__PURE__ */ jsx90(
|
|
7838
8013
|
"button",
|
|
7839
8014
|
{
|
|
7840
8015
|
type: "button",
|
|
@@ -7844,8 +8019,8 @@ var ScFileField = (props) => {
|
|
|
7844
8019
|
children: clearIcon
|
|
7845
8020
|
}
|
|
7846
8021
|
) : null
|
|
7847
|
-
] }) : /* @__PURE__ */
|
|
7848
|
-
/* @__PURE__ */
|
|
8022
|
+
] }) : /* @__PURE__ */ jsxs79("label", { className: ScFileField_default.dropzone, children: [
|
|
8023
|
+
/* @__PURE__ */ jsx90(
|
|
7849
8024
|
"input",
|
|
7850
8025
|
{
|
|
7851
8026
|
ref: inputRef,
|
|
@@ -7857,16 +8032,16 @@ var ScFileField = (props) => {
|
|
|
7857
8032
|
}
|
|
7858
8033
|
),
|
|
7859
8034
|
uploadIcon,
|
|
7860
|
-
/* @__PURE__ */
|
|
7861
|
-
/* @__PURE__ */
|
|
8035
|
+
/* @__PURE__ */ jsxs79("div", { className: ScFileField_default.dropzoneText, children: [
|
|
8036
|
+
/* @__PURE__ */ jsx90("span", { className: ScFileField_default.dropzoneAction, children: "Click to upload" }),
|
|
7862
8037
|
" or drag and drop"
|
|
7863
8038
|
] }),
|
|
7864
|
-
accept ? /* @__PURE__ */
|
|
8039
|
+
accept ? /* @__PURE__ */ jsxs79("div", { className: ScFileField_default.acceptedText, children: [
|
|
7865
8040
|
"Accepted: ",
|
|
7866
8041
|
accept
|
|
7867
8042
|
] }) : null
|
|
7868
8043
|
] }),
|
|
7869
|
-
error ? /* @__PURE__ */
|
|
8044
|
+
error ? /* @__PURE__ */ jsx90("div", { className: ScFileField_default.errorText, children: error }) : null
|
|
7870
8045
|
] });
|
|
7871
8046
|
};
|
|
7872
8047
|
|
|
@@ -7896,7 +8071,7 @@ var ScMediaApproval_default = {
|
|
|
7896
8071
|
};
|
|
7897
8072
|
|
|
7898
8073
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
7899
|
-
import { Fragment as Fragment22, jsx as
|
|
8074
|
+
import { Fragment as Fragment22, jsx as jsx91, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
7900
8075
|
var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
|
|
7901
8076
|
var isVideoUrl = (url, mediaType) => {
|
|
7902
8077
|
if (mediaType === "video") return true;
|
|
@@ -7938,9 +8113,9 @@ var ScMediaApproval = (props) => {
|
|
|
7938
8113
|
const handlePreview = () => {
|
|
7939
8114
|
if (currentUrl && onPreview) onPreview(currentUrl);
|
|
7940
8115
|
};
|
|
7941
|
-
return /* @__PURE__ */
|
|
7942
|
-
/* @__PURE__ */
|
|
7943
|
-
currentUrl ? currentIsVideo ? /* @__PURE__ */
|
|
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(
|
|
7944
8119
|
"video",
|
|
7945
8120
|
{
|
|
7946
8121
|
className: ScMediaApproval_default.media,
|
|
@@ -7949,7 +8124,7 @@ var ScMediaApproval = (props) => {
|
|
|
7949
8124
|
onClick: handlePreview,
|
|
7950
8125
|
onLoadedData: () => setMediaLoading(false)
|
|
7951
8126
|
}
|
|
7952
|
-
) : /* @__PURE__ */
|
|
8127
|
+
) : /* @__PURE__ */ jsx91(
|
|
7953
8128
|
"img",
|
|
7954
8129
|
{
|
|
7955
8130
|
className: ScMediaApproval_default.media,
|
|
@@ -7958,8 +8133,8 @@ var ScMediaApproval = (props) => {
|
|
|
7958
8133
|
onClick: handlePreview,
|
|
7959
8134
|
onLoad: () => setMediaLoading(false)
|
|
7960
8135
|
}
|
|
7961
|
-
) : /* @__PURE__ */
|
|
7962
|
-
(loading || mediaLoading) && /* @__PURE__ */
|
|
8136
|
+
) : /* @__PURE__ */ jsx91("div", { className: ScMediaApproval_default.mediaEmpty }),
|
|
8137
|
+
(loading || mediaLoading) && /* @__PURE__ */ jsx91("div", { className: ScMediaApproval_default.spinnerOverlay, children: /* @__PURE__ */ jsx91(
|
|
7963
8138
|
"svg",
|
|
7964
8139
|
{
|
|
7965
8140
|
className: ScMediaApproval_default.spinner,
|
|
@@ -7967,7 +8142,7 @@ var ScMediaApproval = (props) => {
|
|
|
7967
8142
|
height: "32",
|
|
7968
8143
|
viewBox: "0 0 24 24",
|
|
7969
8144
|
fill: "none",
|
|
7970
|
-
children: /* @__PURE__ */
|
|
8145
|
+
children: /* @__PURE__ */ jsx91(
|
|
7971
8146
|
"path",
|
|
7972
8147
|
{
|
|
7973
8148
|
d: "M12 3a9 9 0 1 0 9 9",
|
|
@@ -7978,15 +8153,15 @@ var ScMediaApproval = (props) => {
|
|
|
7978
8153
|
)
|
|
7979
8154
|
}
|
|
7980
8155
|
) }),
|
|
7981
|
-
total > 1 && /* @__PURE__ */
|
|
7982
|
-
/* @__PURE__ */
|
|
8156
|
+
total > 1 && /* @__PURE__ */ jsxs80(Fragment22, { children: [
|
|
8157
|
+
/* @__PURE__ */ jsx91(
|
|
7983
8158
|
"button",
|
|
7984
8159
|
{
|
|
7985
8160
|
type: "button",
|
|
7986
8161
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navPrev].join(" "),
|
|
7987
8162
|
"aria-label": "Previous",
|
|
7988
8163
|
onClick: () => goTo(safeIndex - 1),
|
|
7989
|
-
children: /* @__PURE__ */
|
|
8164
|
+
children: /* @__PURE__ */ jsx91("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx91(
|
|
7990
8165
|
"path",
|
|
7991
8166
|
{
|
|
7992
8167
|
d: "M15 6L9 12L15 18",
|
|
@@ -7998,14 +8173,14 @@ var ScMediaApproval = (props) => {
|
|
|
7998
8173
|
) })
|
|
7999
8174
|
}
|
|
8000
8175
|
),
|
|
8001
|
-
/* @__PURE__ */
|
|
8176
|
+
/* @__PURE__ */ jsx91(
|
|
8002
8177
|
"button",
|
|
8003
8178
|
{
|
|
8004
8179
|
type: "button",
|
|
8005
8180
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navNext].join(" "),
|
|
8006
8181
|
"aria-label": "Next",
|
|
8007
8182
|
onClick: () => goTo(safeIndex + 1),
|
|
8008
|
-
children: /* @__PURE__ */
|
|
8183
|
+
children: /* @__PURE__ */ jsx91("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx91(
|
|
8009
8184
|
"path",
|
|
8010
8185
|
{
|
|
8011
8186
|
d: "M9 6L15 12L9 18",
|
|
@@ -8017,12 +8192,12 @@ var ScMediaApproval = (props) => {
|
|
|
8017
8192
|
) })
|
|
8018
8193
|
}
|
|
8019
8194
|
),
|
|
8020
|
-
/* @__PURE__ */
|
|
8195
|
+
/* @__PURE__ */ jsxs80("div", { className: ScMediaApproval_default.counterBadge, children: [
|
|
8021
8196
|
safeIndex + 1,
|
|
8022
8197
|
" / ",
|
|
8023
8198
|
total
|
|
8024
8199
|
] }),
|
|
8025
|
-
/* @__PURE__ */
|
|
8200
|
+
/* @__PURE__ */ jsx91("div", { className: ScMediaApproval_default.dots, children: mediaUrls.map((_, i) => /* @__PURE__ */ jsx91(
|
|
8026
8201
|
"button",
|
|
8027
8202
|
{
|
|
8028
8203
|
type: "button",
|
|
@@ -8037,9 +8212,9 @@ var ScMediaApproval = (props) => {
|
|
|
8037
8212
|
)) })
|
|
8038
8213
|
] })
|
|
8039
8214
|
] }),
|
|
8040
|
-
/* @__PURE__ */
|
|
8041
|
-
/* @__PURE__ */
|
|
8042
|
-
/* @__PURE__ */
|
|
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(
|
|
8043
8218
|
"textarea",
|
|
8044
8219
|
{
|
|
8045
8220
|
className: ScMediaApproval_default.textArea,
|
|
@@ -8075,8 +8250,8 @@ var ScMediaSelect_default = {
|
|
|
8075
8250
|
};
|
|
8076
8251
|
|
|
8077
8252
|
// src/SC-mediaSelect/ScMediaSelect.tsx
|
|
8078
|
-
import { jsx as
|
|
8079
|
-
var CheckBadge = () => /* @__PURE__ */
|
|
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(
|
|
8080
8255
|
"path",
|
|
8081
8256
|
{
|
|
8082
8257
|
d: "M3.5 7.25L6 9.75L10.5 4.75",
|
|
@@ -8086,7 +8261,7 @@ var CheckBadge = () => /* @__PURE__ */ jsx88("span", { className: ScMediaSelect_
|
|
|
8086
8261
|
strokeLinejoin: "round"
|
|
8087
8262
|
}
|
|
8088
8263
|
) }) });
|
|
8089
|
-
var MaximizeIcon = () => /* @__PURE__ */
|
|
8264
|
+
var MaximizeIcon = () => /* @__PURE__ */ jsx92("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx92(
|
|
8090
8265
|
"path",
|
|
8091
8266
|
{
|
|
8092
8267
|
d: "M15 3H21V9M9 21H3V15M21 3L14 10M3 21L10 14",
|
|
@@ -8116,11 +8291,11 @@ var ScMediaSelect = (props) => {
|
|
|
8116
8291
|
let countLabel = selectedCount + " of " + total + " selected";
|
|
8117
8292
|
if (min > 0) countLabel += " (min " + min + ")";
|
|
8118
8293
|
if (resolvedMax < total) countLabel += " (max " + resolvedMax + ")";
|
|
8119
|
-
return /* @__PURE__ */
|
|
8120
|
-
/* @__PURE__ */
|
|
8121
|
-
/* @__PURE__ */
|
|
8122
|
-
/* @__PURE__ */
|
|
8123
|
-
/* @__PURE__ */
|
|
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(
|
|
8124
8299
|
"button",
|
|
8125
8300
|
{
|
|
8126
8301
|
type: "button",
|
|
@@ -8129,8 +8304,8 @@ var ScMediaSelect = (props) => {
|
|
|
8129
8304
|
children: "Select all"
|
|
8130
8305
|
}
|
|
8131
8306
|
),
|
|
8132
|
-
/* @__PURE__ */
|
|
8133
|
-
/* @__PURE__ */
|
|
8307
|
+
/* @__PURE__ */ jsx92("span", { className: ScMediaSelect_default.divider, children: "|" }),
|
|
8308
|
+
/* @__PURE__ */ jsx92(
|
|
8134
8309
|
"button",
|
|
8135
8310
|
{
|
|
8136
8311
|
type: "button",
|
|
@@ -8141,13 +8316,13 @@ var ScMediaSelect = (props) => {
|
|
|
8141
8316
|
)
|
|
8142
8317
|
] })
|
|
8143
8318
|
] }),
|
|
8144
|
-
/* @__PURE__ */
|
|
8319
|
+
/* @__PURE__ */ jsx92("div", { className: ScMediaSelect_default.grid, children: items.map((url, index) => {
|
|
8145
8320
|
const isSelected = selectedSet.has(url);
|
|
8146
8321
|
const itemClass = [
|
|
8147
8322
|
ScMediaSelect_default.item,
|
|
8148
8323
|
isSelected ? ScMediaSelect_default["state-selected"] : ScMediaSelect_default["state-default"]
|
|
8149
8324
|
].filter(Boolean).join(" ");
|
|
8150
|
-
return /* @__PURE__ */
|
|
8325
|
+
return /* @__PURE__ */ jsxs81(
|
|
8151
8326
|
"div",
|
|
8152
8327
|
{
|
|
8153
8328
|
className: itemClass,
|
|
@@ -8156,9 +8331,9 @@ var ScMediaSelect = (props) => {
|
|
|
8156
8331
|
tabIndex: 0,
|
|
8157
8332
|
"aria-pressed": isSelected,
|
|
8158
8333
|
children: [
|
|
8159
|
-
mediaType === "video" ? /* @__PURE__ */
|
|
8160
|
-
isSelected && /* @__PURE__ */
|
|
8161
|
-
onPreview && /* @__PURE__ */
|
|
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(
|
|
8162
8337
|
"button",
|
|
8163
8338
|
{
|
|
8164
8339
|
type: "button",
|
|
@@ -8168,7 +8343,7 @@ var ScMediaSelect = (props) => {
|
|
|
8168
8343
|
onPreview(url);
|
|
8169
8344
|
},
|
|
8170
8345
|
"aria-label": "Preview",
|
|
8171
|
-
children: /* @__PURE__ */
|
|
8346
|
+
children: /* @__PURE__ */ jsx92(MaximizeIcon, {})
|
|
8172
8347
|
}
|
|
8173
8348
|
)
|
|
8174
8349
|
]
|
|
@@ -8203,7 +8378,7 @@ var ScTodoList_default = {
|
|
|
8203
8378
|
};
|
|
8204
8379
|
|
|
8205
8380
|
// src/SC-todoList/ScTodoList.tsx
|
|
8206
|
-
import { jsx as
|
|
8381
|
+
import { jsx as jsx93, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
8207
8382
|
var ScTodoList = ({
|
|
8208
8383
|
items = [],
|
|
8209
8384
|
onToggle,
|
|
@@ -8237,9 +8412,9 @@ var ScTodoList = ({
|
|
|
8237
8412
|
onAdd?.(newValue);
|
|
8238
8413
|
setNewValue("");
|
|
8239
8414
|
};
|
|
8240
|
-
return /* @__PURE__ */
|
|
8241
|
-
total > 0 && /* @__PURE__ */
|
|
8242
|
-
/* @__PURE__ */
|
|
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(
|
|
8243
8418
|
"svg",
|
|
8244
8419
|
{
|
|
8245
8420
|
className: ScTodoList_default.progressIcon,
|
|
@@ -8248,7 +8423,7 @@ var ScTodoList = ({
|
|
|
8248
8423
|
viewBox: "0 0 14 14",
|
|
8249
8424
|
fill: "none",
|
|
8250
8425
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8251
|
-
children: /* @__PURE__ */
|
|
8426
|
+
children: /* @__PURE__ */ jsx93(
|
|
8252
8427
|
"path",
|
|
8253
8428
|
{
|
|
8254
8429
|
d: "M3 7L6 10L11 4",
|
|
@@ -8260,25 +8435,25 @@ var ScTodoList = ({
|
|
|
8260
8435
|
)
|
|
8261
8436
|
}
|
|
8262
8437
|
),
|
|
8263
|
-
/* @__PURE__ */
|
|
8438
|
+
/* @__PURE__ */ jsxs82("span", { className: ScTodoList_default.progressText, children: [
|
|
8264
8439
|
completed,
|
|
8265
8440
|
" of ",
|
|
8266
8441
|
total,
|
|
8267
8442
|
" completed"
|
|
8268
8443
|
] })
|
|
8269
8444
|
] }),
|
|
8270
|
-
/* @__PURE__ */
|
|
8445
|
+
/* @__PURE__ */ jsx93("div", { className: ScTodoList_default.rows, children: items.map((item) => {
|
|
8271
8446
|
const isEditing = editingId === item.id;
|
|
8272
8447
|
const isCompleted = item.status === "completed";
|
|
8273
|
-
return /* @__PURE__ */
|
|
8274
|
-
/* @__PURE__ */
|
|
8448
|
+
return /* @__PURE__ */ jsxs82("div", { className: ScTodoList_default.row, children: [
|
|
8449
|
+
/* @__PURE__ */ jsx93(
|
|
8275
8450
|
"button",
|
|
8276
8451
|
{
|
|
8277
8452
|
type: "button",
|
|
8278
8453
|
className: ScTodoList_default.checkbox,
|
|
8279
8454
|
"aria-label": isCompleted ? "Mark as pending" : "Mark as completed",
|
|
8280
8455
|
onClick: () => onToggle?.(item.id),
|
|
8281
|
-
children: isCompleted ? /* @__PURE__ */
|
|
8456
|
+
children: isCompleted ? /* @__PURE__ */ jsxs82(
|
|
8282
8457
|
"svg",
|
|
8283
8458
|
{
|
|
8284
8459
|
width: "18",
|
|
@@ -8287,8 +8462,8 @@ var ScTodoList = ({
|
|
|
8287
8462
|
fill: "none",
|
|
8288
8463
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8289
8464
|
children: [
|
|
8290
|
-
/* @__PURE__ */
|
|
8291
|
-
/* @__PURE__ */
|
|
8465
|
+
/* @__PURE__ */ jsx93("circle", { cx: "9", cy: "9", r: "9", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
8466
|
+
/* @__PURE__ */ jsx93(
|
|
8292
8467
|
"path",
|
|
8293
8468
|
{
|
|
8294
8469
|
d: "M5.25 9L7.75 11.5L12.75 6.5",
|
|
@@ -8300,7 +8475,7 @@ var ScTodoList = ({
|
|
|
8300
8475
|
)
|
|
8301
8476
|
]
|
|
8302
8477
|
}
|
|
8303
|
-
) : /* @__PURE__ */
|
|
8478
|
+
) : /* @__PURE__ */ jsx93(
|
|
8304
8479
|
"svg",
|
|
8305
8480
|
{
|
|
8306
8481
|
width: "18",
|
|
@@ -8308,7 +8483,7 @@ var ScTodoList = ({
|
|
|
8308
8483
|
viewBox: "0 0 18 18",
|
|
8309
8484
|
fill: "none",
|
|
8310
8485
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8311
|
-
children: /* @__PURE__ */
|
|
8486
|
+
children: /* @__PURE__ */ jsx93(
|
|
8312
8487
|
"circle",
|
|
8313
8488
|
{
|
|
8314
8489
|
cx: "9",
|
|
@@ -8322,7 +8497,7 @@ var ScTodoList = ({
|
|
|
8322
8497
|
)
|
|
8323
8498
|
}
|
|
8324
8499
|
),
|
|
8325
|
-
isEditing ? /* @__PURE__ */
|
|
8500
|
+
isEditing ? /* @__PURE__ */ jsx93(
|
|
8326
8501
|
"input",
|
|
8327
8502
|
{
|
|
8328
8503
|
className: ScTodoList_default.editInput,
|
|
@@ -8340,7 +8515,7 @@ var ScTodoList = ({
|
|
|
8340
8515
|
}
|
|
8341
8516
|
}
|
|
8342
8517
|
}
|
|
8343
|
-
) : /* @__PURE__ */
|
|
8518
|
+
) : /* @__PURE__ */ jsx93(
|
|
8344
8519
|
"span",
|
|
8345
8520
|
{
|
|
8346
8521
|
className: [
|
|
@@ -8350,15 +8525,15 @@ var ScTodoList = ({
|
|
|
8350
8525
|
children: item.content
|
|
8351
8526
|
}
|
|
8352
8527
|
),
|
|
8353
|
-
!isEditing && /* @__PURE__ */
|
|
8354
|
-
/* @__PURE__ */
|
|
8528
|
+
!isEditing && /* @__PURE__ */ jsxs82("div", { className: ScTodoList_default.actions, children: [
|
|
8529
|
+
/* @__PURE__ */ jsx93(
|
|
8355
8530
|
"button",
|
|
8356
8531
|
{
|
|
8357
8532
|
type: "button",
|
|
8358
8533
|
className: ScTodoList_default.actionButton,
|
|
8359
8534
|
"aria-label": "Edit item",
|
|
8360
8535
|
onClick: () => startEditing(item),
|
|
8361
|
-
children: /* @__PURE__ */
|
|
8536
|
+
children: /* @__PURE__ */ jsx93(
|
|
8362
8537
|
"svg",
|
|
8363
8538
|
{
|
|
8364
8539
|
width: "16",
|
|
@@ -8366,7 +8541,7 @@ var ScTodoList = ({
|
|
|
8366
8541
|
viewBox: "0 0 16 16",
|
|
8367
8542
|
fill: "none",
|
|
8368
8543
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8369
|
-
children: /* @__PURE__ */
|
|
8544
|
+
children: /* @__PURE__ */ jsx93(
|
|
8370
8545
|
"path",
|
|
8371
8546
|
{
|
|
8372
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",
|
|
@@ -8380,14 +8555,14 @@ var ScTodoList = ({
|
|
|
8380
8555
|
)
|
|
8381
8556
|
}
|
|
8382
8557
|
),
|
|
8383
|
-
/* @__PURE__ */
|
|
8558
|
+
/* @__PURE__ */ jsx93(
|
|
8384
8559
|
"button",
|
|
8385
8560
|
{
|
|
8386
8561
|
type: "button",
|
|
8387
8562
|
className: [ScTodoList_default.actionButton, ScTodoList_default.actionButtonDanger].filter(Boolean).join(" "),
|
|
8388
8563
|
"aria-label": "Delete item",
|
|
8389
8564
|
onClick: () => onDelete?.(item.id),
|
|
8390
|
-
children: /* @__PURE__ */
|
|
8565
|
+
children: /* @__PURE__ */ jsx93(
|
|
8391
8566
|
"svg",
|
|
8392
8567
|
{
|
|
8393
8568
|
width: "16",
|
|
@@ -8395,7 +8570,7 @@ var ScTodoList = ({
|
|
|
8395
8570
|
viewBox: "0 0 16 16",
|
|
8396
8571
|
fill: "none",
|
|
8397
8572
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8398
|
-
children: /* @__PURE__ */
|
|
8573
|
+
children: /* @__PURE__ */ jsx93(
|
|
8399
8574
|
"path",
|
|
8400
8575
|
{
|
|
8401
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",
|
|
@@ -8412,8 +8587,8 @@ var ScTodoList = ({
|
|
|
8412
8587
|
] })
|
|
8413
8588
|
] }, item.id);
|
|
8414
8589
|
}) }),
|
|
8415
|
-
/* @__PURE__ */
|
|
8416
|
-
/* @__PURE__ */
|
|
8590
|
+
/* @__PURE__ */ jsxs82("div", { className: ScTodoList_default.addRow, children: [
|
|
8591
|
+
/* @__PURE__ */ jsx93(
|
|
8417
8592
|
"input",
|
|
8418
8593
|
{
|
|
8419
8594
|
className: ScTodoList_default.addInput,
|
|
@@ -8428,7 +8603,7 @@ var ScTodoList = ({
|
|
|
8428
8603
|
}
|
|
8429
8604
|
}
|
|
8430
8605
|
),
|
|
8431
|
-
/* @__PURE__ */
|
|
8606
|
+
/* @__PURE__ */ jsx93(
|
|
8432
8607
|
"button",
|
|
8433
8608
|
{
|
|
8434
8609
|
type: "button",
|
|
@@ -8436,7 +8611,7 @@ var ScTodoList = ({
|
|
|
8436
8611
|
"aria-label": "Add item",
|
|
8437
8612
|
disabled: newValue.trim().length === 0,
|
|
8438
8613
|
onClick: commitAdd,
|
|
8439
|
-
children: /* @__PURE__ */
|
|
8614
|
+
children: /* @__PURE__ */ jsx93(
|
|
8440
8615
|
"svg",
|
|
8441
8616
|
{
|
|
8442
8617
|
width: "18",
|
|
@@ -8444,7 +8619,7 @@ var ScTodoList = ({
|
|
|
8444
8619
|
viewBox: "0 0 18 18",
|
|
8445
8620
|
fill: "none",
|
|
8446
8621
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8447
|
-
children: /* @__PURE__ */
|
|
8622
|
+
children: /* @__PURE__ */ jsx93(
|
|
8448
8623
|
"path",
|
|
8449
8624
|
{
|
|
8450
8625
|
d: "M9 4v10M4 9h10",
|
|
@@ -8471,18 +8646,18 @@ var ScRoleMobile_default = {
|
|
|
8471
8646
|
};
|
|
8472
8647
|
|
|
8473
8648
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
8474
|
-
import { jsx as
|
|
8649
|
+
import { jsx as jsx94 } from "react/jsx-runtime";
|
|
8475
8650
|
var ScRoleMobile = ({
|
|
8476
8651
|
role = "admin",
|
|
8477
8652
|
className,
|
|
8478
8653
|
...props
|
|
8479
8654
|
}) => {
|
|
8480
|
-
return /* @__PURE__ */
|
|
8655
|
+
return /* @__PURE__ */ jsx94(
|
|
8481
8656
|
"div",
|
|
8482
8657
|
{
|
|
8483
8658
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
8484
8659
|
...props,
|
|
8485
|
-
children: /* @__PURE__ */
|
|
8660
|
+
children: /* @__PURE__ */ jsx94("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
8486
8661
|
}
|
|
8487
8662
|
);
|
|
8488
8663
|
};
|
|
@@ -8499,7 +8674,7 @@ var ScProfileV2Mobile_default = {
|
|
|
8499
8674
|
};
|
|
8500
8675
|
|
|
8501
8676
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
8502
|
-
import { jsx as
|
|
8677
|
+
import { jsx as jsx95, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
8503
8678
|
var ScProfileV2Mobile = ({
|
|
8504
8679
|
name = "Chris Hemsworth",
|
|
8505
8680
|
email = "chris@kepler.com",
|
|
@@ -8509,17 +8684,17 @@ var ScProfileV2Mobile = ({
|
|
|
8509
8684
|
...props
|
|
8510
8685
|
}) => {
|
|
8511
8686
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
8512
|
-
const profileImage = /* @__PURE__ */
|
|
8513
|
-
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(
|
|
8514
8689
|
"div",
|
|
8515
8690
|
{
|
|
8516
8691
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
8517
8692
|
...props,
|
|
8518
8693
|
children: [
|
|
8519
8694
|
dpPosition === "left" && profileImage,
|
|
8520
|
-
/* @__PURE__ */
|
|
8521
|
-
/* @__PURE__ */
|
|
8522
|
-
/* @__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 })
|
|
8523
8698
|
] }),
|
|
8524
8699
|
dpPosition === "right" && profileImage
|
|
8525
8700
|
]
|
|
@@ -8546,7 +8721,7 @@ var ScTableListMobile_default = {
|
|
|
8546
8721
|
};
|
|
8547
8722
|
|
|
8548
8723
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
8549
|
-
import { jsx as
|
|
8724
|
+
import { jsx as jsx96, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
8550
8725
|
var ScTableListMobile = ({
|
|
8551
8726
|
name = "Chris Hemsworth",
|
|
8552
8727
|
email = "chris@kepler.com",
|
|
@@ -8559,25 +8734,25 @@ var ScTableListMobile = ({
|
|
|
8559
8734
|
...props
|
|
8560
8735
|
}) => {
|
|
8561
8736
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
8562
|
-
return /* @__PURE__ */
|
|
8737
|
+
return /* @__PURE__ */ jsxs84(
|
|
8563
8738
|
"div",
|
|
8564
8739
|
{
|
|
8565
8740
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
8566
8741
|
onClick: onRowClick,
|
|
8567
8742
|
...props,
|
|
8568
8743
|
children: [
|
|
8569
|
-
/* @__PURE__ */
|
|
8570
|
-
/* @__PURE__ */
|
|
8571
|
-
/* @__PURE__ */
|
|
8572
|
-
/* @__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 })
|
|
8573
8748
|
] }),
|
|
8574
|
-
/* @__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 }) })
|
|
8575
8750
|
] }),
|
|
8576
|
-
/* @__PURE__ */
|
|
8577
|
-
/* @__PURE__ */
|
|
8578
|
-
/* @__PURE__ */
|
|
8579
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */
|
|
8580
|
-
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)) })
|
|
8581
8756
|
] })
|
|
8582
8757
|
] })
|
|
8583
8758
|
]
|
|
@@ -8605,7 +8780,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
8605
8780
|
};
|
|
8606
8781
|
|
|
8607
8782
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
8608
|
-
import { jsx as
|
|
8783
|
+
import { jsx as jsx97, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
8609
8784
|
var ScWorkspaceSwitchMobile = ({
|
|
8610
8785
|
storeName = "Stores",
|
|
8611
8786
|
initials = "WS",
|
|
@@ -8618,24 +8793,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
8618
8793
|
...props
|
|
8619
8794
|
}) => {
|
|
8620
8795
|
const variant = currentWs ? "current" : "other";
|
|
8621
|
-
return /* @__PURE__ */
|
|
8796
|
+
return /* @__PURE__ */ jsxs85(
|
|
8622
8797
|
"div",
|
|
8623
8798
|
{
|
|
8624
8799
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
8625
8800
|
onClick,
|
|
8626
8801
|
...props,
|
|
8627
8802
|
children: [
|
|
8628
|
-
/* @__PURE__ */
|
|
8629
|
-
/* @__PURE__ */
|
|
8630
|
-
/* @__PURE__ */
|
|
8631
|
-
/* @__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 })
|
|
8632
8807
|
] }),
|
|
8633
|
-
/* @__PURE__ */
|
|
8808
|
+
/* @__PURE__ */ jsx97("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx97("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
8634
8809
|
] }),
|
|
8635
|
-
/* @__PURE__ */
|
|
8636
|
-
/* @__PURE__ */
|
|
8637
|
-
/* @__PURE__ */
|
|
8638
|
-
/* @__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 })
|
|
8639
8814
|
] })
|
|
8640
8815
|
]
|
|
8641
8816
|
}
|
|
@@ -8662,7 +8837,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
8662
8837
|
};
|
|
8663
8838
|
|
|
8664
8839
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
8665
|
-
import { jsx as
|
|
8840
|
+
import { jsx as jsx98, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
8666
8841
|
var ScWorkspaceSettingsMobile = ({
|
|
8667
8842
|
storeName = "Stores",
|
|
8668
8843
|
initials = "WS",
|
|
@@ -8677,28 +8852,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
8677
8852
|
...props
|
|
8678
8853
|
}) => {
|
|
8679
8854
|
const variant = currentWs ? "current" : "other";
|
|
8680
|
-
return /* @__PURE__ */
|
|
8855
|
+
return /* @__PURE__ */ jsxs86(
|
|
8681
8856
|
"div",
|
|
8682
8857
|
{
|
|
8683
8858
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
8684
8859
|
onClick,
|
|
8685
8860
|
...props,
|
|
8686
8861
|
children: [
|
|
8687
|
-
/* @__PURE__ */
|
|
8688
|
-
/* @__PURE__ */
|
|
8689
|
-
/* @__PURE__ */
|
|
8690
|
-
/* @__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 })
|
|
8691
8866
|
] }),
|
|
8692
|
-
/* @__PURE__ */
|
|
8867
|
+
/* @__PURE__ */ jsx98("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx98("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
8693
8868
|
] }),
|
|
8694
|
-
/* @__PURE__ */
|
|
8695
|
-
/* @__PURE__ */
|
|
8696
|
-
/* @__PURE__ */
|
|
8697
|
-
/* @__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 })
|
|
8698
8873
|
] }),
|
|
8699
|
-
/* @__PURE__ */
|
|
8700
|
-
/* @__PURE__ */
|
|
8701
|
-
/* @__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 })
|
|
8702
8877
|
] })
|
|
8703
8878
|
]
|
|
8704
8879
|
}
|
|
@@ -8721,7 +8896,7 @@ var ScMobileTopNav_default = {
|
|
|
8721
8896
|
};
|
|
8722
8897
|
|
|
8723
8898
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
8724
|
-
import { Fragment as Fragment23, jsx as
|
|
8899
|
+
import { Fragment as Fragment23, jsx as jsx99, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
8725
8900
|
var ScMobileTopNav = ({
|
|
8726
8901
|
type = "home",
|
|
8727
8902
|
searchIcon = false,
|
|
@@ -8744,22 +8919,22 @@ var ScMobileTopNav = ({
|
|
|
8744
8919
|
}) => {
|
|
8745
8920
|
const hasBorder = type === "chat" || type === "inApp";
|
|
8746
8921
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
8747
|
-
return /* @__PURE__ */
|
|
8922
|
+
return /* @__PURE__ */ jsxs87(
|
|
8748
8923
|
"div",
|
|
8749
8924
|
{
|
|
8750
8925
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
8751
8926
|
...props,
|
|
8752
8927
|
children: [
|
|
8753
|
-
type === "home" && /* @__PURE__ */
|
|
8754
|
-
type === "chat" && /* @__PURE__ */
|
|
8755
|
-
/* @__PURE__ */
|
|
8756
|
-
/* @__PURE__ */
|
|
8757
|
-
/* @__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 }) })
|
|
8758
8933
|
] }),
|
|
8759
|
-
showSearch && /* @__PURE__ */
|
|
8760
|
-
/* @__PURE__ */
|
|
8761
|
-
/* @__PURE__ */
|
|
8762
|
-
/* @__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(
|
|
8763
8938
|
"input",
|
|
8764
8939
|
{
|
|
8765
8940
|
type: "text",
|
|
@@ -8770,17 +8945,17 @@ var ScMobileTopNav = ({
|
|
|
8770
8945
|
}
|
|
8771
8946
|
) })
|
|
8772
8947
|
] }) }),
|
|
8773
|
-
/* @__PURE__ */
|
|
8948
|
+
/* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
8774
8949
|
] }),
|
|
8775
|
-
type === "inApp" && !search && /* @__PURE__ */
|
|
8776
|
-
/* @__PURE__ */
|
|
8777
|
-
/* @__PURE__ */
|
|
8778
|
-
/* @__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(
|
|
8779
8954
|
"div",
|
|
8780
8955
|
{
|
|
8781
8956
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
8782
8957
|
onClick: onSearchClick,
|
|
8783
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */
|
|
8958
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx99("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
8784
8959
|
}
|
|
8785
8960
|
)
|
|
8786
8961
|
] })
|
|
@@ -8801,7 +8976,7 @@ var ScMobileBottomAction_default = {
|
|
|
8801
8976
|
};
|
|
8802
8977
|
|
|
8803
8978
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
8804
|
-
import { jsx as
|
|
8979
|
+
import { jsx as jsx100, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
8805
8980
|
var ScMobileBottomAction = ({
|
|
8806
8981
|
text = "Save Changes",
|
|
8807
8982
|
disabled = false,
|
|
@@ -8813,28 +8988,28 @@ var ScMobileBottomAction = ({
|
|
|
8813
8988
|
...props
|
|
8814
8989
|
}) => {
|
|
8815
8990
|
const isTwoButton = !!secondaryText;
|
|
8816
|
-
return /* @__PURE__ */
|
|
8991
|
+
return /* @__PURE__ */ jsxs88(
|
|
8817
8992
|
"div",
|
|
8818
8993
|
{
|
|
8819
8994
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
8820
8995
|
...props,
|
|
8821
8996
|
children: [
|
|
8822
|
-
isTwoButton && /* @__PURE__ */
|
|
8997
|
+
isTwoButton && /* @__PURE__ */ jsx100(
|
|
8823
8998
|
"button",
|
|
8824
8999
|
{
|
|
8825
9000
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
8826
9001
|
onClick: onSecondaryClick,
|
|
8827
9002
|
disabled: secondaryDisabled,
|
|
8828
|
-
children: /* @__PURE__ */
|
|
9003
|
+
children: /* @__PURE__ */ jsx100("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
8829
9004
|
}
|
|
8830
9005
|
),
|
|
8831
|
-
/* @__PURE__ */
|
|
9006
|
+
/* @__PURE__ */ jsx100(
|
|
8832
9007
|
"button",
|
|
8833
9008
|
{
|
|
8834
9009
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
8835
9010
|
onClick,
|
|
8836
9011
|
disabled,
|
|
8837
|
-
children: /* @__PURE__ */
|
|
9012
|
+
children: /* @__PURE__ */ jsx100("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
8838
9013
|
}
|
|
8839
9014
|
)
|
|
8840
9015
|
]
|
|
@@ -8852,7 +9027,7 @@ var ScPopUpMenu_default = {
|
|
|
8852
9027
|
};
|
|
8853
9028
|
|
|
8854
9029
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
8855
|
-
import { jsx as
|
|
9030
|
+
import { jsx as jsx101, jsxs as jsxs89 } from "react/jsx-runtime";
|
|
8856
9031
|
var ScPopUpMenu = ({
|
|
8857
9032
|
menu = "Options",
|
|
8858
9033
|
state = "default",
|
|
@@ -8861,15 +9036,15 @@ var ScPopUpMenu = ({
|
|
|
8861
9036
|
className,
|
|
8862
9037
|
...props
|
|
8863
9038
|
}) => {
|
|
8864
|
-
return /* @__PURE__ */
|
|
9039
|
+
return /* @__PURE__ */ jsxs89(
|
|
8865
9040
|
"div",
|
|
8866
9041
|
{
|
|
8867
9042
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
8868
9043
|
onClick,
|
|
8869
9044
|
...props,
|
|
8870
9045
|
children: [
|
|
8871
|
-
icon && /* @__PURE__ */
|
|
8872
|
-
/* @__PURE__ */
|
|
9046
|
+
icon && /* @__PURE__ */ jsx101("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
9047
|
+
/* @__PURE__ */ jsx101("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
8873
9048
|
]
|
|
8874
9049
|
}
|
|
8875
9050
|
);
|
|
@@ -8895,7 +9070,7 @@ var ScReferralCardMobile_default = {
|
|
|
8895
9070
|
};
|
|
8896
9071
|
|
|
8897
9072
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
8898
|
-
import { jsx as
|
|
9073
|
+
import { jsx as jsx102, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
8899
9074
|
var ScReferralCardMobile = ({
|
|
8900
9075
|
name = "Chris Hemsworth",
|
|
8901
9076
|
email = "chris@kepler.com",
|
|
@@ -8908,27 +9083,27 @@ var ScReferralCardMobile = ({
|
|
|
8908
9083
|
...props
|
|
8909
9084
|
}) => {
|
|
8910
9085
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
8911
|
-
return /* @__PURE__ */
|
|
9086
|
+
return /* @__PURE__ */ jsxs90(
|
|
8912
9087
|
"div",
|
|
8913
9088
|
{
|
|
8914
9089
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
8915
9090
|
onClick,
|
|
8916
9091
|
...props,
|
|
8917
9092
|
children: [
|
|
8918
|
-
/* @__PURE__ */
|
|
8919
|
-
/* @__PURE__ */
|
|
8920
|
-
/* @__PURE__ */
|
|
8921
|
-
/* @__PURE__ */
|
|
8922
|
-
/* @__PURE__ */
|
|
8923
|
-
/* @__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 })
|
|
8924
9099
|
] })
|
|
8925
9100
|
] }),
|
|
8926
|
-
/* @__PURE__ */
|
|
9101
|
+
/* @__PURE__ */ jsx102("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx102("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
8927
9102
|
] }),
|
|
8928
|
-
/* @__PURE__ */
|
|
8929
|
-
/* @__PURE__ */
|
|
8930
|
-
/* @__PURE__ */
|
|
8931
|
-
/* @__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 })
|
|
8932
9107
|
] })
|
|
8933
9108
|
]
|
|
8934
9109
|
}
|
|
@@ -8945,19 +9120,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
8945
9120
|
};
|
|
8946
9121
|
|
|
8947
9122
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
8948
|
-
import { jsx as
|
|
9123
|
+
import { jsx as jsx103, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
8949
9124
|
var InvoiceHistoryMobile = ({
|
|
8950
9125
|
invoiceId = "# INV-2800-2026",
|
|
8951
9126
|
date = "Nov 9th, 2025",
|
|
8952
9127
|
amount = "\u20B9320.89",
|
|
8953
9128
|
className
|
|
8954
9129
|
}) => {
|
|
8955
|
-
return /* @__PURE__ */
|
|
8956
|
-
/* @__PURE__ */
|
|
8957
|
-
/* @__PURE__ */
|
|
8958
|
-
/* @__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 })
|
|
8959
9134
|
] }),
|
|
8960
|
-
/* @__PURE__ */
|
|
9135
|
+
/* @__PURE__ */ jsx103("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
8961
9136
|
] });
|
|
8962
9137
|
};
|
|
8963
9138
|
|
|
@@ -8975,7 +9150,7 @@ var UsageHistoryMobile_default = {
|
|
|
8975
9150
|
};
|
|
8976
9151
|
|
|
8977
9152
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
8978
|
-
import { jsx as
|
|
9153
|
+
import { jsx as jsx104, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
8979
9154
|
var UsageHistoryMobile = ({
|
|
8980
9155
|
serviceName = "Artifax Generation",
|
|
8981
9156
|
credits = "50",
|
|
@@ -8984,18 +9159,18 @@ var UsageHistoryMobile = ({
|
|
|
8984
9159
|
balance = "84,902",
|
|
8985
9160
|
className
|
|
8986
9161
|
}) => {
|
|
8987
|
-
return /* @__PURE__ */
|
|
8988
|
-
/* @__PURE__ */
|
|
8989
|
-
/* @__PURE__ */
|
|
8990
|
-
/* @__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 })
|
|
8991
9166
|
] }),
|
|
8992
|
-
/* @__PURE__ */
|
|
8993
|
-
/* @__PURE__ */
|
|
8994
|
-
/* @__PURE__ */
|
|
8995
|
-
/* @__PURE__ */
|
|
8996
|
-
/* @__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 })
|
|
8997
9172
|
] }),
|
|
8998
|
-
/* @__PURE__ */
|
|
9173
|
+
/* @__PURE__ */ jsx104("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
8999
9174
|
] })
|
|
9000
9175
|
] });
|
|
9001
9176
|
};
|
|
@@ -9019,7 +9194,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
9019
9194
|
};
|
|
9020
9195
|
|
|
9021
9196
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
9022
|
-
import { jsx as
|
|
9197
|
+
import { jsx as jsx105, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
9023
9198
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
9024
9199
|
wsName = "Workspace name is kepler",
|
|
9025
9200
|
initials = "WS",
|
|
@@ -9032,14 +9207,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
9032
9207
|
className,
|
|
9033
9208
|
...props
|
|
9034
9209
|
}) => {
|
|
9035
|
-
return /* @__PURE__ */
|
|
9210
|
+
return /* @__PURE__ */ jsx105(
|
|
9036
9211
|
"div",
|
|
9037
9212
|
{
|
|
9038
9213
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
9039
9214
|
onClick,
|
|
9040
9215
|
...props,
|
|
9041
|
-
children: /* @__PURE__ */
|
|
9042
|
-
/* @__PURE__ */
|
|
9216
|
+
children: /* @__PURE__ */ jsxs93("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
9217
|
+
/* @__PURE__ */ jsx105("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx105(
|
|
9043
9218
|
ScDp,
|
|
9044
9219
|
{
|
|
9045
9220
|
type: imageUrl ? "image" : "initial",
|
|
@@ -9053,14 +9228,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
9053
9228
|
}
|
|
9054
9229
|
}
|
|
9055
9230
|
) }),
|
|
9056
|
-
/* @__PURE__ */
|
|
9057
|
-
/* @__PURE__ */
|
|
9058
|
-
/* @__PURE__ */
|
|
9059
|
-
/* @__PURE__ */
|
|
9060
|
-
/* @__PURE__ */
|
|
9061
|
-
/* @__PURE__ */
|
|
9062
|
-
/* @__PURE__ */
|
|
9063
|
-
/* @__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 })
|
|
9064
9239
|
] })
|
|
9065
9240
|
] })
|
|
9066
9241
|
] })
|
|
@@ -9087,7 +9262,7 @@ var ScImageField_default = {
|
|
|
9087
9262
|
|
|
9088
9263
|
// src/SC-imageField/ScImageField.tsx
|
|
9089
9264
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
9090
|
-
import { jsx as
|
|
9265
|
+
import { jsx as jsx106, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
9091
9266
|
var ScImageField = ({
|
|
9092
9267
|
label = "Label",
|
|
9093
9268
|
imagePreview,
|
|
@@ -9110,8 +9285,8 @@ var ScImageField = ({
|
|
|
9110
9285
|
}
|
|
9111
9286
|
e.target.value = "";
|
|
9112
9287
|
}
|
|
9113
|
-
return /* @__PURE__ */
|
|
9114
|
-
/* @__PURE__ */
|
|
9288
|
+
return /* @__PURE__ */ jsxs94("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
9289
|
+
/* @__PURE__ */ jsx106(
|
|
9115
9290
|
"input",
|
|
9116
9291
|
{
|
|
9117
9292
|
ref: inputRef,
|
|
@@ -9121,9 +9296,9 @@ var ScImageField = ({
|
|
|
9121
9296
|
onChange: handleChange
|
|
9122
9297
|
}
|
|
9123
9298
|
),
|
|
9124
|
-
/* @__PURE__ */
|
|
9125
|
-
hasImage ? /* @__PURE__ */
|
|
9126
|
-
/* @__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(
|
|
9127
9302
|
"img",
|
|
9128
9303
|
{
|
|
9129
9304
|
className: ScImageField_default.previewImage,
|
|
@@ -9131,8 +9306,8 @@ var ScImageField = ({
|
|
|
9131
9306
|
alt: "preview"
|
|
9132
9307
|
}
|
|
9133
9308
|
),
|
|
9134
|
-
/* @__PURE__ */
|
|
9135
|
-
/* @__PURE__ */
|
|
9309
|
+
/* @__PURE__ */ jsx106("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
9310
|
+
/* @__PURE__ */ jsx106(
|
|
9136
9311
|
SiconDelete2,
|
|
9137
9312
|
{
|
|
9138
9313
|
className: ScImageField_default.removeIcon,
|
|
@@ -9143,9 +9318,9 @@ var ScImageField = ({
|
|
|
9143
9318
|
}
|
|
9144
9319
|
}
|
|
9145
9320
|
)
|
|
9146
|
-
] }) : /* @__PURE__ */
|
|
9147
|
-
/* @__PURE__ */
|
|
9148
|
-
/* @__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" })
|
|
9149
9324
|
] })
|
|
9150
9325
|
] });
|
|
9151
9326
|
};
|
|
@@ -9159,7 +9334,7 @@ var ScSettingsTabComp_default = {
|
|
|
9159
9334
|
};
|
|
9160
9335
|
|
|
9161
9336
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
9162
|
-
import { jsx as
|
|
9337
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
9163
9338
|
var ScSettingsTabComp = ({
|
|
9164
9339
|
tabName = "Tab",
|
|
9165
9340
|
active = false,
|
|
@@ -9167,12 +9342,12 @@ var ScSettingsTabComp = ({
|
|
|
9167
9342
|
className
|
|
9168
9343
|
}) => {
|
|
9169
9344
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
9170
|
-
return /* @__PURE__ */
|
|
9345
|
+
return /* @__PURE__ */ jsx107(
|
|
9171
9346
|
"div",
|
|
9172
9347
|
{
|
|
9173
9348
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
9174
9349
|
onClick,
|
|
9175
|
-
children: /* @__PURE__ */
|
|
9350
|
+
children: /* @__PURE__ */ jsx107("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
9176
9351
|
}
|
|
9177
9352
|
);
|
|
9178
9353
|
};
|
|
@@ -9192,7 +9367,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
9192
9367
|
|
|
9193
9368
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
9194
9369
|
import { SiconCredits as SiconCredits2 } from "@streamoid/icons";
|
|
9195
|
-
import { jsx as
|
|
9370
|
+
import { jsx as jsx108, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
9196
9371
|
var ScCreditsUsageCardMobile = ({
|
|
9197
9372
|
usageLabel = "Credits usage",
|
|
9198
9373
|
usageText = "8,450 / 30,000",
|
|
@@ -9202,23 +9377,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
9202
9377
|
className,
|
|
9203
9378
|
...props
|
|
9204
9379
|
}) => {
|
|
9205
|
-
return /* @__PURE__ */
|
|
9206
|
-
/* @__PURE__ */
|
|
9207
|
-
/* @__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(
|
|
9208
9383
|
SiconCredits2,
|
|
9209
9384
|
{
|
|
9210
9385
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
9211
9386
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
9212
9387
|
}
|
|
9213
9388
|
),
|
|
9214
|
-
/* @__PURE__ */
|
|
9389
|
+
/* @__PURE__ */ jsx108("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
9215
9390
|
] }),
|
|
9216
|
-
/* @__PURE__ */
|
|
9217
|
-
/* @__PURE__ */
|
|
9218
|
-
/* @__PURE__ */
|
|
9219
|
-
/* @__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 })
|
|
9220
9395
|
] }),
|
|
9221
|
-
/* @__PURE__ */
|
|
9396
|
+
/* @__PURE__ */ jsx108(
|
|
9222
9397
|
ScButton,
|
|
9223
9398
|
{
|
|
9224
9399
|
text: buyButtonText,
|
|
@@ -9260,7 +9435,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
9260
9435
|
|
|
9261
9436
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
9262
9437
|
import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
|
|
9263
|
-
import { Fragment as Fragment24, jsx as
|
|
9438
|
+
import { Fragment as Fragment24, jsx as jsx109, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
9264
9439
|
var ScPlanDetailsCardMobile = ({
|
|
9265
9440
|
planName = "Pro",
|
|
9266
9441
|
planCredits = "30,000 credits",
|
|
@@ -9274,20 +9449,20 @@ var ScPlanDetailsCardMobile = ({
|
|
|
9274
9449
|
className,
|
|
9275
9450
|
...props
|
|
9276
9451
|
}) => {
|
|
9277
|
-
return /* @__PURE__ */
|
|
9278
|
-
/* @__PURE__ */
|
|
9279
|
-
/* @__PURE__ */
|
|
9280
|
-
/* @__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(
|
|
9281
9456
|
SiconBilling4,
|
|
9282
9457
|
{
|
|
9283
9458
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
9284
9459
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
9285
9460
|
}
|
|
9286
9461
|
),
|
|
9287
|
-
/* @__PURE__ */
|
|
9462
|
+
/* @__PURE__ */ jsx109("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
9288
9463
|
] }),
|
|
9289
|
-
/* @__PURE__ */
|
|
9290
|
-
/* @__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(
|
|
9291
9466
|
ScBadges,
|
|
9292
9467
|
{
|
|
9293
9468
|
text: badgeText,
|
|
@@ -9296,28 +9471,28 @@ var ScPlanDetailsCardMobile = ({
|
|
|
9296
9471
|
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
9297
9472
|
}
|
|
9298
9473
|
),
|
|
9299
|
-
badgeSubText && /* @__PURE__ */
|
|
9300
|
-
/* @__PURE__ */
|
|
9301
|
-
/* @__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 })
|
|
9302
9477
|
] })
|
|
9303
9478
|
] }) })
|
|
9304
9479
|
] }),
|
|
9305
|
-
/* @__PURE__ */
|
|
9306
|
-
/* @__PURE__ */
|
|
9307
|
-
/* @__PURE__ */
|
|
9308
|
-
/* @__PURE__ */
|
|
9309
|
-
/* @__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}` })
|
|
9310
9485
|
] }),
|
|
9311
|
-
/* @__PURE__ */
|
|
9312
|
-
] }) : /* @__PURE__ */
|
|
9313
|
-
/* @__PURE__ */
|
|
9314
|
-
/* @__PURE__ */
|
|
9315
|
-
/* @__PURE__ */
|
|
9316
|
-
/* @__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 })
|
|
9317
9492
|
] }),
|
|
9318
|
-
/* @__PURE__ */
|
|
9493
|
+
/* @__PURE__ */ jsx109("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
9319
9494
|
] }) }),
|
|
9320
|
-
isLoading ? /* @__PURE__ */
|
|
9495
|
+
isLoading ? /* @__PURE__ */ jsx109("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx109(
|
|
9321
9496
|
ScButton,
|
|
9322
9497
|
{
|
|
9323
9498
|
text: upgradeButtonText,
|
|
@@ -9348,6 +9523,7 @@ export {
|
|
|
9348
9523
|
ScArtifaxInvite,
|
|
9349
9524
|
ScArtifaxSidebar,
|
|
9350
9525
|
ScBadges,
|
|
9526
|
+
ScBeacon,
|
|
9351
9527
|
ScBillingHistoryHeader,
|
|
9352
9528
|
ScBillingHistoryTableList,
|
|
9353
9529
|
ScBillingLogsTableHeader,
|
|
@@ -9358,6 +9534,8 @@ export {
|
|
|
9358
9534
|
ScCalendarDateComps,
|
|
9359
9535
|
ScCatalogixInvite,
|
|
9360
9536
|
ScCatalogixSidebar,
|
|
9537
|
+
ScCatalogixStoreHeader,
|
|
9538
|
+
ScCatalogixStoreTableList,
|
|
9361
9539
|
ScCheckField,
|
|
9362
9540
|
ScCheckbox,
|
|
9363
9541
|
ScCreditsUsageCard,
|
|
@@ -9415,6 +9593,7 @@ export {
|
|
|
9415
9593
|
ScSidebarProfile,
|
|
9416
9594
|
ScSidebarSwitchMenu,
|
|
9417
9595
|
ScSlider,
|
|
9596
|
+
ScStoreCard,
|
|
9418
9597
|
ScStrLogo,
|
|
9419
9598
|
ScStreamoidMascot,
|
|
9420
9599
|
ScStreamoidWordmark,
|