@metaboliccode-dev/widget 0.2.4 → 0.2.6

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.
Files changed (29) hide show
  1. package/README.md +4 -12
  2. package/dist/MetabolicDashboard/api/builtInReportPagesApi.d.ts +0 -3
  3. package/dist/MetabolicDashboard/api/createBulkReportFetchers.d.ts +3 -0
  4. package/dist/MetabolicDashboard/api/createHttpDashboardContentFetchers.d.ts +1 -1
  5. package/dist/MetabolicDashboard/api/downloadReportPdf.d.ts +1 -1
  6. package/dist/MetabolicDashboard/api/fetchFullReport.d.ts +18 -0
  7. package/dist/MetabolicDashboard/api/index.d.ts +1 -1
  8. package/dist/MetabolicDashboard/api/reportPageTypes.d.ts +2 -0
  9. package/dist/MetabolicDashboard/dashboardActionsContext.d.ts +1 -0
  10. package/dist/MetabolicDashboard/index.d.ts +1 -1
  11. package/dist/components/DashboardTab/CategoryTableRow.d.ts +2 -1
  12. package/dist/components/DashboardTab/DashboardLabSectionHeader.d.ts +11 -0
  13. package/dist/components/DashboardTab/TotalPredictiveTrendSnapshotSection.d.ts +4 -0
  14. package/dist/components/DashboardTab/TrendRowStatusButton.d.ts +12 -0
  15. package/dist/components/DashboardTab/TrendStatusExplanationPanel.d.ts +17 -0
  16. package/dist/components/DashboardTab/dashboardTabFallbackContent.d.ts +2 -0
  17. package/dist/components/DashboardTab/totalPredictiveTriad1SummaryConstant.d.ts +2 -0
  18. package/dist/components/dashboard/components/sections/MetabolicTriadCategoryPanel/primitives.d.ts +2 -1
  19. package/dist/components/dashboard/components/sections/ProfileSummaryCard.d.ts +2 -1
  20. package/dist/components/dashboard/data/contentTypes.d.ts +15 -0
  21. package/dist/components/dashboard/data/index.d.ts +1 -1
  22. package/dist/components/icons/CloseIcon.d.ts +3 -0
  23. package/dist/components/icons/index.d.ts +1 -0
  24. package/dist/components/index.d.ts +1 -1
  25. package/dist/index.css +1 -1
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.js +2074 -1446
  28. package/dist/layout/types.d.ts +0 -1
  29. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import "./styles.css";
2
2
  export type { MetabolicBranding, MetabolicBrandingBadge, MetabolicBrandingButton, MetabolicBrandingColors, MetabolicBrandingFonts, MetabolicBrandingLogo, MetabolicBrandingPartial, MetabolicBrandingRadius, MetabolicBrandingSideMenu, MetabolicBrandingSizes, MetabolicDashboardConfig, } from "./branding";
3
3
  export { DEFAULT_METABOLIC_BRANDING, LogoPlaceholder, metabolicBrandingToStyle, resolveMetabolicBranding, } from "./branding";
