@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/diagram-PSM6KHXK.js
DELETED
|
@@ -1,535 +0,0 @@
|
|
|
1
|
-
import { a3 as he, a4 as ue, ag as pe, ah as fe, a5 as ge, a6 as me, a1 as w, aw as te, av as ae, bK as ye, an as Se, au as ve, ad as J, az as xe, ae as be, bL as P } from "./CoachForm.js";
|
|
2
|
-
import { s as we } from "./chunk-QN33PNHL.js";
|
|
3
|
-
import { p as Ce } from "./chunk-4BX2VUAB.js";
|
|
4
|
-
import { p as Te } from "./mermaid-parser.core.js";
|
|
5
|
-
import { s as Y } from "./redux-toolkit.modern.js";
|
|
6
|
-
import { b as O } from "./defaultLocale.js";
|
|
7
|
-
import { o as Z } from "./ordinal.js";
|
|
8
|
-
function Le(t) {
|
|
9
|
-
var a = 0, l = t.children, n = l && l.length;
|
|
10
|
-
if (!n) a = 1;
|
|
11
|
-
else for (; --n >= 0; ) a += l[n].value;
|
|
12
|
-
t.value = a;
|
|
13
|
-
}
|
|
14
|
-
function $e() {
|
|
15
|
-
return this.eachAfter(Le);
|
|
16
|
-
}
|
|
17
|
-
function Ae(t, a) {
|
|
18
|
-
let l = -1;
|
|
19
|
-
for (const n of this)
|
|
20
|
-
t.call(a, n, ++l, this);
|
|
21
|
-
return this;
|
|
22
|
-
}
|
|
23
|
-
function Fe(t, a) {
|
|
24
|
-
for (var l = this, n = [l], o, s, d = -1; l = n.pop(); )
|
|
25
|
-
if (t.call(a, l, ++d, this), o = l.children)
|
|
26
|
-
for (s = o.length - 1; s >= 0; --s)
|
|
27
|
-
n.push(o[s]);
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
function ke(t, a) {
|
|
31
|
-
for (var l = this, n = [l], o = [], s, d, h, g = -1; l = n.pop(); )
|
|
32
|
-
if (o.push(l), s = l.children)
|
|
33
|
-
for (d = 0, h = s.length; d < h; ++d)
|
|
34
|
-
n.push(s[d]);
|
|
35
|
-
for (; l = o.pop(); )
|
|
36
|
-
t.call(a, l, ++g, this);
|
|
37
|
-
return this;
|
|
38
|
-
}
|
|
39
|
-
function Ne(t, a) {
|
|
40
|
-
let l = -1;
|
|
41
|
-
for (const n of this)
|
|
42
|
-
if (t.call(a, n, ++l, this))
|
|
43
|
-
return n;
|
|
44
|
-
}
|
|
45
|
-
function Me(t) {
|
|
46
|
-
return this.eachAfter(function(a) {
|
|
47
|
-
for (var l = +t(a.data) || 0, n = a.children, o = n && n.length; --o >= 0; ) l += n[o].value;
|
|
48
|
-
a.value = l;
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
function ze(t) {
|
|
52
|
-
return this.eachBefore(function(a) {
|
|
53
|
-
a.children && a.children.sort(t);
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
function _e(t) {
|
|
57
|
-
for (var a = this, l = Ve(a, t), n = [a]; a !== l; )
|
|
58
|
-
a = a.parent, n.push(a);
|
|
59
|
-
for (var o = n.length; t !== l; )
|
|
60
|
-
n.splice(o, 0, t), t = t.parent;
|
|
61
|
-
return n;
|
|
62
|
-
}
|
|
63
|
-
function Ve(t, a) {
|
|
64
|
-
if (t === a) return t;
|
|
65
|
-
var l = t.ancestors(), n = a.ancestors(), o = null;
|
|
66
|
-
for (t = l.pop(), a = n.pop(); t === a; )
|
|
67
|
-
o = t, t = l.pop(), a = n.pop();
|
|
68
|
-
return o;
|
|
69
|
-
}
|
|
70
|
-
function De() {
|
|
71
|
-
for (var t = this, a = [t]; t = t.parent; )
|
|
72
|
-
a.push(t);
|
|
73
|
-
return a;
|
|
74
|
-
}
|
|
75
|
-
function Pe() {
|
|
76
|
-
return Array.from(this);
|
|
77
|
-
}
|
|
78
|
-
function Be() {
|
|
79
|
-
var t = [];
|
|
80
|
-
return this.eachBefore(function(a) {
|
|
81
|
-
a.children || t.push(a);
|
|
82
|
-
}), t;
|
|
83
|
-
}
|
|
84
|
-
function Re() {
|
|
85
|
-
var t = this, a = [];
|
|
86
|
-
return t.each(function(l) {
|
|
87
|
-
l !== t && a.push({ source: l.parent, target: l });
|
|
88
|
-
}), a;
|
|
89
|
-
}
|
|
90
|
-
function* Ee() {
|
|
91
|
-
var t = this, a, l = [t], n, o, s;
|
|
92
|
-
do
|
|
93
|
-
for (a = l.reverse(), l = []; t = a.pop(); )
|
|
94
|
-
if (yield t, n = t.children)
|
|
95
|
-
for (o = 0, s = n.length; o < s; ++o)
|
|
96
|
-
l.push(n[o]);
|
|
97
|
-
while (l.length);
|
|
98
|
-
}
|
|
99
|
-
function Q(t, a) {
|
|
100
|
-
t instanceof Map ? (t = [void 0, t], a === void 0 && (a = Ie)) : a === void 0 && (a = He);
|
|
101
|
-
for (var l = new K(t), n, o = [l], s, d, h, g; n = o.pop(); )
|
|
102
|
-
if ((d = a(n.data)) && (g = (d = Array.from(d)).length))
|
|
103
|
-
for (n.children = d, h = g - 1; h >= 0; --h)
|
|
104
|
-
o.push(s = d[h] = new K(d[h])), s.parent = n, s.depth = n.depth + 1;
|
|
105
|
-
return l.eachBefore(Ge);
|
|
106
|
-
}
|
|
107
|
-
function We() {
|
|
108
|
-
return Q(this).eachBefore(Oe);
|
|
109
|
-
}
|
|
110
|
-
function He(t) {
|
|
111
|
-
return t.children;
|
|
112
|
-
}
|
|
113
|
-
function Ie(t) {
|
|
114
|
-
return Array.isArray(t) ? t[1] : null;
|
|
115
|
-
}
|
|
116
|
-
function Oe(t) {
|
|
117
|
-
t.data.value !== void 0 && (t.value = t.data.value), t.data = t.data.data;
|
|
118
|
-
}
|
|
119
|
-
function Ge(t) {
|
|
120
|
-
var a = 0;
|
|
121
|
-
do
|
|
122
|
-
t.height = a;
|
|
123
|
-
while ((t = t.parent) && t.height < ++a);
|
|
124
|
-
}
|
|
125
|
-
function K(t) {
|
|
126
|
-
this.data = t, this.depth = this.height = 0, this.parent = null;
|
|
127
|
-
}
|
|
128
|
-
K.prototype = Q.prototype = {
|
|
129
|
-
constructor: K,
|
|
130
|
-
count: $e,
|
|
131
|
-
each: Ae,
|
|
132
|
-
eachAfter: ke,
|
|
133
|
-
eachBefore: Fe,
|
|
134
|
-
find: Ne,
|
|
135
|
-
sum: Me,
|
|
136
|
-
sort: ze,
|
|
137
|
-
path: _e,
|
|
138
|
-
ancestors: De,
|
|
139
|
-
descendants: Pe,
|
|
140
|
-
leaves: Be,
|
|
141
|
-
links: Re,
|
|
142
|
-
copy: We,
|
|
143
|
-
[Symbol.iterator]: Ee
|
|
144
|
-
};
|
|
145
|
-
function qe(t) {
|
|
146
|
-
if (typeof t != "function") throw new Error();
|
|
147
|
-
return t;
|
|
148
|
-
}
|
|
149
|
-
function G() {
|
|
150
|
-
return 0;
|
|
151
|
-
}
|
|
152
|
-
function q(t) {
|
|
153
|
-
return function() {
|
|
154
|
-
return t;
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
function Xe(t) {
|
|
158
|
-
t.x0 = Math.round(t.x0), t.y0 = Math.round(t.y0), t.x1 = Math.round(t.x1), t.y1 = Math.round(t.y1);
|
|
159
|
-
}
|
|
160
|
-
function je(t, a, l, n, o) {
|
|
161
|
-
for (var s = t.children, d, h = -1, g = s.length, c = t.value && (n - a) / t.value; ++h < g; )
|
|
162
|
-
d = s[h], d.y0 = l, d.y1 = o, d.x0 = a, d.x1 = a += d.value * c;
|
|
163
|
-
}
|
|
164
|
-
function Ye(t, a, l, n, o) {
|
|
165
|
-
for (var s = t.children, d, h = -1, g = s.length, c = t.value && (o - l) / t.value; ++h < g; )
|
|
166
|
-
d = s[h], d.x0 = a, d.x1 = n, d.y0 = l, d.y1 = l += d.value * c;
|
|
167
|
-
}
|
|
168
|
-
var Ke = (1 + Math.sqrt(5)) / 2;
|
|
169
|
-
function Ue(t, a, l, n, o, s) {
|
|
170
|
-
for (var d = [], h = a.children, g, c, u = 0, b = 0, r = h.length, x, S, v = a.value, p, m, N, k, V, E, M; u < r; ) {
|
|
171
|
-
x = o - l, S = s - n;
|
|
172
|
-
do
|
|
173
|
-
p = h[b++].value;
|
|
174
|
-
while (!p && b < r);
|
|
175
|
-
for (m = N = p, E = Math.max(S / x, x / S) / (v * t), M = p * p * E, V = Math.max(N / M, M / m); b < r; ++b) {
|
|
176
|
-
if (p += c = h[b].value, c < m && (m = c), c > N && (N = c), M = p * p * E, k = Math.max(N / M, M / m), k > V) {
|
|
177
|
-
p -= c;
|
|
178
|
-
break;
|
|
179
|
-
}
|
|
180
|
-
V = k;
|
|
181
|
-
}
|
|
182
|
-
d.push(g = { value: p, dice: x < S, children: h.slice(u, b) }), g.dice ? je(g, l, n, o, v ? n += S * p / v : s) : Ye(g, l, n, v ? l += x * p / v : o, s), v -= p, u = b;
|
|
183
|
-
}
|
|
184
|
-
return d;
|
|
185
|
-
}
|
|
186
|
-
const Ze = function t(a) {
|
|
187
|
-
function l(n, o, s, d, h) {
|
|
188
|
-
Ue(a, n, o, s, d, h);
|
|
189
|
-
}
|
|
190
|
-
return l.ratio = function(n) {
|
|
191
|
-
return t((n = +n) > 1 ? n : 1);
|
|
192
|
-
}, l;
|
|
193
|
-
}(Ke);
|
|
194
|
-
function Je() {
|
|
195
|
-
var t = Ze, a = !1, l = 1, n = 1, o = [0], s = G, d = G, h = G, g = G, c = G;
|
|
196
|
-
function u(r) {
|
|
197
|
-
return r.x0 = r.y0 = 0, r.x1 = l, r.y1 = n, r.eachBefore(b), o = [0], a && r.eachBefore(Xe), r;
|
|
198
|
-
}
|
|
199
|
-
function b(r) {
|
|
200
|
-
var x = o[r.depth], S = r.x0 + x, v = r.y0 + x, p = r.x1 - x, m = r.y1 - x;
|
|
201
|
-
p < S && (S = p = (S + p) / 2), m < v && (v = m = (v + m) / 2), r.x0 = S, r.y0 = v, r.x1 = p, r.y1 = m, r.children && (x = o[r.depth + 1] = s(r) / 2, S += c(r) - x, v += d(r) - x, p -= h(r) - x, m -= g(r) - x, p < S && (S = p = (S + p) / 2), m < v && (v = m = (v + m) / 2), t(r, S, v, p, m));
|
|
202
|
-
}
|
|
203
|
-
return u.round = function(r) {
|
|
204
|
-
return arguments.length ? (a = !!r, u) : a;
|
|
205
|
-
}, u.size = function(r) {
|
|
206
|
-
return arguments.length ? (l = +r[0], n = +r[1], u) : [l, n];
|
|
207
|
-
}, u.tile = function(r) {
|
|
208
|
-
return arguments.length ? (t = qe(r), u) : t;
|
|
209
|
-
}, u.padding = function(r) {
|
|
210
|
-
return arguments.length ? u.paddingInner(r).paddingOuter(r) : u.paddingInner();
|
|
211
|
-
}, u.paddingInner = function(r) {
|
|
212
|
-
return arguments.length ? (s = typeof r == "function" ? r : q(+r), u) : s;
|
|
213
|
-
}, u.paddingOuter = function(r) {
|
|
214
|
-
return arguments.length ? u.paddingTop(r).paddingRight(r).paddingBottom(r).paddingLeft(r) : u.paddingTop();
|
|
215
|
-
}, u.paddingTop = function(r) {
|
|
216
|
-
return arguments.length ? (d = typeof r == "function" ? r : q(+r), u) : d;
|
|
217
|
-
}, u.paddingRight = function(r) {
|
|
218
|
-
return arguments.length ? (h = typeof r == "function" ? r : q(+r), u) : h;
|
|
219
|
-
}, u.paddingBottom = function(r) {
|
|
220
|
-
return arguments.length ? (g = typeof r == "function" ? r : q(+r), u) : g;
|
|
221
|
-
}, u.paddingLeft = function(r) {
|
|
222
|
-
return arguments.length ? (c = typeof r == "function" ? r : q(+r), u) : c;
|
|
223
|
-
}, u;
|
|
224
|
-
}
|
|
225
|
-
var R, ne = (R = class {
|
|
226
|
-
constructor() {
|
|
227
|
-
this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = he, this.getAccTitle = ue, this.setDiagramTitle = pe, this.getDiagramTitle = fe, this.getAccDescription = ge, this.setAccDescription = me;
|
|
228
|
-
}
|
|
229
|
-
getNodes() {
|
|
230
|
-
return this.nodes;
|
|
231
|
-
}
|
|
232
|
-
getConfig() {
|
|
233
|
-
const a = ve, l = te();
|
|
234
|
-
return ae({
|
|
235
|
-
...a.treemap,
|
|
236
|
-
...l.treemap ?? {}
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
addNode(a, l) {
|
|
240
|
-
this.nodes.push(a), this.levels.set(a, l), l === 0 && (this.outerNodes.push(a), this.root ?? (this.root = a));
|
|
241
|
-
}
|
|
242
|
-
getRoot() {
|
|
243
|
-
return { name: "", children: this.outerNodes };
|
|
244
|
-
}
|
|
245
|
-
addClass(a, l) {
|
|
246
|
-
const n = this.classes.get(a) ?? { id: a, styles: [], textStyles: [] }, o = l.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
|
|
247
|
-
o && o.forEach((s) => {
|
|
248
|
-
ye(s) && (n != null && n.textStyles ? n.textStyles.push(s) : n.textStyles = [s]), n != null && n.styles ? n.styles.push(s) : n.styles = [s];
|
|
249
|
-
}), this.classes.set(a, n);
|
|
250
|
-
}
|
|
251
|
-
getClasses() {
|
|
252
|
-
return this.classes;
|
|
253
|
-
}
|
|
254
|
-
getStylesForClass(a) {
|
|
255
|
-
var l;
|
|
256
|
-
return ((l = this.classes.get(a)) == null ? void 0 : l.styles) ?? [];
|
|
257
|
-
}
|
|
258
|
-
clear() {
|
|
259
|
-
Se(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
|
|
260
|
-
}
|
|
261
|
-
}, w(R, "TreeMapDB"), R);
|
|
262
|
-
function le(t) {
|
|
263
|
-
if (!t.length)
|
|
264
|
-
return [];
|
|
265
|
-
const a = [], l = [];
|
|
266
|
-
return t.forEach((n) => {
|
|
267
|
-
const o = {
|
|
268
|
-
name: n.name,
|
|
269
|
-
children: n.type === "Leaf" ? void 0 : []
|
|
270
|
-
};
|
|
271
|
-
for (o.classSelector = n == null ? void 0 : n.classSelector, n != null && n.cssCompiledStyles && (o.cssCompiledStyles = [n.cssCompiledStyles]), n.type === "Leaf" && n.value !== void 0 && (o.value = n.value); l.length > 0 && l[l.length - 1].level >= n.level; )
|
|
272
|
-
l.pop();
|
|
273
|
-
if (l.length === 0)
|
|
274
|
-
a.push(o);
|
|
275
|
-
else {
|
|
276
|
-
const s = l[l.length - 1].node;
|
|
277
|
-
s.children ? s.children.push(o) : s.children = [o];
|
|
278
|
-
}
|
|
279
|
-
n.type !== "Leaf" && l.push({ node: o, level: n.level });
|
|
280
|
-
}), a;
|
|
281
|
-
}
|
|
282
|
-
w(le, "buildHierarchy");
|
|
283
|
-
var Qe = /* @__PURE__ */ w((t, a) => {
|
|
284
|
-
Ce(t, a);
|
|
285
|
-
const l = [];
|
|
286
|
-
for (const s of t.TreemapRows ?? [])
|
|
287
|
-
s.$type === "ClassDefStatement" && a.addClass(s.className ?? "", s.styleText ?? "");
|
|
288
|
-
for (const s of t.TreemapRows ?? []) {
|
|
289
|
-
const d = s.item;
|
|
290
|
-
if (!d)
|
|
291
|
-
continue;
|
|
292
|
-
const h = s.indent ? parseInt(s.indent) : 0, g = et(d), c = d.classSelector ? a.getStylesForClass(d.classSelector) : [], u = c.length > 0 ? c.join(";") : void 0, b = {
|
|
293
|
-
level: h,
|
|
294
|
-
name: g,
|
|
295
|
-
type: d.$type,
|
|
296
|
-
value: d.value,
|
|
297
|
-
classSelector: d.classSelector,
|
|
298
|
-
cssCompiledStyles: u
|
|
299
|
-
};
|
|
300
|
-
l.push(b);
|
|
301
|
-
}
|
|
302
|
-
const n = le(l), o = /* @__PURE__ */ w((s, d) => {
|
|
303
|
-
for (const h of s)
|
|
304
|
-
a.addNode(h, d), h.children && h.children.length > 0 && o(h.children, d + 1);
|
|
305
|
-
}, "addNodesRecursively");
|
|
306
|
-
o(n, 0);
|
|
307
|
-
}, "populate"), et = /* @__PURE__ */ w((t) => t.name ? String(t.name) : "", "getItemName"), re = {
|
|
308
|
-
// @ts-expect-error - TreeMapDB is not assignable to DiagramDB
|
|
309
|
-
parser: { yy: void 0 },
|
|
310
|
-
parse: /* @__PURE__ */ w(async (t) => {
|
|
311
|
-
var a;
|
|
312
|
-
try {
|
|
313
|
-
const n = await Te("treemap", t);
|
|
314
|
-
J.debug("Treemap AST:", n);
|
|
315
|
-
const o = (a = re.parser) == null ? void 0 : a.yy;
|
|
316
|
-
if (!(o instanceof ne))
|
|
317
|
-
throw new Error(
|
|
318
|
-
"parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues."
|
|
319
|
-
);
|
|
320
|
-
Qe(n, o);
|
|
321
|
-
} catch (l) {
|
|
322
|
-
throw J.error("Error parsing treemap:", l), l;
|
|
323
|
-
}
|
|
324
|
-
}, "parse")
|
|
325
|
-
}, tt = 10, B = 10, X = 25, at = /* @__PURE__ */ w((t, a, l, n) => {
|
|
326
|
-
const o = n.db, s = o.getConfig(), d = s.padding ?? tt, h = o.getDiagramTitle(), g = o.getRoot(), { themeVariables: c } = te();
|
|
327
|
-
if (!g)
|
|
328
|
-
return;
|
|
329
|
-
const u = h ? 30 : 0, b = xe(a), r = s.nodeWidth ? s.nodeWidth * B : 960, x = s.nodeHeight ? s.nodeHeight * B : 500, S = r, v = x + u;
|
|
330
|
-
b.attr("viewBox", `0 0 ${S} ${v}`), be(b, v, S, s.useMaxWidth);
|
|
331
|
-
let p;
|
|
332
|
-
try {
|
|
333
|
-
const e = s.valueFormat || ",";
|
|
334
|
-
if (e === "$0,0")
|
|
335
|
-
p = /* @__PURE__ */ w((i) => "$" + O(",")(i), "valueFormat");
|
|
336
|
-
else if (e.startsWith("$") && e.includes(",")) {
|
|
337
|
-
const i = /\.\d+/.exec(e), f = i ? i[0] : "";
|
|
338
|
-
p = /* @__PURE__ */ w((C) => "$" + O("," + f)(C), "valueFormat");
|
|
339
|
-
} else if (e.startsWith("$")) {
|
|
340
|
-
const i = e.substring(1);
|
|
341
|
-
p = /* @__PURE__ */ w((f) => "$" + O(i || "")(f), "valueFormat");
|
|
342
|
-
} else
|
|
343
|
-
p = O(e);
|
|
344
|
-
} catch (e) {
|
|
345
|
-
J.error("Error creating format function:", e), p = O(",");
|
|
346
|
-
}
|
|
347
|
-
const m = Z().range([
|
|
348
|
-
"transparent",
|
|
349
|
-
c.cScale0,
|
|
350
|
-
c.cScale1,
|
|
351
|
-
c.cScale2,
|
|
352
|
-
c.cScale3,
|
|
353
|
-
c.cScale4,
|
|
354
|
-
c.cScale5,
|
|
355
|
-
c.cScale6,
|
|
356
|
-
c.cScale7,
|
|
357
|
-
c.cScale8,
|
|
358
|
-
c.cScale9,
|
|
359
|
-
c.cScale10,
|
|
360
|
-
c.cScale11
|
|
361
|
-
]), N = Z().range([
|
|
362
|
-
"transparent",
|
|
363
|
-
c.cScalePeer0,
|
|
364
|
-
c.cScalePeer1,
|
|
365
|
-
c.cScalePeer2,
|
|
366
|
-
c.cScalePeer3,
|
|
367
|
-
c.cScalePeer4,
|
|
368
|
-
c.cScalePeer5,
|
|
369
|
-
c.cScalePeer6,
|
|
370
|
-
c.cScalePeer7,
|
|
371
|
-
c.cScalePeer8,
|
|
372
|
-
c.cScalePeer9,
|
|
373
|
-
c.cScalePeer10,
|
|
374
|
-
c.cScalePeer11
|
|
375
|
-
]), k = Z().range([
|
|
376
|
-
c.cScaleLabel0,
|
|
377
|
-
c.cScaleLabel1,
|
|
378
|
-
c.cScaleLabel2,
|
|
379
|
-
c.cScaleLabel3,
|
|
380
|
-
c.cScaleLabel4,
|
|
381
|
-
c.cScaleLabel5,
|
|
382
|
-
c.cScaleLabel6,
|
|
383
|
-
c.cScaleLabel7,
|
|
384
|
-
c.cScaleLabel8,
|
|
385
|
-
c.cScaleLabel9,
|
|
386
|
-
c.cScaleLabel10,
|
|
387
|
-
c.cScaleLabel11
|
|
388
|
-
]);
|
|
389
|
-
h && b.append("text").attr("x", S / 2).attr("y", u / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(h);
|
|
390
|
-
const V = b.append("g").attr("transform", `translate(0, ${u})`).attr("class", "treemapContainer"), E = Q(g).sum((e) => e.value ?? 0).sort((e, i) => (i.value ?? 0) - (e.value ?? 0)), ee = Je().size([r, x]).paddingTop(
|
|
391
|
-
(e) => e.children && e.children.length > 0 ? X + B : 0
|
|
392
|
-
).paddingInner(d).paddingLeft((e) => e.children && e.children.length > 0 ? B : 0).paddingRight((e) => e.children && e.children.length > 0 ? B : 0).paddingBottom((e) => e.children && e.children.length > 0 ? B : 0).round(!0)(E), se = ee.descendants().filter((e) => e.children && e.children.length > 0), W = V.selectAll(".treemapSection").data(se).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
|
|
393
|
-
W.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", X).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", 0.6).attr("stroke-width", 0.6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), W.append("clipPath").attr("id", (e, i) => `clip-section-${a}-${i}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", X), W.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, i) => `treemapSection section${i}`).attr("fill", (e) => m(e.data.name)).attr("fill-opacity", 0.6).attr("stroke", (e) => N(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", 0.4).attr("style", (e) => {
|
|
394
|
-
if (e.depth === 0)
|
|
395
|
-
return "display: none;";
|
|
396
|
-
const i = P({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
397
|
-
return i.nodeStyles + ";" + i.borderStyles.join(";");
|
|
398
|
-
}), W.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", X / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => {
|
|
399
|
-
if (e.depth === 0)
|
|
400
|
-
return "display: none;";
|
|
401
|
-
const i = "dominant-baseline: middle; font-size: 12px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", f = P({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
402
|
-
return i + f.labelStyles.replace("color:", "fill:");
|
|
403
|
-
}).each(function(e) {
|
|
404
|
-
if (e.depth === 0)
|
|
405
|
-
return;
|
|
406
|
-
const i = Y(this), f = e.data.name;
|
|
407
|
-
i.text(f);
|
|
408
|
-
const C = e.x1 - e.x0, $ = 6;
|
|
409
|
-
let A;
|
|
410
|
-
s.showValues !== !1 && e.value ? A = C - 10 - 30 - 10 - $ : A = C - $ - 6;
|
|
411
|
-
const F = Math.max(15, A), y = i.node();
|
|
412
|
-
if (y.getComputedTextLength() > F) {
|
|
413
|
-
const T = "...";
|
|
414
|
-
let L = f;
|
|
415
|
-
for (; L.length > 0; ) {
|
|
416
|
-
if (L = f.substring(0, L.length - 1), L.length === 0) {
|
|
417
|
-
i.text(T), y.getComputedTextLength() > F && i.text("");
|
|
418
|
-
break;
|
|
419
|
-
}
|
|
420
|
-
if (i.text(L + T), y.getComputedTextLength() <= F)
|
|
421
|
-
break;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
}), s.showValues !== !1 && W.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", X / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? p(e.value) : "").attr("font-style", "italic").attr("style", (e) => {
|
|
425
|
-
if (e.depth === 0)
|
|
426
|
-
return "display: none;";
|
|
427
|
-
const i = "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", f = P({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
428
|
-
return i + f.labelStyles.replace("color:", "fill:");
|
|
429
|
-
});
|
|
430
|
-
const ie = ee.leaves(), j = V.selectAll(".treemapLeafGroup").data(ie).enter().append("g").attr("class", (e, i) => `treemapNode treemapLeafGroup leaf${i}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
|
|
431
|
-
j.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? m(e.parent.data.name) : m(e.data.name)).attr("style", (e) => P({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", 0.3).attr("stroke", (e) => e.parent ? m(e.parent.data.name) : m(e.data.name)).attr("stroke-width", 3), j.append("clipPath").attr("id", (e, i) => `clip-${a}-${i}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), j.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => {
|
|
432
|
-
const i = "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + k(e.data.name) + ";", f = P({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
433
|
-
return i + f.labelStyles.replace("color:", "fill:");
|
|
434
|
-
}).attr("clip-path", (e, i) => `url(#clip-${a}-${i})`).text((e) => e.data.name).each(function(e) {
|
|
435
|
-
const i = Y(this), f = e.x1 - e.x0, C = e.y1 - e.y0, $ = i.node(), A = 4, D = f - 2 * A, F = C - 2 * A;
|
|
436
|
-
if (D < 10 || F < 10) {
|
|
437
|
-
i.style("display", "none");
|
|
438
|
-
return;
|
|
439
|
-
}
|
|
440
|
-
let y = parseInt(i.style("font-size"), 10);
|
|
441
|
-
const z = 8, T = 28, L = 0.6, _ = 6, H = 2;
|
|
442
|
-
for (; $.getComputedTextLength() > D && y > z; )
|
|
443
|
-
y--, i.style("font-size", `${y}px`);
|
|
444
|
-
let I = Math.max(
|
|
445
|
-
_,
|
|
446
|
-
Math.min(T, Math.round(y * L))
|
|
447
|
-
), U = y + H + I;
|
|
448
|
-
for (; U > F && y > z && (y--, I = Math.max(
|
|
449
|
-
_,
|
|
450
|
-
Math.min(T, Math.round(y * L))
|
|
451
|
-
), !(I < _ && y === z)); )
|
|
452
|
-
i.style("font-size", `${y}px`), U = y + H + I;
|
|
453
|
-
i.style("font-size", `${y}px`), ($.getComputedTextLength() > D || y < z || F < y) && i.style("display", "none");
|
|
454
|
-
}), s.showValues !== !1 && j.append("text").attr("class", "treemapValue").attr("x", (i) => (i.x1 - i.x0) / 2).attr("y", function(i) {
|
|
455
|
-
return (i.y1 - i.y0) / 2;
|
|
456
|
-
}).attr("style", (i) => {
|
|
457
|
-
const f = "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + k(i.data.name) + ";", C = P({ cssCompiledStyles: i.data.cssCompiledStyles });
|
|
458
|
-
return f + C.labelStyles.replace("color:", "fill:");
|
|
459
|
-
}).attr("clip-path", (i, f) => `url(#clip-${a}-${f})`).text((i) => i.value ? p(i.value) : "").each(function(i) {
|
|
460
|
-
const f = Y(this), C = this.parentNode;
|
|
461
|
-
if (!C) {
|
|
462
|
-
f.style("display", "none");
|
|
463
|
-
return;
|
|
464
|
-
}
|
|
465
|
-
const $ = Y(C).select(".treemapLabel");
|
|
466
|
-
if ($.empty() || $.style("display") === "none") {
|
|
467
|
-
f.style("display", "none");
|
|
468
|
-
return;
|
|
469
|
-
}
|
|
470
|
-
const A = parseFloat($.style("font-size")), D = 28, F = 0.6, y = 6, z = 2, T = Math.max(
|
|
471
|
-
y,
|
|
472
|
-
Math.min(D, Math.round(A * F))
|
|
473
|
-
);
|
|
474
|
-
f.style("font-size", `${T}px`);
|
|
475
|
-
const _ = (i.y1 - i.y0) / 2 + A / 2 + z;
|
|
476
|
-
f.attr("y", _);
|
|
477
|
-
const H = i.x1 - i.x0, ce = i.y1 - i.y0 - 4, de = H - 2 * 4;
|
|
478
|
-
f.node().getComputedTextLength() > de || _ + T > ce || T < y ? f.style("display", "none") : f.style("display", null);
|
|
479
|
-
});
|
|
480
|
-
const oe = s.diagramPadding ?? 8;
|
|
481
|
-
we(b, oe, "flowchart", (s == null ? void 0 : s.useMaxWidth) || !1);
|
|
482
|
-
}, "draw"), nt = /* @__PURE__ */ w(function(t, a) {
|
|
483
|
-
return a.db.getClasses();
|
|
484
|
-
}, "getClasses"), lt = { draw: at, getClasses: nt }, rt = {
|
|
485
|
-
sectionStrokeColor: "black",
|
|
486
|
-
sectionStrokeWidth: "1",
|
|
487
|
-
sectionFillColor: "#efefef",
|
|
488
|
-
leafStrokeColor: "black",
|
|
489
|
-
leafStrokeWidth: "1",
|
|
490
|
-
leafFillColor: "#efefef",
|
|
491
|
-
labelColor: "black",
|
|
492
|
-
labelFontSize: "12px",
|
|
493
|
-
valueFontSize: "10px",
|
|
494
|
-
valueColor: "black",
|
|
495
|
-
titleColor: "black",
|
|
496
|
-
titleFontSize: "14px"
|
|
497
|
-
}, st = /* @__PURE__ */ w(({
|
|
498
|
-
treemap: t
|
|
499
|
-
} = {}) => {
|
|
500
|
-
const a = ae(rt, t);
|
|
501
|
-
return `
|
|
502
|
-
.treemapNode.section {
|
|
503
|
-
stroke: ${a.sectionStrokeColor};
|
|
504
|
-
stroke-width: ${a.sectionStrokeWidth};
|
|
505
|
-
fill: ${a.sectionFillColor};
|
|
506
|
-
}
|
|
507
|
-
.treemapNode.leaf {
|
|
508
|
-
stroke: ${a.leafStrokeColor};
|
|
509
|
-
stroke-width: ${a.leafStrokeWidth};
|
|
510
|
-
fill: ${a.leafFillColor};
|
|
511
|
-
}
|
|
512
|
-
.treemapLabel {
|
|
513
|
-
fill: ${a.labelColor};
|
|
514
|
-
font-size: ${a.labelFontSize};
|
|
515
|
-
}
|
|
516
|
-
.treemapValue {
|
|
517
|
-
fill: ${a.valueColor};
|
|
518
|
-
font-size: ${a.valueFontSize};
|
|
519
|
-
}
|
|
520
|
-
.treemapTitle {
|
|
521
|
-
fill: ${a.titleColor};
|
|
522
|
-
font-size: ${a.titleFontSize};
|
|
523
|
-
}
|
|
524
|
-
`;
|
|
525
|
-
}, "getStyles"), it = st, mt = {
|
|
526
|
-
parser: re,
|
|
527
|
-
get db() {
|
|
528
|
-
return new ne();
|
|
529
|
-
},
|
|
530
|
-
renderer: lt,
|
|
531
|
-
styles: it
|
|
532
|
-
};
|
|
533
|
-
export {
|
|
534
|
-
mt as diagram
|
|
535
|
-
};
|