@manta-eu/react 0.7.0 → 0.8.1
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/action-plan-changes/ActionPlanChangesTable.js +1 -1
- package/dist/action-plan-changes/build-change-tree.js.map +1 -1
- package/dist/ad-preview/AdPluralDisplay.js +1 -1
- package/dist/ad-preview/GoogleAdGroupAdSingularDisplay.js +1 -3
- package/dist/ad-preview/GoogleAdGroupAdSingularDisplay.js.map +1 -1
- package/dist/ad-preview/MetaAdPreview.js +1 -1
- package/dist/ad-preview/meta-ad-copy.d.ts.map +1 -1
- package/dist/ad-preview/meta-ad-model.js.map +1 -1
- package/dist/components/ErrorBoundary.d.ts.map +1 -1
- package/dist/components/ad-preview/business-avatar.d.ts.map +1 -1
- package/dist/components/ad-preview/business-identity.d.ts.map +1 -1
- package/dist/components/ad-preview/business-info.d.ts.map +1 -1
- package/dist/components/ad-preview/facebook/carousel.d.ts.map +1 -1
- package/dist/components/ad-preview/facebook/constants.d.ts.map +1 -1
- package/dist/components/ad-preview/facebook/header.js +1 -1
- package/dist/components/ad-preview/facebook/instream-reels.d.ts.map +1 -1
- package/dist/components/ad-preview/facebook/marketplace.d.ts.map +1 -1
- package/dist/components/ad-preview/google/search.js +1 -1
- package/dist/components/ad-preview/instagram/feed.js +1 -1
- package/dist/components/ad-preview/instagram/search-result.d.ts.map +1 -1
- package/dist/components/ad-preview/use-scroll-navigation.d.ts.map +1 -1
- package/dist/components/ai-elements/conversation.js +1 -1
- package/dist/components/badge/index.d.ts.map +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/banner/index.d.ts.map +1 -1
- package/dist/components/branding/MantaGridAnimation.js +1 -1
- package/dist/components/breadcrumbs/index.js +1 -1
- package/dist/components/button/index.d.ts.map +1 -1
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/card/index.d.ts.map +1 -1
- package/dist/components/chart/ForecastChart.d.ts +41 -0
- package/dist/components/chart/ForecastChart.d.ts.map +1 -0
- package/dist/components/chart/ForecastChart.js +110 -0
- package/dist/components/chart/ForecastChart.js.map +1 -0
- package/dist/components/chart/ForecastEventCard.d.ts +28 -0
- package/dist/components/chart/ForecastEventCard.d.ts.map +1 -0
- package/dist/components/chart/ForecastEventCard.js +56 -0
- package/dist/components/chart/ForecastEventCard.js.map +1 -0
- package/dist/components/chart/ForecastHoverCard.d.ts +23 -0
- package/dist/components/chart/ForecastHoverCard.d.ts.map +1 -0
- package/dist/components/chart/ForecastHoverCard.js +22 -0
- package/dist/components/chart/ForecastHoverCard.js.map +1 -0
- package/dist/components/chart/ForecastLegend.d.ts +33 -0
- package/dist/components/chart/ForecastLegend.d.ts.map +1 -0
- package/dist/components/chart/ForecastLegend.js +38 -0
- package/dist/components/chart/ForecastLegend.js.map +1 -0
- package/dist/components/chart/annotations.d.ts.map +1 -1
- package/dist/components/chart/chart-colors.d.ts.map +1 -1
- package/dist/components/chart/chart-schemas.d.ts +599 -599
- package/dist/components/chart/chart-schemas.d.ts.map +1 -1
- package/dist/components/chart/chart-schemas.js.map +1 -1
- package/dist/components/chart/chart.js +1 -1
- package/dist/components/chart/forecast-model.d.ts +70 -0
- package/dist/components/chart/forecast-model.d.ts.map +1 -0
- package/dist/components/chart/forecast-model.js +89 -0
- package/dist/components/chart/forecast-model.js.map +1 -0
- package/dist/components/chart/forecast.d.ts +62 -0
- package/dist/components/chart/forecast.d.ts.map +1 -0
- package/dist/components/chart/forecast.js +90 -0
- package/dist/components/chart/forecast.js.map +1 -0
- package/dist/components/chart/index.d.ts +3 -0
- package/dist/components/chart/index.d.ts.map +1 -1
- package/dist/components/chart/index.js +1 -0
- package/dist/components/chart/index.js.map +1 -1
- package/dist/components/chat/chat-input/index.d.ts +1 -1
- package/dist/components/chat/chat-input/index.js +1 -1
- package/dist/components/chat/chat-input-footer/index.js +1 -1
- package/dist/components/chat/chat-reasoning/index.js +1 -1
- package/dist/components/chat-view/Chat.js +1 -1
- package/dist/components/chat-view/FileMessagePart.js +1 -1
- package/dist/components/chat-view/GraphContextPanel.js +1 -1
- package/dist/components/chat-view/MessageItem.js +1 -1
- package/dist/components/command/index.d.ts +15 -15
- package/dist/components/command/index.d.ts.map +1 -1
- package/dist/components/command/index.js +1 -1
- package/dist/components/dropdown/index.js +1 -1
- package/dist/components/graph/AgentsGraphListRow.js +1 -1
- package/dist/components/input/ai-action-buttons.js +1 -1
- package/dist/components/input/input-date-range.js +1 -1
- package/dist/components/input/input-field.d.ts.map +1 -1
- package/dist/components/input/input-field.js +1 -1
- package/dist/components/input/textarea.d.ts.map +1 -1
- package/dist/components/input/textarea.js +2 -2
- package/dist/components/input-otp/index.d.ts +6 -6
- package/dist/components/input-otp/index.d.ts.map +1 -1
- package/dist/components/layouts/InstallPrompt.js +1 -1
- package/dist/components/layouts/KnowledgeGraphStartupGate.d.ts +1 -1
- package/dist/components/layouts/RouteLayout.js +1 -1
- package/dist/components/layouts/page/PageHeaderActions.js +1 -1
- package/dist/components/loader/index.d.ts.map +1 -1
- package/dist/components/manta-logo/index.d.ts.map +1 -1
- package/dist/components/modal/index.d.ts.map +1 -1
- package/dist/components/onboarding/SidebarSpotlight.js +1 -1
- package/dist/components/pill/index.d.ts.map +1 -1
- package/dist/components/planning/ActionPlanDetailView.js +1 -1
- package/dist/components/planning/ManualActionList.d.ts +1 -1
- package/dist/components/planning/PlanDetailFooter.js +1 -1
- package/dist/components/popover/index.d.ts +2 -1
- package/dist/components/popover/index.d.ts.map +1 -1
- package/dist/components/popover/index.js +2 -1
- package/dist/components/popover/index.js.map +1 -1
- package/dist/components/progress/index.d.ts.map +1 -1
- package/dist/components/radio/index.d.ts.map +1 -1
- package/dist/components/rdf-insights/CampaignPerformanceSummary.js +1 -1
- package/dist/components/rdf-insights/InsightCard.js +1 -1
- package/dist/components/rdf-insights/ProductProfitability.js +1 -1
- package/dist/components/rdf-insights/ProductSalesRanking.js +1 -1
- package/dist/components/rdf-insights/ProductVariantsTable.js +1 -1
- package/dist/components/rdf-insights/RoasBenchmark.js +1 -1
- package/dist/components/select/index.d.ts.map +1 -1
- package/dist/components/sheet/index.d.ts.map +1 -1
- package/dist/components/sidebar/company-picker.js +1 -1
- package/dist/components/sidebar/nav-menu.js +1 -1
- package/dist/components/skeleton/index.d.ts +4 -4
- package/dist/components/skeleton/index.d.ts.map +1 -1
- package/dist/components/status/index.d.ts.map +1 -1
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/index.js.map +1 -1
- package/dist/components/table/use-table-state.js.map +1 -1
- package/dist/components/table-skeleton/index.js +1 -1
- package/dist/components/tabs/index.d.ts.map +1 -1
- package/dist/components/thinking/index.d.ts.map +1 -1
- package/dist/components/toast/index.d.ts.map +1 -1
- package/dist/components/tool-invocation-card/DefaultResultDisplay.js +1 -1
- package/dist/components/tool-invocation-card/ToolOutputRenderer.js +1 -1
- package/dist/components/tree-multi-select/tree-multi-select-rows.js.map +1 -1
- package/dist/datastore-picker/DatastoreRow.js +1 -1
- package/dist/easing.d.ts.map +1 -1
- package/dist/entity-tree/EntityRelationTree.js +1 -1
- package/dist/explain-fact/EntityChip.js +1 -1
- package/dist/explain-fact/conclusion/ConclusionSubtitle.js +1 -1
- package/dist/explain-fact/inspector/InspectorBindings.js +1 -1
- package/dist/explain-fact/inspector/SupportsSection.js +1 -1
- package/dist/explain-fact/proof-tree/ProofRowContent.js +1 -1
- package/dist/explain-fact/proof-tree/ProofRowValue.js +1 -1
- package/dist/globals.css +64 -0
- package/dist/graph/GraphContextPanel.js +1 -1
- package/dist/graph/GraphControls.d.ts +1 -1
- package/dist/graph/GraphControls.d.ts.map +1 -1
- package/dist/graph/GraphControls.js +1 -1
- package/dist/graph/GraphErrorBoundary.d.ts +1 -1
- package/dist/graph/GraphErrorBoundary.d.ts.map +1 -1
- package/dist/graph/NodeContextMenu.d.ts +1 -1
- package/dist/graph/NodeContextMenu.d.ts.map +1 -1
- package/dist/graph/NodeContextMenu.js +1 -1
- package/dist/graph/NodeDetailPanel/PropertyDiffView.js +1 -1
- package/dist/graph/custom-nodes.d.ts +4 -4
- package/dist/graph/custom-nodes.d.ts.map +1 -1
- package/dist/graph/custom-nodes.js +1 -1
- package/dist/graph/graph-layout.js.map +1 -1
- package/dist/graph/graph-list-utils.js.map +1 -1
- package/dist/graph/graph-model.js.map +1 -1
- package/dist/graph/graph-store.js.map +1 -1
- package/dist/graph/nodes/AdsDailyReportTemplateView.d.ts +1 -1
- package/dist/graph/nodes/AdsDailyReportTemplateView.d.ts.map +1 -1
- package/dist/graph/nodes/AttioCallRecordingView.d.ts +1 -1
- package/dist/graph/nodes/AttioCallRecordingView.d.ts.map +1 -1
- package/dist/graph/nodes/AttioCompanyView.d.ts +1 -1
- package/dist/graph/nodes/AttioCompanyView.d.ts.map +1 -1
- package/dist/graph/nodes/AttioDealView.d.ts +1 -1
- package/dist/graph/nodes/AttioDealView.d.ts.map +1 -1
- package/dist/graph/nodes/AttioMeetingView.d.ts +1 -1
- package/dist/graph/nodes/AttioMeetingView.d.ts.map +1 -1
- package/dist/graph/nodes/AttioNoteView.d.ts +1 -1
- package/dist/graph/nodes/AttioNoteView.d.ts.map +1 -1
- package/dist/graph/nodes/AttioTaskView.d.ts +1 -1
- package/dist/graph/nodes/AttioTaskView.d.ts.map +1 -1
- package/dist/graph/nodes/BrandAssetAnalysisActionView.d.ts +1 -1
- package/dist/graph/nodes/BrandAssetAnalysisActionView.d.ts.map +1 -1
- package/dist/graph/nodes/BrandAssetAnalysisView.d.ts +1 -1
- package/dist/graph/nodes/BrandAssetAnalysisView.d.ts.map +1 -1
- package/dist/graph/nodes/BrandFontSuggestionView.d.ts +1 -1
- package/dist/graph/nodes/BrandFontSuggestionView.d.ts.map +1 -1
- package/dist/graph/nodes/BrandGuidelinesView.d.ts +1 -1
- package/dist/graph/nodes/BrandGuidelinesView.d.ts.map +1 -1
- package/dist/graph/nodes/ConnectedAccountCard.d.ts +1 -1
- package/dist/graph/nodes/ConnectedAccountCard.d.ts.map +1 -1
- package/dist/graph/nodes/CoresignalCompanyView.d.ts +1 -1
- package/dist/graph/nodes/CoresignalCompanyView.d.ts.map +1 -1
- package/dist/graph/nodes/CoresignalEmployeeView.d.ts +1 -1
- package/dist/graph/nodes/CoresignalEmployeeView.d.ts.map +1 -1
- package/dist/graph/nodes/CoresignalExperienceView.d.ts +1 -1
- package/dist/graph/nodes/CoresignalExperienceView.d.ts.map +1 -1
- package/dist/graph/nodes/CoresignalJobView.d.ts +1 -1
- package/dist/graph/nodes/CoresignalJobView.d.ts.map +1 -1
- package/dist/graph/nodes/CoresignalKeyExecutiveDepartureView.d.ts +1 -1
- package/dist/graph/nodes/CoresignalKeyExecutiveDepartureView.d.ts.map +1 -1
- package/dist/graph/nodes/EntityCardShell.d.ts +1 -1
- package/dist/graph/nodes/EntityCardShell.d.ts.map +1 -1
- package/dist/graph/nodes/Ga4DailyOverviewView.d.ts +1 -1
- package/dist/graph/nodes/Ga4DailyOverviewView.d.ts.map +1 -1
- package/dist/graph/nodes/Ga4FunnelEventCountView.d.ts +1 -1
- package/dist/graph/nodes/Ga4FunnelEventCountView.d.ts.map +1 -1
- package/dist/graph/nodes/Ga4TrafficSourceView.d.ts +1 -1
- package/dist/graph/nodes/Ga4TrafficSourceView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleAdGroupAdView.d.ts +1 -1
- package/dist/graph/nodes/GoogleAdGroupAdView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleAdGroupCriterionView.d.ts +1 -1
- package/dist/graph/nodes/GoogleAdGroupCriterionView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleAdGroupView.d.ts +1 -1
- package/dist/graph/nodes/GoogleAdGroupView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleCampaignBudgetView.d.ts +1 -1
- package/dist/graph/nodes/GoogleCampaignBudgetView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleCampaignCriterionView.d.ts +1 -1
- package/dist/graph/nodes/GoogleCampaignCriterionView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleCampaignInsightView.d.ts +1 -1
- package/dist/graph/nodes/GoogleCampaignInsightView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleCampaignView.d.ts +1 -1
- package/dist/graph/nodes/GoogleCampaignView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleCustomerClientView.d.ts +1 -1
- package/dist/graph/nodes/GoogleCustomerClientView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleCustomerView.d.ts +1 -1
- package/dist/graph/nodes/GoogleCustomerView.d.ts.map +1 -1
- package/dist/graph/nodes/GoogleSearchTermInsightView.d.ts +1 -1
- package/dist/graph/nodes/GoogleSearchTermInsightView.d.ts.map +1 -1
- package/dist/graph/nodes/LinkedinAdAccountView.d.ts +1 -1
- package/dist/graph/nodes/LinkedinAdAccountView.d.ts.map +1 -1
- package/dist/graph/nodes/MetaAdAccountActivityView.d.ts +1 -1
- package/dist/graph/nodes/MetaAdAccountActivityView.d.ts.map +1 -1
- package/dist/graph/nodes/MetaAdAccountView.d.ts +1 -1
- package/dist/graph/nodes/MetaAdAccountView.d.ts.map +1 -1
- package/dist/graph/nodes/MetaAdImageView.d.ts +1 -1
- package/dist/graph/nodes/MetaAdImageView.d.ts.map +1 -1
- package/dist/graph/nodes/MetaAdSetView.d.ts +1 -1
- package/dist/graph/nodes/MetaAdSetView.d.ts.map +1 -1
- package/dist/graph/nodes/MetaAdView.d.ts +1 -1
- package/dist/graph/nodes/MetaAdView.d.ts.map +1 -1
- package/dist/graph/nodes/MetaCampaignView.d.ts +1 -1
- package/dist/graph/nodes/MetaCampaignView.d.ts.map +1 -1
- package/dist/graph/nodes/MetaInsightView.d.ts +1 -1
- package/dist/graph/nodes/MetaInsightView.d.ts.map +1 -1
- package/dist/graph/nodes/RenderedTemplateView.d.ts +1 -1
- package/dist/graph/nodes/RenderedTemplateView.d.ts.map +1 -1
- package/dist/graph/nodes/SchemaActionView.d.ts +1 -1
- package/dist/graph/nodes/SchemaActionView.d.ts.map +1 -1
- package/dist/graph/nodes/ShopifyShopView.d.ts +1 -1
- package/dist/graph/nodes/ShopifyShopView.d.ts.map +1 -1
- package/dist/graph/nodes/SlackChannelView.d.ts +1 -1
- package/dist/graph/nodes/SlackChannelView.d.ts.map +1 -1
- package/dist/graph/nodes/SlackMessageView.d.ts +1 -1
- package/dist/graph/nodes/SlackMessageView.d.ts.map +1 -1
- package/dist/graph/nodes/SlackUserView.d.ts +1 -1
- package/dist/graph/nodes/SlackUserView.d.ts.map +1 -1
- package/dist/graph/nodes/SlackWorkspaceView.d.ts +1 -1
- package/dist/graph/nodes/SlackWorkspaceView.d.ts.map +1 -1
- package/dist/graph/nodes/attio-shared.d.ts +1 -1
- package/dist/graph/nodes/attio-shared.d.ts.map +1 -1
- package/dist/graph/nodes/attio-shared.js +1 -1
- package/dist/graph/nodes/brand-shared.d.ts.map +1 -1
- package/dist/graph/nodes/card-rows.js +1 -1
- package/dist/graph/nodes/google-campaign-utils.d.ts.map +1 -1
- package/dist/graph/nodes/insight-shared.d.ts +1 -1
- package/dist/graph/nodes/insight-shared.d.ts.map +1 -1
- package/dist/graph/special-nodes/BaseNode.d.ts +2 -2
- package/dist/graph/special-nodes/BaseNode.d.ts.map +1 -1
- package/dist/graph/special-nodes/BaseNode.js +1 -1
- package/dist/graph/special-nodes/DynamicNode.d.ts +1 -1
- package/dist/graph/special-nodes/DynamicNode.d.ts.map +1 -1
- package/dist/graph/special-nodes/EntityValueChip.js +1 -1
- package/dist/graph/special-nodes/GenericNode.d.ts +1 -1
- package/dist/graph/special-nodes/GenericNode.d.ts.map +1 -1
- package/dist/graph/special-nodes/GenericView.d.ts +1 -1
- package/dist/graph/special-nodes/GenericView.d.ts.map +1 -1
- package/dist/graph/special-nodes/NodeFrame.d.ts +1 -1
- package/dist/graph/special-nodes/NodeFrame.d.ts.map +1 -1
- package/dist/graph/special-nodes/NodeFrame.js +1 -1
- package/dist/graph/special-nodes/TypeSummaryNode.d.ts +1 -1
- package/dist/graph/special-nodes/TypeSummaryNode.d.ts.map +1 -1
- package/dist/graph/special-nodes/TypeSummaryNode.js +1 -1
- package/dist/graph/special-nodes/card-facts.js.map +1 -1
- package/dist/hooks/resolved-terms.d.ts +1 -0
- package/dist/hooks/resolved-terms.d.ts.map +1 -1
- package/dist/hooks/resolved-terms.js +2 -1
- package/dist/hooks/resolved-terms.js.map +1 -1
- package/dist/hooks/use-action-plans-list.d.ts.map +1 -1
- package/dist/hooks/use-action-plans-list.js.map +1 -1
- package/dist/hooks/use-activity-feed.js.map +1 -1
- package/dist/hooks/use-connection-problems.d.ts.map +1 -1
- package/dist/hooks/use-conversation-starters.d.ts +2 -2
- package/dist/hooks/use-entity-relations.d.ts.map +1 -1
- package/dist/hooks/use-entity.d.ts.map +1 -1
- package/dist/hooks/use-latest-rendered-template.d.ts.map +1 -1
- package/dist/hooks/use-manual-actions.d.ts.map +1 -1
- package/dist/hooks/use-manual-actions.js.map +1 -1
- package/dist/hooks/useActionGraph.d.ts.map +1 -1
- package/dist/hooks/useActionGraph.js.map +1 -1
- package/dist/hooks/useActionPlanDetail.d.ts +2 -2
- package/dist/hooks/useActionPlanDetail.d.ts.map +1 -1
- package/dist/hooks/useAuth.d.ts +2 -1
- package/dist/hooks/useAuth.d.ts.map +1 -1
- package/dist/hooks/useAuth.js +4 -1
- package/dist/hooks/useAuth.js.map +1 -1
- package/dist/hooks/useConversationGraphContext.js.map +1 -1
- package/dist/hooks/useConversations.js.map +1 -1
- package/dist/hooks/useDatastoreSelection.js.map +1 -1
- package/dist/hooks/useValidateActionPlan.d.ts.map +1 -1
- package/dist/lib/build-config.js.map +1 -1
- package/dist/lib/default-map.d.ts.map +1 -1
- package/dist/lib/default-map.js.map +1 -1
- package/dist/lib/merge-refs.d.ts.map +1 -1
- package/dist/lib/rdf/insights.js.map +1 -1
- package/dist/lib/structured-data/schema-converter.d.ts +2 -2
- package/dist/lib/structured-data/schema-converter.d.ts.map +1 -1
- package/dist/lib/structured-data/schema-converter.js.map +1 -1
- package/dist/lib/tanstack-query.js +1 -1
- package/dist/lib/tanstack-query.js.map +1 -1
- package/dist/lib/term-batcher.d.ts +3 -1
- package/dist/lib/term-batcher.d.ts.map +1 -1
- package/dist/lib/term-batcher.js +2 -2
- package/dist/lib/term-batcher.js.map +1 -1
- package/dist/lib/use-can-scroll.d.ts.map +1 -1
- package/dist/lib/use-color-palette.d.ts.map +1 -1
- package/dist/lib/use-toggle-set.js.map +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/ontology/OntologyTermText.js +1 -1
- package/dist/providers/ActiveChatProvider.d.ts +1 -1
- package/dist/providers/ActiveDatastoreProvider.js.map +1 -1
- package/dist/providers/AuthContext.d.ts +1 -0
- package/dist/providers/AuthContext.d.ts.map +1 -1
- package/dist/providers/AuthContext.js.map +1 -1
- package/dist/providers/ChatManagerProvider.js.map +1 -1
- package/dist/providers/commands/CommandContext.js +1 -1
- package/dist/routes/activity/components/ActivityTable.js +1 -1
- package/dist/routes/activity/detail/ActivityDetail.d.ts.map +1 -1
- package/dist/routes/activity/detail/ActivityDetail.js +1 -1
- package/dist/routes/activity/detail/ActivityStepsRail.js +1 -1
- package/dist/routes/activity/detail/ActivityTimeline.js +1 -1
- package/dist/routes/data-explorer/class-properties.js.map +1 -1
- package/dist/routes/data-explorer/class-relations.d.ts +2 -2
- package/dist/routes/data-explorer/components/DetailHeader.js +1 -1
- package/dist/routes/data-explorer/components/DetailHeader.js.map +1 -1
- package/dist/routes/data-explorer/components/SegmentBuilder.js +1 -1
- package/dist/routes/data-explorer/components/class-detail/ClassDetail.js +1 -1
- package/dist/routes/data-explorer/components/class-detail/CreateRecordAction.js +1 -1
- package/dist/routes/data-explorer/components/class-detail/Overview.js +1 -1
- package/dist/routes/data-explorer/components/ontology-coverage/CoverageNamespaceRail.js +1 -1
- package/dist/routes/data-explorer/components/ontology-coverage/CoverageSkeleton.js +1 -1
- package/dist/routes/data-explorer/components/record-detail/CreateAction.js +1 -1
- package/dist/routes/data-explorer/components/record-detail/RecordActions.d.ts.map +1 -1
- package/dist/routes/data-explorer/components/record-detail/RecordActions.js +12 -9
- package/dist/routes/data-explorer/components/record-detail/RecordActions.js.map +1 -1
- package/dist/routes/data-explorer/components/record-detail/RecordDetail.js +1 -1
- package/dist/routes/data-explorer/components/record-detail/RecordRefresh.d.ts +7 -0
- package/dist/routes/data-explorer/components/record-detail/RecordRefresh.d.ts.map +1 -0
- package/dist/routes/data-explorer/components/record-detail/RecordRefresh.js +104 -0
- package/dist/routes/data-explorer/components/record-detail/RecordRefresh.js.map +1 -0
- package/dist/routes/data-explorer/coverage.d.ts.map +1 -1
- package/dist/routes/data-explorer/sparql-client.js.map +1 -1
- package/dist/routes/datastores/components/DatastoreTableSkeleton.js +1 -1
- package/dist/routes/datastores/components/DatastoresToolbar.js +1 -1
- package/dist/routes/datastores/components/LinkUnlinkedDatastoreDialog.js +1 -1
- package/dist/routes/datastores/components/UnlinkedDatastoresPanel.js +1 -1
- package/dist/routes/datastores/hooks/useDatastoreColumns.d.ts +2 -2
- package/dist/routes/datastores/hooks/useDatastoreColumns.d.ts.map +1 -1
- package/dist/routes/datastores/hooks/useDatastoreColumns.js +2 -4
- package/dist/routes/datastores/hooks/useDatastoreColumns.js.map +1 -1
- package/dist/routes/datastores/index.js +1 -1
- package/dist/routes/integrations/catalog-shape.js.map +1 -1
- package/dist/routes/integrations/components/ConnectionRow.js +1 -1
- package/dist/routes/integrations/components/ProviderLogo.d.ts.map +1 -1
- package/dist/routes/integrations/components/connect-forms/DashConnectForm.js.map +1 -1
- package/dist/routes/integrations/components/connect-forms/MetaAdsConnectForm.js.map +1 -1
- package/dist/routes/integrations/components/connect-forms/MicrosoftAdsConnectForm.js.map +1 -1
- package/dist/routes/integrations/components/connect-forms/google-ads-account-tree.js.map +1 -1
- package/dist/routes/integrations/components/connect-forms/google-analytics-property-tree.js.map +1 -1
- package/dist/routes/integrations/types.d.ts.map +1 -1
- package/dist/routes/memories/components/ChangeScopeDialog.js +1 -1
- package/dist/routes/memories/components/ConflictMemoryCard.js +1 -1
- package/dist/routes/memories/components/ConsolidationReviewDialog.js +1 -1
- package/dist/routes/memories/components/LoadingSkeleton.js +1 -1
- package/dist/routes/memories/components/MemoriesFilters.js +1 -1
- package/dist/routes/memories/components/MemoriesTabPanel.js +1 -1
- package/dist/routes/memories/components/MemoryActions.js +1 -1
- package/dist/routes/memories/components/MemoryFields.js +1 -1
- package/dist/routes/memories/components/MemoryFormDialog.js +1 -1
- package/dist/routes/memories/expiry-utils.js.map +1 -1
- package/dist/routes/memories/hooks/useDuplicateDetection.js.map +1 -1
- package/dist/routes/memories/hooks/useLiveContext.d.ts.map +1 -1
- package/dist/routes/memories/hooks/useMemoryColumns.d.ts.map +1 -1
- package/dist/routes/memories/hooks/useMemoryColumns.js +1 -1
- package/dist/routes/memories/hooks/useMemoryTable.js.map +1 -1
- package/dist/routes/plans/components/ActionPlanPage.js +1 -1
- package/dist/routes/plans/components/ActionPlansFilters.js +1 -1
- package/dist/routes/plans/components/ActionPlansPage.js +1 -1
- package/dist/routes/plans/components/ActionPlansTableBody.js +1 -1
- package/dist/routes/plans/components/actionPlansTableConfig.d.ts +7 -7
- package/dist/routes/plans/components/actionPlansTableConfig.d.ts.map +1 -1
- package/dist/routes/plans/index.js +1 -1
- package/dist/routes/rules/components/RuleAffectedActionPlansSection.js +1 -1
- package/dist/routes/rules/components/RuleDetailsPage.js +1 -1
- package/dist/routes/rules/components/RuleProducersSection.js +1 -1
- package/dist/routes/rules/components/RuleSetup.js +1 -1
- package/dist/routes/rules/components/RulesOverviewPage.js +1 -1
- package/dist/routes/rules/components/datalog-editor/FactsPreview.js +1 -1
- package/dist/routes/rules/components/datalog-editor/SparqlQueryPanel.js +1 -1
- package/dist/routes/rules/components/rule-actionability.js.map +1 -1
- package/dist/rules/RuleNarrativeSegments.js +1 -1
- package/dist/rules/datalog-ast/DatalogAtomComponent.js +1 -1
- package/dist/rules/datalog-ast/DatalogBodyFormulaComponent.js +1 -1
- package/dist/rules/datalog-ast/DatalogExpressionRenderer.js +1 -1
- package/dist/rules/datalog-ast/DatalogTermComponent.js +1 -1
- package/dist/rules/datalog-cache.js.map +1 -1
- package/dist/rules/rule-narrative-format.d.ts.map +1 -1
- package/dist/rules/rule-narrative-renderer.js.map +1 -1
- package/dist/style.js +1 -1
- package/dist/templates/slack-to-markdown.js +1 -1
- package/package.json +14 -14
- package/src/components/badge/index.tsx +1 -1
- package/src/components/calendar/index.tsx +2 -2
- package/src/components/chart/ForecastChart.tsx +383 -0
- package/src/components/chart/ForecastEventCard.tsx +163 -0
- package/src/components/chart/ForecastHoverCard.tsx +73 -0
- package/src/components/chart/ForecastLegend.tsx +97 -0
- package/src/components/chart/forecast-model.ts +130 -0
- package/src/components/chart/forecast.ts +144 -0
- package/src/components/chart/index.tsx +3 -0
- package/src/components/input/input-field.tsx +1 -1
- package/src/components/input/textarea.tsx +1 -1
- package/src/components/popover/index.tsx +2 -1
- package/src/components/table/index.tsx +0 -1
- package/src/globals.css +2 -0
- package/src/hooks/resolved-terms.ts +6 -1
- package/src/hooks/useAuth.ts +5 -1
- package/src/lib/chat-types.ts +1 -1
- package/src/lib/tanstack-query.ts +2 -2
- package/src/lib/term-batcher.ts +3 -3
- package/src/lib/utils.ts +1 -1
- package/src/providers/AuthContext.ts +1 -0
- package/src/routes/data-explorer/components/DetailHeader.tsx +4 -4
- package/src/routes/data-explorer/components/record-detail/RecordActions.tsx +22 -16
- package/src/routes/data-explorer/components/record-detail/RecordRefresh.tsx +150 -0
- package/src/rules/datalog-ast/DatalogBodyFormulaComponent.tsx +1 -1
- package/src/rules/datalog-ast/DatalogTermComponent.tsx +1 -1
- package/src/shacl/shacl-form-types.ts +1 -1
- package/src/style.ts +1 -1
- package/src/templates/slack-to-markdown.ts +1 -1
- package/src/themes/manta-dark.css +2 -0
- package/src/themes/manta.css +2 -0
- package/src/themes/standard.css +2 -0
|
@@ -18,8 +18,8 @@ export declare const composedChartSeriesSchema: z.ZodObject<{
|
|
|
18
18
|
right: "right";
|
|
19
19
|
}>>;
|
|
20
20
|
kind: z.ZodEnum<{
|
|
21
|
-
line: "line";
|
|
22
21
|
bar: "bar";
|
|
22
|
+
line: "line";
|
|
23
23
|
}>;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
25
|
export type SeriesChartData<Chart extends {
|
|
@@ -34,17 +34,17 @@ export declare const annotationTones: readonly ["danger", "warning", "success",
|
|
|
34
34
|
export declare const annotationStats: readonly ["average", "median", "min", "max", "p90"];
|
|
35
35
|
export declare const annotationSeriesValues: readonly ["bar", "line"];
|
|
36
36
|
export declare const annotationToneSchema: z.ZodEnum<{
|
|
37
|
+
danger: "danger";
|
|
37
38
|
info: "info";
|
|
39
|
+
neutral: "neutral";
|
|
38
40
|
success: "success";
|
|
39
41
|
warning: "warning";
|
|
40
|
-
neutral: "neutral";
|
|
41
|
-
danger: "danger";
|
|
42
42
|
}>;
|
|
43
43
|
export declare const annotationStatSchema: z.ZodEnum<{
|
|
44
|
+
average: "average";
|
|
44
45
|
max: "max";
|
|
45
|
-
min: "min";
|
|
46
46
|
median: "median";
|
|
47
|
-
|
|
47
|
+
min: "min";
|
|
48
48
|
p90: "p90";
|
|
49
49
|
}>;
|
|
50
50
|
export declare const annotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -56,21 +56,21 @@ export declare const annotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
56
56
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
57
57
|
label: z.ZodOptional<z.ZodString>;
|
|
58
58
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
danger: "danger";
|
|
59
60
|
info: "info";
|
|
61
|
+
neutral: "neutral";
|
|
60
62
|
success: "success";
|
|
61
63
|
warning: "warning";
|
|
62
|
-
neutral: "neutral";
|
|
63
|
-
danger: "danger";
|
|
64
64
|
}>>;
|
|
65
65
|
color: z.ZodOptional<z.ZodString>;
|
|
66
66
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
67
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
68
|
kind: z.ZodLiteral<"stat-line">;
|
|
69
69
|
stat: z.ZodEnum<{
|
|
70
|
+
average: "average";
|
|
70
71
|
max: "max";
|
|
71
|
-
min: "min";
|
|
72
72
|
median: "median";
|
|
73
|
-
|
|
73
|
+
min: "min";
|
|
74
74
|
p90: "p90";
|
|
75
75
|
}>;
|
|
76
76
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -78,16 +78,16 @@ export declare const annotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
78
78
|
y: "y";
|
|
79
79
|
}>>;
|
|
80
80
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
81
|
-
line: "line";
|
|
82
81
|
bar: "bar";
|
|
82
|
+
line: "line";
|
|
83
83
|
}>, z.ZodString]>>;
|
|
84
84
|
label: z.ZodOptional<z.ZodString>;
|
|
85
85
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
86
|
+
danger: "danger";
|
|
86
87
|
info: "info";
|
|
88
|
+
neutral: "neutral";
|
|
87
89
|
success: "success";
|
|
88
90
|
warning: "warning";
|
|
89
|
-
neutral: "neutral";
|
|
90
|
-
danger: "danger";
|
|
91
91
|
}>>;
|
|
92
92
|
color: z.ZodOptional<z.ZodString>;
|
|
93
93
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -101,11 +101,11 @@ export declare const annotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
101
101
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
102
102
|
label: z.ZodOptional<z.ZodString>;
|
|
103
103
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
danger: "danger";
|
|
104
105
|
info: "info";
|
|
106
|
+
neutral: "neutral";
|
|
105
107
|
success: "success";
|
|
106
108
|
warning: "warning";
|
|
107
|
-
neutral: "neutral";
|
|
108
|
-
danger: "danger";
|
|
109
109
|
}>>;
|
|
110
110
|
color: z.ZodOptional<z.ZodString>;
|
|
111
111
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -114,17 +114,19 @@ export declare const annotationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
114
114
|
y: z.ZodNumber;
|
|
115
115
|
label: z.ZodOptional<z.ZodString>;
|
|
116
116
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
117
|
+
danger: "danger";
|
|
117
118
|
info: "info";
|
|
119
|
+
neutral: "neutral";
|
|
118
120
|
success: "success";
|
|
119
121
|
warning: "warning";
|
|
120
|
-
neutral: "neutral";
|
|
121
|
-
danger: "danger";
|
|
122
122
|
}>>;
|
|
123
123
|
color: z.ZodOptional<z.ZodString>;
|
|
124
124
|
}, z.core.$strip>], "kind">;
|
|
125
125
|
export declare const lineChartFieldsSchema: z.ZodObject<{
|
|
126
126
|
title: z.ZodOptional<z.ZodString>;
|
|
127
127
|
height: z.ZodOptional<z.ZodNumber>;
|
|
128
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
129
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
128
130
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
129
131
|
key: z.ZodString;
|
|
130
132
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -143,21 +145,21 @@ export declare const lineChartFieldsSchema: z.ZodObject<{
|
|
|
143
145
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
144
146
|
label: z.ZodOptional<z.ZodString>;
|
|
145
147
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
danger: "danger";
|
|
146
149
|
info: "info";
|
|
150
|
+
neutral: "neutral";
|
|
147
151
|
success: "success";
|
|
148
152
|
warning: "warning";
|
|
149
|
-
neutral: "neutral";
|
|
150
|
-
danger: "danger";
|
|
151
153
|
}>>;
|
|
152
154
|
color: z.ZodOptional<z.ZodString>;
|
|
153
155
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
154
156
|
}, z.core.$strip>, z.ZodObject<{
|
|
155
157
|
kind: z.ZodLiteral<"stat-line">;
|
|
156
158
|
stat: z.ZodEnum<{
|
|
159
|
+
average: "average";
|
|
157
160
|
max: "max";
|
|
158
|
-
min: "min";
|
|
159
161
|
median: "median";
|
|
160
|
-
|
|
162
|
+
min: "min";
|
|
161
163
|
p90: "p90";
|
|
162
164
|
}>;
|
|
163
165
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -165,16 +167,16 @@ export declare const lineChartFieldsSchema: z.ZodObject<{
|
|
|
165
167
|
y: "y";
|
|
166
168
|
}>>;
|
|
167
169
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
168
|
-
line: "line";
|
|
169
170
|
bar: "bar";
|
|
171
|
+
line: "line";
|
|
170
172
|
}>, z.ZodString]>>;
|
|
171
173
|
label: z.ZodOptional<z.ZodString>;
|
|
172
174
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
175
|
+
danger: "danger";
|
|
173
176
|
info: "info";
|
|
177
|
+
neutral: "neutral";
|
|
174
178
|
success: "success";
|
|
175
179
|
warning: "warning";
|
|
176
|
-
neutral: "neutral";
|
|
177
|
-
danger: "danger";
|
|
178
180
|
}>>;
|
|
179
181
|
color: z.ZodOptional<z.ZodString>;
|
|
180
182
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -188,11 +190,11 @@ export declare const lineChartFieldsSchema: z.ZodObject<{
|
|
|
188
190
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
189
191
|
label: z.ZodOptional<z.ZodString>;
|
|
190
192
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
193
|
+
danger: "danger";
|
|
191
194
|
info: "info";
|
|
195
|
+
neutral: "neutral";
|
|
192
196
|
success: "success";
|
|
193
197
|
warning: "warning";
|
|
194
|
-
neutral: "neutral";
|
|
195
|
-
danger: "danger";
|
|
196
198
|
}>>;
|
|
197
199
|
color: z.ZodOptional<z.ZodString>;
|
|
198
200
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -201,17 +203,15 @@ export declare const lineChartFieldsSchema: z.ZodObject<{
|
|
|
201
203
|
y: z.ZodNumber;
|
|
202
204
|
label: z.ZodOptional<z.ZodString>;
|
|
203
205
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
206
|
+
danger: "danger";
|
|
204
207
|
info: "info";
|
|
208
|
+
neutral: "neutral";
|
|
205
209
|
success: "success";
|
|
206
210
|
warning: "warning";
|
|
207
|
-
neutral: "neutral";
|
|
208
|
-
danger: "danger";
|
|
209
211
|
}>>;
|
|
210
212
|
color: z.ZodOptional<z.ZodString>;
|
|
211
213
|
}, z.core.$strip>], "kind">>>;
|
|
212
214
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
214
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
215
215
|
type: z.ZodLiteral<"line">;
|
|
216
216
|
data: z.ZodArray<z.ZodObject<{
|
|
217
217
|
x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
@@ -225,6 +225,8 @@ export type LineChartData = SeriesChartData<z.infer<typeof lineChartFieldsSchema
|
|
|
225
225
|
export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
226
226
|
title: z.ZodOptional<z.ZodString>;
|
|
227
227
|
height: z.ZodOptional<z.ZodNumber>;
|
|
228
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
229
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
228
230
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
229
231
|
key: z.ZodString;
|
|
230
232
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -243,21 +245,21 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
243
245
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
244
246
|
label: z.ZodOptional<z.ZodString>;
|
|
245
247
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
248
|
+
danger: "danger";
|
|
246
249
|
info: "info";
|
|
250
|
+
neutral: "neutral";
|
|
247
251
|
success: "success";
|
|
248
252
|
warning: "warning";
|
|
249
|
-
neutral: "neutral";
|
|
250
|
-
danger: "danger";
|
|
251
253
|
}>>;
|
|
252
254
|
color: z.ZodOptional<z.ZodString>;
|
|
253
255
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
254
256
|
}, z.core.$strip>, z.ZodObject<{
|
|
255
257
|
kind: z.ZodLiteral<"stat-line">;
|
|
256
258
|
stat: z.ZodEnum<{
|
|
259
|
+
average: "average";
|
|
257
260
|
max: "max";
|
|
258
|
-
min: "min";
|
|
259
261
|
median: "median";
|
|
260
|
-
|
|
262
|
+
min: "min";
|
|
261
263
|
p90: "p90";
|
|
262
264
|
}>;
|
|
263
265
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -265,16 +267,16 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
265
267
|
y: "y";
|
|
266
268
|
}>>;
|
|
267
269
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
268
|
-
line: "line";
|
|
269
270
|
bar: "bar";
|
|
271
|
+
line: "line";
|
|
270
272
|
}>, z.ZodString]>>;
|
|
271
273
|
label: z.ZodOptional<z.ZodString>;
|
|
272
274
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
275
|
+
danger: "danger";
|
|
273
276
|
info: "info";
|
|
277
|
+
neutral: "neutral";
|
|
274
278
|
success: "success";
|
|
275
279
|
warning: "warning";
|
|
276
|
-
neutral: "neutral";
|
|
277
|
-
danger: "danger";
|
|
278
280
|
}>>;
|
|
279
281
|
color: z.ZodOptional<z.ZodString>;
|
|
280
282
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -288,11 +290,11 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
288
290
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
289
291
|
label: z.ZodOptional<z.ZodString>;
|
|
290
292
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
293
|
+
danger: "danger";
|
|
291
294
|
info: "info";
|
|
295
|
+
neutral: "neutral";
|
|
292
296
|
success: "success";
|
|
293
297
|
warning: "warning";
|
|
294
|
-
neutral: "neutral";
|
|
295
|
-
danger: "danger";
|
|
296
298
|
}>>;
|
|
297
299
|
color: z.ZodOptional<z.ZodString>;
|
|
298
300
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -301,31 +303,25 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
301
303
|
y: z.ZodNumber;
|
|
302
304
|
label: z.ZodOptional<z.ZodString>;
|
|
303
305
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
306
|
+
danger: "danger";
|
|
304
307
|
info: "info";
|
|
308
|
+
neutral: "neutral";
|
|
305
309
|
success: "success";
|
|
306
310
|
warning: "warning";
|
|
307
|
-
neutral: "neutral";
|
|
308
|
-
danger: "danger";
|
|
309
311
|
}>>;
|
|
310
312
|
color: z.ZodOptional<z.ZodString>;
|
|
311
313
|
}, z.core.$strip>], "kind">>>;
|
|
312
314
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
314
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
315
315
|
type: z.ZodLiteral<"line">;
|
|
316
316
|
data: z.ZodArray<z.ZodObject<{
|
|
317
317
|
x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
318
318
|
y: z.ZodOptional<z.ZodNumber>;
|
|
319
319
|
}, z.core.$loose>>;
|
|
320
320
|
}, z.core.$strip>, z.ZodTransform<(Omit<{
|
|
321
|
-
type: "line";
|
|
322
|
-
data: {
|
|
323
|
-
[x: string]: unknown;
|
|
324
|
-
x: string | number;
|
|
325
|
-
y?: number | undefined;
|
|
326
|
-
}[];
|
|
327
321
|
title?: string | undefined;
|
|
328
322
|
height?: number | undefined;
|
|
323
|
+
xAxisLabel?: string | undefined;
|
|
324
|
+
yAxisLabel?: string | undefined;
|
|
329
325
|
series?: {
|
|
330
326
|
key: string;
|
|
331
327
|
label?: string | undefined;
|
|
@@ -337,16 +333,16 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
337
333
|
axis: "x" | "y";
|
|
338
334
|
value: string | number;
|
|
339
335
|
label?: string | undefined;
|
|
340
|
-
tone?: "
|
|
336
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
341
337
|
color?: string | undefined;
|
|
342
338
|
strokeDasharray?: string | undefined;
|
|
343
339
|
} | {
|
|
344
340
|
kind: "stat-line";
|
|
345
|
-
stat: "
|
|
341
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
346
342
|
axis?: "x" | "y" | undefined;
|
|
347
343
|
series?: string | undefined;
|
|
348
344
|
label?: string | undefined;
|
|
349
|
-
tone?: "
|
|
345
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
350
346
|
color?: string | undefined;
|
|
351
347
|
strokeDasharray?: string | undefined;
|
|
352
348
|
} | {
|
|
@@ -355,19 +351,23 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
355
351
|
from: string | number;
|
|
356
352
|
to: string | number;
|
|
357
353
|
label?: string | undefined;
|
|
358
|
-
tone?: "
|
|
354
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
359
355
|
color?: string | undefined;
|
|
360
356
|
} | {
|
|
361
357
|
kind: "reference-point";
|
|
362
358
|
x: string | number;
|
|
363
359
|
y: number;
|
|
364
360
|
label?: string | undefined;
|
|
365
|
-
tone?: "
|
|
361
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
366
362
|
color?: string | undefined;
|
|
367
363
|
})[] | undefined;
|
|
368
364
|
showValueLabels?: boolean | undefined;
|
|
369
|
-
|
|
370
|
-
|
|
365
|
+
type: "line";
|
|
366
|
+
data: {
|
|
367
|
+
[x: string]: unknown;
|
|
368
|
+
x: string | number;
|
|
369
|
+
y?: number | undefined;
|
|
370
|
+
}[];
|
|
371
371
|
}, "data" | "series"> & {
|
|
372
372
|
data: {
|
|
373
373
|
x: string | number;
|
|
@@ -375,14 +375,10 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
375
375
|
}[];
|
|
376
376
|
series?: undefined;
|
|
377
377
|
}) | ({
|
|
378
|
-
type: "line";
|
|
379
|
-
data: {
|
|
380
|
-
[x: string]: unknown;
|
|
381
|
-
x: string | number;
|
|
382
|
-
y?: number | undefined;
|
|
383
|
-
}[];
|
|
384
378
|
title?: string | undefined;
|
|
385
379
|
height?: number | undefined;
|
|
380
|
+
xAxisLabel?: string | undefined;
|
|
381
|
+
yAxisLabel?: string | undefined;
|
|
386
382
|
series?: {
|
|
387
383
|
key: string;
|
|
388
384
|
label?: string | undefined;
|
|
@@ -394,16 +390,16 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
394
390
|
axis: "x" | "y";
|
|
395
391
|
value: string | number;
|
|
396
392
|
label?: string | undefined;
|
|
397
|
-
tone?: "
|
|
393
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
398
394
|
color?: string | undefined;
|
|
399
395
|
strokeDasharray?: string | undefined;
|
|
400
396
|
} | {
|
|
401
397
|
kind: "stat-line";
|
|
402
|
-
stat: "
|
|
398
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
403
399
|
axis?: "x" | "y" | undefined;
|
|
404
400
|
series?: string | undefined;
|
|
405
401
|
label?: string | undefined;
|
|
406
|
-
tone?: "
|
|
402
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
407
403
|
color?: string | undefined;
|
|
408
404
|
strokeDasharray?: string | undefined;
|
|
409
405
|
} | {
|
|
@@ -412,19 +408,23 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
412
408
|
from: string | number;
|
|
413
409
|
to: string | number;
|
|
414
410
|
label?: string | undefined;
|
|
415
|
-
tone?: "
|
|
411
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
416
412
|
color?: string | undefined;
|
|
417
413
|
} | {
|
|
418
414
|
kind: "reference-point";
|
|
419
415
|
x: string | number;
|
|
420
416
|
y: number;
|
|
421
417
|
label?: string | undefined;
|
|
422
|
-
tone?: "
|
|
418
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
423
419
|
color?: string | undefined;
|
|
424
420
|
})[] | undefined;
|
|
425
421
|
showValueLabels?: boolean | undefined;
|
|
426
|
-
|
|
427
|
-
|
|
422
|
+
type: "line";
|
|
423
|
+
data: {
|
|
424
|
+
[x: string]: unknown;
|
|
425
|
+
x: string | number;
|
|
426
|
+
y?: number | undefined;
|
|
427
|
+
}[];
|
|
428
428
|
} & {
|
|
429
429
|
series: {
|
|
430
430
|
key: string;
|
|
@@ -432,14 +432,10 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
432
432
|
axis?: "left" | "right" | undefined;
|
|
433
433
|
}[];
|
|
434
434
|
}), {
|
|
435
|
-
type: "line";
|
|
436
|
-
data: {
|
|
437
|
-
[x: string]: unknown;
|
|
438
|
-
x: string | number;
|
|
439
|
-
y?: number | undefined;
|
|
440
|
-
}[];
|
|
441
435
|
title?: string | undefined;
|
|
442
436
|
height?: number | undefined;
|
|
437
|
+
xAxisLabel?: string | undefined;
|
|
438
|
+
yAxisLabel?: string | undefined;
|
|
443
439
|
series?: {
|
|
444
440
|
key: string;
|
|
445
441
|
label?: string | undefined;
|
|
@@ -451,16 +447,16 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
451
447
|
axis: "x" | "y";
|
|
452
448
|
value: string | number;
|
|
453
449
|
label?: string | undefined;
|
|
454
|
-
tone?: "
|
|
450
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
455
451
|
color?: string | undefined;
|
|
456
452
|
strokeDasharray?: string | undefined;
|
|
457
453
|
} | {
|
|
458
454
|
kind: "stat-line";
|
|
459
|
-
stat: "
|
|
455
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
460
456
|
axis?: "x" | "y" | undefined;
|
|
461
457
|
series?: string | undefined;
|
|
462
458
|
label?: string | undefined;
|
|
463
|
-
tone?: "
|
|
459
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
464
460
|
color?: string | undefined;
|
|
465
461
|
strokeDasharray?: string | undefined;
|
|
466
462
|
} | {
|
|
@@ -469,23 +465,29 @@ export declare const lineChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
469
465
|
from: string | number;
|
|
470
466
|
to: string | number;
|
|
471
467
|
label?: string | undefined;
|
|
472
|
-
tone?: "
|
|
468
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
473
469
|
color?: string | undefined;
|
|
474
470
|
} | {
|
|
475
471
|
kind: "reference-point";
|
|
476
472
|
x: string | number;
|
|
477
473
|
y: number;
|
|
478
474
|
label?: string | undefined;
|
|
479
|
-
tone?: "
|
|
475
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
480
476
|
color?: string | undefined;
|
|
481
477
|
})[] | undefined;
|
|
482
478
|
showValueLabels?: boolean | undefined;
|
|
483
|
-
|
|
484
|
-
|
|
479
|
+
type: "line";
|
|
480
|
+
data: {
|
|
481
|
+
[x: string]: unknown;
|
|
482
|
+
x: string | number;
|
|
483
|
+
y?: number | undefined;
|
|
484
|
+
}[];
|
|
485
485
|
}>>;
|
|
486
486
|
export declare const areaChartFieldsSchema: z.ZodObject<{
|
|
487
487
|
title: z.ZodOptional<z.ZodString>;
|
|
488
488
|
height: z.ZodOptional<z.ZodNumber>;
|
|
489
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
490
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
489
491
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
490
492
|
key: z.ZodString;
|
|
491
493
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -504,21 +506,21 @@ export declare const areaChartFieldsSchema: z.ZodObject<{
|
|
|
504
506
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
505
507
|
label: z.ZodOptional<z.ZodString>;
|
|
506
508
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
509
|
+
danger: "danger";
|
|
507
510
|
info: "info";
|
|
511
|
+
neutral: "neutral";
|
|
508
512
|
success: "success";
|
|
509
513
|
warning: "warning";
|
|
510
|
-
neutral: "neutral";
|
|
511
|
-
danger: "danger";
|
|
512
514
|
}>>;
|
|
513
515
|
color: z.ZodOptional<z.ZodString>;
|
|
514
516
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
515
517
|
}, z.core.$strip>, z.ZodObject<{
|
|
516
518
|
kind: z.ZodLiteral<"stat-line">;
|
|
517
519
|
stat: z.ZodEnum<{
|
|
520
|
+
average: "average";
|
|
518
521
|
max: "max";
|
|
519
|
-
min: "min";
|
|
520
522
|
median: "median";
|
|
521
|
-
|
|
523
|
+
min: "min";
|
|
522
524
|
p90: "p90";
|
|
523
525
|
}>;
|
|
524
526
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -526,16 +528,16 @@ export declare const areaChartFieldsSchema: z.ZodObject<{
|
|
|
526
528
|
y: "y";
|
|
527
529
|
}>>;
|
|
528
530
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
529
|
-
line: "line";
|
|
530
531
|
bar: "bar";
|
|
532
|
+
line: "line";
|
|
531
533
|
}>, z.ZodString]>>;
|
|
532
534
|
label: z.ZodOptional<z.ZodString>;
|
|
533
535
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
536
|
+
danger: "danger";
|
|
534
537
|
info: "info";
|
|
538
|
+
neutral: "neutral";
|
|
535
539
|
success: "success";
|
|
536
540
|
warning: "warning";
|
|
537
|
-
neutral: "neutral";
|
|
538
|
-
danger: "danger";
|
|
539
541
|
}>>;
|
|
540
542
|
color: z.ZodOptional<z.ZodString>;
|
|
541
543
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -549,11 +551,11 @@ export declare const areaChartFieldsSchema: z.ZodObject<{
|
|
|
549
551
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
550
552
|
label: z.ZodOptional<z.ZodString>;
|
|
551
553
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
554
|
+
danger: "danger";
|
|
552
555
|
info: "info";
|
|
556
|
+
neutral: "neutral";
|
|
553
557
|
success: "success";
|
|
554
558
|
warning: "warning";
|
|
555
|
-
neutral: "neutral";
|
|
556
|
-
danger: "danger";
|
|
557
559
|
}>>;
|
|
558
560
|
color: z.ZodOptional<z.ZodString>;
|
|
559
561
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -562,17 +564,15 @@ export declare const areaChartFieldsSchema: z.ZodObject<{
|
|
|
562
564
|
y: z.ZodNumber;
|
|
563
565
|
label: z.ZodOptional<z.ZodString>;
|
|
564
566
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
567
|
+
danger: "danger";
|
|
565
568
|
info: "info";
|
|
569
|
+
neutral: "neutral";
|
|
566
570
|
success: "success";
|
|
567
571
|
warning: "warning";
|
|
568
|
-
neutral: "neutral";
|
|
569
|
-
danger: "danger";
|
|
570
572
|
}>>;
|
|
571
573
|
color: z.ZodOptional<z.ZodString>;
|
|
572
574
|
}, z.core.$strip>], "kind">>>;
|
|
573
575
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
574
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
575
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
576
576
|
type: z.ZodLiteral<"area">;
|
|
577
577
|
data: z.ZodArray<z.ZodObject<{
|
|
578
578
|
x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
@@ -587,6 +587,8 @@ export type AreaChartData = SeriesChartData<z.infer<typeof areaChartFieldsSchema
|
|
|
587
587
|
export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
588
588
|
title: z.ZodOptional<z.ZodString>;
|
|
589
589
|
height: z.ZodOptional<z.ZodNumber>;
|
|
590
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
591
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
590
592
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
591
593
|
key: z.ZodString;
|
|
592
594
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -605,21 +607,21 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
605
607
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
606
608
|
label: z.ZodOptional<z.ZodString>;
|
|
607
609
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
610
|
+
danger: "danger";
|
|
608
611
|
info: "info";
|
|
612
|
+
neutral: "neutral";
|
|
609
613
|
success: "success";
|
|
610
614
|
warning: "warning";
|
|
611
|
-
neutral: "neutral";
|
|
612
|
-
danger: "danger";
|
|
613
615
|
}>>;
|
|
614
616
|
color: z.ZodOptional<z.ZodString>;
|
|
615
617
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
616
618
|
}, z.core.$strip>, z.ZodObject<{
|
|
617
619
|
kind: z.ZodLiteral<"stat-line">;
|
|
618
620
|
stat: z.ZodEnum<{
|
|
621
|
+
average: "average";
|
|
619
622
|
max: "max";
|
|
620
|
-
min: "min";
|
|
621
623
|
median: "median";
|
|
622
|
-
|
|
624
|
+
min: "min";
|
|
623
625
|
p90: "p90";
|
|
624
626
|
}>;
|
|
625
627
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -627,16 +629,16 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
627
629
|
y: "y";
|
|
628
630
|
}>>;
|
|
629
631
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
630
|
-
line: "line";
|
|
631
632
|
bar: "bar";
|
|
633
|
+
line: "line";
|
|
632
634
|
}>, z.ZodString]>>;
|
|
633
635
|
label: z.ZodOptional<z.ZodString>;
|
|
634
636
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
637
|
+
danger: "danger";
|
|
635
638
|
info: "info";
|
|
639
|
+
neutral: "neutral";
|
|
636
640
|
success: "success";
|
|
637
641
|
warning: "warning";
|
|
638
|
-
neutral: "neutral";
|
|
639
|
-
danger: "danger";
|
|
640
642
|
}>>;
|
|
641
643
|
color: z.ZodOptional<z.ZodString>;
|
|
642
644
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -650,11 +652,11 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
650
652
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
651
653
|
label: z.ZodOptional<z.ZodString>;
|
|
652
654
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
655
|
+
danger: "danger";
|
|
653
656
|
info: "info";
|
|
657
|
+
neutral: "neutral";
|
|
654
658
|
success: "success";
|
|
655
659
|
warning: "warning";
|
|
656
|
-
neutral: "neutral";
|
|
657
|
-
danger: "danger";
|
|
658
660
|
}>>;
|
|
659
661
|
color: z.ZodOptional<z.ZodString>;
|
|
660
662
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -663,17 +665,15 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
663
665
|
y: z.ZodNumber;
|
|
664
666
|
label: z.ZodOptional<z.ZodString>;
|
|
665
667
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
668
|
+
danger: "danger";
|
|
666
669
|
info: "info";
|
|
670
|
+
neutral: "neutral";
|
|
667
671
|
success: "success";
|
|
668
672
|
warning: "warning";
|
|
669
|
-
neutral: "neutral";
|
|
670
|
-
danger: "danger";
|
|
671
673
|
}>>;
|
|
672
674
|
color: z.ZodOptional<z.ZodString>;
|
|
673
675
|
}, z.core.$strip>], "kind">>>;
|
|
674
676
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
675
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
676
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
677
677
|
type: z.ZodLiteral<"area">;
|
|
678
678
|
data: z.ZodArray<z.ZodObject<{
|
|
679
679
|
x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
@@ -681,14 +681,10 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
681
681
|
}, z.core.$loose>>;
|
|
682
682
|
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
683
683
|
}, z.core.$strip>, z.ZodTransform<(Omit<{
|
|
684
|
-
type: "area";
|
|
685
|
-
data: {
|
|
686
|
-
[x: string]: unknown;
|
|
687
|
-
x: string | number;
|
|
688
|
-
y?: number | undefined;
|
|
689
|
-
}[];
|
|
690
684
|
title?: string | undefined;
|
|
691
685
|
height?: number | undefined;
|
|
686
|
+
xAxisLabel?: string | undefined;
|
|
687
|
+
yAxisLabel?: string | undefined;
|
|
692
688
|
series?: {
|
|
693
689
|
key: string;
|
|
694
690
|
label?: string | undefined;
|
|
@@ -700,16 +696,16 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
700
696
|
axis: "x" | "y";
|
|
701
697
|
value: string | number;
|
|
702
698
|
label?: string | undefined;
|
|
703
|
-
tone?: "
|
|
699
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
704
700
|
color?: string | undefined;
|
|
705
701
|
strokeDasharray?: string | undefined;
|
|
706
702
|
} | {
|
|
707
703
|
kind: "stat-line";
|
|
708
|
-
stat: "
|
|
704
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
709
705
|
axis?: "x" | "y" | undefined;
|
|
710
706
|
series?: string | undefined;
|
|
711
707
|
label?: string | undefined;
|
|
712
|
-
tone?: "
|
|
708
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
713
709
|
color?: string | undefined;
|
|
714
710
|
strokeDasharray?: string | undefined;
|
|
715
711
|
} | {
|
|
@@ -718,19 +714,23 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
718
714
|
from: string | number;
|
|
719
715
|
to: string | number;
|
|
720
716
|
label?: string | undefined;
|
|
721
|
-
tone?: "
|
|
717
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
722
718
|
color?: string | undefined;
|
|
723
719
|
} | {
|
|
724
720
|
kind: "reference-point";
|
|
725
721
|
x: string | number;
|
|
726
722
|
y: number;
|
|
727
723
|
label?: string | undefined;
|
|
728
|
-
tone?: "
|
|
724
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
729
725
|
color?: string | undefined;
|
|
730
726
|
})[] | undefined;
|
|
731
727
|
showValueLabels?: boolean | undefined;
|
|
732
|
-
|
|
733
|
-
|
|
728
|
+
type: "area";
|
|
729
|
+
data: {
|
|
730
|
+
[x: string]: unknown;
|
|
731
|
+
x: string | number;
|
|
732
|
+
y?: number | undefined;
|
|
733
|
+
}[];
|
|
734
734
|
stacked?: boolean | undefined;
|
|
735
735
|
}, "data" | "series"> & {
|
|
736
736
|
data: {
|
|
@@ -739,14 +739,10 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
739
739
|
}[];
|
|
740
740
|
series?: undefined;
|
|
741
741
|
}) | ({
|
|
742
|
-
type: "area";
|
|
743
|
-
data: {
|
|
744
|
-
[x: string]: unknown;
|
|
745
|
-
x: string | number;
|
|
746
|
-
y?: number | undefined;
|
|
747
|
-
}[];
|
|
748
742
|
title?: string | undefined;
|
|
749
743
|
height?: number | undefined;
|
|
744
|
+
xAxisLabel?: string | undefined;
|
|
745
|
+
yAxisLabel?: string | undefined;
|
|
750
746
|
series?: {
|
|
751
747
|
key: string;
|
|
752
748
|
label?: string | undefined;
|
|
@@ -758,16 +754,16 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
758
754
|
axis: "x" | "y";
|
|
759
755
|
value: string | number;
|
|
760
756
|
label?: string | undefined;
|
|
761
|
-
tone?: "
|
|
757
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
762
758
|
color?: string | undefined;
|
|
763
759
|
strokeDasharray?: string | undefined;
|
|
764
760
|
} | {
|
|
765
761
|
kind: "stat-line";
|
|
766
|
-
stat: "
|
|
762
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
767
763
|
axis?: "x" | "y" | undefined;
|
|
768
764
|
series?: string | undefined;
|
|
769
765
|
label?: string | undefined;
|
|
770
|
-
tone?: "
|
|
766
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
771
767
|
color?: string | undefined;
|
|
772
768
|
strokeDasharray?: string | undefined;
|
|
773
769
|
} | {
|
|
@@ -776,19 +772,23 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
776
772
|
from: string | number;
|
|
777
773
|
to: string | number;
|
|
778
774
|
label?: string | undefined;
|
|
779
|
-
tone?: "
|
|
775
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
780
776
|
color?: string | undefined;
|
|
781
777
|
} | {
|
|
782
778
|
kind: "reference-point";
|
|
783
779
|
x: string | number;
|
|
784
780
|
y: number;
|
|
785
781
|
label?: string | undefined;
|
|
786
|
-
tone?: "
|
|
782
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
787
783
|
color?: string | undefined;
|
|
788
784
|
})[] | undefined;
|
|
789
785
|
showValueLabels?: boolean | undefined;
|
|
790
|
-
|
|
791
|
-
|
|
786
|
+
type: "area";
|
|
787
|
+
data: {
|
|
788
|
+
[x: string]: unknown;
|
|
789
|
+
x: string | number;
|
|
790
|
+
y?: number | undefined;
|
|
791
|
+
}[];
|
|
792
792
|
stacked?: boolean | undefined;
|
|
793
793
|
} & {
|
|
794
794
|
series: {
|
|
@@ -797,14 +797,10 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
797
797
|
axis?: "left" | "right" | undefined;
|
|
798
798
|
}[];
|
|
799
799
|
}), {
|
|
800
|
-
type: "area";
|
|
801
|
-
data: {
|
|
802
|
-
[x: string]: unknown;
|
|
803
|
-
x: string | number;
|
|
804
|
-
y?: number | undefined;
|
|
805
|
-
}[];
|
|
806
800
|
title?: string | undefined;
|
|
807
801
|
height?: number | undefined;
|
|
802
|
+
xAxisLabel?: string | undefined;
|
|
803
|
+
yAxisLabel?: string | undefined;
|
|
808
804
|
series?: {
|
|
809
805
|
key: string;
|
|
810
806
|
label?: string | undefined;
|
|
@@ -816,16 +812,16 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
816
812
|
axis: "x" | "y";
|
|
817
813
|
value: string | number;
|
|
818
814
|
label?: string | undefined;
|
|
819
|
-
tone?: "
|
|
815
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
820
816
|
color?: string | undefined;
|
|
821
817
|
strokeDasharray?: string | undefined;
|
|
822
818
|
} | {
|
|
823
819
|
kind: "stat-line";
|
|
824
|
-
stat: "
|
|
820
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
825
821
|
axis?: "x" | "y" | undefined;
|
|
826
822
|
series?: string | undefined;
|
|
827
823
|
label?: string | undefined;
|
|
828
|
-
tone?: "
|
|
824
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
829
825
|
color?: string | undefined;
|
|
830
826
|
strokeDasharray?: string | undefined;
|
|
831
827
|
} | {
|
|
@@ -834,24 +830,30 @@ export declare const areaChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
834
830
|
from: string | number;
|
|
835
831
|
to: string | number;
|
|
836
832
|
label?: string | undefined;
|
|
837
|
-
tone?: "
|
|
833
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
838
834
|
color?: string | undefined;
|
|
839
835
|
} | {
|
|
840
836
|
kind: "reference-point";
|
|
841
837
|
x: string | number;
|
|
842
838
|
y: number;
|
|
843
839
|
label?: string | undefined;
|
|
844
|
-
tone?: "
|
|
840
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
845
841
|
color?: string | undefined;
|
|
846
842
|
})[] | undefined;
|
|
847
843
|
showValueLabels?: boolean | undefined;
|
|
848
|
-
|
|
849
|
-
|
|
844
|
+
type: "area";
|
|
845
|
+
data: {
|
|
846
|
+
[x: string]: unknown;
|
|
847
|
+
x: string | number;
|
|
848
|
+
y?: number | undefined;
|
|
849
|
+
}[];
|
|
850
850
|
stacked?: boolean | undefined;
|
|
851
851
|
}>>;
|
|
852
852
|
export declare const barChartFieldsSchema: z.ZodObject<{
|
|
853
853
|
title: z.ZodOptional<z.ZodString>;
|
|
854
854
|
height: z.ZodOptional<z.ZodNumber>;
|
|
855
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
856
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
855
857
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
856
858
|
key: z.ZodString;
|
|
857
859
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -870,21 +872,21 @@ export declare const barChartFieldsSchema: z.ZodObject<{
|
|
|
870
872
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
871
873
|
label: z.ZodOptional<z.ZodString>;
|
|
872
874
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
875
|
+
danger: "danger";
|
|
873
876
|
info: "info";
|
|
877
|
+
neutral: "neutral";
|
|
874
878
|
success: "success";
|
|
875
879
|
warning: "warning";
|
|
876
|
-
neutral: "neutral";
|
|
877
|
-
danger: "danger";
|
|
878
880
|
}>>;
|
|
879
881
|
color: z.ZodOptional<z.ZodString>;
|
|
880
882
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
881
883
|
}, z.core.$strip>, z.ZodObject<{
|
|
882
884
|
kind: z.ZodLiteral<"stat-line">;
|
|
883
885
|
stat: z.ZodEnum<{
|
|
886
|
+
average: "average";
|
|
884
887
|
max: "max";
|
|
885
|
-
min: "min";
|
|
886
888
|
median: "median";
|
|
887
|
-
|
|
889
|
+
min: "min";
|
|
888
890
|
p90: "p90";
|
|
889
891
|
}>;
|
|
890
892
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -892,16 +894,16 @@ export declare const barChartFieldsSchema: z.ZodObject<{
|
|
|
892
894
|
y: "y";
|
|
893
895
|
}>>;
|
|
894
896
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
895
|
-
line: "line";
|
|
896
897
|
bar: "bar";
|
|
898
|
+
line: "line";
|
|
897
899
|
}>, z.ZodString]>>;
|
|
898
900
|
label: z.ZodOptional<z.ZodString>;
|
|
899
901
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
902
|
+
danger: "danger";
|
|
900
903
|
info: "info";
|
|
904
|
+
neutral: "neutral";
|
|
901
905
|
success: "success";
|
|
902
906
|
warning: "warning";
|
|
903
|
-
neutral: "neutral";
|
|
904
|
-
danger: "danger";
|
|
905
907
|
}>>;
|
|
906
908
|
color: z.ZodOptional<z.ZodString>;
|
|
907
909
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -915,11 +917,11 @@ export declare const barChartFieldsSchema: z.ZodObject<{
|
|
|
915
917
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
916
918
|
label: z.ZodOptional<z.ZodString>;
|
|
917
919
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
920
|
+
danger: "danger";
|
|
918
921
|
info: "info";
|
|
922
|
+
neutral: "neutral";
|
|
919
923
|
success: "success";
|
|
920
924
|
warning: "warning";
|
|
921
|
-
neutral: "neutral";
|
|
922
|
-
danger: "danger";
|
|
923
925
|
}>>;
|
|
924
926
|
color: z.ZodOptional<z.ZodString>;
|
|
925
927
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -928,17 +930,15 @@ export declare const barChartFieldsSchema: z.ZodObject<{
|
|
|
928
930
|
y: z.ZodNumber;
|
|
929
931
|
label: z.ZodOptional<z.ZodString>;
|
|
930
932
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
933
|
+
danger: "danger";
|
|
931
934
|
info: "info";
|
|
935
|
+
neutral: "neutral";
|
|
932
936
|
success: "success";
|
|
933
937
|
warning: "warning";
|
|
934
|
-
neutral: "neutral";
|
|
935
|
-
danger: "danger";
|
|
936
938
|
}>>;
|
|
937
939
|
color: z.ZodOptional<z.ZodString>;
|
|
938
940
|
}, z.core.$strip>], "kind">>>;
|
|
939
941
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
941
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
942
942
|
type: z.ZodLiteral<"bar">;
|
|
943
943
|
data: z.ZodArray<z.ZodObject<{
|
|
944
944
|
name: z.ZodString;
|
|
@@ -953,6 +953,8 @@ export type BarChartData = SeriesChartData<z.infer<typeof barChartFieldsSchema>,
|
|
|
953
953
|
export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
954
954
|
title: z.ZodOptional<z.ZodString>;
|
|
955
955
|
height: z.ZodOptional<z.ZodNumber>;
|
|
956
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
957
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
956
958
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
957
959
|
key: z.ZodString;
|
|
958
960
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -971,21 +973,21 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
971
973
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
972
974
|
label: z.ZodOptional<z.ZodString>;
|
|
973
975
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
976
|
+
danger: "danger";
|
|
974
977
|
info: "info";
|
|
978
|
+
neutral: "neutral";
|
|
975
979
|
success: "success";
|
|
976
980
|
warning: "warning";
|
|
977
|
-
neutral: "neutral";
|
|
978
|
-
danger: "danger";
|
|
979
981
|
}>>;
|
|
980
982
|
color: z.ZodOptional<z.ZodString>;
|
|
981
983
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
982
984
|
}, z.core.$strip>, z.ZodObject<{
|
|
983
985
|
kind: z.ZodLiteral<"stat-line">;
|
|
984
986
|
stat: z.ZodEnum<{
|
|
987
|
+
average: "average";
|
|
985
988
|
max: "max";
|
|
986
|
-
min: "min";
|
|
987
989
|
median: "median";
|
|
988
|
-
|
|
990
|
+
min: "min";
|
|
989
991
|
p90: "p90";
|
|
990
992
|
}>;
|
|
991
993
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -993,16 +995,16 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
993
995
|
y: "y";
|
|
994
996
|
}>>;
|
|
995
997
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
996
|
-
line: "line";
|
|
997
998
|
bar: "bar";
|
|
999
|
+
line: "line";
|
|
998
1000
|
}>, z.ZodString]>>;
|
|
999
1001
|
label: z.ZodOptional<z.ZodString>;
|
|
1000
1002
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1003
|
+
danger: "danger";
|
|
1001
1004
|
info: "info";
|
|
1005
|
+
neutral: "neutral";
|
|
1002
1006
|
success: "success";
|
|
1003
1007
|
warning: "warning";
|
|
1004
|
-
neutral: "neutral";
|
|
1005
|
-
danger: "danger";
|
|
1006
1008
|
}>>;
|
|
1007
1009
|
color: z.ZodOptional<z.ZodString>;
|
|
1008
1010
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -1016,11 +1018,11 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1016
1018
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1017
1019
|
label: z.ZodOptional<z.ZodString>;
|
|
1018
1020
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1021
|
+
danger: "danger";
|
|
1019
1022
|
info: "info";
|
|
1023
|
+
neutral: "neutral";
|
|
1020
1024
|
success: "success";
|
|
1021
1025
|
warning: "warning";
|
|
1022
|
-
neutral: "neutral";
|
|
1023
|
-
danger: "danger";
|
|
1024
1026
|
}>>;
|
|
1025
1027
|
color: z.ZodOptional<z.ZodString>;
|
|
1026
1028
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1029,17 +1031,15 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1029
1031
|
y: z.ZodNumber;
|
|
1030
1032
|
label: z.ZodOptional<z.ZodString>;
|
|
1031
1033
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1034
|
+
danger: "danger";
|
|
1032
1035
|
info: "info";
|
|
1036
|
+
neutral: "neutral";
|
|
1033
1037
|
success: "success";
|
|
1034
1038
|
warning: "warning";
|
|
1035
|
-
neutral: "neutral";
|
|
1036
|
-
danger: "danger";
|
|
1037
1039
|
}>>;
|
|
1038
1040
|
color: z.ZodOptional<z.ZodString>;
|
|
1039
1041
|
}, z.core.$strip>], "kind">>>;
|
|
1040
1042
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1041
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1042
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1043
1043
|
type: z.ZodLiteral<"bar">;
|
|
1044
1044
|
data: z.ZodArray<z.ZodObject<{
|
|
1045
1045
|
name: z.ZodString;
|
|
@@ -1047,14 +1047,10 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1047
1047
|
}, z.core.$loose>>;
|
|
1048
1048
|
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
1049
1049
|
}, z.core.$strip>, z.ZodTransform<(Omit<{
|
|
1050
|
-
type: "bar";
|
|
1051
|
-
data: {
|
|
1052
|
-
[x: string]: unknown;
|
|
1053
|
-
name: string;
|
|
1054
|
-
value?: number | undefined;
|
|
1055
|
-
}[];
|
|
1056
1050
|
title?: string | undefined;
|
|
1057
1051
|
height?: number | undefined;
|
|
1052
|
+
xAxisLabel?: string | undefined;
|
|
1053
|
+
yAxisLabel?: string | undefined;
|
|
1058
1054
|
series?: {
|
|
1059
1055
|
key: string;
|
|
1060
1056
|
label?: string | undefined;
|
|
@@ -1066,16 +1062,16 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1066
1062
|
axis: "x" | "y";
|
|
1067
1063
|
value: string | number;
|
|
1068
1064
|
label?: string | undefined;
|
|
1069
|
-
tone?: "
|
|
1065
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1070
1066
|
color?: string | undefined;
|
|
1071
1067
|
strokeDasharray?: string | undefined;
|
|
1072
1068
|
} | {
|
|
1073
1069
|
kind: "stat-line";
|
|
1074
|
-
stat: "
|
|
1070
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
1075
1071
|
axis?: "x" | "y" | undefined;
|
|
1076
1072
|
series?: string | undefined;
|
|
1077
1073
|
label?: string | undefined;
|
|
1078
|
-
tone?: "
|
|
1074
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1079
1075
|
color?: string | undefined;
|
|
1080
1076
|
strokeDasharray?: string | undefined;
|
|
1081
1077
|
} | {
|
|
@@ -1084,19 +1080,23 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1084
1080
|
from: string | number;
|
|
1085
1081
|
to: string | number;
|
|
1086
1082
|
label?: string | undefined;
|
|
1087
|
-
tone?: "
|
|
1083
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1088
1084
|
color?: string | undefined;
|
|
1089
1085
|
} | {
|
|
1090
1086
|
kind: "reference-point";
|
|
1091
1087
|
x: string | number;
|
|
1092
1088
|
y: number;
|
|
1093
1089
|
label?: string | undefined;
|
|
1094
|
-
tone?: "
|
|
1090
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1095
1091
|
color?: string | undefined;
|
|
1096
1092
|
})[] | undefined;
|
|
1097
1093
|
showValueLabels?: boolean | undefined;
|
|
1098
|
-
|
|
1099
|
-
|
|
1094
|
+
type: "bar";
|
|
1095
|
+
data: {
|
|
1096
|
+
[x: string]: unknown;
|
|
1097
|
+
name: string;
|
|
1098
|
+
value?: number | undefined;
|
|
1099
|
+
}[];
|
|
1100
1100
|
stacked?: boolean | undefined;
|
|
1101
1101
|
}, "data" | "series"> & {
|
|
1102
1102
|
data: {
|
|
@@ -1105,14 +1105,10 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1105
1105
|
}[];
|
|
1106
1106
|
series?: undefined;
|
|
1107
1107
|
}) | ({
|
|
1108
|
-
type: "bar";
|
|
1109
|
-
data: {
|
|
1110
|
-
[x: string]: unknown;
|
|
1111
|
-
name: string;
|
|
1112
|
-
value?: number | undefined;
|
|
1113
|
-
}[];
|
|
1114
1108
|
title?: string | undefined;
|
|
1115
1109
|
height?: number | undefined;
|
|
1110
|
+
xAxisLabel?: string | undefined;
|
|
1111
|
+
yAxisLabel?: string | undefined;
|
|
1116
1112
|
series?: {
|
|
1117
1113
|
key: string;
|
|
1118
1114
|
label?: string | undefined;
|
|
@@ -1124,16 +1120,16 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1124
1120
|
axis: "x" | "y";
|
|
1125
1121
|
value: string | number;
|
|
1126
1122
|
label?: string | undefined;
|
|
1127
|
-
tone?: "
|
|
1123
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1128
1124
|
color?: string | undefined;
|
|
1129
1125
|
strokeDasharray?: string | undefined;
|
|
1130
1126
|
} | {
|
|
1131
1127
|
kind: "stat-line";
|
|
1132
|
-
stat: "
|
|
1128
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
1133
1129
|
axis?: "x" | "y" | undefined;
|
|
1134
1130
|
series?: string | undefined;
|
|
1135
1131
|
label?: string | undefined;
|
|
1136
|
-
tone?: "
|
|
1132
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1137
1133
|
color?: string | undefined;
|
|
1138
1134
|
strokeDasharray?: string | undefined;
|
|
1139
1135
|
} | {
|
|
@@ -1142,19 +1138,23 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1142
1138
|
from: string | number;
|
|
1143
1139
|
to: string | number;
|
|
1144
1140
|
label?: string | undefined;
|
|
1145
|
-
tone?: "
|
|
1141
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1146
1142
|
color?: string | undefined;
|
|
1147
1143
|
} | {
|
|
1148
1144
|
kind: "reference-point";
|
|
1149
1145
|
x: string | number;
|
|
1150
1146
|
y: number;
|
|
1151
1147
|
label?: string | undefined;
|
|
1152
|
-
tone?: "
|
|
1148
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1153
1149
|
color?: string | undefined;
|
|
1154
1150
|
})[] | undefined;
|
|
1155
1151
|
showValueLabels?: boolean | undefined;
|
|
1156
|
-
|
|
1157
|
-
|
|
1152
|
+
type: "bar";
|
|
1153
|
+
data: {
|
|
1154
|
+
[x: string]: unknown;
|
|
1155
|
+
name: string;
|
|
1156
|
+
value?: number | undefined;
|
|
1157
|
+
}[];
|
|
1158
1158
|
stacked?: boolean | undefined;
|
|
1159
1159
|
} & {
|
|
1160
1160
|
series: {
|
|
@@ -1163,14 +1163,10 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1163
1163
|
axis?: "left" | "right" | undefined;
|
|
1164
1164
|
}[];
|
|
1165
1165
|
}), {
|
|
1166
|
-
type: "bar";
|
|
1167
|
-
data: {
|
|
1168
|
-
[x: string]: unknown;
|
|
1169
|
-
name: string;
|
|
1170
|
-
value?: number | undefined;
|
|
1171
|
-
}[];
|
|
1172
1166
|
title?: string | undefined;
|
|
1173
1167
|
height?: number | undefined;
|
|
1168
|
+
xAxisLabel?: string | undefined;
|
|
1169
|
+
yAxisLabel?: string | undefined;
|
|
1174
1170
|
series?: {
|
|
1175
1171
|
key: string;
|
|
1176
1172
|
label?: string | undefined;
|
|
@@ -1182,16 +1178,16 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1182
1178
|
axis: "x" | "y";
|
|
1183
1179
|
value: string | number;
|
|
1184
1180
|
label?: string | undefined;
|
|
1185
|
-
tone?: "
|
|
1181
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1186
1182
|
color?: string | undefined;
|
|
1187
1183
|
strokeDasharray?: string | undefined;
|
|
1188
1184
|
} | {
|
|
1189
1185
|
kind: "stat-line";
|
|
1190
|
-
stat: "
|
|
1186
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
1191
1187
|
axis?: "x" | "y" | undefined;
|
|
1192
1188
|
series?: string | undefined;
|
|
1193
1189
|
label?: string | undefined;
|
|
1194
|
-
tone?: "
|
|
1190
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1195
1191
|
color?: string | undefined;
|
|
1196
1192
|
strokeDasharray?: string | undefined;
|
|
1197
1193
|
} | {
|
|
@@ -1200,19 +1196,23 @@ export declare const barChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1200
1196
|
from: string | number;
|
|
1201
1197
|
to: string | number;
|
|
1202
1198
|
label?: string | undefined;
|
|
1203
|
-
tone?: "
|
|
1199
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1204
1200
|
color?: string | undefined;
|
|
1205
1201
|
} | {
|
|
1206
1202
|
kind: "reference-point";
|
|
1207
1203
|
x: string | number;
|
|
1208
1204
|
y: number;
|
|
1209
1205
|
label?: string | undefined;
|
|
1210
|
-
tone?: "
|
|
1206
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1211
1207
|
color?: string | undefined;
|
|
1212
1208
|
})[] | undefined;
|
|
1213
1209
|
showValueLabels?: boolean | undefined;
|
|
1214
|
-
|
|
1215
|
-
|
|
1210
|
+
type: "bar";
|
|
1211
|
+
data: {
|
|
1212
|
+
[x: string]: unknown;
|
|
1213
|
+
name: string;
|
|
1214
|
+
value?: number | undefined;
|
|
1215
|
+
}[];
|
|
1216
1216
|
stacked?: boolean | undefined;
|
|
1217
1217
|
}>>;
|
|
1218
1218
|
export declare const pieChartSchema: z.ZodObject<{
|
|
@@ -1227,6 +1227,8 @@ export declare const pieChartSchema: z.ZodObject<{
|
|
|
1227
1227
|
export declare const scatterChartSchema: z.ZodObject<{
|
|
1228
1228
|
title: z.ZodOptional<z.ZodString>;
|
|
1229
1229
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1230
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1230
1232
|
annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1231
1233
|
kind: z.ZodLiteral<"reference-line">;
|
|
1232
1234
|
axis: z.ZodEnum<{
|
|
@@ -1236,21 +1238,21 @@ export declare const scatterChartSchema: z.ZodObject<{
|
|
|
1236
1238
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1237
1239
|
label: z.ZodOptional<z.ZodString>;
|
|
1238
1240
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1241
|
+
danger: "danger";
|
|
1239
1242
|
info: "info";
|
|
1243
|
+
neutral: "neutral";
|
|
1240
1244
|
success: "success";
|
|
1241
1245
|
warning: "warning";
|
|
1242
|
-
neutral: "neutral";
|
|
1243
|
-
danger: "danger";
|
|
1244
1246
|
}>>;
|
|
1245
1247
|
color: z.ZodOptional<z.ZodString>;
|
|
1246
1248
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
1247
1249
|
}, z.core.$strip>, z.ZodObject<{
|
|
1248
1250
|
kind: z.ZodLiteral<"stat-line">;
|
|
1249
1251
|
stat: z.ZodEnum<{
|
|
1252
|
+
average: "average";
|
|
1250
1253
|
max: "max";
|
|
1251
|
-
min: "min";
|
|
1252
1254
|
median: "median";
|
|
1253
|
-
|
|
1255
|
+
min: "min";
|
|
1254
1256
|
p90: "p90";
|
|
1255
1257
|
}>;
|
|
1256
1258
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1258,16 +1260,16 @@ export declare const scatterChartSchema: z.ZodObject<{
|
|
|
1258
1260
|
y: "y";
|
|
1259
1261
|
}>>;
|
|
1260
1262
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1261
|
-
line: "line";
|
|
1262
1263
|
bar: "bar";
|
|
1264
|
+
line: "line";
|
|
1263
1265
|
}>, z.ZodString]>>;
|
|
1264
1266
|
label: z.ZodOptional<z.ZodString>;
|
|
1265
1267
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1268
|
+
danger: "danger";
|
|
1266
1269
|
info: "info";
|
|
1270
|
+
neutral: "neutral";
|
|
1267
1271
|
success: "success";
|
|
1268
1272
|
warning: "warning";
|
|
1269
|
-
neutral: "neutral";
|
|
1270
|
-
danger: "danger";
|
|
1271
1273
|
}>>;
|
|
1272
1274
|
color: z.ZodOptional<z.ZodString>;
|
|
1273
1275
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -1281,11 +1283,11 @@ export declare const scatterChartSchema: z.ZodObject<{
|
|
|
1281
1283
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1282
1284
|
label: z.ZodOptional<z.ZodString>;
|
|
1283
1285
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1286
|
+
danger: "danger";
|
|
1284
1287
|
info: "info";
|
|
1288
|
+
neutral: "neutral";
|
|
1285
1289
|
success: "success";
|
|
1286
1290
|
warning: "warning";
|
|
1287
|
-
neutral: "neutral";
|
|
1288
|
-
danger: "danger";
|
|
1289
1291
|
}>>;
|
|
1290
1292
|
color: z.ZodOptional<z.ZodString>;
|
|
1291
1293
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1294,17 +1296,15 @@ export declare const scatterChartSchema: z.ZodObject<{
|
|
|
1294
1296
|
y: z.ZodNumber;
|
|
1295
1297
|
label: z.ZodOptional<z.ZodString>;
|
|
1296
1298
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1299
|
+
danger: "danger";
|
|
1297
1300
|
info: "info";
|
|
1301
|
+
neutral: "neutral";
|
|
1298
1302
|
success: "success";
|
|
1299
1303
|
warning: "warning";
|
|
1300
|
-
neutral: "neutral";
|
|
1301
|
-
danger: "danger";
|
|
1302
1304
|
}>>;
|
|
1303
1305
|
color: z.ZodOptional<z.ZodString>;
|
|
1304
1306
|
}, z.core.$strip>], "kind">>>;
|
|
1305
1307
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1306
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1307
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1308
1308
|
type: z.ZodLiteral<"scatter">;
|
|
1309
1309
|
data: z.ZodArray<z.ZodObject<{
|
|
1310
1310
|
x: z.ZodNumber;
|
|
@@ -1323,18 +1323,8 @@ export declare const radarChartSchema: z.ZodObject<{
|
|
|
1323
1323
|
export declare const composedChartFieldsSchema: z.ZodObject<{
|
|
1324
1324
|
title: z.ZodOptional<z.ZodString>;
|
|
1325
1325
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1329
|
-
axis: z.ZodOptional<z.ZodEnum<{
|
|
1330
|
-
left: "left";
|
|
1331
|
-
right: "right";
|
|
1332
|
-
}>>;
|
|
1333
|
-
kind: z.ZodEnum<{
|
|
1334
|
-
line: "line";
|
|
1335
|
-
bar: "bar";
|
|
1336
|
-
}>;
|
|
1337
|
-
}, z.core.$strip>>>;
|
|
1326
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1327
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1338
1328
|
rightAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1339
1329
|
annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1340
1330
|
kind: z.ZodLiteral<"reference-line">;
|
|
@@ -1345,21 +1335,21 @@ export declare const composedChartFieldsSchema: z.ZodObject<{
|
|
|
1345
1335
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1346
1336
|
label: z.ZodOptional<z.ZodString>;
|
|
1347
1337
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1338
|
+
danger: "danger";
|
|
1348
1339
|
info: "info";
|
|
1340
|
+
neutral: "neutral";
|
|
1349
1341
|
success: "success";
|
|
1350
1342
|
warning: "warning";
|
|
1351
|
-
neutral: "neutral";
|
|
1352
|
-
danger: "danger";
|
|
1353
1343
|
}>>;
|
|
1354
1344
|
color: z.ZodOptional<z.ZodString>;
|
|
1355
1345
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
1356
1346
|
}, z.core.$strip>, z.ZodObject<{
|
|
1357
1347
|
kind: z.ZodLiteral<"stat-line">;
|
|
1358
1348
|
stat: z.ZodEnum<{
|
|
1349
|
+
average: "average";
|
|
1359
1350
|
max: "max";
|
|
1360
|
-
min: "min";
|
|
1361
1351
|
median: "median";
|
|
1362
|
-
|
|
1352
|
+
min: "min";
|
|
1363
1353
|
p90: "p90";
|
|
1364
1354
|
}>;
|
|
1365
1355
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1367,16 +1357,16 @@ export declare const composedChartFieldsSchema: z.ZodObject<{
|
|
|
1367
1357
|
y: "y";
|
|
1368
1358
|
}>>;
|
|
1369
1359
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1370
|
-
line: "line";
|
|
1371
1360
|
bar: "bar";
|
|
1361
|
+
line: "line";
|
|
1372
1362
|
}>, z.ZodString]>>;
|
|
1373
1363
|
label: z.ZodOptional<z.ZodString>;
|
|
1374
1364
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1365
|
+
danger: "danger";
|
|
1375
1366
|
info: "info";
|
|
1367
|
+
neutral: "neutral";
|
|
1376
1368
|
success: "success";
|
|
1377
1369
|
warning: "warning";
|
|
1378
|
-
neutral: "neutral";
|
|
1379
|
-
danger: "danger";
|
|
1380
1370
|
}>>;
|
|
1381
1371
|
color: z.ZodOptional<z.ZodString>;
|
|
1382
1372
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -1390,11 +1380,11 @@ export declare const composedChartFieldsSchema: z.ZodObject<{
|
|
|
1390
1380
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1391
1381
|
label: z.ZodOptional<z.ZodString>;
|
|
1392
1382
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1383
|
+
danger: "danger";
|
|
1393
1384
|
info: "info";
|
|
1385
|
+
neutral: "neutral";
|
|
1394
1386
|
success: "success";
|
|
1395
1387
|
warning: "warning";
|
|
1396
|
-
neutral: "neutral";
|
|
1397
|
-
danger: "danger";
|
|
1398
1388
|
}>>;
|
|
1399
1389
|
color: z.ZodOptional<z.ZodString>;
|
|
1400
1390
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1403,17 +1393,15 @@ export declare const composedChartFieldsSchema: z.ZodObject<{
|
|
|
1403
1393
|
y: z.ZodNumber;
|
|
1404
1394
|
label: z.ZodOptional<z.ZodString>;
|
|
1405
1395
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1396
|
+
danger: "danger";
|
|
1406
1397
|
info: "info";
|
|
1398
|
+
neutral: "neutral";
|
|
1407
1399
|
success: "success";
|
|
1408
1400
|
warning: "warning";
|
|
1409
|
-
neutral: "neutral";
|
|
1410
|
-
danger: "danger";
|
|
1411
1401
|
}>>;
|
|
1412
1402
|
color: z.ZodOptional<z.ZodString>;
|
|
1413
1403
|
}, z.core.$strip>], "kind">>>;
|
|
1414
1404
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1415
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1416
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1417
1405
|
type: z.ZodLiteral<"composed">;
|
|
1418
1406
|
data: z.ZodArray<z.ZodObject<{
|
|
1419
1407
|
name: z.ZodString;
|
|
@@ -1423,15 +1411,6 @@ export declare const composedChartFieldsSchema: z.ZodObject<{
|
|
|
1423
1411
|
barLabel: z.ZodOptional<z.ZodString>;
|
|
1424
1412
|
lineLabel: z.ZodOptional<z.ZodString>;
|
|
1425
1413
|
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
1426
|
-
}, z.core.$strip>;
|
|
1427
|
-
export type ComposedChartData = SeriesChartData<z.infer<typeof composedChartFieldsSchema>, {
|
|
1428
|
-
name: string;
|
|
1429
|
-
barValue: number;
|
|
1430
|
-
lineValue: number;
|
|
1431
|
-
}>;
|
|
1432
|
-
export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
1433
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1434
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
1435
1414
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1436
1415
|
key: z.ZodString;
|
|
1437
1416
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1440,10 +1419,21 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1440
1419
|
right: "right";
|
|
1441
1420
|
}>>;
|
|
1442
1421
|
kind: z.ZodEnum<{
|
|
1443
|
-
line: "line";
|
|
1444
1422
|
bar: "bar";
|
|
1423
|
+
line: "line";
|
|
1445
1424
|
}>;
|
|
1446
1425
|
}, z.core.$strip>>>;
|
|
1426
|
+
}, z.core.$strip>;
|
|
1427
|
+
export type ComposedChartData = SeriesChartData<z.infer<typeof composedChartFieldsSchema>, {
|
|
1428
|
+
name: string;
|
|
1429
|
+
barValue: number;
|
|
1430
|
+
lineValue: number;
|
|
1431
|
+
}>;
|
|
1432
|
+
export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
1433
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1434
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1435
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1436
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1447
1437
|
rightAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1448
1438
|
annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1449
1439
|
kind: z.ZodLiteral<"reference-line">;
|
|
@@ -1454,21 +1444,21 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1454
1444
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1455
1445
|
label: z.ZodOptional<z.ZodString>;
|
|
1456
1446
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1447
|
+
danger: "danger";
|
|
1457
1448
|
info: "info";
|
|
1449
|
+
neutral: "neutral";
|
|
1458
1450
|
success: "success";
|
|
1459
1451
|
warning: "warning";
|
|
1460
|
-
neutral: "neutral";
|
|
1461
|
-
danger: "danger";
|
|
1462
1452
|
}>>;
|
|
1463
1453
|
color: z.ZodOptional<z.ZodString>;
|
|
1464
1454
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
1465
1455
|
}, z.core.$strip>, z.ZodObject<{
|
|
1466
1456
|
kind: z.ZodLiteral<"stat-line">;
|
|
1467
1457
|
stat: z.ZodEnum<{
|
|
1458
|
+
average: "average";
|
|
1468
1459
|
max: "max";
|
|
1469
|
-
min: "min";
|
|
1470
1460
|
median: "median";
|
|
1471
|
-
|
|
1461
|
+
min: "min";
|
|
1472
1462
|
p90: "p90";
|
|
1473
1463
|
}>;
|
|
1474
1464
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1476,16 +1466,16 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1476
1466
|
y: "y";
|
|
1477
1467
|
}>>;
|
|
1478
1468
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1479
|
-
line: "line";
|
|
1480
1469
|
bar: "bar";
|
|
1470
|
+
line: "line";
|
|
1481
1471
|
}>, z.ZodString]>>;
|
|
1482
1472
|
label: z.ZodOptional<z.ZodString>;
|
|
1483
1473
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1474
|
+
danger: "danger";
|
|
1484
1475
|
info: "info";
|
|
1476
|
+
neutral: "neutral";
|
|
1485
1477
|
success: "success";
|
|
1486
1478
|
warning: "warning";
|
|
1487
|
-
neutral: "neutral";
|
|
1488
|
-
danger: "danger";
|
|
1489
1479
|
}>>;
|
|
1490
1480
|
color: z.ZodOptional<z.ZodString>;
|
|
1491
1481
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -1499,11 +1489,11 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1499
1489
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1500
1490
|
label: z.ZodOptional<z.ZodString>;
|
|
1501
1491
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1492
|
+
danger: "danger";
|
|
1502
1493
|
info: "info";
|
|
1494
|
+
neutral: "neutral";
|
|
1503
1495
|
success: "success";
|
|
1504
1496
|
warning: "warning";
|
|
1505
|
-
neutral: "neutral";
|
|
1506
|
-
danger: "danger";
|
|
1507
1497
|
}>>;
|
|
1508
1498
|
color: z.ZodOptional<z.ZodString>;
|
|
1509
1499
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1512,17 +1502,15 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1512
1502
|
y: z.ZodNumber;
|
|
1513
1503
|
label: z.ZodOptional<z.ZodString>;
|
|
1514
1504
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1505
|
+
danger: "danger";
|
|
1515
1506
|
info: "info";
|
|
1507
|
+
neutral: "neutral";
|
|
1516
1508
|
success: "success";
|
|
1517
1509
|
warning: "warning";
|
|
1518
|
-
neutral: "neutral";
|
|
1519
|
-
danger: "danger";
|
|
1520
1510
|
}>>;
|
|
1521
1511
|
color: z.ZodOptional<z.ZodString>;
|
|
1522
1512
|
}, z.core.$strip>], "kind">>>;
|
|
1523
1513
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1524
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1525
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1526
1514
|
type: z.ZodLiteral<"composed">;
|
|
1527
1515
|
data: z.ZodArray<z.ZodObject<{
|
|
1528
1516
|
name: z.ZodString;
|
|
@@ -1532,38 +1520,39 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1532
1520
|
barLabel: z.ZodOptional<z.ZodString>;
|
|
1533
1521
|
lineLabel: z.ZodOptional<z.ZodString>;
|
|
1534
1522
|
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
1523
|
+
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1524
|
+
key: z.ZodString;
|
|
1525
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1526
|
+
axis: z.ZodOptional<z.ZodEnum<{
|
|
1527
|
+
left: "left";
|
|
1528
|
+
right: "right";
|
|
1529
|
+
}>>;
|
|
1530
|
+
kind: z.ZodEnum<{
|
|
1531
|
+
bar: "bar";
|
|
1532
|
+
line: "line";
|
|
1533
|
+
}>;
|
|
1534
|
+
}, z.core.$strip>>>;
|
|
1535
1535
|
}, z.core.$strip>, z.ZodTransform<(Omit<{
|
|
1536
|
-
type: "composed";
|
|
1537
|
-
data: {
|
|
1538
|
-
[x: string]: unknown;
|
|
1539
|
-
name: string;
|
|
1540
|
-
barValue?: number | undefined;
|
|
1541
|
-
lineValue?: number | undefined;
|
|
1542
|
-
}[];
|
|
1543
1536
|
title?: string | undefined;
|
|
1544
1537
|
height?: number | undefined;
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
kind: "line" | "bar";
|
|
1548
|
-
label?: string | undefined;
|
|
1549
|
-
axis?: "left" | "right" | undefined;
|
|
1550
|
-
}[] | undefined;
|
|
1538
|
+
xAxisLabel?: string | undefined;
|
|
1539
|
+
yAxisLabel?: string | undefined;
|
|
1551
1540
|
rightAxisLabel?: string | undefined;
|
|
1552
1541
|
annotations?: ({
|
|
1553
1542
|
kind: "reference-line";
|
|
1554
1543
|
axis: "x" | "y";
|
|
1555
1544
|
value: string | number;
|
|
1556
1545
|
label?: string | undefined;
|
|
1557
|
-
tone?: "
|
|
1546
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1558
1547
|
color?: string | undefined;
|
|
1559
1548
|
strokeDasharray?: string | undefined;
|
|
1560
1549
|
} | {
|
|
1561
1550
|
kind: "stat-line";
|
|
1562
|
-
stat: "
|
|
1551
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
1563
1552
|
axis?: "x" | "y" | undefined;
|
|
1564
1553
|
series?: string | undefined;
|
|
1565
1554
|
label?: string | undefined;
|
|
1566
|
-
tone?: "
|
|
1555
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1567
1556
|
color?: string | undefined;
|
|
1568
1557
|
strokeDasharray?: string | undefined;
|
|
1569
1558
|
} | {
|
|
@@ -1572,22 +1561,33 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1572
1561
|
from: string | number;
|
|
1573
1562
|
to: string | number;
|
|
1574
1563
|
label?: string | undefined;
|
|
1575
|
-
tone?: "
|
|
1564
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1576
1565
|
color?: string | undefined;
|
|
1577
1566
|
} | {
|
|
1578
1567
|
kind: "reference-point";
|
|
1579
1568
|
x: string | number;
|
|
1580
1569
|
y: number;
|
|
1581
1570
|
label?: string | undefined;
|
|
1582
|
-
tone?: "
|
|
1571
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1583
1572
|
color?: string | undefined;
|
|
1584
1573
|
})[] | undefined;
|
|
1585
1574
|
showValueLabels?: boolean | undefined;
|
|
1586
|
-
|
|
1587
|
-
|
|
1575
|
+
type: "composed";
|
|
1576
|
+
data: {
|
|
1577
|
+
[x: string]: unknown;
|
|
1578
|
+
name: string;
|
|
1579
|
+
barValue?: number | undefined;
|
|
1580
|
+
lineValue?: number | undefined;
|
|
1581
|
+
}[];
|
|
1588
1582
|
barLabel?: string | undefined;
|
|
1589
1583
|
lineLabel?: string | undefined;
|
|
1590
1584
|
stacked?: boolean | undefined;
|
|
1585
|
+
series?: {
|
|
1586
|
+
key: string;
|
|
1587
|
+
label?: string | undefined;
|
|
1588
|
+
axis?: "left" | "right" | undefined;
|
|
1589
|
+
kind: "bar" | "line";
|
|
1590
|
+
}[] | undefined;
|
|
1591
1591
|
}, "data" | "series"> & {
|
|
1592
1592
|
data: {
|
|
1593
1593
|
name: string;
|
|
@@ -1596,37 +1596,26 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1596
1596
|
}[];
|
|
1597
1597
|
series?: undefined;
|
|
1598
1598
|
}) | ({
|
|
1599
|
-
type: "composed";
|
|
1600
|
-
data: {
|
|
1601
|
-
[x: string]: unknown;
|
|
1602
|
-
name: string;
|
|
1603
|
-
barValue?: number | undefined;
|
|
1604
|
-
lineValue?: number | undefined;
|
|
1605
|
-
}[];
|
|
1606
1599
|
title?: string | undefined;
|
|
1607
1600
|
height?: number | undefined;
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
kind: "line" | "bar";
|
|
1611
|
-
label?: string | undefined;
|
|
1612
|
-
axis?: "left" | "right" | undefined;
|
|
1613
|
-
}[] | undefined;
|
|
1601
|
+
xAxisLabel?: string | undefined;
|
|
1602
|
+
yAxisLabel?: string | undefined;
|
|
1614
1603
|
rightAxisLabel?: string | undefined;
|
|
1615
1604
|
annotations?: ({
|
|
1616
1605
|
kind: "reference-line";
|
|
1617
1606
|
axis: "x" | "y";
|
|
1618
1607
|
value: string | number;
|
|
1619
1608
|
label?: string | undefined;
|
|
1620
|
-
tone?: "
|
|
1609
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1621
1610
|
color?: string | undefined;
|
|
1622
1611
|
strokeDasharray?: string | undefined;
|
|
1623
1612
|
} | {
|
|
1624
1613
|
kind: "stat-line";
|
|
1625
|
-
stat: "
|
|
1614
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
1626
1615
|
axis?: "x" | "y" | undefined;
|
|
1627
1616
|
series?: string | undefined;
|
|
1628
1617
|
label?: string | undefined;
|
|
1629
|
-
tone?: "
|
|
1618
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1630
1619
|
color?: string | undefined;
|
|
1631
1620
|
strokeDasharray?: string | undefined;
|
|
1632
1621
|
} | {
|
|
@@ -1635,61 +1624,61 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1635
1624
|
from: string | number;
|
|
1636
1625
|
to: string | number;
|
|
1637
1626
|
label?: string | undefined;
|
|
1638
|
-
tone?: "
|
|
1627
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1639
1628
|
color?: string | undefined;
|
|
1640
1629
|
} | {
|
|
1641
1630
|
kind: "reference-point";
|
|
1642
1631
|
x: string | number;
|
|
1643
1632
|
y: number;
|
|
1644
1633
|
label?: string | undefined;
|
|
1645
|
-
tone?: "
|
|
1634
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1646
1635
|
color?: string | undefined;
|
|
1647
1636
|
})[] | undefined;
|
|
1648
1637
|
showValueLabels?: boolean | undefined;
|
|
1649
|
-
|
|
1650
|
-
|
|
1638
|
+
type: "composed";
|
|
1639
|
+
data: {
|
|
1640
|
+
[x: string]: unknown;
|
|
1641
|
+
name: string;
|
|
1642
|
+
barValue?: number | undefined;
|
|
1643
|
+
lineValue?: number | undefined;
|
|
1644
|
+
}[];
|
|
1651
1645
|
barLabel?: string | undefined;
|
|
1652
1646
|
lineLabel?: string | undefined;
|
|
1653
1647
|
stacked?: boolean | undefined;
|
|
1648
|
+
series?: {
|
|
1649
|
+
key: string;
|
|
1650
|
+
label?: string | undefined;
|
|
1651
|
+
axis?: "left" | "right" | undefined;
|
|
1652
|
+
kind: "bar" | "line";
|
|
1653
|
+
}[] | undefined;
|
|
1654
1654
|
} & {
|
|
1655
1655
|
series: {
|
|
1656
1656
|
key: string;
|
|
1657
|
-
kind: "line" | "bar";
|
|
1658
1657
|
label?: string | undefined;
|
|
1659
1658
|
axis?: "left" | "right" | undefined;
|
|
1659
|
+
kind: "bar" | "line";
|
|
1660
1660
|
}[];
|
|
1661
1661
|
}), {
|
|
1662
|
-
type: "composed";
|
|
1663
|
-
data: {
|
|
1664
|
-
[x: string]: unknown;
|
|
1665
|
-
name: string;
|
|
1666
|
-
barValue?: number | undefined;
|
|
1667
|
-
lineValue?: number | undefined;
|
|
1668
|
-
}[];
|
|
1669
1662
|
title?: string | undefined;
|
|
1670
1663
|
height?: number | undefined;
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
kind: "line" | "bar";
|
|
1674
|
-
label?: string | undefined;
|
|
1675
|
-
axis?: "left" | "right" | undefined;
|
|
1676
|
-
}[] | undefined;
|
|
1664
|
+
xAxisLabel?: string | undefined;
|
|
1665
|
+
yAxisLabel?: string | undefined;
|
|
1677
1666
|
rightAxisLabel?: string | undefined;
|
|
1678
1667
|
annotations?: ({
|
|
1679
1668
|
kind: "reference-line";
|
|
1680
1669
|
axis: "x" | "y";
|
|
1681
1670
|
value: string | number;
|
|
1682
1671
|
label?: string | undefined;
|
|
1683
|
-
tone?: "
|
|
1672
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1684
1673
|
color?: string | undefined;
|
|
1685
1674
|
strokeDasharray?: string | undefined;
|
|
1686
1675
|
} | {
|
|
1687
1676
|
kind: "stat-line";
|
|
1688
|
-
stat: "
|
|
1677
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
1689
1678
|
axis?: "x" | "y" | undefined;
|
|
1690
1679
|
series?: string | undefined;
|
|
1691
1680
|
label?: string | undefined;
|
|
1692
|
-
tone?: "
|
|
1681
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1693
1682
|
color?: string | undefined;
|
|
1694
1683
|
strokeDasharray?: string | undefined;
|
|
1695
1684
|
} | {
|
|
@@ -1698,26 +1687,39 @@ export declare const composedChartSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1698
1687
|
from: string | number;
|
|
1699
1688
|
to: string | number;
|
|
1700
1689
|
label?: string | undefined;
|
|
1701
|
-
tone?: "
|
|
1690
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1702
1691
|
color?: string | undefined;
|
|
1703
1692
|
} | {
|
|
1704
1693
|
kind: "reference-point";
|
|
1705
1694
|
x: string | number;
|
|
1706
1695
|
y: number;
|
|
1707
1696
|
label?: string | undefined;
|
|
1708
|
-
tone?: "
|
|
1697
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1709
1698
|
color?: string | undefined;
|
|
1710
1699
|
})[] | undefined;
|
|
1711
1700
|
showValueLabels?: boolean | undefined;
|
|
1712
|
-
|
|
1713
|
-
|
|
1701
|
+
type: "composed";
|
|
1702
|
+
data: {
|
|
1703
|
+
[x: string]: unknown;
|
|
1704
|
+
name: string;
|
|
1705
|
+
barValue?: number | undefined;
|
|
1706
|
+
lineValue?: number | undefined;
|
|
1707
|
+
}[];
|
|
1714
1708
|
barLabel?: string | undefined;
|
|
1715
1709
|
lineLabel?: string | undefined;
|
|
1716
1710
|
stacked?: boolean | undefined;
|
|
1711
|
+
series?: {
|
|
1712
|
+
key: string;
|
|
1713
|
+
label?: string | undefined;
|
|
1714
|
+
axis?: "left" | "right" | undefined;
|
|
1715
|
+
kind: "bar" | "line";
|
|
1716
|
+
}[] | undefined;
|
|
1717
1717
|
}>>;
|
|
1718
1718
|
export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject<{
|
|
1719
1719
|
title: z.ZodOptional<z.ZodString>;
|
|
1720
1720
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1721
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1721
1723
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1722
1724
|
key: z.ZodString;
|
|
1723
1725
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1736,21 +1738,21 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1736
1738
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1737
1739
|
label: z.ZodOptional<z.ZodString>;
|
|
1738
1740
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1741
|
+
danger: "danger";
|
|
1739
1742
|
info: "info";
|
|
1743
|
+
neutral: "neutral";
|
|
1740
1744
|
success: "success";
|
|
1741
1745
|
warning: "warning";
|
|
1742
|
-
neutral: "neutral";
|
|
1743
|
-
danger: "danger";
|
|
1744
1746
|
}>>;
|
|
1745
1747
|
color: z.ZodOptional<z.ZodString>;
|
|
1746
1748
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
1747
1749
|
}, z.core.$strip>, z.ZodObject<{
|
|
1748
1750
|
kind: z.ZodLiteral<"stat-line">;
|
|
1749
1751
|
stat: z.ZodEnum<{
|
|
1752
|
+
average: "average";
|
|
1750
1753
|
max: "max";
|
|
1751
|
-
min: "min";
|
|
1752
1754
|
median: "median";
|
|
1753
|
-
|
|
1755
|
+
min: "min";
|
|
1754
1756
|
p90: "p90";
|
|
1755
1757
|
}>;
|
|
1756
1758
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1758,16 +1760,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1758
1760
|
y: "y";
|
|
1759
1761
|
}>>;
|
|
1760
1762
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1761
|
-
line: "line";
|
|
1762
1763
|
bar: "bar";
|
|
1764
|
+
line: "line";
|
|
1763
1765
|
}>, z.ZodString]>>;
|
|
1764
1766
|
label: z.ZodOptional<z.ZodString>;
|
|
1765
1767
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1768
|
+
danger: "danger";
|
|
1766
1769
|
info: "info";
|
|
1770
|
+
neutral: "neutral";
|
|
1767
1771
|
success: "success";
|
|
1768
1772
|
warning: "warning";
|
|
1769
|
-
neutral: "neutral";
|
|
1770
|
-
danger: "danger";
|
|
1771
1773
|
}>>;
|
|
1772
1774
|
color: z.ZodOptional<z.ZodString>;
|
|
1773
1775
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -1781,11 +1783,11 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1781
1783
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1782
1784
|
label: z.ZodOptional<z.ZodString>;
|
|
1783
1785
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1786
|
+
danger: "danger";
|
|
1784
1787
|
info: "info";
|
|
1788
|
+
neutral: "neutral";
|
|
1785
1789
|
success: "success";
|
|
1786
1790
|
warning: "warning";
|
|
1787
|
-
neutral: "neutral";
|
|
1788
|
-
danger: "danger";
|
|
1789
1791
|
}>>;
|
|
1790
1792
|
color: z.ZodOptional<z.ZodString>;
|
|
1791
1793
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1794,31 +1796,25 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1794
1796
|
y: z.ZodNumber;
|
|
1795
1797
|
label: z.ZodOptional<z.ZodString>;
|
|
1796
1798
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
1799
|
+
danger: "danger";
|
|
1797
1800
|
info: "info";
|
|
1801
|
+
neutral: "neutral";
|
|
1798
1802
|
success: "success";
|
|
1799
1803
|
warning: "warning";
|
|
1800
|
-
neutral: "neutral";
|
|
1801
|
-
danger: "danger";
|
|
1802
1804
|
}>>;
|
|
1803
1805
|
color: z.ZodOptional<z.ZodString>;
|
|
1804
1806
|
}, z.core.$strip>], "kind">>>;
|
|
1805
1807
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1806
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1807
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1808
1808
|
type: z.ZodLiteral<"line">;
|
|
1809
1809
|
data: z.ZodArray<z.ZodObject<{
|
|
1810
1810
|
x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1811
1811
|
y: z.ZodOptional<z.ZodNumber>;
|
|
1812
1812
|
}, z.core.$loose>>;
|
|
1813
1813
|
}, z.core.$strip>, z.ZodTransform<(Omit<{
|
|
1814
|
-
type: "line";
|
|
1815
|
-
data: {
|
|
1816
|
-
[x: string]: unknown;
|
|
1817
|
-
x: string | number;
|
|
1818
|
-
y?: number | undefined;
|
|
1819
|
-
}[];
|
|
1820
1814
|
title?: string | undefined;
|
|
1821
1815
|
height?: number | undefined;
|
|
1816
|
+
xAxisLabel?: string | undefined;
|
|
1817
|
+
yAxisLabel?: string | undefined;
|
|
1822
1818
|
series?: {
|
|
1823
1819
|
key: string;
|
|
1824
1820
|
label?: string | undefined;
|
|
@@ -1830,16 +1826,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1830
1826
|
axis: "x" | "y";
|
|
1831
1827
|
value: string | number;
|
|
1832
1828
|
label?: string | undefined;
|
|
1833
|
-
tone?: "
|
|
1829
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1834
1830
|
color?: string | undefined;
|
|
1835
1831
|
strokeDasharray?: string | undefined;
|
|
1836
1832
|
} | {
|
|
1837
1833
|
kind: "stat-line";
|
|
1838
|
-
stat: "
|
|
1834
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
1839
1835
|
axis?: "x" | "y" | undefined;
|
|
1840
1836
|
series?: string | undefined;
|
|
1841
1837
|
label?: string | undefined;
|
|
1842
|
-
tone?: "
|
|
1838
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1843
1839
|
color?: string | undefined;
|
|
1844
1840
|
strokeDasharray?: string | undefined;
|
|
1845
1841
|
} | {
|
|
@@ -1848,19 +1844,23 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1848
1844
|
from: string | number;
|
|
1849
1845
|
to: string | number;
|
|
1850
1846
|
label?: string | undefined;
|
|
1851
|
-
tone?: "
|
|
1847
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1852
1848
|
color?: string | undefined;
|
|
1853
1849
|
} | {
|
|
1854
1850
|
kind: "reference-point";
|
|
1855
1851
|
x: string | number;
|
|
1856
1852
|
y: number;
|
|
1857
1853
|
label?: string | undefined;
|
|
1858
|
-
tone?: "
|
|
1854
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1859
1855
|
color?: string | undefined;
|
|
1860
1856
|
})[] | undefined;
|
|
1861
1857
|
showValueLabels?: boolean | undefined;
|
|
1862
|
-
|
|
1863
|
-
|
|
1858
|
+
type: "line";
|
|
1859
|
+
data: {
|
|
1860
|
+
[x: string]: unknown;
|
|
1861
|
+
x: string | number;
|
|
1862
|
+
y?: number | undefined;
|
|
1863
|
+
}[];
|
|
1864
1864
|
}, "data" | "series"> & {
|
|
1865
1865
|
data: {
|
|
1866
1866
|
x: string | number;
|
|
@@ -1868,14 +1868,10 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1868
1868
|
}[];
|
|
1869
1869
|
series?: undefined;
|
|
1870
1870
|
}) | ({
|
|
1871
|
-
type: "line";
|
|
1872
|
-
data: {
|
|
1873
|
-
[x: string]: unknown;
|
|
1874
|
-
x: string | number;
|
|
1875
|
-
y?: number | undefined;
|
|
1876
|
-
}[];
|
|
1877
1871
|
title?: string | undefined;
|
|
1878
1872
|
height?: number | undefined;
|
|
1873
|
+
xAxisLabel?: string | undefined;
|
|
1874
|
+
yAxisLabel?: string | undefined;
|
|
1879
1875
|
series?: {
|
|
1880
1876
|
key: string;
|
|
1881
1877
|
label?: string | undefined;
|
|
@@ -1887,16 +1883,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1887
1883
|
axis: "x" | "y";
|
|
1888
1884
|
value: string | number;
|
|
1889
1885
|
label?: string | undefined;
|
|
1890
|
-
tone?: "
|
|
1886
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1891
1887
|
color?: string | undefined;
|
|
1892
1888
|
strokeDasharray?: string | undefined;
|
|
1893
1889
|
} | {
|
|
1894
1890
|
kind: "stat-line";
|
|
1895
|
-
stat: "
|
|
1891
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
1896
1892
|
axis?: "x" | "y" | undefined;
|
|
1897
1893
|
series?: string | undefined;
|
|
1898
1894
|
label?: string | undefined;
|
|
1899
|
-
tone?: "
|
|
1895
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1900
1896
|
color?: string | undefined;
|
|
1901
1897
|
strokeDasharray?: string | undefined;
|
|
1902
1898
|
} | {
|
|
@@ -1905,19 +1901,23 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1905
1901
|
from: string | number;
|
|
1906
1902
|
to: string | number;
|
|
1907
1903
|
label?: string | undefined;
|
|
1908
|
-
tone?: "
|
|
1904
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1909
1905
|
color?: string | undefined;
|
|
1910
1906
|
} | {
|
|
1911
1907
|
kind: "reference-point";
|
|
1912
1908
|
x: string | number;
|
|
1913
1909
|
y: number;
|
|
1914
1910
|
label?: string | undefined;
|
|
1915
|
-
tone?: "
|
|
1911
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1916
1912
|
color?: string | undefined;
|
|
1917
1913
|
})[] | undefined;
|
|
1918
1914
|
showValueLabels?: boolean | undefined;
|
|
1919
|
-
|
|
1920
|
-
|
|
1915
|
+
type: "line";
|
|
1916
|
+
data: {
|
|
1917
|
+
[x: string]: unknown;
|
|
1918
|
+
x: string | number;
|
|
1919
|
+
y?: number | undefined;
|
|
1920
|
+
}[];
|
|
1921
1921
|
} & {
|
|
1922
1922
|
series: {
|
|
1923
1923
|
key: string;
|
|
@@ -1925,14 +1925,10 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1925
1925
|
axis?: "left" | "right" | undefined;
|
|
1926
1926
|
}[];
|
|
1927
1927
|
}), {
|
|
1928
|
-
type: "line";
|
|
1929
|
-
data: {
|
|
1930
|
-
[x: string]: unknown;
|
|
1931
|
-
x: string | number;
|
|
1932
|
-
y?: number | undefined;
|
|
1933
|
-
}[];
|
|
1934
1928
|
title?: string | undefined;
|
|
1935
1929
|
height?: number | undefined;
|
|
1930
|
+
xAxisLabel?: string | undefined;
|
|
1931
|
+
yAxisLabel?: string | undefined;
|
|
1936
1932
|
series?: {
|
|
1937
1933
|
key: string;
|
|
1938
1934
|
label?: string | undefined;
|
|
@@ -1944,16 +1940,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1944
1940
|
axis: "x" | "y";
|
|
1945
1941
|
value: string | number;
|
|
1946
1942
|
label?: string | undefined;
|
|
1947
|
-
tone?: "
|
|
1943
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1948
1944
|
color?: string | undefined;
|
|
1949
1945
|
strokeDasharray?: string | undefined;
|
|
1950
1946
|
} | {
|
|
1951
1947
|
kind: "stat-line";
|
|
1952
|
-
stat: "
|
|
1948
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
1953
1949
|
axis?: "x" | "y" | undefined;
|
|
1954
1950
|
series?: string | undefined;
|
|
1955
1951
|
label?: string | undefined;
|
|
1956
|
-
tone?: "
|
|
1952
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1957
1953
|
color?: string | undefined;
|
|
1958
1954
|
strokeDasharray?: string | undefined;
|
|
1959
1955
|
} | {
|
|
@@ -1962,22 +1958,28 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1962
1958
|
from: string | number;
|
|
1963
1959
|
to: string | number;
|
|
1964
1960
|
label?: string | undefined;
|
|
1965
|
-
tone?: "
|
|
1961
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1966
1962
|
color?: string | undefined;
|
|
1967
1963
|
} | {
|
|
1968
1964
|
kind: "reference-point";
|
|
1969
1965
|
x: string | number;
|
|
1970
1966
|
y: number;
|
|
1971
1967
|
label?: string | undefined;
|
|
1972
|
-
tone?: "
|
|
1968
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1973
1969
|
color?: string | undefined;
|
|
1974
1970
|
})[] | undefined;
|
|
1975
1971
|
showValueLabels?: boolean | undefined;
|
|
1976
|
-
|
|
1977
|
-
|
|
1972
|
+
type: "line";
|
|
1973
|
+
data: {
|
|
1974
|
+
[x: string]: unknown;
|
|
1975
|
+
x: string | number;
|
|
1976
|
+
y?: number | undefined;
|
|
1977
|
+
}[];
|
|
1978
1978
|
}>>, z.ZodPipe<z.ZodObject<{
|
|
1979
1979
|
title: z.ZodOptional<z.ZodString>;
|
|
1980
1980
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1981
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1982
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
1981
1983
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1982
1984
|
key: z.ZodString;
|
|
1983
1985
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1996,21 +1998,21 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
1996
1998
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1997
1999
|
label: z.ZodOptional<z.ZodString>;
|
|
1998
2000
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2001
|
+
danger: "danger";
|
|
1999
2002
|
info: "info";
|
|
2003
|
+
neutral: "neutral";
|
|
2000
2004
|
success: "success";
|
|
2001
2005
|
warning: "warning";
|
|
2002
|
-
neutral: "neutral";
|
|
2003
|
-
danger: "danger";
|
|
2004
2006
|
}>>;
|
|
2005
2007
|
color: z.ZodOptional<z.ZodString>;
|
|
2006
2008
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
2007
2009
|
}, z.core.$strip>, z.ZodObject<{
|
|
2008
2010
|
kind: z.ZodLiteral<"stat-line">;
|
|
2009
2011
|
stat: z.ZodEnum<{
|
|
2012
|
+
average: "average";
|
|
2010
2013
|
max: "max";
|
|
2011
|
-
min: "min";
|
|
2012
2014
|
median: "median";
|
|
2013
|
-
|
|
2015
|
+
min: "min";
|
|
2014
2016
|
p90: "p90";
|
|
2015
2017
|
}>;
|
|
2016
2018
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2018,16 +2020,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2018
2020
|
y: "y";
|
|
2019
2021
|
}>>;
|
|
2020
2022
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2021
|
-
line: "line";
|
|
2022
2023
|
bar: "bar";
|
|
2024
|
+
line: "line";
|
|
2023
2025
|
}>, z.ZodString]>>;
|
|
2024
2026
|
label: z.ZodOptional<z.ZodString>;
|
|
2025
2027
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2028
|
+
danger: "danger";
|
|
2026
2029
|
info: "info";
|
|
2030
|
+
neutral: "neutral";
|
|
2027
2031
|
success: "success";
|
|
2028
2032
|
warning: "warning";
|
|
2029
|
-
neutral: "neutral";
|
|
2030
|
-
danger: "danger";
|
|
2031
2033
|
}>>;
|
|
2032
2034
|
color: z.ZodOptional<z.ZodString>;
|
|
2033
2035
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -2041,11 +2043,11 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2041
2043
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2042
2044
|
label: z.ZodOptional<z.ZodString>;
|
|
2043
2045
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2046
|
+
danger: "danger";
|
|
2044
2047
|
info: "info";
|
|
2048
|
+
neutral: "neutral";
|
|
2045
2049
|
success: "success";
|
|
2046
2050
|
warning: "warning";
|
|
2047
|
-
neutral: "neutral";
|
|
2048
|
-
danger: "danger";
|
|
2049
2051
|
}>>;
|
|
2050
2052
|
color: z.ZodOptional<z.ZodString>;
|
|
2051
2053
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2054,17 +2056,15 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2054
2056
|
y: z.ZodNumber;
|
|
2055
2057
|
label: z.ZodOptional<z.ZodString>;
|
|
2056
2058
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2059
|
+
danger: "danger";
|
|
2057
2060
|
info: "info";
|
|
2061
|
+
neutral: "neutral";
|
|
2058
2062
|
success: "success";
|
|
2059
2063
|
warning: "warning";
|
|
2060
|
-
neutral: "neutral";
|
|
2061
|
-
danger: "danger";
|
|
2062
2064
|
}>>;
|
|
2063
2065
|
color: z.ZodOptional<z.ZodString>;
|
|
2064
2066
|
}, z.core.$strip>], "kind">>>;
|
|
2065
2067
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
2066
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2067
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2068
2068
|
type: z.ZodLiteral<"area">;
|
|
2069
2069
|
data: z.ZodArray<z.ZodObject<{
|
|
2070
2070
|
x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
@@ -2072,14 +2072,10 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2072
2072
|
}, z.core.$loose>>;
|
|
2073
2073
|
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
2074
2074
|
}, z.core.$strip>, z.ZodTransform<(Omit<{
|
|
2075
|
-
type: "area";
|
|
2076
|
-
data: {
|
|
2077
|
-
[x: string]: unknown;
|
|
2078
|
-
x: string | number;
|
|
2079
|
-
y?: number | undefined;
|
|
2080
|
-
}[];
|
|
2081
2075
|
title?: string | undefined;
|
|
2082
2076
|
height?: number | undefined;
|
|
2077
|
+
xAxisLabel?: string | undefined;
|
|
2078
|
+
yAxisLabel?: string | undefined;
|
|
2083
2079
|
series?: {
|
|
2084
2080
|
key: string;
|
|
2085
2081
|
label?: string | undefined;
|
|
@@ -2091,16 +2087,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2091
2087
|
axis: "x" | "y";
|
|
2092
2088
|
value: string | number;
|
|
2093
2089
|
label?: string | undefined;
|
|
2094
|
-
tone?: "
|
|
2090
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2095
2091
|
color?: string | undefined;
|
|
2096
2092
|
strokeDasharray?: string | undefined;
|
|
2097
2093
|
} | {
|
|
2098
2094
|
kind: "stat-line";
|
|
2099
|
-
stat: "
|
|
2095
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
2100
2096
|
axis?: "x" | "y" | undefined;
|
|
2101
2097
|
series?: string | undefined;
|
|
2102
2098
|
label?: string | undefined;
|
|
2103
|
-
tone?: "
|
|
2099
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2104
2100
|
color?: string | undefined;
|
|
2105
2101
|
strokeDasharray?: string | undefined;
|
|
2106
2102
|
} | {
|
|
@@ -2109,19 +2105,23 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2109
2105
|
from: string | number;
|
|
2110
2106
|
to: string | number;
|
|
2111
2107
|
label?: string | undefined;
|
|
2112
|
-
tone?: "
|
|
2108
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2113
2109
|
color?: string | undefined;
|
|
2114
2110
|
} | {
|
|
2115
2111
|
kind: "reference-point";
|
|
2116
2112
|
x: string | number;
|
|
2117
2113
|
y: number;
|
|
2118
2114
|
label?: string | undefined;
|
|
2119
|
-
tone?: "
|
|
2115
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2120
2116
|
color?: string | undefined;
|
|
2121
2117
|
})[] | undefined;
|
|
2122
2118
|
showValueLabels?: boolean | undefined;
|
|
2123
|
-
|
|
2124
|
-
|
|
2119
|
+
type: "area";
|
|
2120
|
+
data: {
|
|
2121
|
+
[x: string]: unknown;
|
|
2122
|
+
x: string | number;
|
|
2123
|
+
y?: number | undefined;
|
|
2124
|
+
}[];
|
|
2125
2125
|
stacked?: boolean | undefined;
|
|
2126
2126
|
}, "data" | "series"> & {
|
|
2127
2127
|
data: {
|
|
@@ -2130,14 +2130,10 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2130
2130
|
}[];
|
|
2131
2131
|
series?: undefined;
|
|
2132
2132
|
}) | ({
|
|
2133
|
-
type: "area";
|
|
2134
|
-
data: {
|
|
2135
|
-
[x: string]: unknown;
|
|
2136
|
-
x: string | number;
|
|
2137
|
-
y?: number | undefined;
|
|
2138
|
-
}[];
|
|
2139
2133
|
title?: string | undefined;
|
|
2140
2134
|
height?: number | undefined;
|
|
2135
|
+
xAxisLabel?: string | undefined;
|
|
2136
|
+
yAxisLabel?: string | undefined;
|
|
2141
2137
|
series?: {
|
|
2142
2138
|
key: string;
|
|
2143
2139
|
label?: string | undefined;
|
|
@@ -2149,16 +2145,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2149
2145
|
axis: "x" | "y";
|
|
2150
2146
|
value: string | number;
|
|
2151
2147
|
label?: string | undefined;
|
|
2152
|
-
tone?: "
|
|
2148
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2153
2149
|
color?: string | undefined;
|
|
2154
2150
|
strokeDasharray?: string | undefined;
|
|
2155
2151
|
} | {
|
|
2156
2152
|
kind: "stat-line";
|
|
2157
|
-
stat: "
|
|
2153
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
2158
2154
|
axis?: "x" | "y" | undefined;
|
|
2159
2155
|
series?: string | undefined;
|
|
2160
2156
|
label?: string | undefined;
|
|
2161
|
-
tone?: "
|
|
2157
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2162
2158
|
color?: string | undefined;
|
|
2163
2159
|
strokeDasharray?: string | undefined;
|
|
2164
2160
|
} | {
|
|
@@ -2167,19 +2163,23 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2167
2163
|
from: string | number;
|
|
2168
2164
|
to: string | number;
|
|
2169
2165
|
label?: string | undefined;
|
|
2170
|
-
tone?: "
|
|
2166
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2171
2167
|
color?: string | undefined;
|
|
2172
2168
|
} | {
|
|
2173
2169
|
kind: "reference-point";
|
|
2174
2170
|
x: string | number;
|
|
2175
2171
|
y: number;
|
|
2176
2172
|
label?: string | undefined;
|
|
2177
|
-
tone?: "
|
|
2173
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2178
2174
|
color?: string | undefined;
|
|
2179
2175
|
})[] | undefined;
|
|
2180
2176
|
showValueLabels?: boolean | undefined;
|
|
2181
|
-
|
|
2182
|
-
|
|
2177
|
+
type: "area";
|
|
2178
|
+
data: {
|
|
2179
|
+
[x: string]: unknown;
|
|
2180
|
+
x: string | number;
|
|
2181
|
+
y?: number | undefined;
|
|
2182
|
+
}[];
|
|
2183
2183
|
stacked?: boolean | undefined;
|
|
2184
2184
|
} & {
|
|
2185
2185
|
series: {
|
|
@@ -2188,14 +2188,10 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2188
2188
|
axis?: "left" | "right" | undefined;
|
|
2189
2189
|
}[];
|
|
2190
2190
|
}), {
|
|
2191
|
-
type: "area";
|
|
2192
|
-
data: {
|
|
2193
|
-
[x: string]: unknown;
|
|
2194
|
-
x: string | number;
|
|
2195
|
-
y?: number | undefined;
|
|
2196
|
-
}[];
|
|
2197
2191
|
title?: string | undefined;
|
|
2198
2192
|
height?: number | undefined;
|
|
2193
|
+
xAxisLabel?: string | undefined;
|
|
2194
|
+
yAxisLabel?: string | undefined;
|
|
2199
2195
|
series?: {
|
|
2200
2196
|
key: string;
|
|
2201
2197
|
label?: string | undefined;
|
|
@@ -2207,16 +2203,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2207
2203
|
axis: "x" | "y";
|
|
2208
2204
|
value: string | number;
|
|
2209
2205
|
label?: string | undefined;
|
|
2210
|
-
tone?: "
|
|
2206
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2211
2207
|
color?: string | undefined;
|
|
2212
2208
|
strokeDasharray?: string | undefined;
|
|
2213
2209
|
} | {
|
|
2214
2210
|
kind: "stat-line";
|
|
2215
|
-
stat: "
|
|
2211
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
2216
2212
|
axis?: "x" | "y" | undefined;
|
|
2217
2213
|
series?: string | undefined;
|
|
2218
2214
|
label?: string | undefined;
|
|
2219
|
-
tone?: "
|
|
2215
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2220
2216
|
color?: string | undefined;
|
|
2221
2217
|
strokeDasharray?: string | undefined;
|
|
2222
2218
|
} | {
|
|
@@ -2225,23 +2221,29 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2225
2221
|
from: string | number;
|
|
2226
2222
|
to: string | number;
|
|
2227
2223
|
label?: string | undefined;
|
|
2228
|
-
tone?: "
|
|
2224
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2229
2225
|
color?: string | undefined;
|
|
2230
2226
|
} | {
|
|
2231
2227
|
kind: "reference-point";
|
|
2232
2228
|
x: string | number;
|
|
2233
2229
|
y: number;
|
|
2234
2230
|
label?: string | undefined;
|
|
2235
|
-
tone?: "
|
|
2231
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2236
2232
|
color?: string | undefined;
|
|
2237
2233
|
})[] | undefined;
|
|
2238
2234
|
showValueLabels?: boolean | undefined;
|
|
2239
|
-
|
|
2240
|
-
|
|
2235
|
+
type: "area";
|
|
2236
|
+
data: {
|
|
2237
|
+
[x: string]: unknown;
|
|
2238
|
+
x: string | number;
|
|
2239
|
+
y?: number | undefined;
|
|
2240
|
+
}[];
|
|
2241
2241
|
stacked?: boolean | undefined;
|
|
2242
2242
|
}>>, z.ZodPipe<z.ZodObject<{
|
|
2243
2243
|
title: z.ZodOptional<z.ZodString>;
|
|
2244
2244
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2245
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2246
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2245
2247
|
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2246
2248
|
key: z.ZodString;
|
|
2247
2249
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -2260,21 +2262,21 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2260
2262
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2261
2263
|
label: z.ZodOptional<z.ZodString>;
|
|
2262
2264
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2265
|
+
danger: "danger";
|
|
2263
2266
|
info: "info";
|
|
2267
|
+
neutral: "neutral";
|
|
2264
2268
|
success: "success";
|
|
2265
2269
|
warning: "warning";
|
|
2266
|
-
neutral: "neutral";
|
|
2267
|
-
danger: "danger";
|
|
2268
2270
|
}>>;
|
|
2269
2271
|
color: z.ZodOptional<z.ZodString>;
|
|
2270
2272
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
2271
2273
|
}, z.core.$strip>, z.ZodObject<{
|
|
2272
2274
|
kind: z.ZodLiteral<"stat-line">;
|
|
2273
2275
|
stat: z.ZodEnum<{
|
|
2276
|
+
average: "average";
|
|
2274
2277
|
max: "max";
|
|
2275
|
-
min: "min";
|
|
2276
2278
|
median: "median";
|
|
2277
|
-
|
|
2279
|
+
min: "min";
|
|
2278
2280
|
p90: "p90";
|
|
2279
2281
|
}>;
|
|
2280
2282
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2282,16 +2284,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2282
2284
|
y: "y";
|
|
2283
2285
|
}>>;
|
|
2284
2286
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2285
|
-
line: "line";
|
|
2286
2287
|
bar: "bar";
|
|
2288
|
+
line: "line";
|
|
2287
2289
|
}>, z.ZodString]>>;
|
|
2288
2290
|
label: z.ZodOptional<z.ZodString>;
|
|
2289
2291
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2292
|
+
danger: "danger";
|
|
2290
2293
|
info: "info";
|
|
2294
|
+
neutral: "neutral";
|
|
2291
2295
|
success: "success";
|
|
2292
2296
|
warning: "warning";
|
|
2293
|
-
neutral: "neutral";
|
|
2294
|
-
danger: "danger";
|
|
2295
2297
|
}>>;
|
|
2296
2298
|
color: z.ZodOptional<z.ZodString>;
|
|
2297
2299
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -2305,11 +2307,11 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2305
2307
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2306
2308
|
label: z.ZodOptional<z.ZodString>;
|
|
2307
2309
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2310
|
+
danger: "danger";
|
|
2308
2311
|
info: "info";
|
|
2312
|
+
neutral: "neutral";
|
|
2309
2313
|
success: "success";
|
|
2310
2314
|
warning: "warning";
|
|
2311
|
-
neutral: "neutral";
|
|
2312
|
-
danger: "danger";
|
|
2313
2315
|
}>>;
|
|
2314
2316
|
color: z.ZodOptional<z.ZodString>;
|
|
2315
2317
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2318,17 +2320,15 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2318
2320
|
y: z.ZodNumber;
|
|
2319
2321
|
label: z.ZodOptional<z.ZodString>;
|
|
2320
2322
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2323
|
+
danger: "danger";
|
|
2321
2324
|
info: "info";
|
|
2325
|
+
neutral: "neutral";
|
|
2322
2326
|
success: "success";
|
|
2323
2327
|
warning: "warning";
|
|
2324
|
-
neutral: "neutral";
|
|
2325
|
-
danger: "danger";
|
|
2326
2328
|
}>>;
|
|
2327
2329
|
color: z.ZodOptional<z.ZodString>;
|
|
2328
2330
|
}, z.core.$strip>], "kind">>>;
|
|
2329
2331
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
2330
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2331
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2332
2332
|
type: z.ZodLiteral<"bar">;
|
|
2333
2333
|
data: z.ZodArray<z.ZodObject<{
|
|
2334
2334
|
name: z.ZodString;
|
|
@@ -2336,14 +2336,10 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2336
2336
|
}, z.core.$loose>>;
|
|
2337
2337
|
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
2338
2338
|
}, z.core.$strip>, z.ZodTransform<(Omit<{
|
|
2339
|
-
type: "bar";
|
|
2340
|
-
data: {
|
|
2341
|
-
[x: string]: unknown;
|
|
2342
|
-
name: string;
|
|
2343
|
-
value?: number | undefined;
|
|
2344
|
-
}[];
|
|
2345
2339
|
title?: string | undefined;
|
|
2346
2340
|
height?: number | undefined;
|
|
2341
|
+
xAxisLabel?: string | undefined;
|
|
2342
|
+
yAxisLabel?: string | undefined;
|
|
2347
2343
|
series?: {
|
|
2348
2344
|
key: string;
|
|
2349
2345
|
label?: string | undefined;
|
|
@@ -2355,16 +2351,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2355
2351
|
axis: "x" | "y";
|
|
2356
2352
|
value: string | number;
|
|
2357
2353
|
label?: string | undefined;
|
|
2358
|
-
tone?: "
|
|
2354
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2359
2355
|
color?: string | undefined;
|
|
2360
2356
|
strokeDasharray?: string | undefined;
|
|
2361
2357
|
} | {
|
|
2362
2358
|
kind: "stat-line";
|
|
2363
|
-
stat: "
|
|
2359
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
2364
2360
|
axis?: "x" | "y" | undefined;
|
|
2365
2361
|
series?: string | undefined;
|
|
2366
2362
|
label?: string | undefined;
|
|
2367
|
-
tone?: "
|
|
2363
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2368
2364
|
color?: string | undefined;
|
|
2369
2365
|
strokeDasharray?: string | undefined;
|
|
2370
2366
|
} | {
|
|
@@ -2373,19 +2369,23 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2373
2369
|
from: string | number;
|
|
2374
2370
|
to: string | number;
|
|
2375
2371
|
label?: string | undefined;
|
|
2376
|
-
tone?: "
|
|
2372
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2377
2373
|
color?: string | undefined;
|
|
2378
2374
|
} | {
|
|
2379
2375
|
kind: "reference-point";
|
|
2380
2376
|
x: string | number;
|
|
2381
2377
|
y: number;
|
|
2382
2378
|
label?: string | undefined;
|
|
2383
|
-
tone?: "
|
|
2379
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2384
2380
|
color?: string | undefined;
|
|
2385
2381
|
})[] | undefined;
|
|
2386
2382
|
showValueLabels?: boolean | undefined;
|
|
2387
|
-
|
|
2388
|
-
|
|
2383
|
+
type: "bar";
|
|
2384
|
+
data: {
|
|
2385
|
+
[x: string]: unknown;
|
|
2386
|
+
name: string;
|
|
2387
|
+
value?: number | undefined;
|
|
2388
|
+
}[];
|
|
2389
2389
|
stacked?: boolean | undefined;
|
|
2390
2390
|
}, "data" | "series"> & {
|
|
2391
2391
|
data: {
|
|
@@ -2394,14 +2394,10 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2394
2394
|
}[];
|
|
2395
2395
|
series?: undefined;
|
|
2396
2396
|
}) | ({
|
|
2397
|
-
type: "bar";
|
|
2398
|
-
data: {
|
|
2399
|
-
[x: string]: unknown;
|
|
2400
|
-
name: string;
|
|
2401
|
-
value?: number | undefined;
|
|
2402
|
-
}[];
|
|
2403
2397
|
title?: string | undefined;
|
|
2404
2398
|
height?: number | undefined;
|
|
2399
|
+
xAxisLabel?: string | undefined;
|
|
2400
|
+
yAxisLabel?: string | undefined;
|
|
2405
2401
|
series?: {
|
|
2406
2402
|
key: string;
|
|
2407
2403
|
label?: string | undefined;
|
|
@@ -2413,16 +2409,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2413
2409
|
axis: "x" | "y";
|
|
2414
2410
|
value: string | number;
|
|
2415
2411
|
label?: string | undefined;
|
|
2416
|
-
tone?: "
|
|
2412
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2417
2413
|
color?: string | undefined;
|
|
2418
2414
|
strokeDasharray?: string | undefined;
|
|
2419
2415
|
} | {
|
|
2420
2416
|
kind: "stat-line";
|
|
2421
|
-
stat: "
|
|
2417
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
2422
2418
|
axis?: "x" | "y" | undefined;
|
|
2423
2419
|
series?: string | undefined;
|
|
2424
2420
|
label?: string | undefined;
|
|
2425
|
-
tone?: "
|
|
2421
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2426
2422
|
color?: string | undefined;
|
|
2427
2423
|
strokeDasharray?: string | undefined;
|
|
2428
2424
|
} | {
|
|
@@ -2431,19 +2427,23 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2431
2427
|
from: string | number;
|
|
2432
2428
|
to: string | number;
|
|
2433
2429
|
label?: string | undefined;
|
|
2434
|
-
tone?: "
|
|
2430
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2435
2431
|
color?: string | undefined;
|
|
2436
2432
|
} | {
|
|
2437
2433
|
kind: "reference-point";
|
|
2438
2434
|
x: string | number;
|
|
2439
2435
|
y: number;
|
|
2440
2436
|
label?: string | undefined;
|
|
2441
|
-
tone?: "
|
|
2437
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2442
2438
|
color?: string | undefined;
|
|
2443
2439
|
})[] | undefined;
|
|
2444
2440
|
showValueLabels?: boolean | undefined;
|
|
2445
|
-
|
|
2446
|
-
|
|
2441
|
+
type: "bar";
|
|
2442
|
+
data: {
|
|
2443
|
+
[x: string]: unknown;
|
|
2444
|
+
name: string;
|
|
2445
|
+
value?: number | undefined;
|
|
2446
|
+
}[];
|
|
2447
2447
|
stacked?: boolean | undefined;
|
|
2448
2448
|
} & {
|
|
2449
2449
|
series: {
|
|
@@ -2452,14 +2452,10 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2452
2452
|
axis?: "left" | "right" | undefined;
|
|
2453
2453
|
}[];
|
|
2454
2454
|
}), {
|
|
2455
|
-
type: "bar";
|
|
2456
|
-
data: {
|
|
2457
|
-
[x: string]: unknown;
|
|
2458
|
-
name: string;
|
|
2459
|
-
value?: number | undefined;
|
|
2460
|
-
}[];
|
|
2461
2455
|
title?: string | undefined;
|
|
2462
2456
|
height?: number | undefined;
|
|
2457
|
+
xAxisLabel?: string | undefined;
|
|
2458
|
+
yAxisLabel?: string | undefined;
|
|
2463
2459
|
series?: {
|
|
2464
2460
|
key: string;
|
|
2465
2461
|
label?: string | undefined;
|
|
@@ -2471,16 +2467,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2471
2467
|
axis: "x" | "y";
|
|
2472
2468
|
value: string | number;
|
|
2473
2469
|
label?: string | undefined;
|
|
2474
|
-
tone?: "
|
|
2470
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2475
2471
|
color?: string | undefined;
|
|
2476
2472
|
strokeDasharray?: string | undefined;
|
|
2477
2473
|
} | {
|
|
2478
2474
|
kind: "stat-line";
|
|
2479
|
-
stat: "
|
|
2475
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
2480
2476
|
axis?: "x" | "y" | undefined;
|
|
2481
2477
|
series?: string | undefined;
|
|
2482
2478
|
label?: string | undefined;
|
|
2483
|
-
tone?: "
|
|
2479
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2484
2480
|
color?: string | undefined;
|
|
2485
2481
|
strokeDasharray?: string | undefined;
|
|
2486
2482
|
} | {
|
|
@@ -2489,19 +2485,23 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2489
2485
|
from: string | number;
|
|
2490
2486
|
to: string | number;
|
|
2491
2487
|
label?: string | undefined;
|
|
2492
|
-
tone?: "
|
|
2488
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2493
2489
|
color?: string | undefined;
|
|
2494
2490
|
} | {
|
|
2495
2491
|
kind: "reference-point";
|
|
2496
2492
|
x: string | number;
|
|
2497
2493
|
y: number;
|
|
2498
2494
|
label?: string | undefined;
|
|
2499
|
-
tone?: "
|
|
2495
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2500
2496
|
color?: string | undefined;
|
|
2501
2497
|
})[] | undefined;
|
|
2502
2498
|
showValueLabels?: boolean | undefined;
|
|
2503
|
-
|
|
2504
|
-
|
|
2499
|
+
type: "bar";
|
|
2500
|
+
data: {
|
|
2501
|
+
[x: string]: unknown;
|
|
2502
|
+
name: string;
|
|
2503
|
+
value?: number | undefined;
|
|
2504
|
+
}[];
|
|
2505
2505
|
stacked?: boolean | undefined;
|
|
2506
2506
|
}>>, z.ZodObject<{
|
|
2507
2507
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2514,6 +2514,8 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2514
2514
|
}, z.core.$strip>, z.ZodObject<{
|
|
2515
2515
|
title: z.ZodOptional<z.ZodString>;
|
|
2516
2516
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2517
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2518
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2517
2519
|
annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2518
2520
|
kind: z.ZodLiteral<"reference-line">;
|
|
2519
2521
|
axis: z.ZodEnum<{
|
|
@@ -2523,21 +2525,21 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2523
2525
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2524
2526
|
label: z.ZodOptional<z.ZodString>;
|
|
2525
2527
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2528
|
+
danger: "danger";
|
|
2526
2529
|
info: "info";
|
|
2530
|
+
neutral: "neutral";
|
|
2527
2531
|
success: "success";
|
|
2528
2532
|
warning: "warning";
|
|
2529
|
-
neutral: "neutral";
|
|
2530
|
-
danger: "danger";
|
|
2531
2533
|
}>>;
|
|
2532
2534
|
color: z.ZodOptional<z.ZodString>;
|
|
2533
2535
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
2534
2536
|
}, z.core.$strip>, z.ZodObject<{
|
|
2535
2537
|
kind: z.ZodLiteral<"stat-line">;
|
|
2536
2538
|
stat: z.ZodEnum<{
|
|
2539
|
+
average: "average";
|
|
2537
2540
|
max: "max";
|
|
2538
|
-
min: "min";
|
|
2539
2541
|
median: "median";
|
|
2540
|
-
|
|
2542
|
+
min: "min";
|
|
2541
2543
|
p90: "p90";
|
|
2542
2544
|
}>;
|
|
2543
2545
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2545,16 +2547,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2545
2547
|
y: "y";
|
|
2546
2548
|
}>>;
|
|
2547
2549
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2548
|
-
line: "line";
|
|
2549
2550
|
bar: "bar";
|
|
2551
|
+
line: "line";
|
|
2550
2552
|
}>, z.ZodString]>>;
|
|
2551
2553
|
label: z.ZodOptional<z.ZodString>;
|
|
2552
2554
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2555
|
+
danger: "danger";
|
|
2553
2556
|
info: "info";
|
|
2557
|
+
neutral: "neutral";
|
|
2554
2558
|
success: "success";
|
|
2555
2559
|
warning: "warning";
|
|
2556
|
-
neutral: "neutral";
|
|
2557
|
-
danger: "danger";
|
|
2558
2560
|
}>>;
|
|
2559
2561
|
color: z.ZodOptional<z.ZodString>;
|
|
2560
2562
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -2568,11 +2570,11 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2568
2570
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2569
2571
|
label: z.ZodOptional<z.ZodString>;
|
|
2570
2572
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2573
|
+
danger: "danger";
|
|
2571
2574
|
info: "info";
|
|
2575
|
+
neutral: "neutral";
|
|
2572
2576
|
success: "success";
|
|
2573
2577
|
warning: "warning";
|
|
2574
|
-
neutral: "neutral";
|
|
2575
|
-
danger: "danger";
|
|
2576
2578
|
}>>;
|
|
2577
2579
|
color: z.ZodOptional<z.ZodString>;
|
|
2578
2580
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2581,17 +2583,15 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2581
2583
|
y: z.ZodNumber;
|
|
2582
2584
|
label: z.ZodOptional<z.ZodString>;
|
|
2583
2585
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2586
|
+
danger: "danger";
|
|
2584
2587
|
info: "info";
|
|
2588
|
+
neutral: "neutral";
|
|
2585
2589
|
success: "success";
|
|
2586
2590
|
warning: "warning";
|
|
2587
|
-
neutral: "neutral";
|
|
2588
|
-
danger: "danger";
|
|
2589
2591
|
}>>;
|
|
2590
2592
|
color: z.ZodOptional<z.ZodString>;
|
|
2591
2593
|
}, z.core.$strip>], "kind">>>;
|
|
2592
2594
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
2593
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2594
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2595
2595
|
type: z.ZodLiteral<"scatter">;
|
|
2596
2596
|
data: z.ZodArray<z.ZodObject<{
|
|
2597
2597
|
x: z.ZodNumber;
|
|
@@ -2608,18 +2608,8 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2608
2608
|
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
2609
2609
|
title: z.ZodOptional<z.ZodString>;
|
|
2610
2610
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
label: z.ZodOptional<z.ZodString>;
|
|
2614
|
-
axis: z.ZodOptional<z.ZodEnum<{
|
|
2615
|
-
left: "left";
|
|
2616
|
-
right: "right";
|
|
2617
|
-
}>>;
|
|
2618
|
-
kind: z.ZodEnum<{
|
|
2619
|
-
line: "line";
|
|
2620
|
-
bar: "bar";
|
|
2621
|
-
}>;
|
|
2622
|
-
}, z.core.$strip>>>;
|
|
2611
|
+
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2612
|
+
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2623
2613
|
rightAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2624
2614
|
annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2625
2615
|
kind: z.ZodLiteral<"reference-line">;
|
|
@@ -2630,21 +2620,21 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2630
2620
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2631
2621
|
label: z.ZodOptional<z.ZodString>;
|
|
2632
2622
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2623
|
+
danger: "danger";
|
|
2633
2624
|
info: "info";
|
|
2625
|
+
neutral: "neutral";
|
|
2634
2626
|
success: "success";
|
|
2635
2627
|
warning: "warning";
|
|
2636
|
-
neutral: "neutral";
|
|
2637
|
-
danger: "danger";
|
|
2638
2628
|
}>>;
|
|
2639
2629
|
color: z.ZodOptional<z.ZodString>;
|
|
2640
2630
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
2641
2631
|
}, z.core.$strip>, z.ZodObject<{
|
|
2642
2632
|
kind: z.ZodLiteral<"stat-line">;
|
|
2643
2633
|
stat: z.ZodEnum<{
|
|
2634
|
+
average: "average";
|
|
2644
2635
|
max: "max";
|
|
2645
|
-
min: "min";
|
|
2646
2636
|
median: "median";
|
|
2647
|
-
|
|
2637
|
+
min: "min";
|
|
2648
2638
|
p90: "p90";
|
|
2649
2639
|
}>;
|
|
2650
2640
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2652,16 +2642,16 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2652
2642
|
y: "y";
|
|
2653
2643
|
}>>;
|
|
2654
2644
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2655
|
-
line: "line";
|
|
2656
2645
|
bar: "bar";
|
|
2646
|
+
line: "line";
|
|
2657
2647
|
}>, z.ZodString]>>;
|
|
2658
2648
|
label: z.ZodOptional<z.ZodString>;
|
|
2659
2649
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2650
|
+
danger: "danger";
|
|
2660
2651
|
info: "info";
|
|
2652
|
+
neutral: "neutral";
|
|
2661
2653
|
success: "success";
|
|
2662
2654
|
warning: "warning";
|
|
2663
|
-
neutral: "neutral";
|
|
2664
|
-
danger: "danger";
|
|
2665
2655
|
}>>;
|
|
2666
2656
|
color: z.ZodOptional<z.ZodString>;
|
|
2667
2657
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|
|
@@ -2675,11 +2665,11 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2675
2665
|
to: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2676
2666
|
label: z.ZodOptional<z.ZodString>;
|
|
2677
2667
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2668
|
+
danger: "danger";
|
|
2678
2669
|
info: "info";
|
|
2670
|
+
neutral: "neutral";
|
|
2679
2671
|
success: "success";
|
|
2680
2672
|
warning: "warning";
|
|
2681
|
-
neutral: "neutral";
|
|
2682
|
-
danger: "danger";
|
|
2683
2673
|
}>>;
|
|
2684
2674
|
color: z.ZodOptional<z.ZodString>;
|
|
2685
2675
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2688,17 +2678,15 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2688
2678
|
y: z.ZodNumber;
|
|
2689
2679
|
label: z.ZodOptional<z.ZodString>;
|
|
2690
2680
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2681
|
+
danger: "danger";
|
|
2691
2682
|
info: "info";
|
|
2683
|
+
neutral: "neutral";
|
|
2692
2684
|
success: "success";
|
|
2693
2685
|
warning: "warning";
|
|
2694
|
-
neutral: "neutral";
|
|
2695
|
-
danger: "danger";
|
|
2696
2686
|
}>>;
|
|
2697
2687
|
color: z.ZodOptional<z.ZodString>;
|
|
2698
2688
|
}, z.core.$strip>], "kind">>>;
|
|
2699
2689
|
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
2700
|
-
xAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2701
|
-
yAxisLabel: z.ZodOptional<z.ZodString>;
|
|
2702
2690
|
type: z.ZodLiteral<"composed">;
|
|
2703
2691
|
data: z.ZodArray<z.ZodObject<{
|
|
2704
2692
|
name: z.ZodString;
|
|
@@ -2708,38 +2696,39 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2708
2696
|
barLabel: z.ZodOptional<z.ZodString>;
|
|
2709
2697
|
lineLabel: z.ZodOptional<z.ZodString>;
|
|
2710
2698
|
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
2699
|
+
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2700
|
+
key: z.ZodString;
|
|
2701
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2702
|
+
axis: z.ZodOptional<z.ZodEnum<{
|
|
2703
|
+
left: "left";
|
|
2704
|
+
right: "right";
|
|
2705
|
+
}>>;
|
|
2706
|
+
kind: z.ZodEnum<{
|
|
2707
|
+
bar: "bar";
|
|
2708
|
+
line: "line";
|
|
2709
|
+
}>;
|
|
2710
|
+
}, z.core.$strip>>>;
|
|
2711
2711
|
}, z.core.$strip>, z.ZodTransform<(Omit<{
|
|
2712
|
-
type: "composed";
|
|
2713
|
-
data: {
|
|
2714
|
-
[x: string]: unknown;
|
|
2715
|
-
name: string;
|
|
2716
|
-
barValue?: number | undefined;
|
|
2717
|
-
lineValue?: number | undefined;
|
|
2718
|
-
}[];
|
|
2719
2712
|
title?: string | undefined;
|
|
2720
2713
|
height?: number | undefined;
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
kind: "line" | "bar";
|
|
2724
|
-
label?: string | undefined;
|
|
2725
|
-
axis?: "left" | "right" | undefined;
|
|
2726
|
-
}[] | undefined;
|
|
2714
|
+
xAxisLabel?: string | undefined;
|
|
2715
|
+
yAxisLabel?: string | undefined;
|
|
2727
2716
|
rightAxisLabel?: string | undefined;
|
|
2728
2717
|
annotations?: ({
|
|
2729
2718
|
kind: "reference-line";
|
|
2730
2719
|
axis: "x" | "y";
|
|
2731
2720
|
value: string | number;
|
|
2732
2721
|
label?: string | undefined;
|
|
2733
|
-
tone?: "
|
|
2722
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2734
2723
|
color?: string | undefined;
|
|
2735
2724
|
strokeDasharray?: string | undefined;
|
|
2736
2725
|
} | {
|
|
2737
2726
|
kind: "stat-line";
|
|
2738
|
-
stat: "
|
|
2727
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
2739
2728
|
axis?: "x" | "y" | undefined;
|
|
2740
2729
|
series?: string | undefined;
|
|
2741
2730
|
label?: string | undefined;
|
|
2742
|
-
tone?: "
|
|
2731
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2743
2732
|
color?: string | undefined;
|
|
2744
2733
|
strokeDasharray?: string | undefined;
|
|
2745
2734
|
} | {
|
|
@@ -2748,22 +2737,33 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2748
2737
|
from: string | number;
|
|
2749
2738
|
to: string | number;
|
|
2750
2739
|
label?: string | undefined;
|
|
2751
|
-
tone?: "
|
|
2740
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2752
2741
|
color?: string | undefined;
|
|
2753
2742
|
} | {
|
|
2754
2743
|
kind: "reference-point";
|
|
2755
2744
|
x: string | number;
|
|
2756
2745
|
y: number;
|
|
2757
2746
|
label?: string | undefined;
|
|
2758
|
-
tone?: "
|
|
2747
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2759
2748
|
color?: string | undefined;
|
|
2760
2749
|
})[] | undefined;
|
|
2761
2750
|
showValueLabels?: boolean | undefined;
|
|
2762
|
-
|
|
2763
|
-
|
|
2751
|
+
type: "composed";
|
|
2752
|
+
data: {
|
|
2753
|
+
[x: string]: unknown;
|
|
2754
|
+
name: string;
|
|
2755
|
+
barValue?: number | undefined;
|
|
2756
|
+
lineValue?: number | undefined;
|
|
2757
|
+
}[];
|
|
2764
2758
|
barLabel?: string | undefined;
|
|
2765
2759
|
lineLabel?: string | undefined;
|
|
2766
2760
|
stacked?: boolean | undefined;
|
|
2761
|
+
series?: {
|
|
2762
|
+
key: string;
|
|
2763
|
+
label?: string | undefined;
|
|
2764
|
+
axis?: "left" | "right" | undefined;
|
|
2765
|
+
kind: "bar" | "line";
|
|
2766
|
+
}[] | undefined;
|
|
2767
2767
|
}, "data" | "series"> & {
|
|
2768
2768
|
data: {
|
|
2769
2769
|
name: string;
|
|
@@ -2772,37 +2772,26 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2772
2772
|
}[];
|
|
2773
2773
|
series?: undefined;
|
|
2774
2774
|
}) | ({
|
|
2775
|
-
type: "composed";
|
|
2776
|
-
data: {
|
|
2777
|
-
[x: string]: unknown;
|
|
2778
|
-
name: string;
|
|
2779
|
-
barValue?: number | undefined;
|
|
2780
|
-
lineValue?: number | undefined;
|
|
2781
|
-
}[];
|
|
2782
2775
|
title?: string | undefined;
|
|
2783
2776
|
height?: number | undefined;
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
kind: "line" | "bar";
|
|
2787
|
-
label?: string | undefined;
|
|
2788
|
-
axis?: "left" | "right" | undefined;
|
|
2789
|
-
}[] | undefined;
|
|
2777
|
+
xAxisLabel?: string | undefined;
|
|
2778
|
+
yAxisLabel?: string | undefined;
|
|
2790
2779
|
rightAxisLabel?: string | undefined;
|
|
2791
2780
|
annotations?: ({
|
|
2792
2781
|
kind: "reference-line";
|
|
2793
2782
|
axis: "x" | "y";
|
|
2794
2783
|
value: string | number;
|
|
2795
2784
|
label?: string | undefined;
|
|
2796
|
-
tone?: "
|
|
2785
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2797
2786
|
color?: string | undefined;
|
|
2798
2787
|
strokeDasharray?: string | undefined;
|
|
2799
2788
|
} | {
|
|
2800
2789
|
kind: "stat-line";
|
|
2801
|
-
stat: "
|
|
2790
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
2802
2791
|
axis?: "x" | "y" | undefined;
|
|
2803
2792
|
series?: string | undefined;
|
|
2804
2793
|
label?: string | undefined;
|
|
2805
|
-
tone?: "
|
|
2794
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2806
2795
|
color?: string | undefined;
|
|
2807
2796
|
strokeDasharray?: string | undefined;
|
|
2808
2797
|
} | {
|
|
@@ -2811,30 +2800,17 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2811
2800
|
from: string | number;
|
|
2812
2801
|
to: string | number;
|
|
2813
2802
|
label?: string | undefined;
|
|
2814
|
-
tone?: "
|
|
2803
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2815
2804
|
color?: string | undefined;
|
|
2816
2805
|
} | {
|
|
2817
2806
|
kind: "reference-point";
|
|
2818
2807
|
x: string | number;
|
|
2819
2808
|
y: number;
|
|
2820
2809
|
label?: string | undefined;
|
|
2821
|
-
tone?: "
|
|
2810
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2822
2811
|
color?: string | undefined;
|
|
2823
2812
|
})[] | undefined;
|
|
2824
2813
|
showValueLabels?: boolean | undefined;
|
|
2825
|
-
xAxisLabel?: string | undefined;
|
|
2826
|
-
yAxisLabel?: string | undefined;
|
|
2827
|
-
barLabel?: string | undefined;
|
|
2828
|
-
lineLabel?: string | undefined;
|
|
2829
|
-
stacked?: boolean | undefined;
|
|
2830
|
-
} & {
|
|
2831
|
-
series: {
|
|
2832
|
-
key: string;
|
|
2833
|
-
kind: "line" | "bar";
|
|
2834
|
-
label?: string | undefined;
|
|
2835
|
-
axis?: "left" | "right" | undefined;
|
|
2836
|
-
}[];
|
|
2837
|
-
}), {
|
|
2838
2814
|
type: "composed";
|
|
2839
2815
|
data: {
|
|
2840
2816
|
[x: string]: unknown;
|
|
@@ -2842,30 +2818,43 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2842
2818
|
barValue?: number | undefined;
|
|
2843
2819
|
lineValue?: number | undefined;
|
|
2844
2820
|
}[];
|
|
2845
|
-
|
|
2846
|
-
|
|
2821
|
+
barLabel?: string | undefined;
|
|
2822
|
+
lineLabel?: string | undefined;
|
|
2823
|
+
stacked?: boolean | undefined;
|
|
2847
2824
|
series?: {
|
|
2848
2825
|
key: string;
|
|
2849
|
-
kind: "line" | "bar";
|
|
2850
2826
|
label?: string | undefined;
|
|
2851
2827
|
axis?: "left" | "right" | undefined;
|
|
2828
|
+
kind: "bar" | "line";
|
|
2852
2829
|
}[] | undefined;
|
|
2830
|
+
} & {
|
|
2831
|
+
series: {
|
|
2832
|
+
key: string;
|
|
2833
|
+
label?: string | undefined;
|
|
2834
|
+
axis?: "left" | "right" | undefined;
|
|
2835
|
+
kind: "bar" | "line";
|
|
2836
|
+
}[];
|
|
2837
|
+
}), {
|
|
2838
|
+
title?: string | undefined;
|
|
2839
|
+
height?: number | undefined;
|
|
2840
|
+
xAxisLabel?: string | undefined;
|
|
2841
|
+
yAxisLabel?: string | undefined;
|
|
2853
2842
|
rightAxisLabel?: string | undefined;
|
|
2854
2843
|
annotations?: ({
|
|
2855
2844
|
kind: "reference-line";
|
|
2856
2845
|
axis: "x" | "y";
|
|
2857
2846
|
value: string | number;
|
|
2858
2847
|
label?: string | undefined;
|
|
2859
|
-
tone?: "
|
|
2848
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2860
2849
|
color?: string | undefined;
|
|
2861
2850
|
strokeDasharray?: string | undefined;
|
|
2862
2851
|
} | {
|
|
2863
2852
|
kind: "stat-line";
|
|
2864
|
-
stat: "
|
|
2853
|
+
stat: "average" | "max" | "median" | "min" | "p90";
|
|
2865
2854
|
axis?: "x" | "y" | undefined;
|
|
2866
2855
|
series?: string | undefined;
|
|
2867
2856
|
label?: string | undefined;
|
|
2868
|
-
tone?: "
|
|
2857
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2869
2858
|
color?: string | undefined;
|
|
2870
2859
|
strokeDasharray?: string | undefined;
|
|
2871
2860
|
} | {
|
|
@@ -2874,32 +2863,43 @@ export declare const chartSchema: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject
|
|
|
2874
2863
|
from: string | number;
|
|
2875
2864
|
to: string | number;
|
|
2876
2865
|
label?: string | undefined;
|
|
2877
|
-
tone?: "
|
|
2866
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2878
2867
|
color?: string | undefined;
|
|
2879
2868
|
} | {
|
|
2880
2869
|
kind: "reference-point";
|
|
2881
2870
|
x: string | number;
|
|
2882
2871
|
y: number;
|
|
2883
2872
|
label?: string | undefined;
|
|
2884
|
-
tone?: "
|
|
2873
|
+
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2885
2874
|
color?: string | undefined;
|
|
2886
2875
|
})[] | undefined;
|
|
2887
2876
|
showValueLabels?: boolean | undefined;
|
|
2888
|
-
|
|
2889
|
-
|
|
2877
|
+
type: "composed";
|
|
2878
|
+
data: {
|
|
2879
|
+
[x: string]: unknown;
|
|
2880
|
+
name: string;
|
|
2881
|
+
barValue?: number | undefined;
|
|
2882
|
+
lineValue?: number | undefined;
|
|
2883
|
+
}[];
|
|
2890
2884
|
barLabel?: string | undefined;
|
|
2891
2885
|
lineLabel?: string | undefined;
|
|
2892
2886
|
stacked?: boolean | undefined;
|
|
2887
|
+
series?: {
|
|
2888
|
+
key: string;
|
|
2889
|
+
label?: string | undefined;
|
|
2890
|
+
axis?: "left" | "right" | undefined;
|
|
2891
|
+
kind: "bar" | "line";
|
|
2892
|
+
}[] | undefined;
|
|
2893
2893
|
}>>], "type">;
|
|
2894
2894
|
export declare const generateChartInputSchema: z.ZodObject<{
|
|
2895
2895
|
type: z.ZodEnum<{
|
|
2896
2896
|
area: "area";
|
|
2897
|
-
line: "line";
|
|
2898
2897
|
bar: "bar";
|
|
2898
|
+
composed: "composed";
|
|
2899
|
+
line: "line";
|
|
2899
2900
|
pie: "pie";
|
|
2900
|
-
scatter: "scatter";
|
|
2901
2901
|
radar: "radar";
|
|
2902
|
-
|
|
2902
|
+
scatter: "scatter";
|
|
2903
2903
|
}>;
|
|
2904
2904
|
title: z.ZodOptional<z.ZodString>;
|
|
2905
2905
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2925,17 +2925,17 @@ export declare const generateChartInputSchema: z.ZodObject<{
|
|
|
2925
2925
|
right: "right";
|
|
2926
2926
|
}>>;
|
|
2927
2927
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2928
|
-
line: "line";
|
|
2929
2928
|
bar: "bar";
|
|
2929
|
+
line: "line";
|
|
2930
2930
|
}>>;
|
|
2931
2931
|
}, z.core.$strip>>>;
|
|
2932
2932
|
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
2933
2933
|
annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2934
2934
|
kind: z.ZodEnum<{
|
|
2935
|
-
"reference-line": "reference-line";
|
|
2936
|
-
"stat-line": "stat-line";
|
|
2937
2935
|
"reference-area": "reference-area";
|
|
2936
|
+
"reference-line": "reference-line";
|
|
2938
2937
|
"reference-point": "reference-point";
|
|
2938
|
+
"stat-line": "stat-line";
|
|
2939
2939
|
}>;
|
|
2940
2940
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
2941
2941
|
x: "x";
|
|
@@ -2947,23 +2947,23 @@ export declare const generateChartInputSchema: z.ZodObject<{
|
|
|
2947
2947
|
x: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2948
2948
|
y: z.ZodOptional<z.ZodNumber>;
|
|
2949
2949
|
stat: z.ZodOptional<z.ZodEnum<{
|
|
2950
|
+
average: "average";
|
|
2950
2951
|
max: "max";
|
|
2951
|
-
min: "min";
|
|
2952
2952
|
median: "median";
|
|
2953
|
-
|
|
2953
|
+
min: "min";
|
|
2954
2954
|
p90: "p90";
|
|
2955
2955
|
}>>;
|
|
2956
2956
|
series: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2957
|
-
line: "line";
|
|
2958
2957
|
bar: "bar";
|
|
2958
|
+
line: "line";
|
|
2959
2959
|
}>, z.ZodString]>>;
|
|
2960
2960
|
label: z.ZodOptional<z.ZodString>;
|
|
2961
2961
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
2962
|
+
danger: "danger";
|
|
2962
2963
|
info: "info";
|
|
2964
|
+
neutral: "neutral";
|
|
2963
2965
|
success: "success";
|
|
2964
2966
|
warning: "warning";
|
|
2965
|
-
neutral: "neutral";
|
|
2966
|
-
danger: "danger";
|
|
2967
2967
|
}>>;
|
|
2968
2968
|
color: z.ZodOptional<z.ZodString>;
|
|
2969
2969
|
strokeDasharray: z.ZodOptional<z.ZodString>;
|