@altimateai/ui-components 0.0.79 → 0.0.80
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/0~315.js +46635 -0
- package/dist/0~315.js.LICENSE.txt +73 -0
- package/dist/0~315.js.map +1 -0
- package/dist/131.js +14352 -0
- package/dist/131.js.map +1 -0
- package/dist/3~315.js +46635 -0
- package/dist/3~315.js.LICENSE.txt +73 -0
- package/dist/3~315.js.map +1 -0
- package/dist/582.js +1299 -0
- package/dist/582.js.map +1 -0
- package/dist/assets/icons/index.d.ts +45 -110
- package/dist/assets/icons/index.d.ts.map +1 -0
- package/dist/chatbotV2.js +5233 -0
- package/dist/chatbotV2.js.map +1 -0
- package/dist/components/api/index.d.ts +7 -0
- package/dist/components/api/index.d.ts.map +1 -0
- package/dist/components/api/useMutation.d.ts +12 -0
- package/dist/components/api/useMutation.d.ts.map +1 -0
- package/dist/components/api/useQuery.d.ts +12 -0
- package/dist/components/api/useQuery.d.ts.map +1 -0
- package/dist/components/chatbotV2/ChatProvider.d.ts +17 -0
- package/dist/components/chatbotV2/ChatProvider.d.ts.map +1 -0
- package/dist/components/chatbotV2/Chatbot.d.ts +4 -0
- package/dist/components/chatbotV2/Chatbot.d.ts.map +1 -0
- package/dist/components/chatbotV2/HelloMessageSample.d.ts +3 -0
- package/dist/components/chatbotV2/HelloMessageSample.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/action-buttons/DownloadMessage.d.ts +9 -0
- package/dist/components/chatbotV2/components/action-buttons/DownloadMessage.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/action-buttons/ShareMessage.d.ts +9 -0
- package/dist/components/chatbotV2/components/action-buttons/ShareMessage.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/artifacts/Artifacts.d.ts +8 -0
- package/dist/components/chatbotV2/components/artifacts/Artifacts.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/artifacts/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/artifacts/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/attachmentList/AttachmentList.d.ts +8 -0
- package/dist/components/chatbotV2/components/attachmentList/AttachmentList.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/attachmentList/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/attachmentList/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/cancelGenerationButton/CancelGenerationButton.d.ts +3 -0
- package/dist/components/chatbotV2/components/cancelGenerationButton/CancelGenerationButton.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/cancelGenerationButton/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/cancelGenerationButton/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/chatMessageActions/ChatFeedbackActions.d.ts +8 -0
- package/dist/components/chatbotV2/components/chatMessageActions/ChatFeedbackActions.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/chatMessageActions/ChatLastMessageActions.d.ts +8 -0
- package/dist/components/chatbotV2/components/chatMessageActions/ChatLastMessageActions.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/chatMessageActions/ChatMessageActions.d.ts +10 -0
- package/dist/components/chatbotV2/components/chatMessageActions/ChatMessageActions.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/chatMessageActions/ChatMessageEndActions.d.ts +9 -0
- package/dist/components/chatbotV2/components/chatMessageActions/ChatMessageEndActions.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/chatMessageActions/index.d.ts +4 -0
- package/dist/components/chatbotV2/components/chatMessageActions/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/chatTriggerLink/ChatTriggerLink.d.ts +7 -0
- package/dist/components/chatbotV2/components/chatTriggerLink/ChatTriggerLink.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/citations/Citations.d.ts +28 -0
- package/dist/components/chatbotV2/components/citations/Citations.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/coachAI/CoachAI.d.ts +2 -0
- package/dist/components/chatbotV2/components/coachAI/CoachAI.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/coachAI/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/coachAI/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/contextPanel/ContextPanel.d.ts +13 -0
- package/dist/components/chatbotV2/components/contextPanel/ContextPanel.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/contextPanel/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/contextPanel/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/emailDialog/EmailDialog.d.ts +10 -0
- package/dist/components/chatbotV2/components/emailDialog/EmailDialog.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/entityItem/EntityItem.d.ts +7 -0
- package/dist/components/chatbotV2/components/entityItem/EntityItem.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/entityItem/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/entityItem/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/followup/Followup.d.ts +3 -0
- package/dist/components/chatbotV2/components/followup/Followup.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/index.d.ts +18 -0
- package/dist/components/chatbotV2/components/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/interactionPrompt/InteractionPrompt.d.ts +8 -0
- package/dist/components/chatbotV2/components/interactionPrompt/InteractionPrompt.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/interactionPrompt/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/interactionPrompt/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/loadingIndicator/LoadingIndicator.d.ts +3 -0
- package/dist/components/chatbotV2/components/loadingIndicator/LoadingIndicator.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/loadingIndicator/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/loadingIndicator/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/messageItem/MessageItem.d.ts +12 -0
- package/dist/components/chatbotV2/components/messageItem/MessageItem.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/messageItem/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/messageItem/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/messageList/MessageList.d.ts +11 -0
- package/dist/components/chatbotV2/components/messageList/MessageList.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/messageList/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/messageList/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/questionForm/QuestionForm.d.ts +15 -0
- package/dist/components/chatbotV2/components/questionForm/QuestionForm.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/questionForm/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/questionForm/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/refetchSession/RefetchSession.d.ts +8 -0
- package/dist/components/chatbotV2/components/refetchSession/RefetchSession.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/regenerateButton/RegenerateButton.d.ts +7 -0
- package/dist/components/chatbotV2/components/regenerateButton/RegenerateButton.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/regenerateButton/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/regenerateButton/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/selectedContexts/SelectedContexts.d.ts +8 -0
- package/dist/components/chatbotV2/components/selectedContexts/SelectedContexts.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/statusUpdates/StatusUpdates.d.ts +10 -0
- package/dist/components/chatbotV2/components/statusUpdates/StatusUpdates.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/statusUpdates/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/statusUpdates/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/todoProgress/TodoProgress.d.ts +8 -0
- package/dist/components/chatbotV2/components/todoProgress/TodoProgress.d.ts.map +1 -0
- package/dist/components/chatbotV2/components/todoProgress/index.d.ts +2 -0
- package/dist/components/chatbotV2/components/todoProgress/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/hooks/transports.d.ts +126 -0
- package/dist/components/chatbotV2/hooks/transports.d.ts.map +1 -0
- package/dist/components/chatbotV2/hooks/useAgentChat.d.ts +41 -0
- package/dist/components/chatbotV2/hooks/useAgentChat.d.ts.map +1 -0
- package/dist/components/chatbotV2/hooks/useEntityDetection.d.ts +4 -0
- package/dist/components/chatbotV2/hooks/useEntityDetection.d.ts.map +1 -0
- package/dist/components/chatbotV2/hooks/useFeedback.d.ts +5 -0
- package/dist/components/chatbotV2/hooks/useFeedback.d.ts.map +1 -0
- package/dist/components/chatbotV2/index.d.ts +22 -0
- package/dist/components/chatbotV2/index.d.ts.map +1 -0
- package/dist/components/chatbotV2/store/chatSlice.d.ts +65 -0
- package/dist/components/chatbotV2/store/chatSlice.d.ts.map +1 -0
- package/dist/components/chatbotV2/store/index.d.ts +10 -0
- package/dist/components/chatbotV2/store/index.d.ts.map +1 -0
- package/dist/{types-ByRPUpXR.d.ts → components/chatbotV2/types.d.ts} +77 -195
- package/dist/components/chatbotV2/types.d.ts.map +1 -0
- package/dist/components/chatbotV2/utils/entityDetection.d.ts +12 -0
- package/dist/components/chatbotV2/utils/entityDetection.d.ts.map +1 -0
- package/dist/components/chatbotV2/utils/streamProcessor.d.ts +98 -0
- package/dist/components/chatbotV2/utils/streamProcessor.d.ts.map +1 -0
- package/dist/components/chatbotV2/utils.d.ts +3 -0
- package/dist/components/chatbotV2/utils.d.ts.map +1 -0
- package/dist/components/dbtDocs/api/index.d.ts +16 -0
- package/dist/components/dbtDocs/api/index.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/ConversationHighlighter.d.ts +6 -0
- package/dist/components/dbtDocs/collaboration/ConversationHighlighter.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/ConversationInputForm.d.ts +13 -0
- package/dist/components/dbtDocs/collaboration/ConversationInputForm.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/ConversationsHighlighter.d.ts +3 -0
- package/dist/components/dbtDocs/collaboration/ConversationsHighlighter.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/DbtDocsCollaborationComponents.d.ts +3 -0
- package/dist/components/dbtDocs/collaboration/DbtDocsCollaborationComponents.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/DbtDocsCollaborationProvider.d.ts +22 -0
- package/dist/components/dbtDocs/collaboration/DbtDocsCollaborationProvider.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/DbtDocsConversationsRightPanel.d.ts +3 -0
- package/dist/components/dbtDocs/collaboration/DbtDocsConversationsRightPanel.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/DbtDocsReducer.d.ts +1931 -0
- package/dist/components/dbtDocs/collaboration/DbtDocsReducer.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/HighlightAnchor.d.ts +12 -0
- package/dist/components/dbtDocs/collaboration/HighlightAnchor.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/HighlightBlocker.d.ts +7 -0
- package/dist/components/dbtDocs/collaboration/HighlightBlocker.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/HotspotButton.d.ts +7 -0
- package/dist/components/dbtDocs/collaboration/HotspotButton.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/NewConversationForm.d.ts +3 -0
- package/dist/components/dbtDocs/collaboration/NewConversationForm.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/ShowConversationsButton.d.ts +3 -0
- package/dist/components/dbtDocs/collaboration/ShowConversationsButton.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/constants.d.ts +20 -0
- package/dist/components/dbtDocs/collaboration/constants.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/Conversation.d.ts +9 -0
- package/dist/components/dbtDocs/collaboration/conversations/Conversation.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationGroup.d.ts +10 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationGroup.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationGroups.d.ts +3 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationGroups.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationHeader.d.ts +13 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationHeader.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationHighlightText.d.ts +6 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationHighlightText.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationReplyForm.d.ts +9 -0
- package/dist/components/dbtDocs/collaboration/conversations/ConversationReplyForm.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/ResolveButton.d.ts +8 -0
- package/dist/components/dbtDocs/collaboration/conversations/ResolveButton.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/context/ConversationsProvider.d.ts +18 -0
- package/dist/components/dbtDocs/collaboration/conversations/context/ConversationsProvider.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/context/types.d.ts +44 -0
- package/dist/components/dbtDocs/collaboration/conversations/context/types.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/conversations/useConversations.d.ts +5 -0
- package/dist/components/dbtDocs/collaboration/conversations/useConversations.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/highlightUtils.d.ts +28 -0
- package/dist/components/dbtDocs/collaboration/highlightUtils.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/mentions/MentionsInput.d.ts +11 -0
- package/dist/components/dbtDocs/collaboration/mentions/MentionsInput.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/mentions/index.d.ts +32 -0
- package/dist/components/dbtDocs/collaboration/mentions/index.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/newConversationUtils.d.ts +15 -0
- package/dist/components/dbtDocs/collaboration/newConversationUtils.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/selectionEndEvent.d.ts +17 -0
- package/dist/components/dbtDocs/collaboration/selectionEndEvent.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/types.d.ts +15 -0
- package/dist/components/dbtDocs/collaboration/types.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/useConversationUsers.d.ts +5 -0
- package/dist/components/dbtDocs/collaboration/useConversationUsers.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/useDbtDocsCollaboration.d.ts +7 -0
- package/dist/components/dbtDocs/collaboration/useDbtDocsCollaboration.d.ts.map +1 -0
- package/dist/components/dbtDocs/collaboration/useHighlight.d.ts +12 -0
- package/dist/components/dbtDocs/collaboration/useHighlight.d.ts.map +1 -0
- package/dist/components/dbtDocs/details/AddCommentButton.d.ts +3 -0
- package/dist/components/dbtDocs/details/AddCommentButton.d.ts.map +1 -0
- package/dist/components/dbtDocs/details/AddCommentOnCodeButton.d.ts +3 -0
- package/dist/components/dbtDocs/details/AddCommentOnCodeButton.d.ts.map +1 -0
- package/dist/components/dbtDocs/details/AddCommentOnModelDescriptionButton.d.ts +3 -0
- package/dist/components/dbtDocs/details/AddCommentOnModelDescriptionButton.d.ts.map +1 -0
- package/dist/components/dbtDocs/details/DbtDocs.d.ts +10 -0
- package/dist/components/dbtDocs/details/DbtDocs.d.ts.map +1 -0
- package/dist/components/dbtDocs/details/DbtDocsDetails.d.ts +3 -0
- package/dist/components/dbtDocs/details/DbtDocsDetails.d.ts.map +1 -0
- package/dist/components/dbtDocs/details/DbtDocsRenderer.d.ts +8 -0
- package/dist/components/dbtDocs/details/DbtDocsRenderer.d.ts.map +1 -0
- package/dist/components/dbtDocs/details/dbtDocsUtils.d.ts +5 -0
- package/dist/components/dbtDocs/details/dbtDocsUtils.d.ts.map +1 -0
- package/dist/components/dbtDocs/index.d.ts +8 -0
- package/dist/components/dbtDocs/index.d.ts.map +1 -0
- package/dist/components/dbtDocs/resources/dbtDocsAngularApp.d.ts +3 -0
- package/dist/components/dbtDocs/resources/dbtDocsAngularApp.d.ts.map +1 -0
- package/dist/components/lineage/api/index.d.ts +65 -0
- package/dist/components/lineage/api/index.d.ts.map +1 -0
- package/dist/components/lineage/assets/icons/index.d.ts +61 -0
- package/dist/components/lineage/assets/icons/index.d.ts.map +1 -0
- package/dist/components/lineage/cllUtils.d.ts +17 -0
- package/dist/components/lineage/cllUtils.d.ts.map +1 -0
- package/dist/components/lineage/components/AutoExpansionPopover.d.ts +3 -0
- package/dist/components/lineage/components/AutoExpansionPopover.d.ts.map +1 -0
- package/dist/components/lineage/components/BetterPopover.d.ts +14 -0
- package/dist/components/lineage/components/BetterPopover.d.ts.map +1 -0
- package/dist/components/lineage/components/Chip.d.ts +6 -0
- package/dist/components/lineage/components/Chip.d.ts.map +1 -0
- package/dist/components/lineage/components/Column.d.ts +52 -0
- package/dist/components/lineage/components/Column.d.ts.map +1 -0
- package/dist/components/lineage/components/ColumnRow.d.ts +8 -0
- package/dist/components/lineage/components/ColumnRow.d.ts.map +1 -0
- package/dist/components/lineage/components/CustomNodes.d.ts +16 -0
- package/dist/components/lineage/components/CustomNodes.d.ts.map +1 -0
- package/dist/components/lineage/components/DashboardDetails.d.ts +12 -0
- package/dist/components/lineage/components/DashboardDetails.d.ts.map +1 -0
- package/dist/components/lineage/components/DynamicLineage.d.ts +9 -0
- package/dist/components/lineage/components/DynamicLineage.d.ts.map +1 -0
- package/dist/components/lineage/components/ExpandWithConfidenceCard.d.ts +3 -0
- package/dist/components/lineage/components/ExpandWithConfidenceCard.d.ts.map +1 -0
- package/dist/components/lineage/components/ExportButton.d.ts +6 -0
- package/dist/components/lineage/components/ExportButton.d.ts.map +1 -0
- package/dist/components/lineage/components/ExportFinalLineageModal.d.ts +5 -0
- package/dist/components/lineage/components/ExportFinalLineageModal.d.ts.map +1 -0
- package/dist/components/lineage/components/ExposureDetails.d.ts +6 -0
- package/dist/components/lineage/components/ExposureDetails.d.ts.map +1 -0
- package/dist/components/lineage/components/Feedback.d.ts +5 -0
- package/dist/components/lineage/components/Feedback.d.ts.map +1 -0
- package/dist/components/lineage/components/Form.d.ts +5 -0
- package/dist/components/lineage/components/Form.d.ts.map +1 -0
- package/dist/components/lineage/components/FunctionDetails.d.ts +3 -0
- package/dist/components/lineage/components/FunctionDetails.d.ts.map +1 -0
- package/dist/components/lineage/components/LineageLegend.d.ts +3 -0
- package/dist/components/lineage/components/LineageLegend.d.ts.map +1 -0
- package/dist/components/lineage/components/LineageModals.d.ts +3 -0
- package/dist/components/lineage/components/LineageModals.d.ts.map +1 -0
- package/dist/components/lineage/components/Loader/index.d.ts +7 -0
- package/dist/components/lineage/components/Loader/index.d.ts.map +1 -0
- package/dist/components/lineage/components/MoreTables.d.ts +11 -0
- package/dist/components/lineage/components/MoreTables.d.ts.map +1 -0
- package/dist/components/lineage/components/Purpose.d.ts +6 -0
- package/dist/components/lineage/components/Purpose.d.ts.map +1 -0
- package/dist/components/lineage/components/ResetButton.d.ts +6 -0
- package/dist/components/lineage/components/ResetButton.d.ts.map +1 -0
- package/dist/components/lineage/components/Settings.d.ts +6 -0
- package/dist/components/lineage/components/Settings.d.ts.map +1 -0
- package/dist/components/lineage/components/SettingsButton.d.ts +3 -0
- package/dist/components/lineage/components/SettingsButton.d.ts.map +1 -0
- package/dist/components/lineage/components/SidebarErrorBoundary.d.ts +13 -0
- package/dist/components/lineage/components/SidebarErrorBoundary.d.ts.map +1 -0
- package/dist/components/lineage/components/SnowflakeStageDetails.d.ts +3 -0
- package/dist/components/lineage/components/SnowflakeStageDetails.d.ts.map +1 -0
- package/dist/components/lineage/components/SqlLineage.d.ts +12 -0
- package/dist/components/lineage/components/SqlLineage.d.ts.map +1 -0
- package/dist/components/lineage/components/StaticLineage.d.ts +17 -0
- package/dist/components/lineage/components/StaticLineage.d.ts.map +1 -0
- package/dist/components/lineage/components/TableDetails.d.ts +53 -0
- package/dist/components/lineage/components/TableDetails.d.ts.map +1 -0
- package/dist/components/lineage/components/Tags/index.d.ts +5 -0
- package/dist/components/lineage/components/Tags/index.d.ts.map +1 -0
- package/dist/components/lineage/components/ViewsTypeBadge.d.ts +5 -0
- package/dist/components/lineage/components/ViewsTypeBadge.d.ts.map +1 -0
- package/dist/components/lineage/components/sidebarModal/SidebarModal.d.ts +9 -0
- package/dist/components/lineage/components/sidebarModal/SidebarModal.d.ts.map +1 -0
- package/dist/components/lineage/constants.d.ts +12 -0
- package/dist/components/lineage/constants.d.ts.map +1 -0
- package/dist/components/lineage/context/LineageProvider.d.ts +35 -0
- package/dist/components/lineage/context/LineageProvider.d.ts.map +1 -0
- package/dist/components/lineage/context/LineageSlice.d.ts +4673 -0
- package/dist/components/lineage/context/LineageSlice.d.ts.map +1 -0
- package/dist/components/lineage/context/types.d.ts +57 -0
- package/dist/components/lineage/context/types.d.ts.map +1 -0
- package/dist/components/lineage/graph.d.ts +43 -0
- package/dist/components/lineage/graph.d.ts.map +1 -0
- package/dist/components/lineage/index.d.ts +8 -0
- package/dist/components/lineage/index.d.ts.map +1 -0
- package/dist/{lineage/index.d.ts → components/lineage/types.d.ts} +59 -92
- package/dist/components/lineage/types.d.ts.map +1 -0
- package/dist/components/lineage/utils.d.ts +100 -0
- package/dist/components/lineage/utils.d.ts.map +1 -0
- package/dist/components/shared/index.d.ts +2 -0
- package/dist/components/shared/index.d.ts.map +1 -0
- package/dist/components/shared/types.d.ts +18 -0
- package/dist/components/shared/types.d.ts.map +1 -0
- package/dist/components/teammate/AddLearningForm.d.ts +13 -0
- package/dist/components/teammate/AddLearningForm.d.ts.map +1 -0
- package/dist/components/teammate/CoachForm.d.ts +10 -0
- package/dist/components/teammate/CoachForm.d.ts.map +1 -0
- package/dist/components/teammate/CoachFormButton.d.ts +3 -0
- package/dist/components/teammate/CoachFormButton.d.ts.map +1 -0
- package/dist/components/teammate/CoachFormInput.d.ts +8 -0
- package/dist/components/teammate/CoachFormInput.d.ts.map +1 -0
- package/dist/components/teammate/LearningRow.d.ts +10 -0
- package/dist/components/teammate/LearningRow.d.ts.map +1 -0
- package/dist/components/teammate/LearningsList.d.ts +11 -0
- package/dist/components/teammate/LearningsList.d.ts.map +1 -0
- package/dist/components/teammate/TeamMateProvider.d.ts +8 -0
- package/dist/components/teammate/TeamMateProvider.d.ts.map +1 -0
- package/dist/components/teammate/TeamMates.d.ts +10 -0
- package/dist/components/teammate/TeamMates.d.ts.map +1 -0
- package/dist/components/teammate/TeamMatesCard.d.ts +10 -0
- package/dist/components/teammate/TeamMatesCard.d.ts.map +1 -0
- package/dist/components/teammate/alertManager/AlertManagerDisplay.d.ts +4 -0
- package/dist/components/teammate/alertManager/AlertManagerDisplay.d.ts.map +1 -0
- package/dist/components/teammate/assets/index.d.ts +8 -0
- package/dist/components/teammate/assets/index.d.ts.map +1 -0
- package/dist/components/teammate/index.d.ts +11 -0
- package/dist/components/teammate/index.d.ts.map +1 -0
- package/dist/components/teammate/projectGovernor/ChecksInput.d.ts +7 -0
- package/dist/components/teammate/projectGovernor/ChecksInput.d.ts.map +1 -0
- package/dist/components/teammate/projectGovernor/ProjectGovernanceCheck.d.ts +8 -0
- package/dist/components/teammate/projectGovernor/ProjectGovernanceCheck.d.ts.map +1 -0
- package/dist/components/teammate/projectGovernor/ProjectGovernorDisplay.d.ts +3 -0
- package/dist/components/teammate/projectGovernor/ProjectGovernorDisplay.d.ts.map +1 -0
- package/dist/components/teammate/projectGovernor/ProjectGovernorForm.d.ts +7 -0
- package/dist/components/teammate/projectGovernor/ProjectGovernorForm.d.ts.map +1 -0
- package/dist/components/teammate/projectGovernor/types.d.ts +48 -0
- package/dist/components/teammate/projectGovernor/types.d.ts.map +1 -0
- package/dist/components/teammate/teamMateSlice.d.ts +15 -0
- package/dist/components/teammate/teamMateSlice.d.ts.map +1 -0
- package/dist/components/teammate/teamMatesConfig.d.ts +3 -0
- package/dist/components/teammate/teamMatesConfig.d.ts.map +1 -0
- package/dist/components/teammate/teradata/HelloMessage.d.ts +3 -0
- package/dist/components/teammate/teradata/HelloMessage.d.ts.map +1 -0
- package/dist/components/teammate/teradata/MigratorDisplay.d.ts +4 -0
- package/dist/components/teammate/teradata/MigratorDisplay.d.ts.map +1 -0
- package/dist/components/teammate/types.d.ts +113 -0
- package/dist/components/teammate/types.d.ts.map +1 -0
- package/dist/components/teammate/useTeamMateContext.d.ts +3 -0
- package/dist/components/teammate/useTeamMateContext.d.ts.map +1 -0
- package/dist/components/user/ProfileImageByUser.d.ts +7 -0
- package/dist/components/user/ProfileImageByUser.d.ts.map +1 -0
- package/dist/components/user/index.d.ts +3 -0
- package/dist/components/user/index.d.ts.map +1 -0
- package/dist/components/user/types.d.ts +7 -0
- package/dist/components/user/types.d.ts.map +1 -0
- package/dist/dbtDocs.css +297 -0
- package/dist/dbtDocs.css.map +1 -0
- package/dist/dbtDocs.js +1 -0
- package/dist/index.d.ts +14 -285
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -40
- package/dist/lineage.css +1221 -0
- package/dist/lineage.css.map +1 -0
- package/dist/lineage.js +7267 -0
- package/dist/lineage.js.map +1 -0
- package/dist/rslib-runtime.js +20 -0
- package/dist/rslib-runtime.js.map +1 -0
- package/dist/shared/AutosizeTextarea.d.ts +19 -0
- package/dist/shared/AutosizeTextarea.d.ts.map +1 -0
- package/dist/shared/Collapse.d.ts +7 -0
- package/dist/shared/Collapse.d.ts.map +1 -0
- package/dist/shared/Table.d.ts +4 -0
- package/dist/shared/Table.d.ts.map +1 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/utils.d.ts +3 -0
- package/dist/shared/utils.d.ts.map +1 -0
- package/dist/static/image/postgres.png +0 -0
- package/dist/static/image/s3.png +0 -0
- package/dist/static/image/snowflake.png +0 -0
- package/dist/static/svg/botIcon.svg +15 -0
- package/dist/static/svg/brackets.svg +5 -0
- package/dist/static/svg/case-sensitive.svg +5 -0
- package/dist/static/svg/docgen.svg +23 -0
- package/dist/static/svg/half-circle.svg +5 -0
- package/dist/static/svg/opportunities.svg +25 -0
- package/dist/static/svg/split-horizontal.svg +5 -0
- package/dist/static/svg/sqlExpert.svg +24 -0
- package/dist/static/svg/summary.svg +25 -0
- package/dist/styles.css +1638 -0
- package/dist/styles.css.map +1 -0
- package/dist/teammate.css +124 -0
- package/dist/teammate.css.map +1 -0
- package/dist/teammate.js +5655 -0
- package/dist/teammate.js.map +1 -0
- package/dist/user.css +14 -0
- package/dist/user.css.map +1 -0
- package/dist/user.js +13 -0
- package/dist/user.js.map +1 -0
- package/package.json +116 -34
- package/dist/Button-42Dj_nRE.d.ts +0 -28
- package/dist/CoachForm.css +0 -1
- package/dist/CoachForm.js +0 -44445
- package/dist/DbtDocsRenderer.js +0 -45647
- package/dist/IconEye.js +0 -11
- package/dist/Stack.js +0 -7170
- package/dist/Switch.js +0 -128
- package/dist/ToggleGroup.js +0 -8543
- package/dist/_basePickBy.js +0 -151
- package/dist/_baseUniq.js +0 -615
- package/dist/arc.js +0 -83
- package/dist/architecture-U656AL7Q.js +0 -5
- package/dist/architectureDiagram-VXUJARFQ.js +0 -4666
- package/dist/assets/icons/index.js +0 -56
- package/dist/blockDiagram-VD42YOAC.js +0 -2266
- package/dist/c4Diagram-YG6GDRKO.js +0 -1582
- package/dist/channel.js +0 -5
- package/dist/chatbotV2/index.d.ts +0 -359
- package/dist/chatbotV2/index.js +0 -58
- package/dist/chunk-4BX2VUAB.js +0 -9
- package/dist/chunk-55IACEB6.js +0 -9
- package/dist/chunk-B4BG7PRW.js +0 -1377
- package/dist/chunk-DI55MBZ5.js +0 -1382
- package/dist/chunk-FMBD7UC4.js +0 -19
- package/dist/chunk-QN33PNHL.js +0 -20
- package/dist/chunk-QZHKN3VN.js +0 -15
- package/dist/chunk-TZMSLE5B.js +0 -64
- package/dist/classDiagram-2ON5EDUG.js +0 -17
- package/dist/classDiagram-v2-WZHVMYZB.js +0 -17
- package/dist/clone.js +0 -8
- package/dist/cose-bilkent-S5V4N54A.js +0 -2606
- package/dist/cytoscape.esm.js +0 -18731
- package/dist/dagre-6UL2VRFP.js +0 -447
- package/dist/dayjs.min.js +0 -302
- package/dist/defaultLocale.js +0 -171
- package/dist/diagram-PSM6KHXK.js +0 -535
- package/dist/diagram-QEK2KX5R.js +0 -221
- package/dist/diagram-S2PKOQOG.js +0 -143
- package/dist/erDiagram-Q2GNP2WA.js +0 -843
- package/dist/flowDiagram-NV44I4VS.js +0 -1628
- package/dist/ganttDiagram-LVOFAZNH.js +0 -2500
- package/dist/gitGraph-F6HP7TQM.js +0 -5
- package/dist/gitGraphDiagram-NY62KEGX.js +0 -713
- package/dist/graph.js +0 -247
- package/dist/index.css +0 -1
- package/dist/index2.js +0 -689
- package/dist/info-NVLQJR56.js +0 -5
- package/dist/infoDiagram-F6ZHWCRC.js +0 -24
- package/dist/init.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q.js +0 -837
- package/dist/kanban-definition-3W4ZIXB7.js +0 -720
- package/dist/katex.js +0 -11691
- package/dist/layout.js +0 -1324
- package/dist/lineage/index.js +0 -7328
- package/dist/linear.js +0 -259
- package/dist/main.css +0 -1
- package/dist/main.js +0 -4566
- package/dist/mermaid-parser.core.js +0 -12921
- package/dist/mindmap-definition-VGOIOE7T.js +0 -786
- package/dist/ordinal.js +0 -61
- package/dist/packet-BFZMPI3H.js +0 -5
- package/dist/pie-7BOR55EZ.js +0 -5
- package/dist/pieDiagram-ADFJNKIX.js +0 -163
- package/dist/quadrantDiagram-AYHSOK5B.js +0 -1025
- package/dist/radar-NHE76QYJ.js +0 -5
- package/dist/redux-toolkit.css +0 -1
- package/dist/redux-toolkit.modern.js +0 -12525
- package/dist/requirementDiagram-UZGBJVZJ.js +0 -852
- package/dist/sankeyDiagram-TZEHDZUN.js +0 -811
- package/dist/sequenceDiagram-WL72ISMW.js +0 -2523
- package/dist/shadcn/index.d.ts +0 -761
- package/dist/shadcn/index.js +0 -8680
- package/dist/stateDiagram-FKZM4ZOC.js +0 -264
- package/dist/stateDiagram-v2-4FDKWEC3.js +0 -17
- package/dist/storybook/Accordion.stories.tsx +0 -52
- package/dist/storybook/Alert.stories.tsx +0 -101
- package/dist/storybook/AlertDialog.stories.tsx +0 -161
- package/dist/storybook/AutosizeTextarea.stories.tsx +0 -52
- package/dist/storybook/Avatar.stories.tsx +0 -58
- package/dist/storybook/Badge.stories.tsx +0 -43
- package/dist/storybook/Button.stories.tsx +0 -67
- package/dist/storybook/Calendar.stories.tsx +0 -103
- package/dist/storybook/Card.stories.tsx +0 -69
- package/dist/storybook/Carousel.stories.tsx +0 -274
- package/dist/storybook/Checkbox.stories.tsx +0 -65
- package/dist/storybook/Combobox.stories.tsx +0 -1629
- package/dist/storybook/Command.stories.tsx +0 -35
- package/dist/storybook/DateRange.stories.tsx +0 -540
- package/dist/storybook/DebouncedInput.stories.tsx +0 -179
- package/dist/storybook/DropdownMenu.stories.tsx +0 -36
- package/dist/storybook/Form.stories.tsx +0 -114
- package/dist/storybook/HoverCard.stories.tsx +0 -99
- package/dist/storybook/Input.stories.tsx +0 -156
- package/dist/storybook/InputGroup.stories.tsx +0 -352
- package/dist/storybook/Label.stories.tsx +0 -42
- package/dist/storybook/Menubar.stories.tsx +0 -159
- package/dist/storybook/Pagination.stories.tsx +0 -152
- package/dist/storybook/Popover.stories.tsx +0 -23
- package/dist/storybook/Progress.stories.tsx +0 -89
- package/dist/storybook/RadioGroup.stories.tsx +0 -58
- package/dist/storybook/Resizable.stories.tsx +0 -119
- package/dist/storybook/ScrollArea.stories.tsx +0 -101
- package/dist/storybook/Select.stories.tsx +0 -145
- package/dist/storybook/Sheet.stories.tsx +0 -69
- package/dist/storybook/Sidebar.stories.tsx +0 -97
- package/dist/storybook/Slider.stories.tsx +0 -79
- package/dist/storybook/Switch.stories.tsx +0 -90
- package/dist/storybook/Tabs.stories.tsx +0 -147
- package/dist/storybook/TagsInput.stories.tsx +0 -261
- package/dist/storybook/Textarea.stories.tsx +0 -50
- package/dist/storybook/Toast.stories.tsx +0 -107
- package/dist/storybook/Toggle.stories.tsx +0 -106
- package/dist/storybook/ToggleGroup.stories.tsx +0 -178
- package/dist/storybook/Tooltip.stories.tsx +0 -25
- package/dist/storybook/Typography.stories.tsx +0 -231
- package/dist/storybook/drag-and-drop-file-upload.stories.tsx +0 -99
- package/dist/timeline-definition-IT6M3QCI.js +0 -802
- package/dist/treemap-KMMF4GRG.js +0 -5
- package/dist/xychartDiagram-PRI3JC2R.js +0 -1341
- package/readme.md +0 -11
package/dist/dagre-6UL2VRFP.js
DELETED
|
@@ -1,447 +0,0 @@
|
|
|
1
|
-
import { a1 as b, bh as F, bi as Y, bj as H, bk as _, ad as i, a7 as V, bl as U, bm as $, b6 as q, bb as z, b7 as P, b5 as K, bn as Q, bo as W, bp as Z } from "./CoachForm.js";
|
|
2
|
-
import { G as B } from "./graph.js";
|
|
3
|
-
import { l as I } from "./layout.js";
|
|
4
|
-
import { i as x } from "./_baseUniq.js";
|
|
5
|
-
import { c as L } from "./clone.js";
|
|
6
|
-
import { m as A } from "./_basePickBy.js";
|
|
7
|
-
function p(e) {
|
|
8
|
-
var t = {
|
|
9
|
-
options: {
|
|
10
|
-
directed: e.isDirected(),
|
|
11
|
-
multigraph: e.isMultigraph(),
|
|
12
|
-
compound: e.isCompound()
|
|
13
|
-
},
|
|
14
|
-
nodes: ee(e),
|
|
15
|
-
edges: ne(e)
|
|
16
|
-
};
|
|
17
|
-
return x(e.graph()) || (t.value = L(e.graph())), t;
|
|
18
|
-
}
|
|
19
|
-
function ee(e) {
|
|
20
|
-
return A(e.nodes(), function(t) {
|
|
21
|
-
var n = e.node(t), o = e.parent(t), c = { v: t };
|
|
22
|
-
return x(n) || (c.value = n), x(o) || (c.parent = o), c;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function ne(e) {
|
|
26
|
-
return A(e.edges(), function(t) {
|
|
27
|
-
var n = e.edge(t), o = { v: t.v, w: t.w };
|
|
28
|
-
return x(t.name) || (o.name = t.name), x(n) || (o.value = n), o;
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ b(() => {
|
|
32
|
-
N.clear(), J.clear(), f.clear();
|
|
33
|
-
}, "clear"), O = /* @__PURE__ */ b((e, t) => {
|
|
34
|
-
const n = N.get(t) || [];
|
|
35
|
-
return i.trace("In isDescendant", t, " ", e, " = ", n.includes(e)), n.includes(e);
|
|
36
|
-
}, "isDescendant"), se = /* @__PURE__ */ b((e, t) => {
|
|
37
|
-
const n = N.get(t) || [];
|
|
38
|
-
return i.info("Descendants of ", t, " is ", n), i.info("Edge is ", e), e.v === t || e.w === t ? !1 : n ? n.includes(e.v) || O(e.v, t) || O(e.w, t) || n.includes(e.w) : (i.debug("Tilt, ", t, ",not in descendants"), !1);
|
|
39
|
-
}, "edgeInCluster"), G = /* @__PURE__ */ b((e, t, n, o) => {
|
|
40
|
-
i.warn(
|
|
41
|
-
"Copying children of ",
|
|
42
|
-
e,
|
|
43
|
-
"root",
|
|
44
|
-
o,
|
|
45
|
-
"data",
|
|
46
|
-
t.node(e),
|
|
47
|
-
o
|
|
48
|
-
);
|
|
49
|
-
const c = t.children(e) || [];
|
|
50
|
-
e !== o && c.push(e), i.warn("Copying (nodes) clusterId", e, "nodes", c), c.forEach((a) => {
|
|
51
|
-
if (t.children(a).length > 0)
|
|
52
|
-
G(a, t, n, o);
|
|
53
|
-
else {
|
|
54
|
-
const r = t.node(a);
|
|
55
|
-
i.info("cp ", a, " to ", o, " with parent ", e), n.setNode(a, r), o !== t.parent(a) && (i.warn("Setting parent", a, t.parent(a)), n.setParent(a, t.parent(a))), e !== o && a !== e ? (i.debug("Setting parent", a, e), n.setParent(a, e)) : (i.info("In copy ", e, "root", o, "data", t.node(e), o), i.debug(
|
|
56
|
-
"Not Setting parent for node=",
|
|
57
|
-
a,
|
|
58
|
-
"cluster!==rootId",
|
|
59
|
-
e !== o,
|
|
60
|
-
"node!==clusterId",
|
|
61
|
-
a !== e
|
|
62
|
-
));
|
|
63
|
-
const u = t.edges(a);
|
|
64
|
-
i.debug("Copying Edges", u), u.forEach((l) => {
|
|
65
|
-
i.info("Edge", l);
|
|
66
|
-
const v = t.edge(l.v, l.w, l.name);
|
|
67
|
-
i.info("Edge data", v, o);
|
|
68
|
-
try {
|
|
69
|
-
se(l, o) ? (i.info("Copying as ", l.v, l.w, v, l.name), n.setEdge(l.v, l.w, v, l.name), i.info("newGraph edges ", n.edges(), n.edge(n.edges()[0]))) : i.info(
|
|
70
|
-
"Skipping copy of edge ",
|
|
71
|
-
l.v,
|
|
72
|
-
"-->",
|
|
73
|
-
l.w,
|
|
74
|
-
" rootId: ",
|
|
75
|
-
o,
|
|
76
|
-
" clusterId:",
|
|
77
|
-
e
|
|
78
|
-
);
|
|
79
|
-
} catch (C) {
|
|
80
|
-
i.error(C);
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
i.debug("Removing node", a), t.removeNode(a);
|
|
85
|
-
});
|
|
86
|
-
}, "copy"), R = /* @__PURE__ */ b((e, t) => {
|
|
87
|
-
const n = t.children(e);
|
|
88
|
-
let o = [...n];
|
|
89
|
-
for (const c of n)
|
|
90
|
-
J.set(c, e), o = [...o, ...R(c, t)];
|
|
91
|
-
return o;
|
|
92
|
-
}, "extractDescendants"), ie = /* @__PURE__ */ b((e, t, n) => {
|
|
93
|
-
const o = e.edges().filter((l) => l.v === t || l.w === t), c = e.edges().filter((l) => l.v === n || l.w === n), a = o.map((l) => ({ v: l.v === t ? n : l.v, w: l.w === t ? t : l.w })), r = c.map((l) => ({ v: l.v, w: l.w }));
|
|
94
|
-
return a.filter((l) => r.some((v) => l.v === v.v && l.w === v.w));
|
|
95
|
-
}, "findCommonEdges"), D = /* @__PURE__ */ b((e, t, n) => {
|
|
96
|
-
const o = t.children(e);
|
|
97
|
-
if (i.trace("Searching children of id ", e, o), o.length < 1)
|
|
98
|
-
return e;
|
|
99
|
-
let c;
|
|
100
|
-
for (const a of o) {
|
|
101
|
-
const r = D(a, t, n), u = ie(t, n, r);
|
|
102
|
-
if (r)
|
|
103
|
-
if (u.length > 0)
|
|
104
|
-
c = r;
|
|
105
|
-
else
|
|
106
|
-
return r;
|
|
107
|
-
}
|
|
108
|
-
return c;
|
|
109
|
-
}, "findNonClusterChild"), k = /* @__PURE__ */ b((e) => !f.has(e) || !f.get(e).externalConnections ? e : f.has(e) ? f.get(e).id : e, "getAnchorId"), re = /* @__PURE__ */ b((e, t) => {
|
|
110
|
-
if (!e || t > 10) {
|
|
111
|
-
i.debug("Opting out, no graph ");
|
|
112
|
-
return;
|
|
113
|
-
} else
|
|
114
|
-
i.debug("Opting in, graph ");
|
|
115
|
-
e.nodes().forEach(function(n) {
|
|
116
|
-
e.children(n).length > 0 && (i.warn(
|
|
117
|
-
"Cluster identified",
|
|
118
|
-
n,
|
|
119
|
-
" Replacement id in edges: ",
|
|
120
|
-
D(n, e, n)
|
|
121
|
-
), N.set(n, R(n, e)), f.set(n, { id: D(n, e, n), clusterData: e.node(n) }));
|
|
122
|
-
}), e.nodes().forEach(function(n) {
|
|
123
|
-
const o = e.children(n), c = e.edges();
|
|
124
|
-
o.length > 0 ? (i.debug("Cluster identified", n, N), c.forEach((a) => {
|
|
125
|
-
const r = O(a.v, n), u = O(a.w, n);
|
|
126
|
-
r ^ u && (i.warn("Edge: ", a, " leaves cluster ", n), i.warn("Descendants of XXX ", n, ": ", N.get(n)), f.get(n).externalConnections = !0);
|
|
127
|
-
})) : i.debug("Not a cluster ", n, N);
|
|
128
|
-
});
|
|
129
|
-
for (let n of f.keys()) {
|
|
130
|
-
const o = f.get(n).id, c = e.parent(o);
|
|
131
|
-
c !== n && f.has(c) && !f.get(c).externalConnections && (f.get(n).id = c);
|
|
132
|
-
}
|
|
133
|
-
e.edges().forEach(function(n) {
|
|
134
|
-
const o = e.edge(n);
|
|
135
|
-
i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(e.edge(n)));
|
|
136
|
-
let c = n.v, a = n.w;
|
|
137
|
-
if (i.warn(
|
|
138
|
-
"Fix XXX",
|
|
139
|
-
f,
|
|
140
|
-
"ids:",
|
|
141
|
-
n.v,
|
|
142
|
-
n.w,
|
|
143
|
-
"Translating: ",
|
|
144
|
-
f.get(n.v),
|
|
145
|
-
" --- ",
|
|
146
|
-
f.get(n.w)
|
|
147
|
-
), f.get(n.v) || f.get(n.w)) {
|
|
148
|
-
if (i.warn("Fixing and trying - removing XXX", n.v, n.w, n.name), c = k(n.v), a = k(n.w), e.removeEdge(n.v, n.w, n.name), c !== n.v) {
|
|
149
|
-
const r = e.parent(c);
|
|
150
|
-
f.get(r).externalConnections = !0, o.fromCluster = n.v;
|
|
151
|
-
}
|
|
152
|
-
if (a !== n.w) {
|
|
153
|
-
const r = e.parent(a);
|
|
154
|
-
f.get(r).externalConnections = !0, o.toCluster = n.w;
|
|
155
|
-
}
|
|
156
|
-
i.warn("Fix Replacing with XXX", c, a, n.name), e.setEdge(c, a, o, n.name);
|
|
157
|
-
}
|
|
158
|
-
}), i.warn("Adjusted Graph", p(e)), T(e, 0), i.trace(f);
|
|
159
|
-
}, "adjustClustersAndEdges"), T = /* @__PURE__ */ b((e, t) => {
|
|
160
|
-
var c, a;
|
|
161
|
-
if (i.warn("extractor - ", t, p(e), e.children("D")), t > 10) {
|
|
162
|
-
i.error("Bailing out");
|
|
163
|
-
return;
|
|
164
|
-
}
|
|
165
|
-
let n = e.nodes(), o = !1;
|
|
166
|
-
for (const r of n) {
|
|
167
|
-
const u = e.children(r);
|
|
168
|
-
o = o || u.length > 0;
|
|
169
|
-
}
|
|
170
|
-
if (!o) {
|
|
171
|
-
i.debug("Done, no node has children", e.nodes());
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
i.debug("Nodes = ", n, t);
|
|
175
|
-
for (const r of n)
|
|
176
|
-
if (i.debug(
|
|
177
|
-
"Extracting node",
|
|
178
|
-
r,
|
|
179
|
-
f,
|
|
180
|
-
f.has(r) && !f.get(r).externalConnections,
|
|
181
|
-
!e.parent(r),
|
|
182
|
-
e.node(r),
|
|
183
|
-
e.children("D"),
|
|
184
|
-
" Depth ",
|
|
185
|
-
t
|
|
186
|
-
), !f.has(r))
|
|
187
|
-
i.debug("Not a cluster", r, t);
|
|
188
|
-
else if (!f.get(r).externalConnections && e.children(r) && e.children(r).length > 0) {
|
|
189
|
-
i.warn(
|
|
190
|
-
"Cluster without external connections, without a parent and with children",
|
|
191
|
-
r,
|
|
192
|
-
t
|
|
193
|
-
);
|
|
194
|
-
let l = e.graph().rankdir === "TB" ? "LR" : "TB";
|
|
195
|
-
(a = (c = f.get(r)) == null ? void 0 : c.clusterData) != null && a.dir && (l = f.get(r).clusterData.dir, i.warn("Fixing dir", f.get(r).clusterData.dir, l));
|
|
196
|
-
const v = new B({
|
|
197
|
-
multigraph: !0,
|
|
198
|
-
compound: !0
|
|
199
|
-
}).setGraph({
|
|
200
|
-
rankdir: l,
|
|
201
|
-
nodesep: 50,
|
|
202
|
-
ranksep: 50,
|
|
203
|
-
marginx: 8,
|
|
204
|
-
marginy: 8
|
|
205
|
-
}).setDefaultEdgeLabel(function() {
|
|
206
|
-
return {};
|
|
207
|
-
});
|
|
208
|
-
i.warn("Old graph before copy", p(e)), G(r, e, v, r), e.setNode(r, {
|
|
209
|
-
clusterNode: !0,
|
|
210
|
-
id: r,
|
|
211
|
-
clusterData: f.get(r).clusterData,
|
|
212
|
-
label: f.get(r).label,
|
|
213
|
-
graph: v
|
|
214
|
-
}), i.warn("New graph after copy node: (", r, ")", p(v)), i.debug("Old graph after copy", p(e));
|
|
215
|
-
} else
|
|
216
|
-
i.warn(
|
|
217
|
-
"Cluster ** ",
|
|
218
|
-
r,
|
|
219
|
-
" **not meeting the criteria !externalConnections:",
|
|
220
|
-
!f.get(r).externalConnections,
|
|
221
|
-
" no parent: ",
|
|
222
|
-
!e.parent(r),
|
|
223
|
-
" children ",
|
|
224
|
-
e.children(r) && e.children(r).length > 0,
|
|
225
|
-
e.children("D"),
|
|
226
|
-
t
|
|
227
|
-
), i.debug(f);
|
|
228
|
-
n = e.nodes(), i.warn("New list of nodes", n);
|
|
229
|
-
for (const r of n) {
|
|
230
|
-
const u = e.node(r);
|
|
231
|
-
i.warn(" Now next level", r, u), u != null && u.clusterNode && T(u.graph, t + 1);
|
|
232
|
-
}
|
|
233
|
-
}, "extractor"), M = /* @__PURE__ */ b((e, t) => {
|
|
234
|
-
if (t.length === 0)
|
|
235
|
-
return [];
|
|
236
|
-
let n = Object.assign([], t);
|
|
237
|
-
return t.forEach((o) => {
|
|
238
|
-
const c = e.children(o), a = M(e, c);
|
|
239
|
-
n = [...n, ...a];
|
|
240
|
-
}), n;
|
|
241
|
-
}, "sorter"), oe = /* @__PURE__ */ b((e) => M(e, e.children()), "sortNodesByHierarchy"), j = /* @__PURE__ */ b(async (e, t, n, o, c, a) => {
|
|
242
|
-
i.warn("Graph in recursive render:XAX", p(t), c);
|
|
243
|
-
const r = t.graph().rankdir;
|
|
244
|
-
i.trace("Dir in recursive render - dir:", r);
|
|
245
|
-
const u = e.insert("g").attr("class", "root");
|
|
246
|
-
t.nodes() ? i.info("Recursive render XXX", t.nodes()) : i.info("No nodes found for", t), t.edges().length > 0 && i.info("Recursive edges", t.edge(t.edges()[0]));
|
|
247
|
-
const l = u.insert("g").attr("class", "clusters"), v = u.insert("g").attr("class", "edgePaths"), C = u.insert("g").attr("class", "edgeLabels"), g = u.insert("g").attr("class", "nodes");
|
|
248
|
-
await Promise.all(
|
|
249
|
-
t.nodes().map(async function(d) {
|
|
250
|
-
const s = t.node(d);
|
|
251
|
-
if (c !== void 0) {
|
|
252
|
-
const w = JSON.parse(JSON.stringify(c.clusterData));
|
|
253
|
-
i.trace(
|
|
254
|
-
`Setting data for parent cluster XXX
|
|
255
|
-
Node.id = `,
|
|
256
|
-
d,
|
|
257
|
-
`
|
|
258
|
-
data=`,
|
|
259
|
-
w.height,
|
|
260
|
-
`
|
|
261
|
-
Parent cluster`,
|
|
262
|
-
c.height
|
|
263
|
-
), t.setNode(c.id, w), t.parent(d) || (i.trace("Setting parent", d, c.id), t.setParent(d, c.id, w));
|
|
264
|
-
}
|
|
265
|
-
if (i.info("(Insert) Node XXX" + d + ": " + JSON.stringify(t.node(d))), s != null && s.clusterNode) {
|
|
266
|
-
i.info("Cluster identified XBX", d, s.width, t.node(d));
|
|
267
|
-
const { ranksep: w, nodesep: m } = t.graph();
|
|
268
|
-
s.graph.setGraph({
|
|
269
|
-
...s.graph.graph(),
|
|
270
|
-
ranksep: w + 25,
|
|
271
|
-
nodesep: m
|
|
272
|
-
});
|
|
273
|
-
const E = await j(
|
|
274
|
-
g,
|
|
275
|
-
s.graph,
|
|
276
|
-
n,
|
|
277
|
-
o,
|
|
278
|
-
t.node(d),
|
|
279
|
-
a
|
|
280
|
-
), S = E.elem;
|
|
281
|
-
U(s, S), s.diff = E.diff || 0, i.info(
|
|
282
|
-
"New compound node after recursive render XAX",
|
|
283
|
-
d,
|
|
284
|
-
"width",
|
|
285
|
-
// node,
|
|
286
|
-
s.width,
|
|
287
|
-
"height",
|
|
288
|
-
s.height
|
|
289
|
-
// node.x,
|
|
290
|
-
// node.y
|
|
291
|
-
), $(S, s);
|
|
292
|
-
} else
|
|
293
|
-
t.children(d).length > 0 ? (i.trace(
|
|
294
|
-
"Cluster - the non recursive path XBX",
|
|
295
|
-
d,
|
|
296
|
-
s.id,
|
|
297
|
-
s,
|
|
298
|
-
s.width,
|
|
299
|
-
"Graph:",
|
|
300
|
-
t
|
|
301
|
-
), i.trace(D(s.id, t)), f.set(s.id, { id: D(s.id, t), node: s })) : (i.trace("Node - the non recursive path XAX", d, g, t.node(d), r), await q(g, t.node(d), { config: a, dir: r }));
|
|
302
|
-
})
|
|
303
|
-
), await (/* @__PURE__ */ b(async () => {
|
|
304
|
-
const d = t.edges().map(async function(s) {
|
|
305
|
-
const w = t.edge(s.v, s.w, s.name);
|
|
306
|
-
i.info("Edge " + s.v + " -> " + s.w + ": " + JSON.stringify(s)), i.info("Edge " + s.v + " -> " + s.w + ": ", s, " ", JSON.stringify(t.edge(s))), i.info(
|
|
307
|
-
"Fix",
|
|
308
|
-
f,
|
|
309
|
-
"ids:",
|
|
310
|
-
s.v,
|
|
311
|
-
s.w,
|
|
312
|
-
"Translating: ",
|
|
313
|
-
f.get(s.v),
|
|
314
|
-
f.get(s.w)
|
|
315
|
-
), await Z(C, w);
|
|
316
|
-
});
|
|
317
|
-
await Promise.all(d);
|
|
318
|
-
}, "processEdges"))(), i.info("Graph before layout:", JSON.stringify(p(t))), i.info("############################################# XXX"), i.info("### Layout ### XXX"), i.info("############################################# XXX"), I(t), i.info("Graph after layout:", JSON.stringify(p(t)));
|
|
319
|
-
let y = 0, { subGraphTitleTotalMargin: X } = z(a);
|
|
320
|
-
return await Promise.all(
|
|
321
|
-
oe(t).map(async function(d) {
|
|
322
|
-
var w;
|
|
323
|
-
const s = t.node(d);
|
|
324
|
-
if (i.info(
|
|
325
|
-
"Position XBX => " + d + ": (" + s.x,
|
|
326
|
-
"," + s.y,
|
|
327
|
-
") width: ",
|
|
328
|
-
s.width,
|
|
329
|
-
" height: ",
|
|
330
|
-
s.height
|
|
331
|
-
), s != null && s.clusterNode)
|
|
332
|
-
s.y += X, i.info(
|
|
333
|
-
"A tainted cluster node XBX1",
|
|
334
|
-
d,
|
|
335
|
-
s.id,
|
|
336
|
-
s.width,
|
|
337
|
-
s.height,
|
|
338
|
-
s.x,
|
|
339
|
-
s.y,
|
|
340
|
-
t.parent(d)
|
|
341
|
-
), f.get(s.id).node = s, P(s);
|
|
342
|
-
else if (t.children(d).length > 0) {
|
|
343
|
-
i.info(
|
|
344
|
-
"A pure cluster node XBX1",
|
|
345
|
-
d,
|
|
346
|
-
s.id,
|
|
347
|
-
s.x,
|
|
348
|
-
s.y,
|
|
349
|
-
s.width,
|
|
350
|
-
s.height,
|
|
351
|
-
t.parent(d)
|
|
352
|
-
), s.height += X, t.node(s.parentId);
|
|
353
|
-
const m = (s == null ? void 0 : s.padding) / 2 || 0, E = ((w = s == null ? void 0 : s.labelBBox) == null ? void 0 : w.height) || 0, S = E - m || 0;
|
|
354
|
-
i.debug("OffsetY", S, "labelHeight", E, "halfPadding", m), await K(l, s), f.get(s.id).node = s;
|
|
355
|
-
} else {
|
|
356
|
-
const m = t.node(s.parentId);
|
|
357
|
-
s.y += X / 2, i.info(
|
|
358
|
-
"A regular node XBX1 - using the padding",
|
|
359
|
-
s.id,
|
|
360
|
-
"parent",
|
|
361
|
-
s.parentId,
|
|
362
|
-
s.width,
|
|
363
|
-
s.height,
|
|
364
|
-
s.x,
|
|
365
|
-
s.y,
|
|
366
|
-
"offsetY",
|
|
367
|
-
s.offsetY,
|
|
368
|
-
"parent",
|
|
369
|
-
m,
|
|
370
|
-
m == null ? void 0 : m.offsetY,
|
|
371
|
-
s
|
|
372
|
-
), P(s);
|
|
373
|
-
}
|
|
374
|
-
})
|
|
375
|
-
), t.edges().forEach(function(d) {
|
|
376
|
-
const s = t.edge(d);
|
|
377
|
-
i.info("Edge " + d.v + " -> " + d.w + ": " + JSON.stringify(s), s), s.points.forEach((S) => S.y += X / 2);
|
|
378
|
-
const w = t.node(d.v);
|
|
379
|
-
var m = t.node(d.w);
|
|
380
|
-
const E = Q(v, s, f, n, w, m, o);
|
|
381
|
-
W(s, E);
|
|
382
|
-
}), t.nodes().forEach(function(d) {
|
|
383
|
-
const s = t.node(d);
|
|
384
|
-
i.info(d, s.type, s.diff), s.isGroup && (y = s.diff);
|
|
385
|
-
}), i.warn("Returning from recursive render XAX", u, y), { elem: u, diff: y };
|
|
386
|
-
}, "recursiveRender"), ge = /* @__PURE__ */ b(async (e, t) => {
|
|
387
|
-
var a, r, u, l, v, C;
|
|
388
|
-
const n = new B({
|
|
389
|
-
multigraph: !0,
|
|
390
|
-
compound: !0
|
|
391
|
-
}).setGraph({
|
|
392
|
-
rankdir: e.direction,
|
|
393
|
-
nodesep: ((a = e.config) == null ? void 0 : a.nodeSpacing) || ((u = (r = e.config) == null ? void 0 : r.flowchart) == null ? void 0 : u.nodeSpacing) || e.nodeSpacing,
|
|
394
|
-
ranksep: ((l = e.config) == null ? void 0 : l.rankSpacing) || ((C = (v = e.config) == null ? void 0 : v.flowchart) == null ? void 0 : C.rankSpacing) || e.rankSpacing,
|
|
395
|
-
marginx: 8,
|
|
396
|
-
marginy: 8
|
|
397
|
-
}).setDefaultEdgeLabel(function() {
|
|
398
|
-
return {};
|
|
399
|
-
}), o = t.select("g");
|
|
400
|
-
F(o, e.markers, e.type, e.diagramId), Y(), H(), _(), te(), e.nodes.forEach((g) => {
|
|
401
|
-
n.setNode(g.id, { ...g }), g.parentId && n.setParent(g.id, g.parentId);
|
|
402
|
-
}), i.debug("Edges:", e.edges), e.edges.forEach((g) => {
|
|
403
|
-
if (g.start === g.end) {
|
|
404
|
-
const h = g.start, y = h + "---" + h + "---1", X = h + "---" + h + "---2", d = n.node(h);
|
|
405
|
-
n.setNode(y, {
|
|
406
|
-
domId: y,
|
|
407
|
-
id: y,
|
|
408
|
-
parentId: d.parentId,
|
|
409
|
-
labelStyle: "",
|
|
410
|
-
label: "",
|
|
411
|
-
padding: 0,
|
|
412
|
-
shape: "labelRect",
|
|
413
|
-
// shape: 'rect',
|
|
414
|
-
style: "",
|
|
415
|
-
width: 10,
|
|
416
|
-
height: 10
|
|
417
|
-
}), n.setParent(y, d.parentId), n.setNode(X, {
|
|
418
|
-
domId: X,
|
|
419
|
-
id: X,
|
|
420
|
-
parentId: d.parentId,
|
|
421
|
-
labelStyle: "",
|
|
422
|
-
padding: 0,
|
|
423
|
-
// shape: 'rect',
|
|
424
|
-
shape: "labelRect",
|
|
425
|
-
label: "",
|
|
426
|
-
style: "",
|
|
427
|
-
width: 10,
|
|
428
|
-
height: 10
|
|
429
|
-
}), n.setParent(X, d.parentId);
|
|
430
|
-
const s = structuredClone(g), w = structuredClone(g), m = structuredClone(g);
|
|
431
|
-
s.label = "", s.arrowTypeEnd = "none", s.id = h + "-cyclic-special-1", w.arrowTypeStart = "none", w.arrowTypeEnd = "none", w.id = h + "-cyclic-special-mid", m.label = "", d.isGroup && (s.fromCluster = h, m.toCluster = h), m.id = h + "-cyclic-special-2", m.arrowTypeStart = "none", n.setEdge(h, y, s, h + "-cyclic-special-0"), n.setEdge(y, X, w, h + "-cyclic-special-1"), n.setEdge(X, h, m, h + "-cyc<lic-special-2");
|
|
432
|
-
} else
|
|
433
|
-
n.setEdge(g.start, g.end, { ...g }, g.id);
|
|
434
|
-
}), i.warn("Graph at first:", JSON.stringify(p(n))), re(n), i.warn("Graph after XAX:", JSON.stringify(p(n)));
|
|
435
|
-
const c = V();
|
|
436
|
-
await j(
|
|
437
|
-
o,
|
|
438
|
-
n,
|
|
439
|
-
e.type,
|
|
440
|
-
e.diagramId,
|
|
441
|
-
void 0,
|
|
442
|
-
c
|
|
443
|
-
);
|
|
444
|
-
}, "render");
|
|
445
|
-
export {
|
|
446
|
-
ge as render
|
|
447
|
-
};
|