4
- export type { AlertLabSummaryCardContent, AlertLabSummaryPairRowContent, AlertLabSummaryTabContent, ButtonProps, ButtonVariant, DashboardAlertLabSummaryTableContent, DashboardAlertLabTableRowContent, DashboardMetaflammationContent, DashboardOverallScoreContent, DashboardTabContent, DashboardTotalPredictiveTrendsContent, DashboardTrendStatus, DashboardTriadTrendCategoryRowContent, DashboardTriadTrendChipContent, DashboardWelcomeContent, LabAnalysisMarkerRowContent, LabAnalysisSectionContent, LabAnalysisTabContent, LabMetricRangeCardContent, LabResultsGroupContent, LabResultsIntroContent, LabResultsMetricContent, LabResultsTabContent, PageHeaderProps, PractitionerNotesContent, QuestionnaireAnalysisSectionContent, QuestionnaireAnalysisTabContent, QuestionnaireCategoryContent, QuestionnaireTrendZone, SuggestedProductItemContent, SuggestedProductsTabContent, SupplementScheduleCardContent, SupplementScheduleRowContent, SupplementScheduleTabContent, TooltipProps, TotalPredictiveIndexTabContent, TriadRadarReportContent, TriadResiliencyCardContent, TriadResiliencyCategoryContent, TriadTrendBarConfig, TriadTrendBarMapping, WelcomeActionId, WellnessIndicatorCardContent, WellnessIndicatorsTabContent, WellnessIndicatorZoneBounds, WellnessIndicatorZones, } from "./components";
5
- export { AlertLabSummaryTab, AlertLabSummaryTabSkeleton, Button, DashboardTab, DashboardTabSkeleton, LabAnalysisTab, LabAnalysisTabSkeleton, LabResultsTab, LabResultsTabSkeleton, MetabolicTriadCategoryPanelSkeleton, PageHeader, QuestionnaireAnalysisTab, QuestionnaireAnalysisTabSkeleton, SkeletonCircle, SkeletonRect, TabSkeletonRoot, SuggestedProductsTab, SuggestedProductsTabSkeleton, SupplementScheduleTab, SupplementScheduleTabSkeleton, Tooltip, TotalPredictiveIndexTab, TotalPredictiveIndexTabSkeleton, WellnessIndicatorsTab, WellnessIndicatorsTabSkeleton, } from "./components";
4
+ export type { AlertLabSummaryCardContent, AlertLabSummaryPairRowContent, AlertLabSummaryTabContent, ButtonProps, ButtonVariant, DashboardAlertLabSummaryTableContent, DashboardAlertLabTableRowContent, DashboardMetaflammationContent, DashboardOverallScoreContent, DashboardPatientSummaryContent, DashboardPatientSummaryRow, DashboardTabContent, DashboardTotalPredictiveTrendsContent, DashboardTrendStatus, DashboardTrendStatusExplanationPanelContent, DashboardTriadTrendCategoryRowContent, DashboardTriadTrendChipContent, DashboardWelcomeContent, LabAnalysisMarkerRowContent, LabAnalysisSectionContent, LabAnalysisTabContent, LabMetricRangeCardContent, LabResultsGroupContent, LabResultsIntroContent, LabResultsMetricContent, LabResultsTabContent, PageHeaderProps, PractitionerNotesContent, QuestionnaireAnalysisSectionContent, QuestionnaireAnalysisTabContent, QuestionnaireCategoryContent, QuestionnaireTrendZone, SuggestedProductItemContent, SuggestedProductsTabContent, SupplementScheduleCardContent, SupplementScheduleRowContent, SupplementScheduleTabContent, TooltipProps, TotalPredictiveIndexTabContent, TriadRadarReportContent, TriadResiliencyCardContent, TriadResiliencyCategoryContent, TriadTrendBarConfig, TriadTrendBarMapping, WelcomeActionId, WellnessIndicatorCardContent, WellnessIndicatorsTabContent, WellnessIndicatorZoneBounds, WellnessIndicatorZones, } from "./components";
5
+ export { AlertLabSummaryTab, AlertLabSummaryTabSkeleton, Button, DashboardTab, DashboardTabSkeleton, LabAnalysisTab, LabAnalysisTabSkeleton, LabResultsTab, LabResultsTabSkeleton, MetabolicTriadCategoryPanelSkeleton, PageHeader, QuestionnaireAnalysisTab, QuestionnaireAnalysisTabSkeleton, SkeletonCircle, SkeletonRect, SuggestedProductsTab, SuggestedProductsTabSkeleton, SupplementScheduleTab, SupplementScheduleTabSkeleton, TabSkeletonRoot, Tooltip, TotalPredictiveIndexTab, TotalPredictiveIndexTabSkeleton, WellnessIndicatorsTab, WellnessIndicatorsTabSkeleton, } from "./components";
6
6
  export { ensureAgChartsModules, useAgCharts } from "./hooks/useAgCharts";
7
7
  export { decodeMetabolicIframeConfig, emitMetabolicDashboardLogout, encodeMetabolicIframeConfig, isMetabolicEmbedPostMessageOriginAllowed, METABOLIC_IFRAME_CONFIG_QUERY_KEY, METABOLIC_IFRAME_SET_CONFIG_MESSAGE, metabolicIframeSrcAppendStealthParams, metabolicIframeSrcWithConfig, postMetabolicIframeConfig, readMetabolicEmbedStealthParams, readMetabolicIframeConfigFromSearchParams, } from "./iframe-config";
8
8
  export type { MetabolicDashboardProps, MetabolicDashboardViewerRole, ShellLayoutProps, SideMenuFooterProps, SideMenuItem, SideMenuNavButtonProps, SideMenuProps, SideMenuUserProfile, } from "./layout";
