@iblai/iblai-js 1.23.1 → 1.24.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.
|
@@ -64661,6 +64661,12 @@ var platformSidebar$3 = {
|
|
|
64661
64661
|
accountDescAdvanced: "Configure advanced organization settings.",
|
|
64662
64662
|
accountDescBilling: "Manage your billing and subscription."
|
|
64663
64663
|
};
|
|
64664
|
+
var platformNavbar$3 = {
|
|
64665
|
+
search: "Search",
|
|
64666
|
+
searchPlaceholder: "Search",
|
|
64667
|
+
logIn: "Log in",
|
|
64668
|
+
signUpForFree: "Sign up for free"
|
|
64669
|
+
};
|
|
64664
64670
|
var en = {
|
|
64665
64671
|
accessTabAddAccess: accessTabAddAccess$3,
|
|
64666
64672
|
accessTabLabels: accessTabLabels$3,
|
|
@@ -64896,7 +64902,8 @@ var en = {
|
|
|
64896
64902
|
workflowsDeleteWorkflowModal: workflowsDeleteWorkflowModal$3,
|
|
64897
64903
|
workflowsToolDialogs: workflowsToolDialogs$3,
|
|
64898
64904
|
ltiTabLabels: ltiTabLabels$3,
|
|
64899
|
-
platformSidebar: platformSidebar$3
|
|
64905
|
+
platformSidebar: platformSidebar$3,
|
|
64906
|
+
platformNavbar: platformNavbar$3
|
|
64900
64907
|
};
|
|
64901
64908
|
|
|
64902
64909
|
var accessTabAddAccess$2 = {
|
|
@@ -69964,6 +69971,12 @@ var platformSidebar$2 = {
|
|
|
69964
69971
|
accountDescAdvanced: "Configurez les paramètres avancés de l'organisation.",
|
|
69965
69972
|
accountDescBilling: "Gérez votre facturation et votre abonnement."
|
|
69966
69973
|
};
|
|
69974
|
+
var platformNavbar$2 = {
|
|
69975
|
+
search: "Rechercher",
|
|
69976
|
+
searchPlaceholder: "Rechercher",
|
|
69977
|
+
logIn: "Se connecter",
|
|
69978
|
+
signUpForFree: "S'inscrire gratuitement"
|
|
69979
|
+
};
|
|
69967
69980
|
var fr = {
|
|
69968
69981
|
accessTabAddAccess: accessTabAddAccess$2,
|
|
69969
69982
|
accessTabLabels: accessTabLabels$2,
|
|
@@ -70199,7 +70212,8 @@ var fr = {
|
|
|
70199
70212
|
workflowsDeleteWorkflowModal: workflowsDeleteWorkflowModal$2,
|
|
70200
70213
|
workflowsToolDialogs: workflowsToolDialogs$2,
|
|
70201
70214
|
ltiTabLabels: ltiTabLabels$2,
|
|
70202
|
-
platformSidebar: platformSidebar$2
|
|
70215
|
+
platformSidebar: platformSidebar$2,
|
|
70216
|
+
platformNavbar: platformNavbar$2
|
|
70203
70217
|
};
|
|
70204
70218
|
|
|
70205
70219
|
var accessTabAddAccess$1 = {
|
|
@@ -75267,6 +75281,12 @@ var platformSidebar$1 = {
|
|
|
75267
75281
|
accountDescAdvanced: "Configura los ajustes avanzados de la organización.",
|
|
75268
75282
|
accountDescBilling: "Gestiona tu facturación y suscripción."
|
|
75269
75283
|
};
|
|
75284
|
+
var platformNavbar$1 = {
|
|
75285
|
+
search: "Buscar",
|
|
75286
|
+
searchPlaceholder: "Buscar",
|
|
75287
|
+
logIn: "Iniciar sesión",
|
|
75288
|
+
signUpForFree: "Registrarse gratis"
|
|
75289
|
+
};
|
|
75270
75290
|
var es = {
|
|
75271
75291
|
accessTabAddAccess: accessTabAddAccess$1,
|
|
75272
75292
|
accessTabLabels: accessTabLabels$1,
|
|
@@ -75502,7 +75522,8 @@ var es = {
|
|
|
75502
75522
|
workflowsDeleteWorkflowModal: workflowsDeleteWorkflowModal$1,
|
|
75503
75523
|
workflowsToolDialogs: workflowsToolDialogs$1,
|
|
75504
75524
|
ltiTabLabels: ltiTabLabels$1,
|
|
75505
|
-
platformSidebar: platformSidebar$1
|
|
75525
|
+
platformSidebar: platformSidebar$1,
|
|
75526
|
+
platformNavbar: platformNavbar$1
|
|
75506
75527
|
};
|
|
75507
75528
|
|
|
75508
75529
|
var accessTabAddAccess = {
|
|
@@ -80570,6 +80591,12 @@ var platformSidebar = {
|
|
|
80570
80591
|
accountDescAdvanced: "配置组织的高级设置。",
|
|
80571
80592
|
accountDescBilling: "管理您的账单和订阅。"
|
|
80572
80593
|
};
|
|
80594
|
+
var platformNavbar = {
|
|
80595
|
+
search: "搜索",
|
|
80596
|
+
searchPlaceholder: "搜索",
|
|
80597
|
+
logIn: "登录",
|
|
80598
|
+
signUpForFree: "免费注册"
|
|
80599
|
+
};
|
|
80573
80600
|
var zh = {
|
|
80574
80601
|
accessTabAddAccess: accessTabAddAccess,
|
|
80575
80602
|
accessTabLabels: accessTabLabels,
|
|
@@ -80805,7 +80832,8 @@ var zh = {
|
|
|
80805
80832
|
workflowsDeleteWorkflowModal: workflowsDeleteWorkflowModal,
|
|
80806
80833
|
workflowsToolDialogs: workflowsToolDialogs,
|
|
80807
80834
|
ltiTabLabels: ltiTabLabels,
|
|
80808
|
-
platformSidebar: platformSidebar
|
|
80835
|
+
platformSidebar: platformSidebar,
|
|
80836
|
+
platformNavbar: platformNavbar
|
|
80809
80837
|
};
|
|
80810
80838
|
|
|
80811
80839
|
/**
|
|
@@ -227703,6 +227731,68 @@ function InviteStep({ tenant, onContinue, onBack, }) {
|
|
|
227703
227731
|
return (jsxs("div", { children: [jsx(StepHeader, { icon: Users, title: t('onboardingOnboardingWizard.inviteYourTeam'), subtitle: t('onboardingOnboardingWizard.teammatesCollaborate') }), jsx(InviteUserContent, { tenant: tenant, variant: "page" }), jsxs("div", { className: "mt-6 space-y-3", children: [jsx("button", { type: "button", onClick: onContinue, className: onboardingPrimaryButtonClass, children: t('onboardingOnboardingWizard.continue') }), jsx(BackLink, { onBack: onBack })] })] }));
|
|
227704
227732
|
}
|
|
227705
227733
|
|
|
227734
|
+
/**
|
|
227735
|
+
* The INVARIANT credit-balance visibility formula, shared by every SPA:
|
|
227736
|
+
* ecommerce (stripe) enabled AND the tenant shows the paywall (or IS the
|
|
227737
|
+
* main tenant) AND the viewer is a live admin or on a free trial AND
|
|
227738
|
+
* they are actually logged in.
|
|
227739
|
+
*
|
|
227740
|
+
* Exported so host apps can reuse the exact same signal for layout that
|
|
227741
|
+
* depends on it (e.g. narrowing the LLM-selector label when the balance
|
|
227742
|
+
* chip takes up navbar space).
|
|
227743
|
+
*/
|
|
227744
|
+
function isPlatformNavbarCreditBalanceVisible(config, visibleToLoggedInUsersOnly = true) {
|
|
227745
|
+
var _a, _b;
|
|
227746
|
+
if (!config)
|
|
227747
|
+
return false;
|
|
227748
|
+
return (visibleToLoggedInUsersOnly &&
|
|
227749
|
+
isLoggedIn() &&
|
|
227750
|
+
config.stripeEnabled &&
|
|
227751
|
+
(!!((_a = config.currentTenant) === null || _a === void 0 ? void 0 : _a.show_paywall) ||
|
|
227752
|
+
((_b = config.currentTenant) === null || _b === void 0 ? void 0 : _b.key) === config.mainPlatformKey) &&
|
|
227753
|
+
(config.isLiveAdmin || !!config.userOnFreeTrial));
|
|
227754
|
+
}
|
|
227755
|
+
/**
|
|
227756
|
+
* Invariant right-side search bar. Submits on Enter or icon click.
|
|
227757
|
+
*
|
|
227758
|
+
* Tablet-and-up only (`hidden md:flex`) — no search affordance is
|
|
227759
|
+
* rendered on mobile. The input rests at a generous width and grows
|
|
227760
|
+
* moderately on focus.
|
|
227761
|
+
*/
|
|
227762
|
+
function PlatformNavbarSearch({ onSubmit, placeholder }) {
|
|
227763
|
+
const t = useT();
|
|
227764
|
+
const [query, setQuery] = React.useState('');
|
|
227765
|
+
const label = placeholder !== null && placeholder !== void 0 ? placeholder : t('platformNavbar.searchPlaceholder');
|
|
227766
|
+
return (jsxs("form", { role: "search", className: "relative hidden items-center md:flex", onSubmit: (e) => {
|
|
227767
|
+
e.preventDefault();
|
|
227768
|
+
onSubmit(query.trim());
|
|
227769
|
+
}, children: [jsx("button", { type: "submit", "aria-label": t('platformNavbar.search'), className: "absolute left-2 inline-flex cursor-pointer items-center justify-center text-[#646464] transition-colors hover:text-[#484848]", children: jsx(Search, { className: "h-4 w-4", "aria-hidden": true }) }), jsx("input", { type: "search", value: query, onChange: (e) => setQuery(e.target.value), placeholder: label, "aria-label": label,
|
|
227770
|
+
// Rests at a generous width and grows moderately on focus —
|
|
227771
|
+
// widths scale with the breakpoint so the expansion never
|
|
227772
|
+
// crowds the icons; the left cluster clips (min-w-0 +
|
|
227773
|
+
// overflow-hidden on its wrapper) to make the room.
|
|
227774
|
+
className: "h-9 w-56 rounded-md border border-gray-200 bg-white pr-2 pl-8 text-sm text-[#484848] transition-[width] duration-200 outline-none placeholder:text-[#9ca3af] focus:w-64 focus:border-[#D0E0FF] focus:ring-2 focus:ring-[#D0E0FF] lg:w-64 lg:focus:w-80 xl:focus:w-96" })] }));
|
|
227775
|
+
}
|
|
227776
|
+
/**
|
|
227777
|
+
* Cross-SPA top navigation bar.
|
|
227778
|
+
*
|
|
227779
|
+
* Invariant chrome (owned here): the right-hand cluster — search bar,
|
|
227780
|
+
* chat-privacy toggle, credit balance (ecommerce-gated), notification
|
|
227781
|
+
* bell, profile dropdown position, and the anonymous Log in / Sign up
|
|
227782
|
+
* buttons.
|
|
227783
|
+
*
|
|
227784
|
+
* Variable content (owned by the host SPA): the `left` cluster (mobile
|
|
227785
|
+
* sidebar toggle, LLM selector, mentor dropdown, …) and the `modeSwitcher`
|
|
227786
|
+
* (User/Admin toggle).
|
|
227787
|
+
*/
|
|
227788
|
+
function PlatformNavbar({ left, modeSwitcher, search, privacyToggle, creditBalance, notifications, profile, visibleToLoggedInUsersOnly = true, onLoginClick, className, }) {
|
|
227789
|
+
var _a, _b;
|
|
227790
|
+
const t = useT();
|
|
227791
|
+
const loggedIn = isLoggedIn();
|
|
227792
|
+
const showCreditBalance = isPlatformNavbarCreditBalanceVisible(creditBalance, visibleToLoggedInUsersOnly);
|
|
227793
|
+
return (jsxs("nav", { className: cn('z-10 mb-4 flex h-16 items-center border-b border-[#D0E0FF] bg-white pr-4', className), children: [jsx("div", { className: "flex min-w-0 items-center overflow-hidden", children: left }), jsxs("div", { className: "ml-auto flex shrink-0 items-center gap-0 xl:gap-6", children: [search && (jsx("div", { className: "mr-2 flex items-center xl:mr-0", children: jsx(PlatformNavbarSearch, { ...search }) })), modeSwitcher && jsx("div", { className: "hidden items-center gap-2 xl:flex", children: modeSwitcher }), jsxs("div", { className: "flex items-center gap-2", children: [privacyToggle && visibleToLoggedInUsersOnly && (jsx(ChatPrivacyToggle, { org: privacyToggle.org, userId: privacyToggle.userId, mentor: privacyToggle.mentor, className: (_a = privacyToggle.className) !== null && _a !== void 0 ? _a : 'inline-flex max-md:[&>span]:hidden' })), showCreditBalance && creditBalance && (jsx(CreditBalance, { tenant: creditBalance.tenantKey, enabled: true, redirectUrl: (_b = creditBalance.redirectUrl) !== null && _b !== void 0 ? _b : window.location.origin, mainPlatformKey: creditBalance.mainPlatformKey, currentUserEmail: creditBalance.currentUserEmail, username: creditBalance.username })), notifications && visibleToLoggedInUsersOnly && (jsx(NotificationDropdown, { org: notifications.org, userId: notifications.userId, isAdmin: notifications.isAdmin, onViewNotifications: notifications.onViewNotifications })), visibleToLoggedInUsersOnly && profile] }), !loggedIn && onLoginClick && (jsxs("div", { className: "flex gap-x-2", children: [jsx(Button$1, { className: "ibl-button-primary", onClick: onLoginClick, children: t('platformNavbar.logIn') }), jsx(Button$1, { onClick: onLoginClick, variant: "outline", children: t('platformNavbar.signUpForFree') })] }))] })] }));
|
|
227794
|
+
}
|
|
227795
|
+
|
|
227706
227796
|
const defaultValues = {
|
|
227707
227797
|
category: '',
|
|
227708
227798
|
prompt: '',
|
|
@@ -228075,5 +228165,5 @@ var trainOrDeleteModal = /*#__PURE__*/Object.freeze({
|
|
|
228075
228165
|
TrainOrDeleteModal: TrainOrDeleteModal
|
|
228076
228166
|
});
|
|
228077
228167
|
|
|
228078
|
-
export { ACCESS_COURSE_LABEL, AccessTimeHeatmap, AccessiblePaginate, AddMentorToProjectModal, AddSkillDialog, Admin, AdvancedTab, AgentConfigPrompts, AgentSkills, AlertsTab, AnalyticsAuditLogStats, AnalyticsCourseDetail, AnalyticsCourses, AnalyticsFinancialStats, AnalyticsLayout, AnalyticsMonetizationStats, AnalyticsOverview, AnalyticsProgramDetail, AnalyticsPrograms, AnalyticsReportDownload, AnalyticsReports, AnalyticsSettingsProvider, AnalyticsTopicsStats, AnalyticsTranscriptsStats, AnalyticsUsersStats, AppleRestrictionModal, BUY_NOW_LABEL, BillingTab, CATALOGS, CREATE_AGENT_LABELS, CategorizedDropdownMenu, ChartCardWrapper, ChartFiltersProvider, ChartLoading, ChatContext, ChatPrivacyToggle, ChatProvider, CompanyDialog, ConnectorManagementDialog, CopyButtonIcon, CourseAccessGuard, CourseCardSkeleton, CourseContentLoading, CourseOutline, CourseOutlineContext, CourseOutlineDrawer, CreateAgentForm, CreateAgentModal, CreateProjectModal, CreateWorkflowModal, CredentialBox, CredentialMiniBoxSkeleton, CreditBalance, CustomDateRangePicker, CustomTooltip, DEFAULT_LOCALE, DEFAULT_SYSTEM_CONTROL_REQUIRED_SIZE_GB, DefaultEmptyBox, DeleteProjectModal, DeleteWorkflowModal, DiscoverContentCard, DiscoverFacetsFilter, DiscoverFilterDrawer, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENROLL_NOW_COURSE_STARTING_SOON_LABEL, ENROLL_NOW_LABEL, EditAlertDialog, EducationBox, EducationDialog, EducationTab, EdxIframeContext, EmptyStats, ExperienceBox, ExperienceDialog, ExperienceTab, FacetFilterContext, Footer, GHOST_OS_REPO_URL, GHOST_OS_TAURI_COMMANDS, GHOST_OS_TAURI_EVENTS, GradebookTab, GroupsFilterDropdown, INVITATION_ONLY_LABEL, InstitutionDialog, IntegrationsTab, InviteUserContent, InviteUserDialog, InvitedUsersDialog, LOCAL_MODELS, Loader, LocalLLMTab, LocalModelsContent, LoginButton, MACOS_PERMISSIONS_COMMANDS, Markdown, MinimumMentorAlert, MonetizationTab, NotificationDisplay, NotificationDropdown, ONBOARDING_SECTORS, OnboardingShell, OnboardingWizard, PaywallModal, Profile, ProfileTimeChart, ProgressDots, ProjectActionButtons, ProjectFilesModal, ProjectInstructionsModal, ProjectLandingPage, ProjectMentorsList, ProjectsPage, REQUEST_ACCESS_COURSE_STARTING_SOON_LABEL, REQUEST_ACCESS_LABEL, RenameProjectModal, ResumeBox, ResumeTab, RichTextEditor, SUPPORTED_LOCALES, SandboxConfig, SearchableMultiSelect, SendNotificationDialog, SignupButton, SkeletonActivityStatBox, SkeletonAddSkillsLoading, SkeletonCreatePathwaySearchList, SkeletonDiscoverFilterBox, SkeletonEducationBox, SkeletonMultiplier, SkeletonPathwayBox, SkeletonProfileInfoCard, SkeletonSkillBox, SkillBox, SkillDetailModal, SkillLeaderboardChart, SkillsBox, Spinner, StatCard, StepHeader, SystemControlContent, SystemControlTab, TAURI_COMMANDS, TAURI_EVENTS, TenantSwitcher, TimeFilter, TimeTrackingProvider, TimedExam, ToolDialogs, TopBanner, UpgradePackageModal, UserAvatar, Version, WebContainersI18nProvider, WorkflowSidebar, addBookmarksTab, findLastResumeBlock, findSequentialParent, flattenVerticalBlocks, getCatalog, getFirstAvailableUnit, getLocalLLMModel, getLocalLLMToolSupport, getNextUnitIframe, getOrg, getParentBlockById, getParentsInfosFromSublessonId, getPreviousUnitIframe, getRandomCourseImage, getSectorById, getTenant, getUnitToIframe, getUserId, getUserName, inBrowserPrint, inIframe, initialGhostOsInstallState, initialModelDownloadState, isLocalLLMEnabled, isSystemControlEnabled, isTauriApp, isValidLocale, components as markdownComponents, modelSupportsSystemControl, onboardingPrimaryButtonClass, onboardingSecondaryButtonClass, resolveCreateAgentLabels, sanitizeCss, setLocalLLMEnabled, setLocalLLMModel, setLocalLLMToolSupport, setSystemControlEnabled, smallestSystemControlModel, useAnalyticsSettings, useAuditLog, useCatalogSearch, useChartFilters, useChatPrivacy, useChatState, useCourseDetail, useCourseMetadata, useCourses, useDiscover, useEdxIframe, useFinancial, useGhostOs, useIframeMessageHandler, useLocalStorage, useModelDownload, useMonetization, useOverview, useProfileActivityStats, useProfileCredentials, useProfilePathways, useProfilePrograms, useProfileSkills, useProfileTimeSpent, usePrograms, useReports, useT, useTauri, useTimeTracking, useTopics, useTranscripts, useUserCourses, useUserMetadata, useUsers, useWebContainersI18n, useWebContainersLocale };
|
|
228168
|
+
export { ACCESS_COURSE_LABEL, AccessTimeHeatmap, AccessiblePaginate, AddMentorToProjectModal, AddSkillDialog, Admin, AdvancedTab, AgentConfigPrompts, AgentSkills, AlertsTab, AnalyticsAuditLogStats, AnalyticsCourseDetail, AnalyticsCourses, AnalyticsFinancialStats, AnalyticsLayout, AnalyticsMonetizationStats, AnalyticsOverview, AnalyticsProgramDetail, AnalyticsPrograms, AnalyticsReportDownload, AnalyticsReports, AnalyticsSettingsProvider, AnalyticsTopicsStats, AnalyticsTranscriptsStats, AnalyticsUsersStats, AppleRestrictionModal, BUY_NOW_LABEL, BillingTab, CATALOGS, CREATE_AGENT_LABELS, CategorizedDropdownMenu, ChartCardWrapper, ChartFiltersProvider, ChartLoading, ChatContext, ChatPrivacyToggle, ChatProvider, CompanyDialog, ConnectorManagementDialog, CopyButtonIcon, CourseAccessGuard, CourseCardSkeleton, CourseContentLoading, CourseOutline, CourseOutlineContext, CourseOutlineDrawer, CreateAgentForm, CreateAgentModal, CreateProjectModal, CreateWorkflowModal, CredentialBox, CredentialMiniBoxSkeleton, CredentialsList, CreditBalance, CustomDateRangePicker, CustomTooltip, DEFAULT_LOCALE, DEFAULT_SYSTEM_CONTROL_REQUIRED_SIZE_GB, DefaultEmptyBox, DeleteProjectModal, DeleteWorkflowModal, DiscoverContentCard, DiscoverFacetsFilter, DiscoverFilterDrawer, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENROLL_NOW_COURSE_STARTING_SOON_LABEL, ENROLL_NOW_LABEL, EditAlertDialog, EducationBox, EducationDialog, EducationTab, EdxIframeContext, EmptyStats, ExperienceBox, ExperienceDialog, ExperienceTab, FacetFilterContext, Footer, GHOST_OS_REPO_URL, GHOST_OS_TAURI_COMMANDS, GHOST_OS_TAURI_EVENTS, GradebookTab, GroupsFilterDropdown, INVITATION_ONLY_LABEL, InstitutionDialog, IntegrationsTab, InviteUserContent, InviteUserDialog, InvitedUsersDialog, LOCAL_MODELS, Loader, LocalLLMTab, LocalModelsContent, LoginButton, MACOS_PERMISSIONS_COMMANDS, Markdown, MinimumMentorAlert, MonetizationTab, NotificationDisplay, NotificationDropdown, ONBOARDING_SECTORS, OnboardingShell, OnboardingWizard, PaywallModal, PlatformNavbar, PlatformNavbarSearch, Profile, ProfileTimeChart, ProgressDots, ProjectActionButtons, ProjectFilesModal, ProjectInstructionsModal, ProjectLandingPage, ProjectMentorsList, ProjectsPage, REQUEST_ACCESS_COURSE_STARTING_SOON_LABEL, REQUEST_ACCESS_LABEL, RenameProjectModal, ResumeBox, ResumeTab, RichTextEditor, SUPPORTED_LOCALES, SandboxConfig, SearchableMultiSelect, SendNotificationDialog, SignupButton, SkeletonActivityStatBox, SkeletonAddSkillsLoading, SkeletonCreatePathwaySearchList, SkeletonDiscoverFilterBox, SkeletonEducationBox, SkeletonMultiplier, SkeletonPathwayBox, SkeletonProfileInfoCard, SkeletonSkillBox, SkillBox, SkillDetailModal, SkillLeaderboardChart, SkillsBox, SkillsList, Spinner, StatCard, StepHeader, SystemControlContent, SystemControlTab, TAURI_COMMANDS, TAURI_EVENTS, TenantSwitcher, TimeFilter, TimeTrackingProvider, TimedExam, ToolDialogs, TopBanner, UpgradePackageModal, UserAvatar, Version, WebContainersI18nProvider, WorkflowSidebar, addBookmarksTab, findLastResumeBlock, findSequentialParent, flattenVerticalBlocks, getCatalog, getFirstAvailableUnit, getLocalLLMModel, getLocalLLMToolSupport, getNextUnitIframe, getOrg, getParentBlockById, getParentsInfosFromSublessonId, getPreviousUnitIframe, getRandomCourseImage, getSectorById, getTenant, getUnitToIframe, getUserId, getUserName, inBrowserPrint, inIframe, initialGhostOsInstallState, initialModelDownloadState, isLocalLLMEnabled, isPlatformNavbarCreditBalanceVisible, isSystemControlEnabled, isTauriApp, isValidLocale, components as markdownComponents, modelSupportsSystemControl, onboardingPrimaryButtonClass, onboardingSecondaryButtonClass, resolveCreateAgentLabels, sanitizeCss, setLocalLLMEnabled, setLocalLLMModel, setLocalLLMToolSupport, setSystemControlEnabled, smallestSystemControlModel, useAnalyticsSettings, useAuditLog, useCatalogSearch, useChartFilters, useChatPrivacy, useChatState, useCourseDetail, useCourseMetadata, useCourses, useDiscover, useEdxIframe, useFinancial, useGhostOs, useIframeMessageHandler, useLocalStorage, useModelDownload, useMonetization, useOverview, useProfileActivityStats, useProfileCredentials, useProfilePathways, useProfilePrograms, useProfileSkills, useProfileTimeSpent, usePrograms, useReports, useT, useTauri, useTimeTracking, useTopics, useTranscripts, useUserCourses, useUserMetadata, useUsers, useWebContainersI18n, useWebContainersLocale };
|
|
228079
228169
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -101892,6 +101892,12 @@ var platformSidebar$3 = {
|
|
|
101892
101892
|
accountDescAdvanced: "Configure advanced organization settings.",
|
|
101893
101893
|
accountDescBilling: "Manage your billing and subscription."
|
|
101894
101894
|
};
|
|
101895
|
+
var platformNavbar$3 = {
|
|
101896
|
+
search: "Search",
|
|
101897
|
+
searchPlaceholder: "Search",
|
|
101898
|
+
logIn: "Log in",
|
|
101899
|
+
signUpForFree: "Sign up for free"
|
|
101900
|
+
};
|
|
101895
101901
|
var en = {
|
|
101896
101902
|
accessTabAddAccess: accessTabAddAccess$3,
|
|
101897
101903
|
accessTabLabels: accessTabLabels$3,
|
|
@@ -102127,7 +102133,8 @@ var en = {
|
|
|
102127
102133
|
workflowsDeleteWorkflowModal: workflowsDeleteWorkflowModal$3,
|
|
102128
102134
|
workflowsToolDialogs: workflowsToolDialogs$3,
|
|
102129
102135
|
ltiTabLabels: ltiTabLabels$3,
|
|
102130
|
-
platformSidebar: platformSidebar$3
|
|
102136
|
+
platformSidebar: platformSidebar$3,
|
|
102137
|
+
platformNavbar: platformNavbar$3
|
|
102131
102138
|
};
|
|
102132
102139
|
|
|
102133
102140
|
var accessTabAddAccess$2 = {
|
|
@@ -107195,6 +107202,12 @@ var platformSidebar$2 = {
|
|
|
107195
107202
|
accountDescAdvanced: "Configurez les paramètres avancés de l'organisation.",
|
|
107196
107203
|
accountDescBilling: "Gérez votre facturation et votre abonnement."
|
|
107197
107204
|
};
|
|
107205
|
+
var platformNavbar$2 = {
|
|
107206
|
+
search: "Rechercher",
|
|
107207
|
+
searchPlaceholder: "Rechercher",
|
|
107208
|
+
logIn: "Se connecter",
|
|
107209
|
+
signUpForFree: "S'inscrire gratuitement"
|
|
107210
|
+
};
|
|
107198
107211
|
var fr = {
|
|
107199
107212
|
accessTabAddAccess: accessTabAddAccess$2,
|
|
107200
107213
|
accessTabLabels: accessTabLabels$2,
|
|
@@ -107430,7 +107443,8 @@ var fr = {
|
|
|
107430
107443
|
workflowsDeleteWorkflowModal: workflowsDeleteWorkflowModal$2,
|
|
107431
107444
|
workflowsToolDialogs: workflowsToolDialogs$2,
|
|
107432
107445
|
ltiTabLabels: ltiTabLabels$2,
|
|
107433
|
-
platformSidebar: platformSidebar$2
|
|
107446
|
+
platformSidebar: platformSidebar$2,
|
|
107447
|
+
platformNavbar: platformNavbar$2
|
|
107434
107448
|
};
|
|
107435
107449
|
|
|
107436
107450
|
var accessTabAddAccess$1 = {
|
|
@@ -112498,6 +112512,12 @@ var platformSidebar$1 = {
|
|
|
112498
112512
|
accountDescAdvanced: "Configura los ajustes avanzados de la organización.",
|
|
112499
112513
|
accountDescBilling: "Gestiona tu facturación y suscripción."
|
|
112500
112514
|
};
|
|
112515
|
+
var platformNavbar$1 = {
|
|
112516
|
+
search: "Buscar",
|
|
112517
|
+
searchPlaceholder: "Buscar",
|
|
112518
|
+
logIn: "Iniciar sesión",
|
|
112519
|
+
signUpForFree: "Registrarse gratis"
|
|
112520
|
+
};
|
|
112501
112521
|
var es = {
|
|
112502
112522
|
accessTabAddAccess: accessTabAddAccess$1,
|
|
112503
112523
|
accessTabLabels: accessTabLabels$1,
|
|
@@ -112733,7 +112753,8 @@ var es = {
|
|
|
112733
112753
|
workflowsDeleteWorkflowModal: workflowsDeleteWorkflowModal$1,
|
|
112734
112754
|
workflowsToolDialogs: workflowsToolDialogs$1,
|
|
112735
112755
|
ltiTabLabels: ltiTabLabels$1,
|
|
112736
|
-
platformSidebar: platformSidebar$1
|
|
112756
|
+
platformSidebar: platformSidebar$1,
|
|
112757
|
+
platformNavbar: platformNavbar$1
|
|
112737
112758
|
};
|
|
112738
112759
|
|
|
112739
112760
|
var accessTabAddAccess = {
|
|
@@ -117801,6 +117822,12 @@ var platformSidebar = {
|
|
|
117801
117822
|
accountDescAdvanced: "配置组织的高级设置。",
|
|
117802
117823
|
accountDescBilling: "管理您的账单和订阅。"
|
|
117803
117824
|
};
|
|
117825
|
+
var platformNavbar = {
|
|
117826
|
+
search: "搜索",
|
|
117827
|
+
searchPlaceholder: "搜索",
|
|
117828
|
+
logIn: "登录",
|
|
117829
|
+
signUpForFree: "免费注册"
|
|
117830
|
+
};
|
|
117804
117831
|
var zh = {
|
|
117805
117832
|
accessTabAddAccess: accessTabAddAccess,
|
|
117806
117833
|
accessTabLabels: accessTabLabels,
|
|
@@ -118036,7 +118063,8 @@ var zh = {
|
|
|
118036
118063
|
workflowsDeleteWorkflowModal: workflowsDeleteWorkflowModal,
|
|
118037
118064
|
workflowsToolDialogs: workflowsToolDialogs,
|
|
118038
118065
|
ltiTabLabels: ltiTabLabels,
|
|
118039
|
-
platformSidebar: platformSidebar
|
|
118066
|
+
platformSidebar: platformSidebar,
|
|
118067
|
+
platformNavbar: platformNavbar
|
|
118040
118068
|
};
|
|
118041
118069
|
|
|
118042
118070
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iblai/iblai-js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"description": "Unified JavaScript SDK for IBL.ai — re-exports data-layer, web-containers, and web-utils under a single package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
"axios": "1.13.6",
|
|
67
67
|
"dotenv": "16.6.1",
|
|
68
68
|
"winston": "3.19.0",
|
|
69
|
-
"@iblai/web-utils": "1.11.12",
|
|
70
|
-
"@iblai/web-containers": "1.13.1",
|
|
71
69
|
"@iblai/data-layer": "1.9.2",
|
|
72
|
-
"@iblai/mcp": "1.
|
|
70
|
+
"@iblai/mcp": "1.8.0",
|
|
71
|
+
"@iblai/web-containers": "1.14.0",
|
|
72
|
+
"@iblai/web-utils": "1.11.12"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"@radix-ui/react-dialog": "^1.1.7",
|