@iblai/web-containers 2.6.0 → 2.8.0
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/cjs/_virtual/index2.js +2 -2
- package/dist/cjs/_virtual/index3.js +2 -2
- package/dist/cjs/components/analytics/analytics-financial-stats.js +2 -2
- package/dist/cjs/components/analytics/analytics-financial-stats.js.map +1 -1
- package/dist/cjs/components/certificates/certificate-face.js +117 -0
- package/dist/cjs/components/certificates/certificate-face.js.map +1 -0
- package/dist/cjs/components/certificates/certificate-utils.js +66 -0
- package/dist/cjs/components/certificates/certificate-utils.js.map +1 -0
- package/dist/cjs/components/certificates/print-certificate.js +43 -0
- package/dist/cjs/components/certificates/print-certificate.js.map +1 -0
- package/dist/cjs/components/certificates/public-certificate.js +138 -0
- package/dist/cjs/components/certificates/public-certificate.js.map +1 -0
- package/dist/cjs/components/certificates/use-public-certificate.js +55 -0
- package/dist/cjs/components/certificates/use-public-certificate.js.map +1 -0
- package/dist/cjs/components/certificates/use-tenant-logo.js +16 -0
- package/dist/cjs/components/certificates/use-tenant-logo.js.map +1 -0
- package/dist/cjs/components/icons/svg-icons.js +10 -0
- package/dist/cjs/components/icons/svg-icons.js.map +1 -1
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js +2 -0
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab.js +8 -7
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab.js.map +1 -1
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/spend-caps-tab/index.js +42 -14
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/spend-caps-tab/index.js.map +1 -1
- package/dist/cjs/components/modals/user-profile-modal.js +11 -9
- package/dist/cjs/components/modals/user-profile-modal.js.map +1 -1
- package/dist/cjs/components/platform-sidebar/index.js +9 -3
- package/dist/cjs/components/platform-sidebar/index.js.map +1 -1
- package/dist/cjs/components/profile/certificates/certificate-share-menu.js +41 -0
- package/dist/cjs/components/profile/certificates/certificate-share-menu.js.map +1 -0
- package/dist/cjs/components/profile/certificates/certificates-list.js +80 -0
- package/dist/cjs/components/profile/certificates/certificates-list.js.map +1 -0
- package/dist/cjs/components/profile/index.js +3 -2
- package/dist/cjs/components/profile/index.js.map +1 -1
- package/dist/cjs/components/profile/monetization/item-monetization.js +37 -0
- package/dist/cjs/components/profile/monetization/item-monetization.js.map +1 -0
- package/dist/cjs/components/profile/monetization/paywall-config.js +2 -3
- package/dist/cjs/components/profile/monetization/paywall-config.js.map +1 -1
- package/dist/cjs/components/profile/monetization/paywall-detail.js +119 -65
- package/dist/cjs/components/profile/monetization/paywall-detail.js.map +1 -1
- package/dist/cjs/components/profile/monetization/paywall-utils.js +5 -0
- package/dist/cjs/components/profile/monetization/paywall-utils.js.map +1 -1
- package/dist/cjs/components/profile/monetization/price-management.js +80 -51
- package/dist/cjs/components/profile/monetization/price-management.js.map +1 -1
- package/dist/cjs/components/spend-caps/labels.js +6 -0
- package/dist/cjs/components/spend-caps/labels.js.map +1 -1
- package/dist/cjs/components/user-profile-dropdown/index.js +2 -1
- package/dist/cjs/components/user-profile-dropdown/index.js.map +1 -1
- package/dist/cjs/i18n/messages/en.json.js +91 -20
- package/dist/cjs/i18n/messages/en.json.js.map +1 -1
- package/dist/cjs/i18n/messages/es.json.js +90 -19
- package/dist/cjs/i18n/messages/es.json.js.map +1 -1
- package/dist/cjs/i18n/messages/fr.json.js +90 -19
- package/dist/cjs/i18n/messages/fr.json.js.map +1 -1
- package/dist/cjs/i18n/messages/zh.json.js +89 -18
- package/dist/cjs/i18n/messages/zh.json.js.map +1 -1
- package/dist/cjs/index.js +24 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
- package/dist/cjs/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/components/analytics/analytics-financial-stats.js +2 -2
- package/dist/esm/components/analytics/analytics-financial-stats.js.map +1 -1
- package/dist/esm/components/certificates/certificate-face.js +110 -0
- package/dist/esm/components/certificates/certificate-face.js.map +1 -0
- package/dist/esm/components/certificates/certificate-utils.js +58 -0
- package/dist/esm/components/certificates/certificate-utils.js.map +1 -0
- package/dist/esm/components/certificates/print-certificate.js +40 -0
- package/dist/esm/components/certificates/print-certificate.js.map +1 -0
- package/dist/esm/components/certificates/public-certificate.js +135 -0
- package/dist/esm/components/certificates/public-certificate.js.map +1 -0
- package/dist/esm/components/certificates/use-public-certificate.js +52 -0
- package/dist/esm/components/certificates/use-public-certificate.js.map +1 -0
- package/dist/esm/components/certificates/use-tenant-logo.js +14 -0
- package/dist/esm/components/certificates/use-tenant-logo.js.map +1 -0
- package/dist/esm/components/icons/svg-icons.js +8 -1
- package/dist/esm/components/icons/svg-icons.js.map +1 -1
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js +2 -0
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab.js +8 -7
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab.js.map +1 -1
- package/dist/esm/components/modals/edit-mentor-modal/tabs/spend-caps-tab/index.js +43 -15
- package/dist/esm/components/modals/edit-mentor-modal/tabs/spend-caps-tab/index.js.map +1 -1
- package/dist/esm/components/modals/user-profile-modal.js +11 -9
- package/dist/esm/components/modals/user-profile-modal.js.map +1 -1
- package/dist/esm/components/platform-sidebar/index.js +9 -3
- package/dist/esm/components/platform-sidebar/index.js.map +1 -1
- package/dist/esm/components/profile/certificates/certificate-share-menu.js +38 -0
- package/dist/esm/components/profile/certificates/certificate-share-menu.js.map +1 -0
- package/dist/esm/components/profile/certificates/certificates-list.js +74 -0
- package/dist/esm/components/profile/certificates/certificates-list.js.map +1 -0
- package/dist/esm/components/profile/index.js +4 -3
- package/dist/esm/components/profile/index.js.map +1 -1
- package/dist/esm/components/profile/monetization/item-monetization.js +35 -0
- package/dist/esm/components/profile/monetization/item-monetization.js.map +1 -0
- package/dist/esm/components/profile/monetization/paywall-config.js +2 -3
- package/dist/esm/components/profile/monetization/paywall-config.js.map +1 -1
- package/dist/esm/components/profile/monetization/paywall-detail.js +114 -67
- package/dist/esm/components/profile/monetization/paywall-detail.js.map +1 -1
- package/dist/esm/components/profile/monetization/paywall-utils.js +5 -1
- package/dist/esm/components/profile/monetization/paywall-utils.js.map +1 -1
- package/dist/esm/components/profile/monetization/price-management.js +80 -51
- package/dist/esm/components/profile/monetization/price-management.js.map +1 -1
- package/dist/esm/components/spend-caps/labels.js +6 -0
- package/dist/esm/components/spend-caps/labels.js.map +1 -1
- package/dist/esm/components/user-profile-dropdown/index.js +2 -1
- package/dist/esm/components/user-profile-dropdown/index.js.map +1 -1
- package/dist/esm/i18n/messages/en.json.js +90 -21
- package/dist/esm/i18n/messages/en.json.js.map +1 -1
- package/dist/esm/i18n/messages/es.json.js +89 -20
- package/dist/esm/i18n/messages/es.json.js.map +1 -1
- package/dist/esm/i18n/messages/fr.json.js +89 -20
- package/dist/esm/i18n/messages/fr.json.js.map +1 -1
- package/dist/esm/i18n/messages/zh.json.js +88 -19
- package/dist/esm/i18n/messages/zh.json.js.map +1 -1
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/index.d.ts +177 -3
- package/dist/next/index.d.ts +51 -10
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/components/profile/monetization/wizard-step-indicator.js +0 -23
- package/dist/cjs/components/profile/monetization/wizard-step-indicator.js.map +0 -1
- package/dist/esm/components/profile/monetization/wizard-step-indicator.js +0 -21
- package/dist/esm/components/profile/monetization/wizard-step-indicator.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -854,8 +854,14 @@ interface UserProfileModalProps {
|
|
|
854
854
|
onSelectFoundryModel?: (modelId: string) => void;
|
|
855
855
|
};
|
|
856
856
|
currentSPA?: string;
|
|
857
|
+
/**
|
|
858
|
+
* Builds the shareable page of an issued certificate from its id (the LMS
|
|
859
|
+
* serves it at `/certificates/<id>`). When set, the certificates in
|
|
860
|
+
* Education → Credentials open it in a new tab.
|
|
861
|
+
*/
|
|
862
|
+
certificateUrl?: (certificateId: string) => string;
|
|
857
863
|
}
|
|
858
|
-
declare function Profile({ tenant, username, tenants, onClose, customization, isAdmin, targetTab, onAccountDeleted, enableMemoryTab, showLlmUsageTab, showOverviewTab, localLLMProps, currentSPA, }: UserProfileModalProps): react_jsx_runtime.JSX.Element;
|
|
864
|
+
declare function Profile({ tenant, username, tenants, onClose, customization, isAdmin, targetTab, onAccountDeleted, enableMemoryTab, showLlmUsageTab, showOverviewTab, localLLMProps, currentSPA, certificateUrl, }: UserProfileModalProps): react_jsx_runtime.JSX.Element;
|
|
859
865
|
|
|
860
866
|
declare function InviteUserDialog({ tenant, onClose, isOpen, enableCatalogInvite, hasManageUsersPermission, }: {
|
|
861
867
|
tenant: string;
|
|
@@ -1171,6 +1177,23 @@ interface MonetizationTabProps {
|
|
|
1171
1177
|
}
|
|
1172
1178
|
declare function MonetizationTab({ platformKey, authURL }: MonetizationTabProps): react_jsx_runtime.JSX.Element;
|
|
1173
1179
|
|
|
1180
|
+
/** `agent` and `mentor` are the same item; any other string is passed through as the item type. */
|
|
1181
|
+
type MonetizableItemType = 'agent' | 'mentor' | 'course' | 'program' | (string & {});
|
|
1182
|
+
interface ItemMonetizationProps {
|
|
1183
|
+
platformKey: string;
|
|
1184
|
+
authURL: string;
|
|
1185
|
+
itemType: MonetizableItemType;
|
|
1186
|
+
itemId: string;
|
|
1187
|
+
/** Shown until the paywall config returns its own item name. */
|
|
1188
|
+
itemName?: string;
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* Paywall and pricing for one item (agent, course, program, …), for hosts that
|
|
1192
|
+
* place it on the item's own settings page. Same wizard as the Monetization
|
|
1193
|
+
* tab's detail view, minus the item picker.
|
|
1194
|
+
*/
|
|
1195
|
+
declare function ItemMonetization({ platformKey, authURL, itemType, itemId, itemName, }: ItemMonetizationProps): react_jsx_runtime.JSX.Element;
|
|
1196
|
+
|
|
1174
1197
|
interface MemoryAdminTabProps {
|
|
1175
1198
|
tenantKey: string;
|
|
1176
1199
|
/** Username of the signed-in admin, used as the caller path segment. */
|
|
@@ -1258,6 +1281,157 @@ declare function GradebookTab({ org, username, initialType }: GradebookTabProps)
|
|
|
1258
1281
|
declare function CredentialsList({ org, username }: GradebookTabProps): react_jsx_runtime.JSX.Element;
|
|
1259
1282
|
declare function SkillsList({ org, username }: GradebookTabProps): react_jsx_runtime.JSX.Element;
|
|
1260
1283
|
|
|
1284
|
+
interface CertificateSignatory {
|
|
1285
|
+
name: string;
|
|
1286
|
+
title?: string | null;
|
|
1287
|
+
signature?: string | null;
|
|
1288
|
+
}
|
|
1289
|
+
/** DM's anonymous copy of an issued certificate (`/api/credentials/public/assertions/<id>/`). */
|
|
1290
|
+
interface PublicCertificate$1 {
|
|
1291
|
+
entityId: string;
|
|
1292
|
+
issuedOn: string;
|
|
1293
|
+
credentialDetails?: {
|
|
1294
|
+
name_override?: string | null;
|
|
1295
|
+
signatories?: CertificateSignatory[];
|
|
1296
|
+
issuerDetails?: {
|
|
1297
|
+
name?: string | null;
|
|
1298
|
+
signatories?: CertificateSignatory[];
|
|
1299
|
+
} | null;
|
|
1300
|
+
} | null;
|
|
1301
|
+
recipient?: {
|
|
1302
|
+
name?: string | null;
|
|
1303
|
+
} | null;
|
|
1304
|
+
course?: {
|
|
1305
|
+
name?: string | null;
|
|
1306
|
+
course_id?: string;
|
|
1307
|
+
} | null;
|
|
1308
|
+
}
|
|
1309
|
+
/** A course's page on the LMS (`lmsUrl` is its base; '' for the host app itself). */
|
|
1310
|
+
declare const lmsCoursePath: (lmsUrl: string, courseId: string) => string;
|
|
1311
|
+
/** Where every host serves a certificate's shareable page. */
|
|
1312
|
+
declare const publicCertificatePath: (entityId: string) => string;
|
|
1313
|
+
/** DM's dates may use a space for the "T"; Safari refuses that form. */
|
|
1314
|
+
declare const parseIssuedOn: (value?: string | null) => Date | null;
|
|
1315
|
+
/** The organisation's logo for its certificates: the SPA's display logo, else its org logo. */
|
|
1316
|
+
declare const tenantLogo: (org: string, metadata: Record<string, any> | undefined, apiBaseUrl?: string) => any;
|
|
1317
|
+
/** The certificate's own signatories, else the issuer's. */
|
|
1318
|
+
declare const certificateSignatories: (certificate: {
|
|
1319
|
+
credentialDetails?: PublicCertificate$1["credentialDetails"];
|
|
1320
|
+
}) => CertificateSignatory[];
|
|
1321
|
+
/** "Course certificate" → ["COURSE", "CERTIFICATE"]; one word stays one line. */
|
|
1322
|
+
declare const sealLines: (label: string) => string[];
|
|
1323
|
+
interface CertificateShareParams {
|
|
1324
|
+
/** The certificate's public page. */
|
|
1325
|
+
url: string;
|
|
1326
|
+
/** The post text, e.g. "Ada earned a certificate for Logic I". */
|
|
1327
|
+
headline: string;
|
|
1328
|
+
/** Prefills LinkedIn's Licenses & Certifications entry. */
|
|
1329
|
+
certificateName: string;
|
|
1330
|
+
certificateId: string;
|
|
1331
|
+
issuedOn?: Date | null;
|
|
1332
|
+
}
|
|
1333
|
+
/** Each network's share dialog, and LinkedIn's Add to Profile form. */
|
|
1334
|
+
declare const certificateShareUrls: ({ url, headline, certificateName, certificateId, issuedOn, }: CertificateShareParams) => {
|
|
1335
|
+
linkedin: string;
|
|
1336
|
+
facebook: string;
|
|
1337
|
+
x: string;
|
|
1338
|
+
addToLinkedIn: string;
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
declare const CERTIFICATE_WIDTH = 1056;
|
|
1342
|
+
declare const CERTIFICATE_HEIGHT = 816;
|
|
1343
|
+
interface CertificateFaceProps {
|
|
1344
|
+
title: string;
|
|
1345
|
+
recipient: string;
|
|
1346
|
+
itemName?: string | null;
|
|
1347
|
+
issuedOn?: string | null;
|
|
1348
|
+
signatories?: CertificateSignatory[];
|
|
1349
|
+
/** The issuing organisation's logo, top left. */
|
|
1350
|
+
logo?: string | null;
|
|
1351
|
+
/** Fetch the logo first: on the page itself it is the slowest thing to arrive. */
|
|
1352
|
+
logoPriority?: boolean;
|
|
1353
|
+
/** Printed on the seal, e.g. "Course Certificate"; "Certificate" by default. */
|
|
1354
|
+
sealLabel?: string;
|
|
1355
|
+
/** Named top left when there is no logo, and in the confirmation line. */
|
|
1356
|
+
issuerName?: string | null;
|
|
1357
|
+
verifyUrl?: string | null;
|
|
1358
|
+
}
|
|
1359
|
+
/** The certificate page itself, at its full design size. */
|
|
1360
|
+
declare function CertificateFace({ title, recipient, itemName, issuedOn, signatories, logo, logoPriority, sealLabel, issuerName, verifyUrl, }: CertificateFaceProps): react_jsx_runtime.JSX.Element;
|
|
1361
|
+
type Fit = 'width' | 'contain';
|
|
1362
|
+
/**
|
|
1363
|
+
* The page scaled as one picture: `width` fills the parent's width and takes
|
|
1364
|
+
* the matching height; `contain` fits inside a parent that already has a size.
|
|
1365
|
+
*/
|
|
1366
|
+
declare function ScaledCertificate({ fit, children }: {
|
|
1367
|
+
fit: Fit;
|
|
1368
|
+
children: ReactNode;
|
|
1369
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1370
|
+
/** A non-interactive miniature that fits inside its (sized) parent. */
|
|
1371
|
+
declare function CertificateThumbnail(props: CertificateFaceProps): react_jsx_runtime.JSX.Element;
|
|
1372
|
+
|
|
1373
|
+
interface PublicCertificateProps {
|
|
1374
|
+
/** The issued certificate's (assertion) id. */
|
|
1375
|
+
entityId: string;
|
|
1376
|
+
/** The DM base URL, e.g. `https://api.example.com/dm`; the lookup needs no token. */
|
|
1377
|
+
apiBaseUrl: string;
|
|
1378
|
+
/** The certificate's own public address, printed on it and shared. This origin + `/certificates/<id>` by default. */
|
|
1379
|
+
url?: string;
|
|
1380
|
+
/** The issuing organisation's logo, top left on the certificate. */
|
|
1381
|
+
logo?: string | null;
|
|
1382
|
+
/**
|
|
1383
|
+
* The issuing platform's name, printed on the certificate and as "Issued by".
|
|
1384
|
+
* The signed-in visitor's current tenant name by default. A generated
|
|
1385
|
+
* 32-character key is not a name and is not shown, as in Organization settings.
|
|
1386
|
+
*/
|
|
1387
|
+
platformName?: string | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* The LMS base URL, where the course the certificate was earned for has its
|
|
1390
|
+
* page (`<lmsUrl>/courses/<course id>`); '' when the host is the LMS itself.
|
|
1391
|
+
* Without it the course is not a link.
|
|
1392
|
+
*/
|
|
1393
|
+
lmsUrl?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* Inside the host app: the host's frame is kept, the certificate fits the
|
|
1396
|
+
* host's scroll area, and Add to LinkedIn Profile is offered. Otherwise the
|
|
1397
|
+
* component is a page of its own, for visitors.
|
|
1398
|
+
*/
|
|
1399
|
+
inApp?: boolean;
|
|
1400
|
+
/** Standalone only: where someone signed in here sees the certificate instead, given their tenant. */
|
|
1401
|
+
inAppHref?: (tenant: string) => string;
|
|
1402
|
+
/** How to go there; `window.location.replace` by default. */
|
|
1403
|
+
onNavigate?: (href: string) => void;
|
|
1404
|
+
/** The signed-in visitor's tenant; localStorage's `tenant` by default. */
|
|
1405
|
+
readTenant?: () => string | null;
|
|
1406
|
+
}
|
|
1407
|
+
/** A name worth printing: not empty, and not a generated platform key. */
|
|
1408
|
+
declare const displayPlatformName: (name: string | null | undefined) => string | null;
|
|
1409
|
+
/**
|
|
1410
|
+
* An issued certificate anyone with the link can view, verify and share.
|
|
1411
|
+
* Standalone it is a page of its own; someone signed in here is sent to
|
|
1412
|
+
* `inAppHref` instead, where the host renders it with `inApp`.
|
|
1413
|
+
*/
|
|
1414
|
+
declare function PublicCertificate({ entityId, apiBaseUrl, url, logo, platformName, lmsUrl, inApp, inAppHref, onNavigate, readTenant, }: PublicCertificateProps): react_jsx_runtime.JSX.Element;
|
|
1415
|
+
|
|
1416
|
+
declare const publicCertificateUrl: (apiBaseUrl: string, entityId: string) => string;
|
|
1417
|
+
/**
|
|
1418
|
+
* DM's anonymous copy of an issued certificate, so it can back a page anyone
|
|
1419
|
+
* with the link can open. `apiBaseUrl` is the DM base, e.g. `https://api.example.com/dm`.
|
|
1420
|
+
*/
|
|
1421
|
+
declare function usePublicCertificate(entityId: string, apiBaseUrl: string): {
|
|
1422
|
+
data: PublicCertificate$1 | null;
|
|
1423
|
+
isLoading: boolean;
|
|
1424
|
+
isError: boolean;
|
|
1425
|
+
isNotFound: boolean;
|
|
1426
|
+
refetch: () => void;
|
|
1427
|
+
};
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* The logo printed on an organisation's certificates: its SPA display logo
|
|
1431
|
+
* from the tenant metadata, else its org logo on DM (`apiBaseUrl`, the DM base).
|
|
1432
|
+
*/
|
|
1433
|
+
declare function useTenantLogo(org: string, apiBaseUrl?: string): string | null;
|
|
1434
|
+
|
|
1261
1435
|
interface SearchableMultiSelectProps<T = any> {
|
|
1262
1436
|
items: T[];
|
|
1263
1437
|
selectedItems: {
|
|
@@ -7459,5 +7633,5 @@ interface PreviewPlan {
|
|
|
7459
7633
|
*/
|
|
7460
7634
|
declare function previewPlan(source: string | null | undefined, hint?: string | null): PreviewPlan | null;
|
|
7461
7635
|
|
|
7462
|
-
export { ACCESS_COURSE_LABEL, ALL_CATEGORIES, AccessTimeHeatmap, AccessibilityFab, AccessibilityProvider, AccessibilityToolbar, AccessiblePaginate, AddMentorToProjectModal, AddSkillDialog, Admin, AdvancedTab, AgentConfigPrompts, AgentScopeLink, AgentSettingsLauncherProvider, AgentSettingsLink, AgentSkills, AlertsTab, AnalyticsAgentPicker, AnalyticsAreaChart, AnalyticsAuditLogStats, AnalyticsBarChart, AnalyticsControlBar, AnalyticsCourseDetail, AnalyticsCourses, AnalyticsFinancialStats, AnalyticsGlobalFiltersProvider, AnalyticsLayout, AnalyticsLlmUsageStats, AnalyticsMemoryStats, AnalyticsMonetizationStats, AnalyticsNotice, AnalyticsOverview, AnalyticsPlatformAuditLog, AnalyticsProgramDetail, AnalyticsPrograms, AnalyticsReportDownload, AnalyticsReports, AnalyticsScopeProvider, AnalyticsSettingsProvider, AnalyticsTopicsStats, AnalyticsTraces, AnalyticsTranscriptsStats, AnalyticsUsersStats, ApiTab, AppleRestrictionModal, ApplyWizard, AuditLogChangesView, AuditLogJsonView, BUILDER_DEFAULT_INSTRUCTIONS, BUY_NOW_LABEL, BillingTab, CATALOGS, CHART_ORDINAL_RAMP, CHART_SERIES_COLORS, CHART_SINGLE_SERIES_COLOR, CLASSIFIER_HANDLES, CLASSIFIER_LIMITS, CREATE_AGENT_LABELS, CREATE_AGENT_WIZARD_STEPS, CUA_DRIVER_REPO_URL, CUA_DRIVER_TAURI_COMMANDS, CUA_DRIVER_TAURI_EVENTS, CanvasDialog, CanvasView, CardInfoIcon, CategorizedDropdownMenu, ChartCardWrapper, ChartFiltersProvider, ChartLoading, ChartTooltipCard, ChatContext, ChatPrivacyToggle, ChatProvider, CompanyDialog, ConnectorManagementDialog, ContactAdminModal, ConversationSentiment, ConversationTopics, CopyButtonIcon, CourseAccessGuard, CourseCardSkeleton, CourseContentLoading, CourseOutline, CourseOutlineContext, CourseOutlineDrawer, CreateAgentForm, CreateAgentModal, CreateAgentWizard, CreateProjectModal, CreateWorkflowModal, CredentialBox, CredentialMiniBoxSkeleton, CredentialsList, CreditBalance, CustomDateRangePicker, CustomTooltip, DEFAULT_COWORK_REQUIRED_SIZE_GB, DEFAULT_USER_IDENTITY_ORDER, DRAGGABLE_SNAP_TRANSITION, DefaultEmptyBox, DeleteProjectModal, DeleteWorkflowModal, DiscoverContentCard, DiscoverFacetsFilter, DiscoverFilterDrawer, DocumentSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENROLL_NOW_COURSE_STARTING_SOON_LABEL, ENROLL_NOW_LABEL, EXPRESSION_EXAMPLES, EditAlertDialog, EducationBox, EducationDialog, EducationTab, EdxIframeContext, EmptyStats, ExperienceBox, ExperienceDialog, ExperienceTab, FacetFilterContext, FloatingAccessibilityButton, Footer, GradebookTab, GroupsFilterDropdown, HostPortChipInput, IBLAI_DECISION_MODEL, INPUT_PLACEHOLDER, INVITATION_ONLY_LABEL, InstitutionDialog, IntegrationsTab, InviteUserContent, InviteUserDialog, InvitedUsersDialog, LOCAL_LLM_CHANGED_EVENT, LOCAL_MODELS, LlmModelBadge, Loader, LocalLLMTab, LocalModelsContent, LoginButton, MACOS_PERMISSIONS_COMMANDS, MEMORY_PAGE_SIZE, Markdown, MasterAgent, MasterAgentPanel, MasterAgentProvider, McpServersMenu, MemoryAdminTab, MinimumMentorAlert, MonetizationTab, NotificationDisplay, NotificationDropdown, ONBOARDING_FIELD_TYPES, ONBOARDING_METADATA_KEY, ONBOARDING_METADATA_VERSION, ONBOARDING_SECTORS, OnboardingField, OnboardingShell, OnboardingWizard, PLATFORM_AUDIT_DEEP_PAGING_THRESHOLD, PLATFORM_AUDIT_PAGE_SIZE, PRIVACY_AUDIT_LOG_DEFAULT_PAGE_SIZE, PaywallModal, PlacementExam, PlacementExamsDropdown, PlatformAuditLogDetailSheet, PlatformNavbar, PlatformNavbarSearch, PrivacyAuditLog, PrivacyAuditLogModal, PrivacyFlagDetail, Profile, ProfileTimeChart, ProgressDots, ProjectActionButtons, ProjectFilesModal, ProjectInstructionsModal, ProjectLandingPage, ProjectMentorsList, ProjectsPage, REQUEST_ACCESS_COURSE_STARTING_SOON_LABEL, REQUEST_ACCESS_LABEL, RankedBars, RenameProjectModal, ResumeBox, ResumeTab, RetrievedDocumentsButton, RichTextEditor, SERVICE_COLOR_ORDER, SandboxConfig, SearchableMultiSelect, SecretsTab, SendNotificationDialog, SessionCanvasCards, SignupButton, SkeletonActivityStatBox, SkeletonAddSkillsLoading, SkeletonCreatePathwaySearchList, SkeletonDiscoverFilterBox, SkeletonEducationBox, SkeletonMultiplier, SkeletonPathwayBox, SkeletonProfileInfoCard, SkeletonSkillBox, SkillBox, SkillDetailModal, SkillLeaderboardChart, SkillsBox, SkillsList, SlashSkillPicker, SourceChip, Spinner, StatCard, StepHeader, SubscriptionTopBanner, SummerNoteTextEditor, TAURI_COMMANDS, TAURI_EVENTS, TRACES_PAGE_SIZE, TenantSwitcher, TimeFilter, TimeTrackingProvider, TimedExam, ToolCallIndicator, ToolDialogs, TopBanner, TranscriptFileCards, TranscriptRollupBadges, TranscriptTurnDetails, TrendSparkline, USER_ONBOARDING_FORM_SLUG, USER_ONBOARDING_FORM_VERSION, USER_ONBOARDING_SUBMISSION_SLUG, UpgradePackageModal, UserAvatar, UserOnboardingWizard, UserProfileDialog, UserProfileLink, Version, VirtualMachineAdminTab, VirtualMachineNetworkSection, WHILE_DEFAULT_MAX_ITERATIONS, WHILE_DONE_HANDLE, WHILE_LOOP_HANDLE, WHILE_MAX_ITERATIONS, WebContainersI18nProvider, WorkflowSidebar, YourActivityButton, YourActivityPanel, addBookmarksTab, areChartFiltersEqual, availablePlacementExams, buildOnboardingAgentPath, buildOnboardingMetadata, buildUserOnboardingFormMetadata, buildUserOnboardingSubmissionMetadata, canOpenOrganizationSettings, canReceiveConnection, categoryIdFor, chatTextPreview, classifierAnswerType, classifierBranches, coerceOnboardingAgent, coerceOnboardingAgents, coerceUserOnboardingForm, collectVariableUsages, collectWorkflowVariables, colorForRank, colorForSeries, configureCanvasMarkdown, configureHtmlPreview, conversationDocuments, conversationTitle, conversationTopics, describeTextFile, downloadBlob, edgeIdFor, emptyUserOnboardingForm, findLastResumeBlock, findMathSegments, findOnboardingAgent, findSequentialParent, firstHumanMessage, flattenVerticalBlocks, formatAuditTimestamp, formatCompactNumber, formatFileSize, formatLatencySeconds, formatResult, formatSessionDate, formatTimeZoneLabel, getCatalog, getConditionCount, getConditions, getFirstAvailableUnit, getFriendlyToolName, getLLMModelDisplayName, getLocalLLMModel, getLocalLLMToolSupport, getNextUnitIframe, getOrg, getParentBlockById, getParentsInfosFromSublessonId, getPreviousUnitIframe, getQueryLabel, getRandomCourseImage, getSectorById, getTenant, getUnitToIframe, getUserId, getUserName, granularityForFilter, hasDistinctName, hasOnboardingContent, headlineStreak, humanizeAuditToken, humanizeFieldName, inBrowserPrint, inIframe, inferProviderKeysFromModel, initialCuaDriverInstallState, initialModelDownloadState, installOpaqueOriginMessageGuard, isAuthoredInstructions, isClassifierType, isCodeFile, isCoworkEnabled, isEmailLike, isFileReference, isLlmUsageForbidden, isLlmUsageUnavailable, isLocalLLMEnabled, isLtiPlaceholderEmail, isPlatformNavbarCreditBalanceVisible, isSlashCommandToken, isTauriApp, isUntrustedOpaqueSender, isValidTimeZone, isValidVariableName, latexToReadableText, llmUsageDateArgs, localModelDisplayName, components as markdownComponents, migrateNodeData, migrateWorkflowDefinition, modelSupportsCowork, newClassifierData, onboardingPrimaryButtonClass, onboardingSecondaryButtonClass, parseVariableDefault, placeholderSources, previewPlan, readUserOnboardingForm, readUserOnboardingSubmission, readUserOnboardingSubmissions, reconcileClassifierEdges, reindexConditionEdges, resolveAuditTimeZone, resolveBinaryMimeType, resolveCreateAgentLabels, resolveEffectiveFileExtension, resolveUserIdentity, sanitizeCss, sanitizeFilename, setCoworkEnabled, setLocalLLMEnabled, setLocalLLMModel, setLocalLLMToolSupport, shouldUseBinaryCanvas, smallestCoworkModel, startVariableDefaults, stepHasResult, stepPlaceholder, stepsBefore, summarizeTranscriptTurns, toChatPrivacyActionError, toFileReference, toRetrievedDocuments, toToolCallInfos, useAccessibility, useAgentSettingsLauncher, useAnalyticsGlobalFilters, useAnalyticsScope, useAnalyticsSettings, useAuditLog, useCatalogSearch, useChartFilters, useChatPrivacy, useChatState, useCourseDetail, useCourseMetadata, useCourses, useCreateAgentFieldPermissions, useCredentialsSchemaLogos, useCuaDriver, useDiscover, useDraggablePosition, useEdxIframe, useFinancial, useIframeMessageHandler, useLlmDisplayName, useLlmProviderCatalogue, useLlmTraces, useLlmUsage, useLocalStorage, useMasterAgentToggle, useMemory, useModelDownload, useMonetization, useOverview, usePlatformAuditLabels, usePlatformAuditLog, useProfileActivityStats, useProfileCredentials, useProfilePathways, useProfilePrograms, useProfileSkills, useProfileTimeSpent, usePrograms, useReports, useScopedMentorDbId, useScopedMentorId, useSelectedLocalModel, useSessionCanvases, useSlashSkillPicker, useSlashSkills, useT, useTauri, useTimeTracking, useTopics, useTranscripts, useUserCourses, useUserMetadata, useUsers, useWebContainersI18n, useWebContainersLocale, useYourActivity, variablePlaceholder, withCategoryLabel, withoutNoteConnectivityWarnings };
|
|
7463
|
-
export type { AccessibilityContextType, AccessibilityFabProps, AccessibilitySettings, AccessibilityToolbarProps, ActivityStats, AddSkillDialogProps, AddSkillDialogResultRow, AgentPromptDefaults, AgentScopeLinkProps, AgentSettingsLauncherValue, AgentSettingsLinkProps, AgentSettingsTarget, AnalyticsAgentPickerProps, AnalyticsChartPoint, AnalyticsControlBarProps, AnalyticsDataSource, AnalyticsMemoryStatsProps, AnalyticsNoticeTone, AnalyticsPlatformAuditLogProps, AnalyticsScopeValue, AnalyticsScopedMentor, AnalyticsSettings, AnalyticsTracesProps, ApiTabProps, ApplyWizardProps, AuditLogDateRange, AuditLogJsonViewProps, AuditLogScope, AvailablePlacementExam, CanvasDialogProps, CanvasMarkdownEngine, CanvasViewProps, CatalogSearchParams, CategorizedDropdownAction, CategorizedDropdownMenuProps, CategorizedItem, CategoryConfig, ChartDateRange, ChartFilters, ChatContextValue, ChatPrivacyAction, ChatPrivacyActionError, ChatPrivacyToggleProps, ChatProviderProps, ClassifierAnswerType, ClassifierBranch, ClassifierBranchKind, ClassifierCategory, ClassifierExample, ClassifierHistory, ClassifierLevel, ClassifierTryOutcome, ClassifierWhenUnsure, Condition, ContactAdminModalProps, ConversationSentimentLabels, ConversationSentimentProps, ConversationTitleSource, ConversationTopicsProps, CourseAccessGuardProps, CourseAssignmentPolicy, CourseCertificateData, CourseCompletion, CourseCompletionData, CourseCompletionSummary, CourseEdxData, CourseEligibility, CourseFacet, CourseFacetTerm, CourseGrade, CourseGradingPolicy, CourseInfoLoadingState, CourseInstructor, CourseInstructorInfo, CourseOutlineChildNode, CourseOutlineContextType, CourseOutlineNode, CourseOutlineResponse, CourseProgress, CourseSectionScore, CourseSubsection, CourseVerificationData, CreateAgentFormProps, CreateAgentFormValues, CreateAgentInitialValues, CreateAgentLabels, CreateAgentModalProps, CreateAgentOption, CreateAgentWizardProps, CreateAgentWizardStep, CreateAgentWizardStepArgs, CreateProjectModalProps, CreatedAgent, CredentialBoxProps, CuaDriverInstallProgress, CuaDriverInstallState, CuaDriverStatus, DefaultEmptyBoxProps, DeleteProjectModalProps, DiscoverContent, DiscoverContentCardComponentProps, DiscoverContentCardProps, DiskSpaceError, DocumentSidebarProps, DownloadProgress, DraggableAnchor, DraggableCorner, DraggablePosition, DraggableSide, EducationBoxProps, EdxIframeContextValue, EdxOutlineNodeLike, ExperienceBoxProps, FacetFilterContextValue, FlatVerticalBlock, FooterProps, GenericPagination, GroupOption, HostPortChipInputProps, HtmlPreviewConfig, InstallationLog, InviteUserContentProps, LlmModelBadgeProps, LlmProviderDetails, LocalLLMTabProps, LocalModel, LocalModelsContentProps, LoginButtonProps, MarkdownMenuItem, MasterAgentPanelProps, MasterAgentProps, MasterAgentProviderProps, MathSegment, McpConnector, McpServersMenuProps, MemoryAggregates, MemoryCategoryBreakdown, MemoryDateRange, MemoryRow, MemoryScope, ModelDownloadState, NodeConfig, NodeTypeItem, NodeTypeSection, Notification, NotificationDisplayProps, NotificationDropdownProps, OllamaStatus, OnboardingAgentEmbed, OnboardingAnswers, OnboardingFinalStepContext, OnboardingSector, OnboardingStepHeader, OnboardingWizardProps, ParsedDefault, PlacedCanvas, PlacementExamProps, PlatformAuditDateRange, PlatformAuditFilters, PlatformAuditLabels, PlatformNavbarActivityConfig, PlatformNavbarCreditBalanceConfig, PlatformNavbarNotificationsConfig, PlatformNavbarPlacementsConfig, PlatformNavbarPrivacyToggleConfig, PlatformNavbarProps, PlatformNavbarSearchConfig, PreviewKind, PreviewPlan, PrivacyAuditLogModalProps, PrivacyAuditLogProps, PrivacyFlagDetailProps, ProfileCustomization, ProfileTimeChartProps, ProjectsPageProps, RankedBarItem, RenameProjectModalProps, ResolvedUserIdentity, ResumeBoxProps, RetrievedDocument, RetrievedDocumentsButtonProps, SearchedMentor, SecretsTabProps, SelectedLocalModel, SessionCanvasCardsProps, SessionCanvases, SetStateAssignment, SignupButtonProps, SkeletonMultiplierProps, SkillBoxProps, SkillBoxSkill, SkillDetailModalProps, SkillDetailModalSkill, SkillLeaderboardChartProps, SkillsBoxProps, SlashSkillPickerProps, StepReference, SubscriptionTopBannerProps, SummerNoteTextEditorProps, TabEntry, TenantMetadata, TextFileKind, TimeSpent, ToolCallIndicatorProps, TopBannerProps, TranscriptFileCardFile, TranscriptFileReference, TranscriptRollupBadgesProps, TranscriptTurnDetailsProps, TranscriptTurnDetailsSlots, TranscriptTurnDetailsTurn, TranscriptTurnRollup, TransformExpression, UseCourseDetailOptions, UseCreateAgentFieldPermissionsArgs, UseCreateAgentFieldPermissionsResult, UseCredentialsSchemaLogosArgs, UseDiscoverOptions, UseDraggablePositionOptions, UseEdxIframeUrls, UseLlmDisplayNameArgs, UseLlmProviderCatalogueArgs, UseMemoryReturn, UsePlatformAuditLogReturn, UseProfilePathwaysArgs, UseProfileProgramsArgs, UseSessionCanvasesArgs, UseSlashSkillPickerArgs, UseSlashSkillPickerResult, UseSlashSkillsArgs, UseSlashSkillsResult, UseUserCoursesArgs, UserAvatarProps, UserCourseWithMetadata, UserIdentityField, UserIdentityOptions, UserIdentitySource, UserOnboardingAgent, UserOnboardingForm, UserOnboardingSubmission, UserOnboardingSubmissions, UserProfileDialogProps, UserProfileLinkProps, UserSkill, Variable, VirtualMachineAdminTabProps, VirtualMachineNetworkSectionProps, WebContainersI18nProviderProps, WebContainersI18nValue, WorkflowAgentSettingsConfig, YourActivityButtonProps, YourActivityPanelProps };
|
|
7636
|
+
export { ACCESS_COURSE_LABEL, ALL_CATEGORIES, AccessTimeHeatmap, AccessibilityFab, AccessibilityProvider, AccessibilityToolbar, AccessiblePaginate, AddMentorToProjectModal, AddSkillDialog, Admin, AdvancedTab, AgentConfigPrompts, AgentScopeLink, AgentSettingsLauncherProvider, AgentSettingsLink, AgentSkills, AlertsTab, AnalyticsAgentPicker, AnalyticsAreaChart, AnalyticsAuditLogStats, AnalyticsBarChart, AnalyticsControlBar, AnalyticsCourseDetail, AnalyticsCourses, AnalyticsFinancialStats, AnalyticsGlobalFiltersProvider, AnalyticsLayout, AnalyticsLlmUsageStats, AnalyticsMemoryStats, AnalyticsMonetizationStats, AnalyticsNotice, AnalyticsOverview, AnalyticsPlatformAuditLog, AnalyticsProgramDetail, AnalyticsPrograms, AnalyticsReportDownload, AnalyticsReports, AnalyticsScopeProvider, AnalyticsSettingsProvider, AnalyticsTopicsStats, AnalyticsTraces, AnalyticsTranscriptsStats, AnalyticsUsersStats, ApiTab, AppleRestrictionModal, ApplyWizard, AuditLogChangesView, AuditLogJsonView, BUILDER_DEFAULT_INSTRUCTIONS, BUY_NOW_LABEL, BillingTab, CATALOGS, CERTIFICATE_HEIGHT, CERTIFICATE_WIDTH, CHART_ORDINAL_RAMP, CHART_SERIES_COLORS, CHART_SINGLE_SERIES_COLOR, CLASSIFIER_HANDLES, CLASSIFIER_LIMITS, CREATE_AGENT_LABELS, CREATE_AGENT_WIZARD_STEPS, CUA_DRIVER_REPO_URL, CUA_DRIVER_TAURI_COMMANDS, CUA_DRIVER_TAURI_EVENTS, CanvasDialog, CanvasView, CardInfoIcon, CategorizedDropdownMenu, CertificateFace, CertificateThumbnail, ChartCardWrapper, ChartFiltersProvider, ChartLoading, ChartTooltipCard, ChatContext, ChatPrivacyToggle, ChatProvider, CompanyDialog, ConnectorManagementDialog, ContactAdminModal, ConversationSentiment, ConversationTopics, CopyButtonIcon, CourseAccessGuard, CourseCardSkeleton, CourseContentLoading, CourseOutline, CourseOutlineContext, CourseOutlineDrawer, CreateAgentForm, CreateAgentModal, CreateAgentWizard, CreateProjectModal, CreateWorkflowModal, CredentialBox, CredentialMiniBoxSkeleton, CredentialsList, CreditBalance, CustomDateRangePicker, CustomTooltip, DEFAULT_COWORK_REQUIRED_SIZE_GB, DEFAULT_USER_IDENTITY_ORDER, DRAGGABLE_SNAP_TRANSITION, DefaultEmptyBox, DeleteProjectModal, DeleteWorkflowModal, DiscoverContentCard, DiscoverFacetsFilter, DiscoverFilterDrawer, DocumentSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENROLL_NOW_COURSE_STARTING_SOON_LABEL, ENROLL_NOW_LABEL, EXPRESSION_EXAMPLES, EditAlertDialog, EducationBox, EducationDialog, EducationTab, EdxIframeContext, EmptyStats, ExperienceBox, ExperienceDialog, ExperienceTab, FacetFilterContext, FloatingAccessibilityButton, Footer, GradebookTab, GroupsFilterDropdown, HostPortChipInput, IBLAI_DECISION_MODEL, INPUT_PLACEHOLDER, INVITATION_ONLY_LABEL, InstitutionDialog, IntegrationsTab, InviteUserContent, InviteUserDialog, InvitedUsersDialog, ItemMonetization, LOCAL_LLM_CHANGED_EVENT, LOCAL_MODELS, LlmModelBadge, Loader, LocalLLMTab, LocalModelsContent, LoginButton, MACOS_PERMISSIONS_COMMANDS, MEMORY_PAGE_SIZE, Markdown, MasterAgent, MasterAgentPanel, MasterAgentProvider, McpServersMenu, MemoryAdminTab, MinimumMentorAlert, MonetizationTab, NotificationDisplay, NotificationDropdown, ONBOARDING_FIELD_TYPES, ONBOARDING_METADATA_KEY, ONBOARDING_METADATA_VERSION, ONBOARDING_SECTORS, OnboardingField, OnboardingShell, OnboardingWizard, PLATFORM_AUDIT_DEEP_PAGING_THRESHOLD, PLATFORM_AUDIT_PAGE_SIZE, PRIVACY_AUDIT_LOG_DEFAULT_PAGE_SIZE, PaywallModal, PlacementExam, PlacementExamsDropdown, PlatformAuditLogDetailSheet, PlatformNavbar, PlatformNavbarSearch, PrivacyAuditLog, PrivacyAuditLogModal, PrivacyFlagDetail, Profile, ProfileTimeChart, ProgressDots, ProjectActionButtons, ProjectFilesModal, ProjectInstructionsModal, ProjectLandingPage, ProjectMentorsList, ProjectsPage, PublicCertificate, REQUEST_ACCESS_COURSE_STARTING_SOON_LABEL, REQUEST_ACCESS_LABEL, RankedBars, RenameProjectModal, ResumeBox, ResumeTab, RetrievedDocumentsButton, RichTextEditor, SERVICE_COLOR_ORDER, SandboxConfig, ScaledCertificate, SearchableMultiSelect, SecretsTab, SendNotificationDialog, SessionCanvasCards, SignupButton, SkeletonActivityStatBox, SkeletonAddSkillsLoading, SkeletonCreatePathwaySearchList, SkeletonDiscoverFilterBox, SkeletonEducationBox, SkeletonMultiplier, SkeletonPathwayBox, SkeletonProfileInfoCard, SkeletonSkillBox, SkillBox, SkillDetailModal, SkillLeaderboardChart, SkillsBox, SkillsList, SlashSkillPicker, SourceChip, Spinner, StatCard, StepHeader, SubscriptionTopBanner, SummerNoteTextEditor, TAURI_COMMANDS, TAURI_EVENTS, TRACES_PAGE_SIZE, TenantSwitcher, TimeFilter, TimeTrackingProvider, TimedExam, ToolCallIndicator, ToolDialogs, TopBanner, TranscriptFileCards, TranscriptRollupBadges, TranscriptTurnDetails, TrendSparkline, USER_ONBOARDING_FORM_SLUG, USER_ONBOARDING_FORM_VERSION, USER_ONBOARDING_SUBMISSION_SLUG, UpgradePackageModal, UserAvatar, UserOnboardingWizard, UserProfileDialog, UserProfileLink, Version, VirtualMachineAdminTab, VirtualMachineNetworkSection, WHILE_DEFAULT_MAX_ITERATIONS, WHILE_DONE_HANDLE, WHILE_LOOP_HANDLE, WHILE_MAX_ITERATIONS, WebContainersI18nProvider, WorkflowSidebar, YourActivityButton, YourActivityPanel, addBookmarksTab, areChartFiltersEqual, availablePlacementExams, buildOnboardingAgentPath, buildOnboardingMetadata, buildUserOnboardingFormMetadata, buildUserOnboardingSubmissionMetadata, canOpenOrganizationSettings, canReceiveConnection, categoryIdFor, certificateShareUrls, certificateSignatories, chatTextPreview, classifierAnswerType, classifierBranches, coerceOnboardingAgent, coerceOnboardingAgents, coerceUserOnboardingForm, collectVariableUsages, collectWorkflowVariables, colorForRank, colorForSeries, configureCanvasMarkdown, configureHtmlPreview, conversationDocuments, conversationTitle, conversationTopics, describeTextFile, displayPlatformName, downloadBlob, edgeIdFor, emptyUserOnboardingForm, findLastResumeBlock, findMathSegments, findOnboardingAgent, findSequentialParent, firstHumanMessage, flattenVerticalBlocks, formatAuditTimestamp, formatCompactNumber, formatFileSize, formatLatencySeconds, formatResult, formatSessionDate, formatTimeZoneLabel, getCatalog, getConditionCount, getConditions, getFirstAvailableUnit, getFriendlyToolName, getLLMModelDisplayName, getLocalLLMModel, getLocalLLMToolSupport, getNextUnitIframe, getOrg, getParentBlockById, getParentsInfosFromSublessonId, getPreviousUnitIframe, getQueryLabel, getRandomCourseImage, getSectorById, getTenant, getUnitToIframe, getUserId, getUserName, granularityForFilter, hasDistinctName, hasOnboardingContent, headlineStreak, humanizeAuditToken, humanizeFieldName, inBrowserPrint, inIframe, inferProviderKeysFromModel, initialCuaDriverInstallState, initialModelDownloadState, installOpaqueOriginMessageGuard, isAuthoredInstructions, isClassifierType, isCodeFile, isCoworkEnabled, isEmailLike, isFileReference, isLlmUsageForbidden, isLlmUsageUnavailable, isLocalLLMEnabled, isLtiPlaceholderEmail, isPlatformNavbarCreditBalanceVisible, isSlashCommandToken, isTauriApp, isUntrustedOpaqueSender, isValidTimeZone, isValidVariableName, latexToReadableText, llmUsageDateArgs, lmsCoursePath, localModelDisplayName, components as markdownComponents, migrateNodeData, migrateWorkflowDefinition, modelSupportsCowork, newClassifierData, onboardingPrimaryButtonClass, onboardingSecondaryButtonClass, parseIssuedOn, parseVariableDefault, placeholderSources, previewPlan, publicCertificatePath, publicCertificateUrl, readUserOnboardingForm, readUserOnboardingSubmission, readUserOnboardingSubmissions, reconcileClassifierEdges, reindexConditionEdges, resolveAuditTimeZone, resolveBinaryMimeType, resolveCreateAgentLabels, resolveEffectiveFileExtension, resolveUserIdentity, sanitizeCss, sanitizeFilename, sealLines, setCoworkEnabled, setLocalLLMEnabled, setLocalLLMModel, setLocalLLMToolSupport, shouldUseBinaryCanvas, smallestCoworkModel, startVariableDefaults, stepHasResult, stepPlaceholder, stepsBefore, summarizeTranscriptTurns, tenantLogo, toChatPrivacyActionError, toFileReference, toRetrievedDocuments, toToolCallInfos, useAccessibility, useAgentSettingsLauncher, useAnalyticsGlobalFilters, useAnalyticsScope, useAnalyticsSettings, useAuditLog, useCatalogSearch, useChartFilters, useChatPrivacy, useChatState, useCourseDetail, useCourseMetadata, useCourses, useCreateAgentFieldPermissions, useCredentialsSchemaLogos, useCuaDriver, useDiscover, useDraggablePosition, useEdxIframe, useFinancial, useIframeMessageHandler, useLlmDisplayName, useLlmProviderCatalogue, useLlmTraces, useLlmUsage, useLocalStorage, useMasterAgentToggle, useMemory, useModelDownload, useMonetization, useOverview, usePlatformAuditLabels, usePlatformAuditLog, useProfileActivityStats, useProfileCredentials, useProfilePathways, useProfilePrograms, useProfileSkills, useProfileTimeSpent, usePrograms, usePublicCertificate, useReports, useScopedMentorDbId, useScopedMentorId, useSelectedLocalModel, useSessionCanvases, useSlashSkillPicker, useSlashSkills, useT, useTauri, useTenantLogo, useTimeTracking, useTopics, useTranscripts, useUserCourses, useUserMetadata, useUsers, useWebContainersI18n, useWebContainersLocale, useYourActivity, variablePlaceholder, withCategoryLabel, withoutNoteConnectivityWarnings };
|
|
7637
|
+
export type { AccessibilityContextType, AccessibilityFabProps, AccessibilitySettings, AccessibilityToolbarProps, ActivityStats, AddSkillDialogProps, AddSkillDialogResultRow, AgentPromptDefaults, AgentScopeLinkProps, AgentSettingsLauncherValue, AgentSettingsLinkProps, AgentSettingsTarget, AnalyticsAgentPickerProps, AnalyticsChartPoint, AnalyticsControlBarProps, AnalyticsDataSource, AnalyticsMemoryStatsProps, AnalyticsNoticeTone, AnalyticsPlatformAuditLogProps, AnalyticsScopeValue, AnalyticsScopedMentor, AnalyticsSettings, AnalyticsTracesProps, ApiTabProps, ApplyWizardProps, AuditLogDateRange, AuditLogJsonViewProps, AuditLogScope, AvailablePlacementExam, CanvasDialogProps, CanvasMarkdownEngine, CanvasViewProps, CatalogSearchParams, CategorizedDropdownAction, CategorizedDropdownMenuProps, CategorizedItem, CategoryConfig, CertificateFaceProps, CertificateShareParams, CertificateSignatory, ChartDateRange, ChartFilters, ChatContextValue, ChatPrivacyAction, ChatPrivacyActionError, ChatPrivacyToggleProps, ChatProviderProps, ClassifierAnswerType, ClassifierBranch, ClassifierBranchKind, ClassifierCategory, ClassifierExample, ClassifierHistory, ClassifierLevel, ClassifierTryOutcome, ClassifierWhenUnsure, Condition, ContactAdminModalProps, ConversationSentimentLabels, ConversationSentimentProps, ConversationTitleSource, ConversationTopicsProps, CourseAccessGuardProps, CourseAssignmentPolicy, CourseCertificateData, CourseCompletion, CourseCompletionData, CourseCompletionSummary, CourseEdxData, CourseEligibility, CourseFacet, CourseFacetTerm, CourseGrade, CourseGradingPolicy, CourseInfoLoadingState, CourseInstructor, CourseInstructorInfo, CourseOutlineChildNode, CourseOutlineContextType, CourseOutlineNode, CourseOutlineResponse, CourseProgress, CourseSectionScore, CourseSubsection, CourseVerificationData, CreateAgentFormProps, CreateAgentFormValues, CreateAgentInitialValues, CreateAgentLabels, CreateAgentModalProps, CreateAgentOption, CreateAgentWizardProps, CreateAgentWizardStep, CreateAgentWizardStepArgs, CreateProjectModalProps, CreatedAgent, CredentialBoxProps, CuaDriverInstallProgress, CuaDriverInstallState, CuaDriverStatus, DefaultEmptyBoxProps, DeleteProjectModalProps, DiscoverContent, DiscoverContentCardComponentProps, DiscoverContentCardProps, DiskSpaceError, DocumentSidebarProps, DownloadProgress, DraggableAnchor, DraggableCorner, DraggablePosition, DraggableSide, EducationBoxProps, EdxIframeContextValue, EdxOutlineNodeLike, ExperienceBoxProps, FacetFilterContextValue, FlatVerticalBlock, FooterProps, GenericPagination, GroupOption, HostPortChipInputProps, HtmlPreviewConfig, InstallationLog, InviteUserContentProps, ItemMonetizationProps, LlmModelBadgeProps, LlmProviderDetails, LocalLLMTabProps, LocalModel, LocalModelsContentProps, LoginButtonProps, MarkdownMenuItem, MasterAgentPanelProps, MasterAgentProps, MasterAgentProviderProps, MathSegment, McpConnector, McpServersMenuProps, MemoryAggregates, MemoryCategoryBreakdown, MemoryDateRange, MemoryRow, MemoryScope, ModelDownloadState, MonetizableItemType, NodeConfig, NodeTypeItem, NodeTypeSection, Notification, NotificationDisplayProps, NotificationDropdownProps, OllamaStatus, OnboardingAgentEmbed, OnboardingAnswers, OnboardingFinalStepContext, OnboardingSector, OnboardingStepHeader, OnboardingWizardProps, ParsedDefault, PlacedCanvas, PlacementExamProps, PlatformAuditDateRange, PlatformAuditFilters, PlatformAuditLabels, PlatformNavbarActivityConfig, PlatformNavbarCreditBalanceConfig, PlatformNavbarNotificationsConfig, PlatformNavbarPlacementsConfig, PlatformNavbarPrivacyToggleConfig, PlatformNavbarProps, PlatformNavbarSearchConfig, PreviewKind, PreviewPlan, PrivacyAuditLogModalProps, PrivacyAuditLogProps, PrivacyFlagDetailProps, ProfileCustomization, ProfileTimeChartProps, ProjectsPageProps, PublicCertificate$1 as PublicCertificateData, PublicCertificateProps, RankedBarItem, RenameProjectModalProps, ResolvedUserIdentity, ResumeBoxProps, RetrievedDocument, RetrievedDocumentsButtonProps, SearchedMentor, SecretsTabProps, SelectedLocalModel, SessionCanvasCardsProps, SessionCanvases, SetStateAssignment, SignupButtonProps, SkeletonMultiplierProps, SkillBoxProps, SkillBoxSkill, SkillDetailModalProps, SkillDetailModalSkill, SkillLeaderboardChartProps, SkillsBoxProps, SlashSkillPickerProps, StepReference, SubscriptionTopBannerProps, SummerNoteTextEditorProps, TabEntry, TenantMetadata, TextFileKind, TimeSpent, ToolCallIndicatorProps, TopBannerProps, TranscriptFileCardFile, TranscriptFileReference, TranscriptRollupBadgesProps, TranscriptTurnDetailsProps, TranscriptTurnDetailsSlots, TranscriptTurnDetailsTurn, TranscriptTurnRollup, TransformExpression, UseCourseDetailOptions, UseCreateAgentFieldPermissionsArgs, UseCreateAgentFieldPermissionsResult, UseCredentialsSchemaLogosArgs, UseDiscoverOptions, UseDraggablePositionOptions, UseEdxIframeUrls, UseLlmDisplayNameArgs, UseLlmProviderCatalogueArgs, UseMemoryReturn, UsePlatformAuditLogReturn, UseProfilePathwaysArgs, UseProfileProgramsArgs, UseSessionCanvasesArgs, UseSlashSkillPickerArgs, UseSlashSkillPickerResult, UseSlashSkillsArgs, UseSlashSkillsResult, UseUserCoursesArgs, UserAvatarProps, UserCourseWithMetadata, UserIdentityField, UserIdentityOptions, UserIdentitySource, UserOnboardingAgent, UserOnboardingForm, UserOnboardingSubmission, UserOnboardingSubmissions, UserProfileDialogProps, UserProfileLinkProps, UserSkill, Variable, VirtualMachineAdminTabProps, VirtualMachineNetworkSectionProps, WebContainersI18nProviderProps, WebContainersI18nValue, WorkflowAgentSettingsConfig, YourActivityButtonProps, YourActivityPanelProps };
|
package/dist/next/index.d.ts
CHANGED
|
@@ -205,6 +205,12 @@ interface UserProfileDropdownProps {
|
|
|
205
205
|
onHelpClick?: (url: string) => void;
|
|
206
206
|
currentPlan?: string;
|
|
207
207
|
currentSPA?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Builds the shareable page of an issued certificate from its id (the LMS
|
|
210
|
+
* serves it at `/certificates/<id>`). Passed to the profile so its
|
|
211
|
+
* certificates link to that page and can be shared.
|
|
212
|
+
*/
|
|
213
|
+
certificateUrl?: (certificateId: string) => string;
|
|
208
214
|
userActiveApp?: UserApp | null;
|
|
209
215
|
LearnerModeSwitchComponent?: React__default.ComponentType<any>;
|
|
210
216
|
CustomProfileModal?: React__default.ComponentType<any>;
|
|
@@ -266,7 +272,7 @@ interface UserProfileDropdownProps {
|
|
|
266
272
|
*/
|
|
267
273
|
accountSheet?: AccountSheetOptions;
|
|
268
274
|
}
|
|
269
|
-
declare function UserProfileDropdown({ email, mainPlatformKey, username, userIsAdmin, userIsStudent, userIsVisiting, tenantKey, visitingTenant, mentorId, userTenants, showProfileTab, showAccountTab, showTenantSwitcher, showOrganizationsLink, showHelpLink, showLogoutButton, showLearnerModeSwitch, helpCenterUrl, enableGravatarOnProfilePic, onProfileClick, onTabChange, onBillingTabRequest, onLogout, onOrganizationsClick, onHelpClick, currentPlan, userActiveApp, LearnerModeSwitchComponent, CustomProfileModal, className, dropdownClassName, avatarSize, metadata, metadataLoaded, currentSPA, showMentorAIDisplayCheckbox, showLeaderboardDisplayCheckbox, showGradebookTab, showUsernameField, showPlatformName, enableCatalogInvite, authURL, onTenantUpdate, currentPlatformBaseDomain, rbacPermissions, enableRbac, onLoadGroupPermissions, defaultSupportPhone, enableSupportPhone, localLLMProps, isModalOpen, onModalOpenChange, defaultActiveTab, onAccountDeleted, enableMemoryTab, showBenchmarks, onboardingBasePath, accountSheet, }: UserProfileDropdownProps): react_jsx_runtime.JSX.Element;
|
|
275
|
+
declare function UserProfileDropdown({ email, mainPlatformKey, username, userIsAdmin, userIsStudent, userIsVisiting, tenantKey, visitingTenant, mentorId, userTenants, showProfileTab, showAccountTab, showTenantSwitcher, showOrganizationsLink, showHelpLink, showLogoutButton, showLearnerModeSwitch, helpCenterUrl, enableGravatarOnProfilePic, onProfileClick, onTabChange, onBillingTabRequest, onLogout, onOrganizationsClick, onHelpClick, currentPlan, userActiveApp, LearnerModeSwitchComponent, CustomProfileModal, className, dropdownClassName, avatarSize, metadata, metadataLoaded, currentSPA, showMentorAIDisplayCheckbox, showLeaderboardDisplayCheckbox, showGradebookTab, showUsernameField, showPlatformName, enableCatalogInvite, authURL, onTenantUpdate, currentPlatformBaseDomain, rbacPermissions, enableRbac, onLoadGroupPermissions, defaultSupportPhone, enableSupportPhone, localLLMProps, isModalOpen, onModalOpenChange, defaultActiveTab, onAccountDeleted, enableMemoryTab, showBenchmarks, onboardingBasePath, certificateUrl, accountSheet, }: UserProfileDropdownProps): react_jsx_runtime.JSX.Element;
|
|
270
276
|
|
|
271
277
|
interface UserProfileModalProps$1 {
|
|
272
278
|
isOpen: boolean;
|
|
@@ -290,6 +296,12 @@ interface UserProfileModalProps$1 {
|
|
|
290
296
|
currentSPA?: string;
|
|
291
297
|
userActiveApp?: UserApp | null;
|
|
292
298
|
enableCatalogInvite?: boolean;
|
|
299
|
+
/**
|
|
300
|
+
* Builds the shareable page of an issued certificate from its id (the LMS
|
|
301
|
+
* serves it at `/certificates/<id>`). Passed to the profile so its
|
|
302
|
+
* certificates link to that page and can be shared.
|
|
303
|
+
*/
|
|
304
|
+
certificateUrl?: (certificateId: string) => string;
|
|
293
305
|
authURL: string;
|
|
294
306
|
onTenantUpdate?: (tenant: Tenant) => void;
|
|
295
307
|
currentPlatformBaseDomain?: string;
|
|
@@ -337,7 +349,7 @@ interface UserProfileModalProps$1 {
|
|
|
337
349
|
/** Help-center address the API page links to; no link without it. */
|
|
338
350
|
helpUrl?: string;
|
|
339
351
|
}
|
|
340
|
-
declare function UserProfileModal({ isOpen, onClose, params, email, mainPlatformKey, showMentorAIDisplayCheckbox, showLeaderboardDisplayCheckbox, showGradebookTab, showUsernameField, showPlatformName, useGravatarPicFallback, enableCatalogInvite, targetTab, currentPlan, currentSPA, userActiveApp, authURL, tenants, onTenantUpdate, currentPlatformBaseDomain, rbacPermissions, enableRbac, onLoadGroupPermissions, onTabChange, defaultSupportPhone, onBillingTabRequest, onAccountDeleted, enableMemoryTab, showLlmUsageTab, showOverviewTab, showBenchmarks, localLLMProps, enableSupportPhone, onboardingBasePath, helpUrl, }: UserProfileModalProps$1): react_jsx_runtime.JSX.Element;
|
|
352
|
+
declare function UserProfileModal({ isOpen, onClose, params, email, mainPlatformKey, showMentorAIDisplayCheckbox, showLeaderboardDisplayCheckbox, showGradebookTab, showUsernameField, showPlatformName, useGravatarPicFallback, enableCatalogInvite, targetTab, currentPlan, currentSPA, userActiveApp, authURL, tenants, onTenantUpdate, currentPlatformBaseDomain, rbacPermissions, enableRbac, onLoadGroupPermissions, onTabChange, defaultSupportPhone, onBillingTabRequest, onAccountDeleted, enableMemoryTab, showLlmUsageTab, showOverviewTab, showBenchmarks, localLLMProps, enableSupportPhone, onboardingBasePath, helpUrl, certificateUrl, }: UserProfileModalProps$1): react_jsx_runtime.JSX.Element;
|
|
341
353
|
|
|
342
354
|
interface UserProfileModalProps {
|
|
343
355
|
tenant: string;
|
|
@@ -1375,6 +1387,8 @@ interface SettingsTabLabels {
|
|
|
1375
1387
|
discovery: string;
|
|
1376
1388
|
capabilities: string;
|
|
1377
1389
|
welcomeScreen: string;
|
|
1390
|
+
/** Shown only when the host passes `monetization`; optional so existing label objects keep compiling. */
|
|
1391
|
+
monetization?: string;
|
|
1378
1392
|
};
|
|
1379
1393
|
/** Section headings within the Capabilities sub-tab. */
|
|
1380
1394
|
sections: {
|
|
@@ -1698,8 +1712,15 @@ interface AgentSettingsTabProps {
|
|
|
1698
1712
|
* `AGENT_SETTINGS_TAB_LABELS` (the package default).
|
|
1699
1713
|
*/
|
|
1700
1714
|
labels?: DeepPartial<SettingsTabLabels>;
|
|
1715
|
+
/**
|
|
1716
|
+
* Adds a Monetization sub-tab to put this agent behind a paywall. Pass it only
|
|
1717
|
+
* to users who may sell (tenant `enable_monetization` + `#can_sell_items`).
|
|
1718
|
+
*/
|
|
1719
|
+
monetization?: {
|
|
1720
|
+
authURL: string;
|
|
1721
|
+
};
|
|
1701
1722
|
}
|
|
1702
|
-
declare function AgentSettingsTab({ onSuccessfulSave, onSuccessfulDelete, tenants, isLoadingTenants, authUrl, onSuccessfulCopy, labels: labelsOverride, }: AgentSettingsTabProps): react_jsx_runtime.JSX.Element;
|
|
1723
|
+
declare function AgentSettingsTab({ onSuccessfulSave, onSuccessfulDelete, tenants, isLoadingTenants, authUrl, onSuccessfulCopy, labels: labelsOverride, monetization, }: AgentSettingsTabProps): react_jsx_runtime.JSX.Element;
|
|
1703
1724
|
|
|
1704
1725
|
/** Label slice consumed by this modal. */
|
|
1705
1726
|
type DeleteMentorModalLabels = SettingsTabLabels['deleteModal'];
|
|
@@ -2938,6 +2959,22 @@ interface AgentSpendCapsTabProps {
|
|
|
2938
2959
|
*/
|
|
2939
2960
|
tenantKey?: string;
|
|
2940
2961
|
mentorId?: string;
|
|
2962
|
+
/**
|
|
2963
|
+
* Adds a Costs section (the agent's Analytics › Costs view: spend, token
|
|
2964
|
+
* usage, traces) in front of Limits. Pass it only to users who may view
|
|
2965
|
+
* analytics for this agent.
|
|
2966
|
+
*/
|
|
2967
|
+
showCosts?: boolean;
|
|
2968
|
+
/**
|
|
2969
|
+
* Adds a Monetization section (paywall + prices for this agent) after
|
|
2970
|
+
* Limits. Pass it only to users who may sell on the tenant.
|
|
2971
|
+
*/
|
|
2972
|
+
monetization?: {
|
|
2973
|
+
/** Auth SPA URL; used for the paywall's checkout link and success redirect. */
|
|
2974
|
+
authURL: string;
|
|
2975
|
+
/** Shown until the paywall config returns its own item name. */
|
|
2976
|
+
itemName?: string;
|
|
2977
|
+
};
|
|
2941
2978
|
/**
|
|
2942
2979
|
* Extra classes merged onto the tab header / scrollable body. Hosts that
|
|
2943
2980
|
* embed the tab in a wide dialog (e.g. the tenant Agent Limits popup) use
|
|
@@ -2947,14 +2984,18 @@ interface AgentSpendCapsTabProps {
|
|
|
2947
2984
|
bodyClassName?: string;
|
|
2948
2985
|
}
|
|
2949
2986
|
/**
|
|
2950
|
-
* "Billing" tab of the agent settings modal
|
|
2951
|
-
* agent-level backend scopes: the agent's own spend
|
|
2952
|
-
* on this agent (user picked through a platform-user
|
|
2953
|
-
* workspace-wide limit is managed in the tenant settings Billing
|
|
2954
|
-
* (`SpendLimitsSection` inside `BillingTab`). Reads/writes the
|
|
2955
|
-
* admin endpoints; a 403 renders a friendly denied state per scope.
|
|
2987
|
+
* "Billing" tab of the agent settings modal. Its Limits section has two
|
|
2988
|
+
* sub-tabs matching the agent-level backend scopes: the agent's own spend
|
|
2989
|
+
* limit and per-user limits on this agent (user picked through a platform-user
|
|
2990
|
+
* search). The workspace-wide limit is managed in the tenant settings Billing
|
|
2991
|
+
* tab instead (`SpendLimitsSection` inside `BillingTab`). Reads/writes the
|
|
2992
|
+
* RBAC-gated admin endpoints; a 403 renders a friendly denied state per scope.
|
|
2993
|
+
*
|
|
2994
|
+
* Hosts can add a Costs section (`showCosts`) and a Monetization section
|
|
2995
|
+
* (`monetization`) around Limits; with neither, the tab is limits-only and
|
|
2996
|
+
* shows no section strip.
|
|
2956
2997
|
*/
|
|
2957
|
-
declare function AgentSpendCapsTab({ labels: labelsOverride, tenantKey: tenantKeyProp, mentorId: mentorIdProp, headerClassName, bodyClassName, }: AgentSpendCapsTabProps): react_jsx_runtime.JSX.Element;
|
|
2998
|
+
declare function AgentSpendCapsTab({ labels: labelsOverride, tenantKey: tenantKeyProp, mentorId: mentorIdProp, showCosts, monetization, headerClassName, bodyClassName, }: AgentSpendCapsTabProps): react_jsx_runtime.JSX.Element;
|
|
2958
2999
|
|
|
2959
3000
|
interface SpendCapUsageProps {
|
|
2960
3001
|
tenantKey: string;
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var check = require('../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/check.js');
|
|
5
|
-
|
|
6
|
-
function WizardStepIndicator({ steps, currentStep, onStepClick, }) {
|
|
7
|
-
const currentIndex = steps.findIndex((s) => s.key === currentStep);
|
|
8
|
-
return (jsxRuntime.jsx("div", { className: "flex items-center w-full mb-4", children: steps.map((step, i) => {
|
|
9
|
-
const isClickable = !!onStepClick;
|
|
10
|
-
return (jsxRuntime.jsxs("div", { className: `flex items-center${i > 0 ? ' flex-1' : ''}`, children: [i > 0 && jsxRuntime.jsx("div", { className: "flex-1 h-px bg-gray-300 dark:bg-gray-600 mx-2" }), jsxRuntime.jsxs("button", { type: "button", disabled: !isClickable, onClick: () => onStepClick === null || onStepClick === void 0 ? void 0 : onStepClick(step.key), className: `flex items-center gap-1.5 text-xs font-medium ${isClickable ? 'cursor-pointer hover:opacity-80' : 'cursor-default'} ${i < currentIndex
|
|
11
|
-
? 'text-blue-500'
|
|
12
|
-
: i === currentIndex
|
|
13
|
-
? 'text-gray-900 dark:text-gray-100'
|
|
14
|
-
: 'text-gray-400'}`, children: [jsxRuntime.jsx("span", { className: `flex items-center justify-center w-5 h-5 rounded-full text-[10px] font-semibold ${i < currentIndex
|
|
15
|
-
? 'bg-blue-100 text-blue-600'
|
|
16
|
-
: i === currentIndex
|
|
17
|
-
? 'bg-blue-500 text-white'
|
|
18
|
-
: 'bg-gray-200 text-gray-400 dark:bg-gray-700'}`, children: i < currentIndex ? jsxRuntime.jsx(check.default, { className: "h-3 w-3" }) : i + 1 }), step.label] })] }, step.key));
|
|
19
|
-
}) }));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
module.exports = WizardStepIndicator;
|
|
23
|
-
//# sourceMappingURL=wizard-step-indicator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-step-indicator.js","sources":["../../../../../../../../src/components/profile/monetization/wizard-step-indicator.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs","Check"],"mappings":";;;;;AAKc,SAAU,mBAAmB,CAAC,EAC1C,KAAK,EACL,WAAW,EACX,WAAW,GAKZ,EAAA;AACC,IAAA,MAAM,YAAY,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,WAAW,CAAC;AAClE,IAAA,QACEA,cAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,+BAA+B,EAAA,QAAA,EAC3C,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAI;AACrB,YAAA,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW;AACjC,YAAA,QACEC,eAAA,CAAA,KAAA,EAAA,EAAoB,SAAS,EAAE,oBAAoB,CAAC,GAAG,CAAC,GAAG,SAAS,GAAG,EAAE,CAAA,CAAE,EAAA,QAAA,EAAA,CACxE,CAAC,GAAG,CAAC,IAAID,wBAAK,SAAS,EAAC,+CAA+C,EAAA,CAAG,EAC3EC,eAAA,CAAA,QAAA,EAAA,EACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,WAAW,EACtB,OAAO,EAAE,MAAM,WAAW,KAAA,IAAA,IAAX,WAAW,KAAA,MAAA,GAAA,MAAA,GAAX,WAAW,CAAG,IAAI,CAAC,GAAG,CAAC,EACtC,SAAS,EAAE,CAAA,8CAAA,EACT,WAAW,GAAG,iCAAiC,GAAG,gBACpD,CAAA,CAAA,EACE,CAAC,GAAG;AACF,8BAAE;8BACA,CAAC,KAAK;AACN,kCAAE;kCACA,eACR,CAAA,CAAE,EAAA,QAAA,EAAA,CAEFD,cAAA,CAAA,MAAA,EAAA,EACE,SAAS,EAAE,CAAA,gFAAA,EACT,CAAC,GAAG;AACF,sCAAE;sCACA,CAAC,KAAK;AACN,0CAAE;AACF,0CAAE,4CACR,CAAA,CAAE,EAAA,QAAA,EAED,CAAC,GAAG,YAAY,GAAGA,cAAA,CAACE,aAAK,EAAA,EAAC,SAAS,EAAC,SAAS,EAAA,CAAG,GAAG,CAAC,GAAG,CAAC,EAAA,CACpD,EACN,IAAI,CAAC,KAAK,CAAA,EAAA,CACJ,KA5BD,IAAI,CAAC,GAAG,CA6BZ;QAEV,CAAC,CAAC,EAAA,CACE;AAEV;;;;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import Check from '../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/check.js';
|
|
3
|
-
|
|
4
|
-
function WizardStepIndicator({ steps, currentStep, onStepClick, }) {
|
|
5
|
-
const currentIndex = steps.findIndex((s) => s.key === currentStep);
|
|
6
|
-
return (jsx("div", { className: "flex items-center w-full mb-4", children: steps.map((step, i) => {
|
|
7
|
-
const isClickable = !!onStepClick;
|
|
8
|
-
return (jsxs("div", { className: `flex items-center${i > 0 ? ' flex-1' : ''}`, children: [i > 0 && jsx("div", { className: "flex-1 h-px bg-gray-300 dark:bg-gray-600 mx-2" }), jsxs("button", { type: "button", disabled: !isClickable, onClick: () => onStepClick === null || onStepClick === void 0 ? void 0 : onStepClick(step.key), className: `flex items-center gap-1.5 text-xs font-medium ${isClickable ? 'cursor-pointer hover:opacity-80' : 'cursor-default'} ${i < currentIndex
|
|
9
|
-
? 'text-blue-500'
|
|
10
|
-
: i === currentIndex
|
|
11
|
-
? 'text-gray-900 dark:text-gray-100'
|
|
12
|
-
: 'text-gray-400'}`, children: [jsx("span", { className: `flex items-center justify-center w-5 h-5 rounded-full text-[10px] font-semibold ${i < currentIndex
|
|
13
|
-
? 'bg-blue-100 text-blue-600'
|
|
14
|
-
: i === currentIndex
|
|
15
|
-
? 'bg-blue-500 text-white'
|
|
16
|
-
: 'bg-gray-200 text-gray-400 dark:bg-gray-700'}`, children: i < currentIndex ? jsx(Check, { className: "h-3 w-3" }) : i + 1 }), step.label] })] }, step.key));
|
|
17
|
-
}) }));
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export { WizardStepIndicator as default };
|
|
21
|
-
//# sourceMappingURL=wizard-step-indicator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-step-indicator.js","sources":["../../../../../../../../src/components/profile/monetization/wizard-step-indicator.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;AAKc,SAAU,mBAAmB,CAAC,EAC1C,KAAK,EACL,WAAW,EACX,WAAW,GAKZ,EAAA;AACC,IAAA,MAAM,YAAY,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,WAAW,CAAC;AAClE,IAAA,QACEA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,+BAA+B,EAAA,QAAA,EAC3C,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAI;AACrB,YAAA,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW;AACjC,YAAA,QACEC,IAAA,CAAA,KAAA,EAAA,EAAoB,SAAS,EAAE,oBAAoB,CAAC,GAAG,CAAC,GAAG,SAAS,GAAG,EAAE,CAAA,CAAE,EAAA,QAAA,EAAA,CACxE,CAAC,GAAG,CAAC,IAAID,aAAK,SAAS,EAAC,+CAA+C,EAAA,CAAG,EAC3EC,IAAA,CAAA,QAAA,EAAA,EACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,WAAW,EACtB,OAAO,EAAE,MAAM,WAAW,KAAA,IAAA,IAAX,WAAW,KAAA,MAAA,GAAA,MAAA,GAAX,WAAW,CAAG,IAAI,CAAC,GAAG,CAAC,EACtC,SAAS,EAAE,CAAA,8CAAA,EACT,WAAW,GAAG,iCAAiC,GAAG,gBACpD,CAAA,CAAA,EACE,CAAC,GAAG;AACF,8BAAE;8BACA,CAAC,KAAK;AACN,kCAAE;kCACA,eACR,CAAA,CAAE,EAAA,QAAA,EAAA,CAEFD,GAAA,CAAA,MAAA,EAAA,EACE,SAAS,EAAE,CAAA,gFAAA,EACT,CAAC,GAAG;AACF,sCAAE;sCACA,CAAC,KAAK;AACN,0CAAE;AACF,0CAAE,4CACR,CAAA,CAAE,EAAA,QAAA,EAED,CAAC,GAAG,YAAY,GAAGA,GAAA,CAAC,KAAK,EAAA,EAAC,SAAS,EAAC,SAAS,EAAA,CAAG,GAAG,CAAC,GAAG,CAAC,EAAA,CACpD,EACN,IAAI,CAAC,KAAK,CAAA,EAAA,CACJ,KA5BD,IAAI,CAAC,GAAG,CA6BZ;QAEV,CAAC,CAAC,EAAA,CACE;AAEV;;;;"}
|