9
9
  export { AlertLabSummaryIcon, DashboardIcon, LabAnalysisIcon, LabResultsIcon, LogoutIcon, PredictiveIndexIcon, QuestionnaireIcon, ShellLayout, SideMenu, SideMenuFooter, SideMenuNavButton, SuggestedProductsIcon, SupplementScheduleIcon, sideMenuItemIconClass, WellnessIndicatorsIcon, } from "./layout";
10
10
  export type { AlertLabMetricDto, AlertLabSummaryPageDto, ContentByNavId, DashboardContentFetchers, DashboardNavItemId, DashboardPageDto, DashboardTabContentCacheContextValue, DashboardTabContentLoadErrorInfo, DashboardTabDefinitionId, DashboardTabPluginDefinition, DashboardTabStaticPageHeader, DownloadReportPdfOptions, FetchReportPageOptions, HttpDashboardContentFetchersConfig, LabAnalysisPageDto, LabResultsPageDto, QuestionnaireAnalysisPageDto, ReportPageDtoByNavId, ReportPageDtoFor, ReportPageNavKey, SuggestedProductsPageDto, SupplementSchedulePageDto, TotalPredictiveIndexPageDto, UseDashboardTabContentOptions, UseDashboardTabContentResult, WellnessIndicatorsPageDto, } from "./MetabolicDashboard";
11
- export { buildReportPageUrl, createHttpDashboardContentFetchers, createReportPdfDownloader, DASHBOARD_TAB_NAV_IDS, DASHBOARD_TAB_PLUGINS, DashboardTabContentCacheProvider, DEFAULT_DASHBOARD_TAB_CONTENT_CACHE_TTL_MS, fetchReportPage, getBuiltInReportPagesApiBaseUrl, getBuiltInReportPagesApiDefaults, getDashboardTabStaticPageHeader, isDashboardNavItemId, isMetabolicDashboardApiKeyAccepted, METABOLIC_DASHBOARD_STUB_API_KEY, METABOLIC_REPORT_PAGES_API_BASE_URL, MetabolicDashboard, MetabolicDashboardDefaultMain, mapAlertLabSummaryDtoToTabContent, mapDashboardPageDtoToTabContent, mapLabAnalysisDtoToTabContent, mapLabResultsDtoToTabContent, mapQuestionnaireAnalysisDtoToTabContent, mapSuggestedProductsDtoToTabContent, mapSupplementScheduleDtoToTabContent, mapTotalPredictiveIndexDtoToTabContent, mapWellnessIndicatorsDtoToTabContent, mergeDashboardContentFetchers, mergeReportPagesApiWithBuiltIn, useDashboardTabContent, useInvalidateDashboardTabContentCache, } from "./MetabolicDashboard";
11
+ export { buildReportPageUrl, createHttpDashboardContentFetchers, createReportPdfDownloader, DASHBOARD_TAB_NAV_IDS, DASHBOARD_TAB_PLUGINS, DashboardTabContentCacheProvider, DEFAULT_DASHBOARD_TAB_CONTENT_CACHE_TTL_MS, fetchReportPage, getBuiltInReportPagesApiBaseUrl, getDashboardTabStaticPageHeader, isDashboardNavItemId, isMetabolicDashboardApiKeyAccepted, METABOLIC_DASHBOARD_STUB_API_KEY, METABOLIC_REPORT_PAGES_API_BASE_URL, MetabolicDashboard, MetabolicDashboardDefaultMain, mapAlertLabSummaryDtoToTabContent, mapDashboardPageDtoToTabContent, mapLabAnalysisDtoToTabContent, mapLabResultsDtoToTabContent, mapQuestionnaireAnalysisDtoToTabContent, mapSuggestedProductsDtoToTabContent, mapSupplementScheduleDtoToTabContent, mapTotalPredictiveIndexDtoToTabContent, mapWellnessIndicatorsDtoToTabContent, mergeDashboardContentFetchers, useDashboardTabContent, useInvalidateDashboardTabContentCache, } from "./MetabolicDashboard";
12
12
  export { MetabolicEmbedRoot, type MetabolicEmbedRootProps, } from "./MetabolicEmbedRoot";
13
13
  export { type MountMetabolicEmbedOptions, mountMetabolicEmbed, } from "./mountMetabolicEmbed";