@manta-eu/react 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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/ForecastEventCard.js +1 -1
- package/dist/components/chart/ForecastHoverCard.js +1 -1
- package/dist/components/chart/ForecastLegend.d.ts.map +1 -1
- package/dist/components/chart/ForecastLegend.js +10 -2
- package/dist/components/chart/ForecastLegend.js.map +1 -1
- 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 +1 -1
- package/dist/components/chart/forecast-model.d.ts.map +1 -1
- package/dist/components/chart/forecast-model.js.map +1 -1
- package/dist/components/chart/forecast.d.ts.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 +3 -3
- 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/file-dropzone/index.d.ts +25 -0
- package/dist/components/file-dropzone/index.d.ts.map +1 -0
- package/dist/components/file-dropzone/index.js +70 -0
- package/dist/components/file-dropzone/index.js.map +1 -0
- 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/planning/plan-detail-utils.d.ts.map +1 -1
- package/dist/components/planning/plan-detail-utils.js +2 -0
- package/dist/components/planning/plan-detail-utils.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 +1 -0
- package/dist/components/toast/index.d.ts.map +1 -1
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toast/index.js.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 +33 -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/NodeDetailPanel/TypeSummaryPanel.d.ts.map +1 -1
- package/dist/graph/NodeDetailPanel/TypeSummaryPanel.js.map +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/use-sparql-construct.d.ts +2 -0
- package/dist/hooks/use-sparql-construct.d.ts.map +1 -1
- package/dist/hooks/use-sparql-construct.js +2 -1
- package/dist/hooks/use-sparql-construct.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 +1 -1
- package/dist/hooks/useAuth.d.ts.map +1 -1
- package/dist/hooks/useAuth.js +3 -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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/build-config.js.map +1 -1
- package/dist/lib/datastore-route-table.d.ts +3 -0
- package/dist/lib/datastore-route-table.d.ts.map +1 -1
- package/dist/lib/datastore-route-table.js +3 -0
- package/dist/lib/datastore-route-table.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/hooks/{useChatUpload.d.ts → useFileUpload.d.ts} +3 -3
- package/dist/lib/hooks/{useChatUpload.d.ts.map → useFileUpload.d.ts.map} +1 -1
- package/dist/lib/hooks/{useChatUpload.js → useFileUpload.js} +2 -2
- package/dist/lib/hooks/{useChatUpload.js.map → useFileUpload.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/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-collection/index.d.ts +3 -0
- package/dist/routes/data-collection/index.d.ts.map +1 -0
- package/dist/routes/data-collection/index.js +43 -0
- package/dist/routes/data-collection/index.js.map +1 -0
- 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/DataExplorerLayout.d.ts.map +1 -1
- package/dist/routes/data-explorer/components/DataExplorerLayout.js +5 -2
- package/dist/routes/data-explorer/components/DataExplorerLayout.js.map +1 -1
- 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/Rail.d.ts.map +1 -1
- package/dist/routes/data-explorer/components/Rail.js +3 -3
- package/dist/routes/data-explorer/components/Rail.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/components/uploads/IngestRunsList.d.ts +8 -0
- package/dist/routes/data-explorer/components/uploads/IngestRunsList.d.ts.map +1 -0
- package/dist/routes/data-explorer/components/uploads/IngestRunsList.js +18 -0
- package/dist/routes/data-explorer/components/uploads/IngestRunsList.js.map +1 -0
- package/dist/routes/data-explorer/components/uploads/IngestStateStatus.d.ts +14 -0
- package/dist/routes/data-explorer/components/uploads/IngestStateStatus.d.ts.map +1 -0
- package/dist/routes/data-explorer/components/uploads/IngestStateStatus.js +33 -0
- package/dist/routes/data-explorer/components/uploads/IngestStateStatus.js.map +1 -0
- package/dist/routes/data-explorer/components/uploads/UploadedFilesList.d.ts +8 -0
- package/dist/routes/data-explorer/components/uploads/UploadedFilesList.d.ts.map +1 -0
- package/dist/routes/data-explorer/components/uploads/UploadedFilesList.js +34 -0
- package/dist/routes/data-explorer/components/uploads/UploadedFilesList.js.map +1 -0
- package/dist/routes/data-explorer/components/uploads/UploadsPages.d.ts +7 -0
- package/dist/routes/data-explorer/components/uploads/UploadsPages.d.ts.map +1 -0
- package/dist/routes/data-explorer/components/uploads/UploadsPages.js +35 -0
- package/dist/routes/data-explorer/components/uploads/UploadsPages.js.map +1 -0
- package/dist/routes/data-explorer/coverage.d.ts.map +1 -1
- package/dist/routes/data-explorer/index.d.ts +1 -0
- package/dist/routes/data-explorer/index.d.ts.map +1 -1
- package/dist/routes/data-explorer/index.js +1 -0
- package/dist/routes/data-explorer/index.js.map +1 -1
- package/dist/routes/data-explorer/namespaces.d.ts +4 -0
- package/dist/routes/data-explorer/namespaces.d.ts.map +1 -1
- package/dist/routes/data-explorer/namespaces.js +6 -1
- package/dist/routes/data-explorer/namespaces.js.map +1 -1
- package/dist/routes/data-explorer/sparql-client.js.map +1 -1
- package/dist/routes/data-explorer/uploads.d.ts +56 -0
- package/dist/routes/data-explorer/uploads.d.ts.map +1 -0
- package/dist/routes/data-explorer/uploads.js +140 -0
- package/dist/routes/data-explorer/uploads.js.map +1 -0
- package/dist/routes/datastores/components/DatastoreTableSkeleton.js +1 -1
- package/dist/routes/datastores/components/DatastoresToolbar.js +1 -1
- package/dist/routes/datastores/components/LinkUnlinkedDatastoreDialog.d.ts +1 -0
- package/dist/routes/datastores/components/LinkUnlinkedDatastoreDialog.d.ts.map +1 -1
- package/dist/routes/datastores/components/LinkUnlinkedDatastoreDialog.js +17 -10
- package/dist/routes/datastores/components/LinkUnlinkedDatastoreDialog.js.map +1 -1
- package/dist/routes/datastores/components/StatusBadge.d.ts +7 -8
- package/dist/routes/datastores/components/StatusBadge.d.ts.map +1 -1
- package/dist/routes/datastores/components/StatusBadge.js +17 -1
- package/dist/routes/datastores/components/StatusBadge.js.map +1 -1
- package/dist/routes/datastores/components/UnlinkedDatastoresPanel.js +1 -1
- package/dist/routes/datastores/flatten.d.ts +6 -1
- package/dist/routes/datastores/flatten.d.ts.map +1 -1
- package/dist/routes/datastores/flatten.js +37 -2
- package/dist/routes/datastores/flatten.js.map +1 -1
- package/dist/routes/datastores/hooks/useDatastoreColumns.d.ts +4 -2
- package/dist/routes/datastores/hooks/useDatastoreColumns.d.ts.map +1 -1
- package/dist/routes/datastores/hooks/useDatastoreColumns.js +9 -7
- package/dist/routes/datastores/hooks/useDatastoreColumns.js.map +1 -1
- package/dist/routes/datastores/index.d.ts.map +1 -1
- package/dist/routes/datastores/index.js +54 -19
- package/dist/routes/datastores/index.js.map +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/GoogleMerchantCenterConnectForm.d.ts +3 -0
- package/dist/routes/integrations/components/connect-forms/GoogleMerchantCenterConnectForm.d.ts.map +1 -0
- package/dist/routes/integrations/components/connect-forms/GoogleMerchantCenterConnectForm.js +38 -0
- package/dist/routes/integrations/components/connect-forms/GoogleMerchantCenterConnectForm.js.map +1 -0
- 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/components/connect-forms/google-merchant-center-account-tree.d.ts +4 -0
- package/dist/routes/integrations/components/connect-forms/google-merchant-center-account-tree.d.ts.map +1 -0
- package/dist/routes/integrations/components/connect-forms/google-merchant-center-account-tree.js +32 -0
- package/dist/routes/integrations/components/connect-forms/google-merchant-center-account-tree.js.map +1 -0
- package/dist/routes/integrations/components/connect-forms/setup-account-unavailable-reason.d.ts.map +1 -1
- package/dist/routes/integrations/components/connect-forms/setup-account-unavailable-reason.js +1 -0
- package/dist/routes/integrations/components/connect-forms/setup-account-unavailable-reason.js.map +1 -1
- package/dist/routes/integrations/connect-forms.d.ts +1 -0
- package/dist/routes/integrations/connect-forms.d.ts.map +1 -1
- package/dist/routes/integrations/connect-forms.js +1 -0
- package/dist/routes/integrations/connect-forms.js.map +1 -1
- package/dist/routes/integrations/connection-view.d.ts.map +1 -1
- package/dist/routes/integrations/connection-view.js +1 -0
- package/dist/routes/integrations/connection-view.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/shared/graph-derived-queries.d.ts.map +1 -1
- package/dist/shared/graph-derived-queries.js +2 -1
- package/dist/shared/graph-derived-queries.js.map +1 -1
- package/dist/style.js +1 -1
- package/dist/templates/slack-to-markdown.js +1 -1
- package/package.json +27 -14
- package/src/app-subpaths.json +1 -0
- package/src/components/badge/index.tsx +1 -1
- package/src/components/calendar/index.tsx +2 -2
- package/src/components/chart/ForecastLegend.tsx +15 -13
- package/src/components/chart/forecast-model.ts +6 -8
- package/src/components/chat-view/Chat.tsx +2 -2
- package/src/components/file-dropzone/index.tsx +165 -0
- package/src/components/input/input-field.tsx +1 -1
- package/src/components/input/textarea.tsx +1 -1
- package/src/components/planning/plan-detail-utils.tsx +2 -0
- package/src/components/table/index.tsx +0 -1
- package/src/components/toast/index.tsx +1 -0
- package/src/graph/NodeDetailPanel/TypeSummaryPanel.tsx +12 -14
- package/src/hooks/resolved-terms.ts +6 -1
- package/src/hooks/use-sparql-construct.ts +4 -2
- package/src/hooks/useAuth.ts +3 -1
- package/src/index.ts +1 -0
- package/src/lib/chat-types.ts +1 -1
- package/src/lib/datastore-route-table.ts +6 -0
- package/src/lib/hooks/{useChatUpload.ts → useFileUpload.ts} +2 -2
- 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/routes/data-collection/index.tsx +82 -0
- package/src/routes/data-explorer/components/DataExplorerLayout.tsx +5 -2
- package/src/routes/data-explorer/components/DetailHeader.tsx +4 -4
- package/src/routes/data-explorer/components/Rail.tsx +13 -2
- 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/routes/data-explorer/components/uploads/IngestRunsList.tsx +63 -0
- package/src/routes/data-explorer/components/uploads/IngestStateStatus.tsx +45 -0
- package/src/routes/data-explorer/components/uploads/UploadedFilesList.tsx +93 -0
- package/src/routes/data-explorer/components/uploads/UploadsPages.tsx +80 -0
- package/src/routes/data-explorer/index.tsx +6 -0
- package/src/routes/data-explorer/namespaces.ts +7 -1
- package/src/routes/data-explorer/uploads.ts +205 -0
- package/src/routes/datastores/components/LinkUnlinkedDatastoreDialog.tsx +49 -10
- package/src/routes/datastores/components/StatusBadge.tsx +22 -7
- package/src/routes/datastores/flatten.ts +50 -2
- package/src/routes/datastores/hooks/useDatastoreColumns.tsx +21 -1
- package/src/routes/datastores/index.tsx +64 -13
- package/src/routes/integrations/components/connect-forms/GoogleMerchantCenterConnectForm.tsx +61 -0
- package/src/routes/integrations/components/connect-forms/google-merchant-center-account-tree.ts +38 -0
- package/src/routes/integrations/components/connect-forms/setup-account-unavailable-reason.ts +1 -0
- package/src/routes/integrations/connect-forms.ts +1 -0
- package/src/routes/integrations/connection-view.ts +1 -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/shared/graph-derived-queries.ts +2 -0
- package/src/style.ts +1 -1
- package/src/templates/slack-to-markdown.ts +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { enableDatastoreRemoval } from "@manta-eu/client/shared/constants";
|
|
2
3
|
import { isPresent } from "@manta-eu/lib/present";
|
|
3
4
|
import { LoaderCircle } from "lucide-react";
|
|
4
5
|
import { Badge } from "#components/badge/index";
|
|
@@ -6,6 +7,8 @@ import { datastoreStatusCategory, } from "#components/datastore-management/tree"
|
|
|
6
7
|
export function datastoreStatusFilterValue(node, status) {
|
|
7
8
|
if (!isPresent(node.datastoreId))
|
|
8
9
|
return "noDatastore";
|
|
10
|
+
if (node.unbuilt === true && status?.exists !== true)
|
|
11
|
+
return "notBuilt";
|
|
9
12
|
return datastoreStatusCategory(node, status) ?? "checking";
|
|
10
13
|
}
|
|
11
14
|
// The only place these strings live: the badge and the filter dropdown both read from here.
|
|
@@ -22,16 +25,29 @@ const badgeConfigByFilterValue = {
|
|
|
22
25
|
variant: "destructive",
|
|
23
26
|
title: "This id never reached the datastore registry, so nothing will build it. Provision it again.",
|
|
24
27
|
},
|
|
28
|
+
notBuilt: {
|
|
29
|
+
label: "Not built",
|
|
30
|
+
variant: "warning",
|
|
31
|
+
title: "Registered in Infisical, but no datastore exists for it. Link it to build it, or delete it.",
|
|
32
|
+
},
|
|
25
33
|
offline: { label: "Offline", variant: "destructive" },
|
|
26
34
|
unavailable: { label: "Status unavailable", variant: "copy" },
|
|
27
35
|
checking: { label: "Checking…", variant: "copy", spinning: true },
|
|
28
|
-
removed:
|
|
36
|
+
removed: enableDatastoreRemoval
|
|
37
|
+
? { label: "Removed", variant: "copy" }
|
|
38
|
+
: {
|
|
39
|
+
label: "Removed",
|
|
40
|
+
variant: "warning",
|
|
41
|
+
title: "Out of use: a permanent delete stopped partway, or it was removed before removal was turned off. " +
|
|
42
|
+
"Delete it permanently only if it should go for good.",
|
|
43
|
+
},
|
|
29
44
|
noDatastore: { label: "No datastore", variant: "copy" },
|
|
30
45
|
};
|
|
31
46
|
const filterOptionOrder = [
|
|
32
47
|
"ready",
|
|
33
48
|
"materializing",
|
|
34
49
|
"notRegistered",
|
|
50
|
+
"notBuilt",
|
|
35
51
|
"offline",
|
|
36
52
|
"unavailable",
|
|
37
53
|
"removed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBadge.js","sourceRoot":"","sources":["../../../../src/routes/datastores/components/StatusBadge.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAqB,MAAM,yBAAyB,CAAC;AACnE,OAAO,EACL,uBAAuB,GAGxB,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"StatusBadge.js","sourceRoot":"","sources":["../../../../src/routes/datastores/components/StatusBadge.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAqB,MAAM,yBAAyB,CAAC;AACnE,OAAO,EACL,uBAAuB,GAGxB,MAAM,uCAAuC,CAAC;AAM/C,MAAM,UAAU,0BAA0B,CAAC,IAAgB,EAAE,MAAwB;IACnF,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;QAAE,OAAO,aAAa,CAAC;IACvD,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,MAAM,EAAE,MAAM,KAAK,IAAI;QAAE,OAAO,UAAU,CAA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EAAE,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE;IACpC,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,wBAAwB,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;CACtF,CAAC;AAOF,MAAM,UAAU,oBAAoB,CAAC,KAAgC;IACnE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAE/B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;QAAE,OAAO,eAAM,SAAS,EAAC,uCAAuC,uBAAS,CAAC;IAE1G,MAAM,MAAM,GAAG,wBAAwB,CAAC,0BAA0B,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAElF,OAAO,CACL,MAAC,KAAK,IAAC,IAAI,EAAC,IAAI,EAAC,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,SAAS,EAAC,gBAAgB,EAAC,KAAK,EAAE,MAAM,CAAC,KAAK,aACrF,MAAM,CAAC,QAAQ,IAAI,KAAC,YAAY,IAAC,SAAS,EAAC,qBAAqB,GAAG,EACnE,MAAM,CAAC,KAAK,IACP,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { isPresent } from "@manta-eu/lib/present";
|
|
3
3
|
import { Unlink } from "lucide-react";
|
|
4
4
|
import { DatastoresToolbar } from "./DatastoresToolbar.js";
|
|
@@ -17,6 +17,7 @@ export type DatastoreRow = {
|
|
|
17
17
|
mirrored?: boolean;
|
|
18
18
|
isRealmDefault?: boolean;
|
|
19
19
|
isUnlinked?: boolean;
|
|
20
|
+
unbuilt?: boolean;
|
|
20
21
|
};
|
|
21
22
|
export declare function realmDefaultRow(datastoreId: Realm): DatastoreRow;
|
|
22
23
|
export declare function isUnmirroredOrganization(row: DatastoreRow): boolean;
|
|
@@ -29,10 +30,14 @@ export type DatastoreRowVisibility = {
|
|
|
29
30
|
export declare function visibleDatastoreRows(rows: DatastoreRow[], visibility: DatastoreRowVisibility): DatastoreRow[];
|
|
30
31
|
export declare function nestedDatastoreNamesByRowId(rows: DatastoreRow[]): Map<string, string[]>;
|
|
31
32
|
export declare function hiddenRowCount(rows: DatastoreRow[], visibility: DatastoreRowVisibility, key: keyof DatastoreRowVisibility, shownCount: number): number;
|
|
33
|
+
export declare function hiddenRemovedRowCount(rows: DatastoreRow[], visibility: DatastoreRowVisibility): number;
|
|
32
34
|
export declare function organizationNameKey(name: string): string;
|
|
33
35
|
export declare function existingOrganizationNameKeys(rows: DatastoreRow[]): Set<string>;
|
|
34
36
|
export declare function organizationNames(rows: DatastoreRow[]): string[];
|
|
37
|
+
export declare function removedSubtreeRowIds(rows: DatastoreRow[]): Set<string>;
|
|
38
|
+
export declare function outsideRemovedSubtrees(rows: DatastoreRow[]): DatastoreRow[];
|
|
39
|
+
export declare function organizationGroupPaths(rows: DatastoreRow[]): Map<string, string[]>;
|
|
35
40
|
export declare function visibilityForStatusFilter(visibility: DatastoreRowVisibility, status: DatastoreStatusFilterValue | "ALL"): DatastoreRowVisibility;
|
|
36
|
-
export declare function unlinkedDatastoreRow(datastoreId: string): DatastoreRow;
|
|
41
|
+
export declare function unlinkedDatastoreRow(datastoreId: string, built?: boolean): DatastoreRow;
|
|
37
42
|
export declare function toDatastoreRows(nodes: GQLDatastoreTreeNode[]): DatastoreRow[];
|
|
38
43
|
//# sourceMappingURL=flatten.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flatten.d.ts","sourceRoot":"","sources":["../../../src/routes/datastores/flatten.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAmB,KAAK,KAAK,EAAE,MAAM,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iB,CAAC,IAAI,EAAE,YAAY,EAAE,GAAG,MAAM,EAAE,CAEhE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,YAAY,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAQtE;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CAG3E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,YAAY,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAUlF;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,sBAAsB,EAClC,MAAM,EAAE,0BAA0B,GAAG,KAAK,GACzC,sBAAsB,CAgBxB;AAED,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,UAAO,GAAG,YAAY,CAepF;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,EAAE,GAAG,YAAY,EAAE,CAgB7E"}
|
|
@@ -63,6 +63,12 @@ export function hiddenRowCount(rows, visibility, key, shownCount) {
|
|
|
63
63
|
return 0;
|
|
64
64
|
return visibleDatastoreRows(rows, { ...visibility, [key]: true }).length - shownCount;
|
|
65
65
|
}
|
|
66
|
+
export function hiddenRemovedRowCount(rows, visibility) {
|
|
67
|
+
if (visibility.showArchived)
|
|
68
|
+
return 0;
|
|
69
|
+
const shown = new Set(visibleDatastoreRows(rows, visibility));
|
|
70
|
+
return rows.filter((row) => row.removed && !shown.has(row) && matchesVisibility(row, { ...visibility, showArchived: true })).length;
|
|
71
|
+
}
|
|
66
72
|
// Matches Keycloak's own org lookup (ensureOrganization), which is case-insensitive and trims too.
|
|
67
73
|
export function organizationNameKey(name) {
|
|
68
74
|
return name.trim().toLowerCase();
|
|
@@ -73,14 +79,42 @@ export function existingOrganizationNameKeys(rows) {
|
|
|
73
79
|
export function organizationNames(rows) {
|
|
74
80
|
return [...new Set(rows.filter((row) => row.isOrganization).map((row) => row.organizationName))].sort();
|
|
75
81
|
}
|
|
82
|
+
export function removedSubtreeRowIds(rows) {
|
|
83
|
+
const ids = new Set();
|
|
84
|
+
let removedDepth;
|
|
85
|
+
for (const row of rows) {
|
|
86
|
+
if (removedDepth === undefined || row.depth <= removedDepth)
|
|
87
|
+
removedDepth = row.removed ? row.depth : undefined;
|
|
88
|
+
if (removedDepth !== undefined)
|
|
89
|
+
ids.add(row.id);
|
|
90
|
+
}
|
|
91
|
+
return ids;
|
|
92
|
+
}
|
|
93
|
+
export function outsideRemovedSubtrees(rows) {
|
|
94
|
+
const removed = removedSubtreeRowIds(rows);
|
|
95
|
+
return rows.filter((row) => !removed.has(row.id));
|
|
96
|
+
}
|
|
97
|
+
export function organizationGroupPaths(rows) {
|
|
98
|
+
const paths = new Map();
|
|
99
|
+
for (const row of outsideRemovedSubtrees(rows)) {
|
|
100
|
+
if (row.isOrganization || row.isRealmDefault === true || row.isUnlinked === true)
|
|
101
|
+
continue;
|
|
102
|
+
const organizationPaths = paths.get(row.organizationName);
|
|
103
|
+
if (organizationPaths)
|
|
104
|
+
organizationPaths.push(row.path);
|
|
105
|
+
else
|
|
106
|
+
paths.set(row.organizationName, [row.path]);
|
|
107
|
+
}
|
|
108
|
+
return paths;
|
|
109
|
+
}
|
|
76
110
|
export function visibilityForStatusFilter(visibility, status) {
|
|
77
111
|
return match(status)
|
|
78
112
|
.with("removed", () => ({ ...visibility, showArchived: true }))
|
|
79
113
|
.with("noDatastore", () => ({ ...visibility, showUnprovisioned: true }))
|
|
80
|
-
.with("ALL", "ready", "materializing", "notRegistered", "offline", "unavailable", "checking", () => visibility)
|
|
114
|
+
.with("ALL", "ready", "materializing", "notRegistered", "notBuilt", "offline", "unavailable", "checking", () => visibility)
|
|
81
115
|
.exhaustive();
|
|
82
116
|
}
|
|
83
|
-
export function unlinkedDatastoreRow(datastoreId) {
|
|
117
|
+
export function unlinkedDatastoreRow(datastoreId, built = true) {
|
|
84
118
|
return {
|
|
85
119
|
id: `unlinked:${datastoreId}`,
|
|
86
120
|
name: datastoreId,
|
|
@@ -93,6 +127,7 @@ export function unlinkedDatastoreRow(datastoreId) {
|
|
|
93
127
|
removed: false,
|
|
94
128
|
isOrganization: false,
|
|
95
129
|
isUnlinked: true,
|
|
130
|
+
unbuilt: !built,
|
|
96
131
|
};
|
|
97
132
|
}
|
|
98
133
|
export function toDatastoreRows(nodes) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flatten.js","sourceRoot":"","sources":["../../../src/routes/datastores/flatten.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAc,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"flatten.js","sourceRoot":"","sources":["../../../src/routes/datastores/flatten.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAc,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AA2BnC,MAAM,UAAU,eAAe,CAAC,WAAkB;IAChD,OAAO;QACL,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,eAAe,CAAC,WAAW,CAAC;QAClC,KAAK,EAAE,CAAC;QACR,cAAc,EAAE,EAAE;QAClB,gBAAgB,EAAE,EAAE;QACpB,iBAAiB,EAAE,EAAE;QACrB,IAAI,EAAE,EAAE;QACR,WAAW;QACX,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,KAAK;QACrB,cAAc,EAAE,IAAI;KACrB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,GAAiB;IACxD,OAAO,GAAG,CAAC,cAAc,IAAI,GAAG,CAAC,QAAQ,KAAK,KAAK,CAAC;AACtD,CAAC;AAID,MAAM,UAAU,qBAAqB,CAAC,GAAiB,EAAE,MAAsB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AE,IAAI,CAAC,aAAa,IAAI,SAAS;QAC9C,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,SAAS;QAC9C,cAAc,EAAE,IAAI,CAAC,cAAc;QACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,SAAS;KACrC,CAAC,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -19,9 +19,9 @@ export declare const datastoreColumnLabels: {
|
|
|
19
19
|
provisionedBy: string;
|
|
20
20
|
provisionedAt: string;
|
|
21
21
|
};
|
|
22
|
-
export declare const defaultColumnOrder: ("
|
|
22
|
+
export declare const defaultColumnOrder: ("actions" | "datastoreId" | "name" | "organizationName" | "provisionedAt" | "provisionedBy" | "status" | "suggestedMatch")[];
|
|
23
23
|
export declare const unlinkedColumnLabels: Record<string, string>;
|
|
24
|
-
export declare const unlinkedColumnOrder: ("
|
|
24
|
+
export declare const unlinkedColumnOrder: ("actions" | "datastoreId" | "status" | "suggestedMatch")[];
|
|
25
25
|
type UseDatastoreColumnsArgs = {
|
|
26
26
|
statusByDatastoreId: Record<string, DatastoreStatus>;
|
|
27
27
|
currentDatastoreId?: string;
|
|
@@ -40,6 +40,8 @@ type UseDatastoreColumnsArgs = {
|
|
|
40
40
|
onDelete: (row: DatastoreRow) => void;
|
|
41
41
|
onRename: (row: DatastoreRow) => void;
|
|
42
42
|
onRegister: (row: DatastoreRow) => void;
|
|
43
|
+
registeringDatastoreIds: ReadonlySet<string>;
|
|
44
|
+
removedSubtreeRowIds: ReadonlySet<string>;
|
|
43
45
|
onManageUsers: (row: DatastoreRow) => void;
|
|
44
46
|
onManageCustomApps: (row: DatastoreRow) => void;
|
|
45
47
|
onBringOnline: (row: DatastoreRow) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDatastoreColumns.d.ts","sourceRoot":"","sources":["../../../../src/routes/datastores/hooks/useDatastoreColumns.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAu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shared/constants";
|
|
3
3
|
import { isPresent } from "@manta-eu/lib/present";
|
|
4
4
|
import { formatDistanceToNow } from "date-fns";
|
|
5
|
-
import { Blocks, Check, DatabaseZap, Link2, MoreHorizontal, Pencil, Plus, Power, RefreshCw, RotateCcw, Trash, Trash2, TriangleAlert, Users, } from "lucide-react";
|
|
5
|
+
import { Blocks, Check, DatabaseZap, Hammer, Link2, MoreHorizontal, Pencil, Plus, Power, RefreshCw, RotateCcw, Trash, Trash2, TriangleAlert, Users, } from "lucide-react";
|
|
6
6
|
import { useMemo } from "react";
|
|
7
7
|
import { match } from "ts-pattern";
|
|
8
8
|
import { DatastoreStatusBadge, datastoreStatusFilterValue, } from "../components/StatusBadge.js";
|
|
@@ -56,7 +56,7 @@ const columnMinWidths = {
|
|
|
56
56
|
[datastoreColumnIds.actions]: "min-w-[140px]",
|
|
57
57
|
};
|
|
58
58
|
export function useDatastoreColumns(args) {
|
|
59
|
-
const { statusByDatastoreId, currentDatastoreId, isSwitching, indented, matchableRowIds, nestedDatastoreNamesByRowId, suggestedMatchByDatastoreId, onSelect, onAddChild, onLink, onProvision, onLinkExisting, onRemove, onRestore, onDelete, onRename, onRegister, onManageUsers, onManageCustomApps, onBringOnline, isBringingOnline, onLinkProvider, isLinkingProvider, providerLinkEnabled, } = args;
|
|
59
|
+
const { statusByDatastoreId, currentDatastoreId, isSwitching, indented, matchableRowIds, nestedDatastoreNamesByRowId, suggestedMatchByDatastoreId, onSelect, onAddChild, onLink, onProvision, onLinkExisting, onRemove, onRestore, onDelete, onRename, onRegister, registeringDatastoreIds, removedSubtreeRowIds, onManageUsers, onManageCustomApps, onBringOnline, isBringingOnline, onLinkProvider, isLinkingProvider, providerLinkEnabled, } = args;
|
|
60
60
|
return useMemo(() => [
|
|
61
61
|
{
|
|
62
62
|
id: datastoreColumnIds.name,
|
|
@@ -133,6 +133,8 @@ export function useDatastoreColumns(args) {
|
|
|
133
133
|
const status = hasDatastore ? statusByDatastoreId[datastoreId] : undefined;
|
|
134
134
|
const category = datastoreStatusCategory(datastoreRow, status);
|
|
135
135
|
const notRegistered = category === "notRegistered";
|
|
136
|
+
const buildable = category === "materializing";
|
|
137
|
+
const registering = hasDatastore && registeringDatastoreIds.has(datastoreId);
|
|
136
138
|
const reason = match({ notRegistered, materializing: isMaterializing(status) && !isRealmDefault })
|
|
137
139
|
.with({ notRegistered: true }, () => "Not registered - use Register to fix, then try selecting again.")
|
|
138
140
|
.with({ materializing: true }, () => "Still materializing - this can take a few minutes.")
|
|
@@ -143,10 +145,8 @@ export function useDatastoreColumns(args) {
|
|
|
143
145
|
const deleteBlockedReason = isPresent(nestedDatastoreNames)
|
|
144
146
|
? `Delete the datastores under it first: ${nestedDatastoreNames.join(", ")}`
|
|
145
147
|
: undefined;
|
|
146
|
-
return (_jsxs("div", { className: cn(columnMinWidths[datastoreColumnIds.actions], "flex items-center justify-end gap-1.5"), children: [providerLinkEnabled === true && isUnmirroredOrganization(datastoreRow) && !removed && (_jsx(Button, { "data-testid": `datastore-link-provider-${datastoreRow.id}`, size: "sm", variant: "secondary", icon: Link2, disabled: isLinkingProvider, onClick: () => onLinkProvider(datastoreRow), children: "Link to identity provider" })), isUnlinked && (_jsx(Button, { "data-testid": `datastore-link-${datastoreRow.id}`, size: "sm", variant: "secondary", icon: Link2, onClick: () => onLink(datastoreRow), children: "Link" })), hasDatastore && !removed && category === "offline" && (_jsx(Button, { "data-testid": `datastore-bring-online-${datastoreRow.id}`, size: "sm", variant: "secondary", icon: Power, disabled: isBringingOnline, onClick: () => onBringOnline(datastoreRow), children: "Bring online" })), !isUnlinked && hasDatastore && !
|
|
147
|
-
|
|
148
|
-
_jsx("div", { className: "size-6", "aria-hidden": "true" })) : (_jsxs(Dropdown, { children: [_jsx(DropdownTrigger, { asChild: true, children: _jsx("button", { type: "button", "aria-label": `Actions for ${name}`, className: "shrink-0 rounded-sm-v4 p-1 text-muted-foreground hover:bg-faint hover:text-default-foreground", children: _jsx(MoreHorizontal, { className: "size-4" }) }) }), _jsxs(DropdownContent, { align: "end", className: "min-w-52", children: [!isUnlinked && (_jsxs(_Fragment, { children: [_jsx(DropdownItem, { icon: _jsx(Pencil, { className: "size-4" }), onSelect: () => onRename(datastoreRow), children: "Rename" }), isPresent(datastoreRow.organizationAlias) && (_jsx(DropdownItem, { icon: _jsx(Users, { className: "size-4" }), onSelect: () => onManageUsers(datastoreRow), children: "Manage users" })), datastoreRow.isOrganization && isPresent(datastoreRow.organizationAlias) && (_jsx(DropdownItem, { icon: _jsx(Blocks, { className: "size-4" }), onSelect: () => onManageCustomApps(datastoreRow), children: "Custom apps" })), !hasDatastore &&
|
|
149
|
-
(matchableRowIds.has(datastoreRow.id) ? (_jsx(DropdownItem, { icon: _jsx(Link2, { className: "size-4" }), onSelect: () => onLinkExisting(datastoreRow), children: "Link existing datastore" })) : (_jsx(DropdownItem, { icon: _jsx(DatabaseZap, { className: "size-4" }), onSelect: () => onProvision(datastoreRow), children: "Provision datastore" }))), _jsx(DropdownItem, { icon: _jsx(Plus, { className: "size-4" }), onSelect: () => onAddChild(datastoreRow), children: "Add datastore" }), enableDatastoreRemoval && hasDatastore && !removed && (_jsxs(_Fragment, { children: [_jsx(DropdownSeparator, {}), _jsx(DropdownItem, { className: "text-error-foreground", icon: _jsx(Trash2, { className: "size-4" }), onSelect: () => onRemove(datastoreRow), children: "Remove datastore" })] })), enableDatastoreRemoval && hasDatastore && removed && (_jsxs(_Fragment, { children: [_jsx(DropdownSeparator, {}), _jsx(DropdownItem, { icon: _jsx(RotateCcw, { className: "size-4" }), onSelect: () => onRestore(datastoreRow), children: "Restore datastore" })] })), !enableDatastoreRemoval && canDelete && _jsx(DropdownSeparator, {})] })), canDelete && (_jsx(DisabledActionTooltip, { reason: deleteBlockedReason, children: _jsx(DropdownItem, { className: "text-error-foreground", icon: _jsx(Trash, { className: "size-4" }), disabled: isPresent(deleteBlockedReason), onSelect: () => onDelete(datastoreRow), children: "Delete permanently" }) }))] })] }))] }));
|
|
148
|
+
return (_jsxs("div", { className: cn(columnMinWidths[datastoreColumnIds.actions], "flex items-center justify-end gap-1.5"), children: [providerLinkEnabled === true && isUnmirroredOrganization(datastoreRow) && !removed && (_jsx(Button, { "data-testid": `datastore-link-provider-${datastoreRow.id}`, size: "sm", variant: "secondary", icon: Link2, disabled: isLinkingProvider, onClick: () => onLinkProvider(datastoreRow), children: "Link to identity provider" })), isUnlinked && (_jsx(Button, { "data-testid": `datastore-link-${datastoreRow.id}`, size: "sm", variant: "secondary", icon: Link2, onClick: () => onLink(datastoreRow), children: "Link" })), hasDatastore && !removed && category === "offline" && (_jsx(Button, { "data-testid": `datastore-bring-online-${datastoreRow.id}`, size: "sm", variant: "secondary", icon: Power, disabled: isBringingOnline, onClick: () => onBringOnline(datastoreRow), children: "Bring online" })), !isUnlinked && hasDatastore && !removedSubtreeRowIds.has(datastoreRow.id) && notRegistered && (_jsx(Button, { "data-testid": `datastore-register-${datastoreRow.id}`, size: "sm", variant: "secondary", icon: RefreshCw, disabled: registering, onClick: () => onRegister(datastoreRow), children: "Register" })), !isUnlinked && hasDatastore && current && (_jsx(Button, { "data-testid": `datastore-select-${datastoreRow.id}`, size: "sm", variant: "secondary", disabled: true, children: "Selected" })), !isUnlinked && hasDatastore && !current && !removed && (_jsx(Button, { "data-testid": `datastore-select-${datastoreRow.id}`, size: "sm", variant: "secondary", disabled: !canSelect, title: reason, onClick: () => onSelect(datastoreRow), children: "Select" })), isRealmDefault || (isUnlinked && !canDelete) ? (_jsx("div", { className: "size-6", "aria-hidden": "true" })) : (_jsxs(Dropdown, { children: [_jsx(DropdownTrigger, { asChild: true, children: _jsx("button", { type: "button", "aria-label": `Actions for ${name}`, className: "shrink-0 rounded-sm-v4 p-1 text-muted-foreground hover:bg-faint hover:text-default-foreground", children: _jsx(MoreHorizontal, { className: "size-4" }) }) }), _jsxs(DropdownContent, { align: "end", className: "min-w-52", children: [!isUnlinked && (_jsxs(_Fragment, { children: [_jsx(DropdownItem, { icon: _jsx(Pencil, { className: "size-4" }), onSelect: () => onRename(datastoreRow), children: "Rename" }), isPresent(datastoreRow.organizationAlias) && (_jsx(DropdownItem, { icon: _jsx(Users, { className: "size-4" }), onSelect: () => onManageUsers(datastoreRow), children: "Manage users" })), datastoreRow.isOrganization && isPresent(datastoreRow.organizationAlias) && (_jsx(DropdownItem, { icon: _jsx(Blocks, { className: "size-4" }), onSelect: () => onManageCustomApps(datastoreRow), children: "Custom apps" })), !hasDatastore &&
|
|
149
|
+
(matchableRowIds.has(datastoreRow.id) ? (_jsx(DropdownItem, { icon: _jsx(Link2, { className: "size-4" }), onSelect: () => onLinkExisting(datastoreRow), children: "Link existing datastore" })) : (_jsx(DropdownItem, { icon: _jsx(DatabaseZap, { className: "size-4" }), onSelect: () => onProvision(datastoreRow), children: "Provision datastore" }))), hasDatastore && !removedSubtreeRowIds.has(datastoreRow.id) && buildable && (_jsx(DropdownItem, { icon: _jsx(Hammer, { className: "size-4" }), disabled: registering, title: "Starts a build, or joins the one already running", onSelect: () => onRegister(datastoreRow), children: "Build datastore now" })), _jsx(DropdownItem, { icon: _jsx(Plus, { className: "size-4" }), onSelect: () => onAddChild(datastoreRow), children: "Add datastore" }), enableDatastoreRemoval && hasDatastore && !removed && (_jsxs(_Fragment, { children: [_jsx(DropdownSeparator, {}), _jsx(DropdownItem, { className: "text-error-foreground", icon: _jsx(Trash2, { className: "size-4" }), onSelect: () => onRemove(datastoreRow), children: "Remove datastore" })] })), enableDatastoreRemoval && hasDatastore && removed && (_jsxs(_Fragment, { children: [_jsx(DropdownSeparator, {}), _jsx(DropdownItem, { icon: _jsx(RotateCcw, { className: "size-4" }), onSelect: () => onRestore(datastoreRow), children: "Restore datastore" })] })), !enableDatastoreRemoval && canDelete && _jsx(DropdownSeparator, {})] })), canDelete && (_jsx(DisabledActionTooltip, { reason: deleteBlockedReason, children: _jsx(DropdownItem, { className: "text-error-foreground", icon: _jsx(Trash, { className: "size-4" }), disabled: isPresent(deleteBlockedReason), onSelect: () => onDelete(datastoreRow), children: "Delete permanently" }) }))] })] }))] }));
|
|
150
150
|
},
|
|
151
151
|
},
|
|
152
152
|
], [
|
|
@@ -166,6 +166,8 @@ export function useDatastoreColumns(args) {
|
|
|
166
166
|
onRestore,
|
|
167
167
|
onDelete,
|
|
168
168
|
onRegister,
|
|
169
|
+
registeringDatastoreIds,
|
|
170
|
+
removedSubtreeRowIds,
|
|
169
171
|
onRename,
|
|
170
172
|
onManageUsers,
|
|
171
173
|
onManageCustomApps,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDatastoreColumns.js","sourceRoot":"","sources":["../../../../src/routes/datastores/hooks/useDatastoreColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EACL,MAAM,EACN,KAAK,EACL,WAAW,EACX,KAAK,EACL,cAAc,EACd,MAAM,EACN,IAAI,EACJ,KAAK,EACL,SAAS,EACT,SAAS,EACT,KAAK,EACL,MAAM,EACN,aAAa,EACb,KAAK,GACN,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,0BAA0B,GAE3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAqB,MAAM,YAAY,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAwB,MAAM,uCAAuC,CAAC;AACvH,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EACL,QAAQ,EACR,e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EAAE,KAAC,KAAK,IAAC,SAAS,EAAC,QAAQ,GAAG,EAClC,QAAQ,EAAE,SAAS,CAAC,mBAAmB,CAAC,EACxC,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC,mCAGzB,GACO,CACzB,IACe,IACT,CACZ,IACG,CACP,CAAC;YACJ,CAAC;SACF;KACF,EACD;QACE,mBAAmB;QACnB,kBAAkB;QAClB,WAAW;QACX,QAAQ;QACR,eAAe;QACf,2BAA2B;QAC3B,2BAA2B;QAC3B,QAAQ;QACR,UAAU;QACV,MAAM;QACN,WAAW;QACX,cAAc;QACd,QAAQ;QACR,SAAS;QACT,QAAQ;QACR,UAAU;QACV,QAAQ;QACR,aAAa;QACb,kBAAkB;QAClB,aAAa;QACb,gBAAgB;QAChB,cAAc;QACd,iBAAiB;QACjB,mBAAmB;KACpB,CACF,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"useDatastoreColumns.js","sourceRoot":"","sources":["../../../../src/routes/datastores/hooks/useDatastoreColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EACL,MAAM,EACN,KAAK,EACL,WAAW,EACX,MAAM,EACN,KAAK,EACL,cAAc,EACd,MAAM,EACN,IAAI,EACJ,KAAK,EACL,SAAS,EACT,SAAS,EACT,KAAK,EACL,MAAM,EACN,aAAa,EACb,KAAK,GACN,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,0BAA0B,GAE3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAqB,MAAM,YAAY,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,QAAQ;QACR,aAAa;QACb,kBAAkB;QAClB,aAAa;QACb,gBAAgB;QAChB,cAAc;QACd,iBAAiB;QACjB,mBAAmB;KACpB,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/routes/datastores/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/routes/datastores/index.tsx"],"names":[],"mappings":"AAsGA,wBAAgB,eAAe,4CAmzB9B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useBringDatastoreOnlineMutation, useDeleteDatastoreMutation, useOrganizationLinkingQuery, useLinkOrganizationToProviderMutation, useLinkUnlinkedDatastoreMutation, useDatastoreTreeQuery, useProvisionDatastoreMutation, useRegisterDatastoreMutation, useRemoveDatastoreMutation, useRenameDatastoreGroupMutation, useRestoreDatastoreMutation, useUnlinkedDatastoresQuery, } from "@manta-eu/client";
|
|
3
3
|
import { enableDatastoreRemoval } from "@manta-eu/client/shared/constants";
|
|
4
4
|
import { deriveDatastoreId } from "@manta-eu/client/shared/datastore-id";
|
|
@@ -6,7 +6,7 @@ import { parseError } from "@manta-eu/client/shared/error-utils";
|
|
|
6
6
|
import { namesAGroup, pathSegments } from "@manta-eu/client/shared/team";
|
|
7
7
|
import { activeRealm } from "@manta-eu/ldo/realm";
|
|
8
8
|
import { isPresent } from "@manta-eu/lib/present";
|
|
9
|
-
import { useQueryClient } from "@tanstack/react-query";
|
|
9
|
+
import { useMutationState, useQueryClient } from "@tanstack/react-query";
|
|
10
10
|
import { Archive, Database, EyeOff, Plus, RefreshCcw, TriangleAlert } from "lucide-react";
|
|
11
11
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
12
12
|
import { useNavigate, useSearchParams } from "react-router";
|
|
@@ -18,7 +18,7 @@ import { LinkUnlinkedDatastoreDialog } from "./components/LinkUnlinkedDatastoreD
|
|
|
18
18
|
import { ProvisionDatastoreDialog } from "./components/ProvisionDatastoreDialog.js";
|
|
19
19
|
import { RenameDatastoreGroupDialog } from "./components/RenameDatastoreGroupDialog.js";
|
|
20
20
|
import { UnlinkedDatastoresPanel } from "./components/UnlinkedDatastoresPanel.js";
|
|
21
|
-
import { existingOrganizationNameKeys, hiddenRowCount, matchesProviderFilter, nestedDatastoreNamesByRowId, organizationNameKey, organizationNames, realmDefaultRow, toDatastoreRows, unlinkedDatastoreRow, visibilityForStatusFilter, visibleDatastoreRows, } from "./flatten.js";
|
|
21
|
+
import { existingOrganizationNameKeys, hiddenRemovedRowCount, hiddenRowCount, matchesProviderFilter, nestedDatastoreNamesByRowId, organizationGroupPaths, organizationNameKey, organizationNames, outsideRemovedSubtrees, realmDefaultRow, removedSubtreeRowIds, toDatastoreRows, unlinkedDatastoreRow, visibilityForStatusFilter, visibleDatastoreRows, } from "./flatten.js";
|
|
22
22
|
import { datastoreColumnIds, unlinkedColumnLabels, unlinkedColumnOrder, useDatastoreColumns, } from "./hooks/useDatastoreColumns.js";
|
|
23
23
|
import { useDatastoreTable } from "./hooks/useDatastoreTable.js";
|
|
24
24
|
import { linkProviderOutcome, toastProviderWarning } from "./link-provider.js";
|
|
@@ -39,6 +39,7 @@ import { useDatastoreSelection } from "#hooks/useDatastoreSelection";
|
|
|
39
39
|
import { useAuthContext } from "#providers/AuthContext";
|
|
40
40
|
import { useMantaClient } from "#providers/index";
|
|
41
41
|
const realmDatastoreId = activeRealm();
|
|
42
|
+
const registerDatastoreMutationKey = ["RegisterDatastore"];
|
|
42
43
|
const tabLabels = {
|
|
43
44
|
organizations: "Organizations",
|
|
44
45
|
unlinked: "Unlinked",
|
|
@@ -168,19 +169,34 @@ export function DatastoresRoute() {
|
|
|
168
169
|
},
|
|
169
170
|
});
|
|
170
171
|
const registerMutation = useRegisterDatastoreMutation(mantaClient, {
|
|
171
|
-
|
|
172
|
+
mutationKey: registerDatastoreMutationKey,
|
|
173
|
+
onSuccess: async (result, variables) => {
|
|
172
174
|
// "Not registered" is treated as settled, so status polling stopped - force a re-check.
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
await refreshDatastores();
|
|
176
|
+
const { success, error, pending } = result.registerDatastore;
|
|
177
|
+
if (!success) {
|
|
178
|
+
toast.error("Couldn't build the datastore", { description: error ?? undefined });
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
if (pending) {
|
|
182
|
+
toast.success(`Datastore "${variables.datastoreId}" is being built`, {
|
|
183
|
+
description: "It is taking longer than usual, and becomes available once its knowledge graph is built.",
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
else {
|
|
187
|
+
toast.success(`Datastore "${variables.datastoreId}" is registered and built`);
|
|
188
|
+
}
|
|
178
189
|
},
|
|
179
190
|
onError: (error) => {
|
|
180
|
-
const info = parseError(error, "Couldn't
|
|
191
|
+
const info = parseError(error, "Couldn't build the datastore");
|
|
181
192
|
toast.error(info.message, { description: info.description });
|
|
182
193
|
},
|
|
183
194
|
});
|
|
195
|
+
const registeringIds = useMutationState({
|
|
196
|
+
filters: { mutationKey: registerDatastoreMutationKey, status: "pending" },
|
|
197
|
+
select: (mutation) => mutation.state.variables?.datastoreId,
|
|
198
|
+
});
|
|
199
|
+
const registeringDatastoreIds = useMemo(() => new Set(registeringIds.filter((id) => id !== undefined)), [registeringIds]);
|
|
184
200
|
const renameMutation = useRenameDatastoreGroupMutation(mantaClient, {
|
|
185
201
|
onSuccess: (result) => {
|
|
186
202
|
invalidateTree();
|
|
@@ -241,17 +257,20 @@ export function DatastoresRoute() {
|
|
|
241
257
|
...(realmDatastoreId ? [realmDefaultRow(realmDatastoreId)] : []),
|
|
242
258
|
...toDatastoreRows(data?.datastoreTree ?? []),
|
|
243
259
|
], [data]);
|
|
244
|
-
const unlinkedRows = useMemo(() => (unlinkedData?.unlinkedDatastores ?? []).map((entry) => unlinkedDatastoreRow(entry.id)), [unlinkedData]);
|
|
260
|
+
const unlinkedRows = useMemo(() => (unlinkedData?.unlinkedDatastores ?? []).map((entry) => unlinkedDatastoreRow(entry.id, entry.built)), [unlinkedData]);
|
|
245
261
|
const allRows = useMemo(() => [...treeRows, ...unlinkedRows], [treeRows, unlinkedRows]);
|
|
246
262
|
const nestedDatastoreNames = useMemo(() => nestedDatastoreNamesByRowId(treeRows), [treeRows]);
|
|
247
263
|
const rows = useMemo(() => visibleDatastoreRows(treeRows, visibility), [treeRows, visibility]);
|
|
248
264
|
const unprovisionedCount = useMemo(() => hiddenRowCount(treeRows, visibility, "showUnprovisioned", rows.length), [treeRows, visibility, rows.length]);
|
|
265
|
+
const archivedCount = useMemo(() => hiddenRemovedRowCount(treeRows, visibility), [treeRows, visibility]);
|
|
266
|
+
const groupPathsByOrganization = useMemo(() => organizationGroupPaths(treeRows), [treeRows]);
|
|
267
|
+
const removedSubtreeIds = useMemo(() => removedSubtreeRowIds(treeRows), [treeRows]);
|
|
249
268
|
const providerLinkEnabled = linkingQuery.data?.organizationLinking?.linkEnabled;
|
|
250
269
|
const linkingUnreadable = linkingQuery.isError || linkingQuery.data?.organizationLinking === null;
|
|
251
270
|
const tableRows = useMemo(() => (providerLinkEnabled === true ? rows.filter((row) => matchesProviderFilter(row, providerFilter)) : rows), [rows, providerFilter, providerLinkEnabled]);
|
|
252
271
|
const unlinkedCount = unlinkedRows.length;
|
|
253
272
|
const existingOrganizationNames = useMemo(() => existingOrganizationNameKeys(allRows), [allRows]);
|
|
254
|
-
const organizationNameOptions = useMemo(() => organizationNames(allRows), [allRows]);
|
|
273
|
+
const organizationNameOptions = useMemo(() => organizationNames(outsideRemovedSubtrees(allRows)), [allRows]);
|
|
255
274
|
// Mirrors provisionDatastore's assertDatastoreIdAvailable (Infisical folder-per-id is global,
|
|
256
275
|
// not scoped to siblings), so a slug collision is caught before the server round-trip.
|
|
257
276
|
const existingDatastoreIds = useMemo(() => new Set(treeRows.flatMap((row) => (isPresent(row.datastoreId) ? [row.datastoreId] : []))), [treeRows]);
|
|
@@ -260,7 +279,7 @@ export function DatastoresRoute() {
|
|
|
260
279
|
const unlinkedIdSet = useMemo(() => new Set((unlinkedData?.unlinkedDatastores ?? []).map((entry) => entry.id)), [unlinkedData]);
|
|
261
280
|
const suggestedMatchByDatastoreId = useMemo(() => {
|
|
262
281
|
const matches = {};
|
|
263
|
-
for (const row of treeRows) {
|
|
282
|
+
for (const row of outsideRemovedSubtrees(treeRows)) {
|
|
264
283
|
if (isPresent(row.datastoreId))
|
|
265
284
|
continue;
|
|
266
285
|
const derived = derivedIdForRow(row);
|
|
@@ -286,7 +305,7 @@ export function DatastoresRoute() {
|
|
|
286
305
|
}, [suggestedMatchByDatastoreId]);
|
|
287
306
|
const matchableRowIds = useMemo(() => {
|
|
288
307
|
const ids = new Set();
|
|
289
|
-
for (const row of allRows) {
|
|
308
|
+
for (const row of outsideRemovedSubtrees(allRows)) {
|
|
290
309
|
if (!isPresent(row.datastoreId) && unlinkedIdSet.has(derivedIdForRow(row)))
|
|
291
310
|
ids.add(row.id);
|
|
292
311
|
}
|
|
@@ -309,7 +328,9 @@ export function DatastoresRoute() {
|
|
|
309
328
|
void queryClient.invalidateQueries({ queryKey: useUnlinkedDatastoresQuery.getKey() });
|
|
310
329
|
void queryClient.invalidateQueries({ queryKey: ["DatastoreProvisioningStatuses"] });
|
|
311
330
|
if (result.linkUnlinkedDatastore.success) {
|
|
312
|
-
toast.success(
|
|
331
|
+
toast.success(result.linkUnlinkedDatastore.pending
|
|
332
|
+
? `Linked to "${result.linkUnlinkedDatastore.datastoreId}", which is still being built`
|
|
333
|
+
: `Linked to the existing datastore "${result.linkUnlinkedDatastore.datastoreId}"`);
|
|
313
334
|
toastProviderWarning(result.linkUnlinkedDatastore.providerWarning);
|
|
314
335
|
}
|
|
315
336
|
else {
|
|
@@ -353,8 +374,9 @@ export function DatastoresRoute() {
|
|
|
353
374
|
restoreMutation.mutate({ datastoreId: row.datastoreId });
|
|
354
375
|
}, [restoreMutation.mutate]);
|
|
355
376
|
const onRegister = useCallback((row) => {
|
|
356
|
-
if (isPresent(row.datastoreId))
|
|
357
|
-
registerMutation.mutate({ datastoreId: row.datastoreId });
|
|
377
|
+
if (isPresent(row.datastoreId)) {
|
|
378
|
+
registerMutation.mutate({ datastoreId: row.datastoreId, launchProvisioning: true });
|
|
379
|
+
}
|
|
358
380
|
}, [registerMutation.mutate]);
|
|
359
381
|
const onManageUsers = useCallback((row) => {
|
|
360
382
|
const query = new URLSearchParams({ org: row.organizationAlias });
|
|
@@ -390,6 +412,8 @@ export function DatastoresRoute() {
|
|
|
390
412
|
onRestore,
|
|
391
413
|
onRename: setRenameTarget,
|
|
392
414
|
onRegister,
|
|
415
|
+
registeringDatastoreIds,
|
|
416
|
+
removedSubtreeRowIds: removedSubtreeIds,
|
|
393
417
|
onManageUsers,
|
|
394
418
|
onManageCustomApps,
|
|
395
419
|
onBringOnline,
|
|
@@ -410,7 +434,18 @@ export function DatastoresRoute() {
|
|
|
410
434
|
onToggle: () => toggleVisibility("showArchived"),
|
|
411
435
|
},
|
|
412
436
|
]
|
|
413
|
-
:
|
|
437
|
+
: showArchived || archivedCount > 0
|
|
438
|
+
? [
|
|
439
|
+
{
|
|
440
|
+
key: "archived",
|
|
441
|
+
label: showArchived ? "Hide removed" : `Show removed (${archivedCount})`,
|
|
442
|
+
description: "Out of use: a permanent delete stopped partway, or they were removed before removal was turned off.",
|
|
443
|
+
icon: showArchived ? EyeOff : Archive,
|
|
444
|
+
active: showArchived,
|
|
445
|
+
onToggle: () => toggleVisibility("showArchived"),
|
|
446
|
+
},
|
|
447
|
+
]
|
|
448
|
+
: []),
|
|
414
449
|
...(showUnprovisioned || unprovisionedCount > 0
|
|
415
450
|
? [
|
|
416
451
|
{
|
|
@@ -514,7 +549,7 @@ export function DatastoresRoute() {
|
|
|
514
549
|
return (_jsxs(RouteLayout, { user: user, datastore: datastore, datastores: datastores, isOperator: isOperator, canSwitchDatastore: canSwitchDatastore, logout: logout, children: [_jsx(PageHeader, { title: "Datastores", icon: Database, actions: _jsxs(_Fragment, { children: [_jsx(Button, { iconOnly: true, variant: "tertiary", onClick: handleRefresh, disabled: isFetching, icon: RefreshCcw, "aria-label": "Refresh datastores" }), activeTab === "organizations" && (_jsxs(_Fragment, { children: [filterToggles.map((toggle) => (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Button, { variant: "secondary", "aria-pressed": toggle.active, onClick: toggle.onToggle, icon: toggle.icon, children: toggle.label }) }), _jsx(TooltipContent, { children: toggle.description })] }, toggle.key))), _jsx(Button, { icon: Plus, onClick: () => setFormTarget({ kind: "organization" }), children: "Add organization" })] }))] }) }), _jsxs(Tabs, { value: activeTab, onValueChange: (tab) => setSearchParams({ tab }, { replace: true }), className: "flex flex-col flex-1 min-h-0 overflow-hidden", children: [_jsxs(TabsContent, { value: "organizations", className: "flex flex-col flex-1 min-h-0 overflow-hidden", children: [_jsx("div", { className: "border-b border-muted-border px-5 py-3 shrink-0", children: _jsx(DatastoresToolbar, { tabs: tabsList, searchQuery: searchQuery, onSearchQueryChange: onSearchQueryChange, statusFilter: statusFilter, onStatusFilterChange: handleStatusFilterChange, ...(providerLinkEnabled === true ? { providerFilter, onProviderFilterChange: setProviderFilter } : {}), table: table }) }), _jsxs("div", { className: "flex-1 overflow-auto p-4", children: [linkingUnreadable && (_jsx(Banner, { className: "mb-3", label: "Couldn't read whether organizations link to the identity provider, so linking is hidden until it can be." })), isLoading && _jsx(DatastoreTableSkeleton, {}), !isLoading && !isPresent(rows) && (_jsx(EmptyState, { icon: Database, title: "No organizations yet", description: "Provision an organization to give it its first datastore.", children: _jsx(Button, { icon: Plus, onClick: () => setFormTarget({ kind: "organization" }), children: "Add organization" }) })), !isLoading && isPresent(rows) && (_jsxs("div", { className: "flex flex-col gap-3", children: [_jsx("div", { className: "rounded-xl border border-muted-border bg-card overflow-hidden", children: _jsx(DataTable, { table: table, noResultsMessage: "No datastores match your filters." }) }), _jsx(TablePagination, { table: table, total: rows.length })] }))] })] }), _jsx(TabsContent, { value: "unlinked", className: "flex flex-col flex-1 min-h-0 overflow-hidden", children: _jsx(UnlinkedDatastoresPanel, { tabs: tabsList, table: unlinkedTable, rows: unlinkedRows, searchQuery: unlinkedSearchQuery, onSearchQueryChange: onUnlinkedSearchQueryChange, statusFilter: unlinkedStatusFilter, onStatusFilterChange: onUnlinkedStatusFilterChange, columnLabels: unlinkedColumnLabels, columnDefaultOrder: unlinkedColumnOrder, isLoading: isUnlinkedLoading, errorMessage: unlinkedError != null
|
|
515
550
|
? (parseError(unlinkedError, "Couldn't list unlinked datastores").description ??
|
|
516
551
|
"Couldn't list unlinked datastores")
|
|
517
|
-
: null }) })] }), formTarget && (_jsx(ProvisionDatastoreDialog, { target: formTarget, existingOrganizationNames: existingOrganizationNames, onSubmit: submitForm, onCancel: () => setFormTarget(null), isSubmitting: provisionMutation.isPending })), linkDialogTarget && (_jsx(LinkUnlinkedDatastoreDialog, { datastoreId: linkDialogTarget, suggestedMatch: suggestedLinkTarget(linkDialogTarget), organizationNames: organizationNameOptions, existingOrganizationNames: existingOrganizationNames, onClose: () => setLinkDialogTarget(null) })), renameTarget && (_jsx(RenameDatastoreGroupDialog, { target: renameTarget, onSubmit: (name) => {
|
|
552
|
+
: null }) })] }), formTarget && (_jsx(ProvisionDatastoreDialog, { target: formTarget, existingOrganizationNames: existingOrganizationNames, onSubmit: submitForm, onCancel: () => setFormTarget(null), isSubmitting: provisionMutation.isPending })), linkDialogTarget && (_jsx(LinkUnlinkedDatastoreDialog, { datastoreId: linkDialogTarget, suggestedMatch: suggestedLinkTarget(linkDialogTarget), organizationNames: organizationNameOptions, groupPathsByOrganization: groupPathsByOrganization, existingOrganizationNames: existingOrganizationNames, onClose: () => setLinkDialogTarget(null) })), renameTarget && (_jsx(RenameDatastoreGroupDialog, { target: renameTarget, onSubmit: (name) => {
|
|
518
553
|
renameMutation.mutate({
|
|
519
554
|
input: {
|
|
520
555
|
id: renameTarget.id,
|