@gravity-ui/querieskit 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/build/cjs/components/AttachmentList/AttachmentList.js +1 -0
- package/build/cjs/components/AttachmentList/AttachmentList.js.map +1 -1
- package/build/cjs/components/QueryGraph/QueryGraph.css +70 -0
- package/build/cjs/components/QueryGraph/QueryGraph.css.map +1 -0
- package/build/cjs/components/QueryGraph/QueryGraph.d.ts +4 -0
- package/build/cjs/components/QueryGraph/QueryGraph.js +517 -0
- package/build/cjs/components/QueryGraph/QueryGraph.js.map +1 -0
- package/build/cjs/components/QueryGraph/QueryGraph.stories.d.ts +16 -0
- package/build/cjs/components/QueryGraph/QueryGraph.stories.js +339 -0
- package/build/cjs/components/QueryGraph/QueryGraph.stories.js.map +1 -0
- package/build/cjs/components/QueryGraph/helpers/layout.d.ts +9 -0
- package/build/cjs/components/QueryGraph/helpers/layout.js +138 -0
- package/build/cjs/components/QueryGraph/helpers/layout.js.map +1 -0
- package/build/cjs/components/QueryGraph/helpers/presentation.d.ts +18 -0
- package/build/cjs/components/QueryGraph/helpers/presentation.js +44 -0
- package/build/cjs/components/QueryGraph/helpers/presentation.js.map +1 -0
- package/build/cjs/components/QueryGraph/i18n/dicts.d.ts +55 -0
- package/build/cjs/components/QueryGraph/i18n/dicts.js +14 -0
- package/build/cjs/components/QueryGraph/i18n/dicts.js.map +1 -0
- package/build/cjs/components/QueryGraph/i18n/en.json +26 -0
- package/build/cjs/components/QueryGraph/i18n/index.d.ts +6 -0
- package/build/cjs/components/QueryGraph/i18n/index.js +11 -0
- package/build/cjs/components/QueryGraph/i18n/index.js.map +1 -0
- package/build/cjs/components/QueryGraph/i18n/ru.json +26 -0
- package/build/cjs/components/QueryGraph/index.d.ts +2 -0
- package/build/cjs/components/QueryGraph/index.js +13 -0
- package/build/cjs/components/QueryGraph/index.js.map +1 -0
- package/build/cjs/components/QueryGraph/internal/QueryGraphCanvasBlock.d.ts +24 -0
- package/build/cjs/components/QueryGraph/internal/QueryGraphCanvasBlock.js +307 -0
- package/build/cjs/components/QueryGraph/internal/QueryGraphCanvasBlock.js.map +1 -0
- package/build/cjs/components/QueryGraph/internal/QueryGraphPopup.d.ts +5 -0
- package/build/cjs/components/QueryGraph/internal/QueryGraphPopup.js +242 -0
- package/build/cjs/components/QueryGraph/internal/QueryGraphPopup.js.map +1 -0
- package/build/cjs/components/QueryGraph/internal/queryGraphIcons.d.ts +12 -0
- package/build/cjs/components/QueryGraph/internal/queryGraphIcons.js +161 -0
- package/build/cjs/components/QueryGraph/internal/queryGraphIcons.js.map +1 -0
- package/build/cjs/components/QueryGraph/internal/useQueryGraphLayout.d.ts +22 -0
- package/build/cjs/components/QueryGraph/internal/useQueryGraphLayout.js +60 -0
- package/build/cjs/components/QueryGraph/internal/useQueryGraphLayout.js.map +1 -0
- package/build/cjs/components/QueryGraph/story/largeGraphData.d.ts +3 -0
- package/build/cjs/components/QueryGraph/story/largeGraphData.js +227 -0
- package/build/cjs/components/QueryGraph/story/largeGraphData.js.map +1 -0
- package/build/cjs/components/index.d.ts +2 -0
- package/build/cjs/components/index.js +9 -1
- package/build/cjs/components/index.js.map +1 -1
- package/build/cjs/helpers/buildColumnsFromKeys.d.ts +1 -1
- package/build/cjs/helpers/buildColumnsFromKeys.js.map +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +11 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/modules/Attachments/Attachments.css +13 -1
- package/build/cjs/modules/Attachments/Attachments.css.map +1 -1
- package/build/cjs/modules/Attachments/Attachments.js +4 -4
- package/build/cjs/modules/Attachments/Attachments.js.map +1 -1
- package/build/cjs/modules/Attachments/Attachments.stories.d.ts +1 -0
- package/build/cjs/modules/Attachments/Attachments.stories.js +92 -2
- package/build/cjs/modules/Attachments/Attachments.stories.js.map +1 -1
- package/build/cjs/modules/ClustersList/ClustersList.d.ts +1 -1
- package/build/cjs/modules/ClustersList/ClustersList.js +4 -3
- package/build/cjs/modules/ClustersList/ClustersList.js.map +1 -1
- package/build/cjs/modules/HistoryHeader/HistoryHeader.js +4 -3
- package/build/cjs/modules/HistoryHeader/HistoryHeader.js.map +1 -1
- package/build/cjs/modules/HistoryRow/HistoryRow.js +12 -7
- package/build/cjs/modules/HistoryRow/HistoryRow.js.map +1 -1
- package/build/cjs/modules/HistorySearchRow/HistorySearchRow.js +8 -5
- package/build/cjs/modules/HistorySearchRow/HistorySearchRow.js.map +1 -1
- package/build/cjs/modules/HistorySearchRow/helpers/resolveMonacoLanguage.d.ts +1 -1
- package/build/cjs/modules/HistorySearchRow/helpers/resolveMonacoLanguage.js +5 -5
- package/build/cjs/modules/HistorySearchRow/helpers/resolveMonacoLanguage.js.map +1 -1
- package/build/cjs/modules/NavigationDetail/NavigationDetail.d.ts +1 -1
- package/build/cjs/modules/NavigationDetail/NavigationDetail.js +2 -2
- package/build/cjs/modules/NavigationDetail/NavigationDetail.js.map +1 -1
- package/build/cjs/modules/NavigationHeader/NavigationHeader.d.ts +1 -1
- package/build/cjs/modules/NavigationHeader/NavigationHeader.js +2 -2
- package/build/cjs/modules/NavigationHeader/NavigationHeader.js.map +1 -1
- package/build/cjs/modules/NavigationItemsList/NavigationItemsList.d.ts +1 -1
- package/build/cjs/modules/NavigationItemsList/NavigationItemsList.js +4 -3
- package/build/cjs/modules/NavigationItemsList/NavigationItemsList.js.map +1 -1
- package/build/cjs/modules/NavigationItemsList/internal/NavigationItemsListEmptyState.d.ts +1 -1
- package/build/cjs/modules/NavigationItemsList/internal/NavigationItemsListEmptyState.js +2 -2
- package/build/cjs/modules/NavigationItemsList/internal/NavigationItemsListEmptyState.js.map +1 -1
- package/build/cjs/modules/NavigationMeta/NavigationMeta.js +4 -3
- package/build/cjs/modules/NavigationMeta/NavigationMeta.js.map +1 -1
- package/build/cjs/modules/NavigationMeta/i18n/index.d.ts +2 -2
- package/build/cjs/modules/NavigationPreview/NavigationPreview.d.ts +1 -1
- package/build/cjs/modules/NavigationPreview/NavigationPreview.js +6 -4
- package/build/cjs/modules/NavigationPreview/NavigationPreview.js.map +1 -1
- package/build/cjs/modules/NavigationPreview/helpers/buildPreviewColumns.d.ts +1 -1
- package/build/cjs/modules/NavigationPreview/helpers/buildPreviewColumns.js.map +1 -1
- package/build/cjs/modules/NavigationSchema/NavigationSchema.d.ts +1 -1
- package/build/cjs/modules/NavigationSchema/NavigationSchema.js +4 -3
- package/build/cjs/modules/NavigationSchema/NavigationSchema.js.map +1 -1
- package/build/cjs/modules/NavigationSchema/helpers/buildSchemaColumns.d.ts +1 -1
- package/build/cjs/modules/NavigationSchema/helpers/buildSchemaColumns.js.map +1 -1
- package/build/cjs/modules/NavigationView/NavigationView.d.ts +1 -1
- package/build/cjs/modules/NavigationView/NavigationView.js +4 -3
- package/build/cjs/modules/NavigationView/NavigationView.js.map +1 -1
- package/build/cjs/modules/NavigationView/helpers/buildViewColumns.d.ts +1 -1
- package/build/cjs/modules/NavigationView/helpers/buildViewColumns.js.map +1 -1
- package/build/cjs/modules/NavigationView/internal/NavigationViewSectionItem.d.ts +1 -1
- package/build/cjs/modules/NavigationView/internal/NavigationViewSectionItem.js +4 -3
- package/build/cjs/modules/NavigationView/internal/NavigationViewSectionItem.js.map +1 -1
- package/build/cjs/modules/QueriesList/QueriesList.js +2 -2
- package/build/cjs/modules/QueriesList/QueriesList.js.map +1 -1
- package/build/cjs/modules/QueryProgress/QueryProgress.css +64 -0
- package/build/cjs/modules/QueryProgress/QueryProgress.css.map +1 -0
- package/build/cjs/modules/QueryProgress/QueryProgress.d.ts +4 -0
- package/build/cjs/modules/QueryProgress/QueryProgress.js +135 -0
- package/build/cjs/modules/QueryProgress/QueryProgress.js.map +1 -0
- package/build/cjs/modules/QueryProgress/QueryProgress.stories.d.ts +7 -0
- package/build/cjs/modules/QueryProgress/QueryProgress.stories.js +38 -0
- package/build/cjs/modules/QueryProgress/QueryProgress.stories.js.map +1 -0
- package/build/cjs/modules/QueryProgress/i18n/dicts.d.ts +25 -0
- package/build/cjs/modules/QueryProgress/i18n/dicts.js +14 -0
- package/build/cjs/modules/QueryProgress/i18n/dicts.js.map +1 -0
- package/build/cjs/modules/QueryProgress/i18n/en.json +11 -0
- package/build/cjs/modules/QueryProgress/i18n/index.d.ts +6 -0
- package/build/cjs/modules/QueryProgress/i18n/index.js +11 -0
- package/build/cjs/modules/QueryProgress/i18n/index.js.map +1 -0
- package/build/cjs/modules/QueryProgress/i18n/ru.json +11 -0
- package/build/cjs/modules/QueryProgress/index.d.ts +2 -0
- package/build/cjs/modules/QueryProgress/index.js +13 -0
- package/build/cjs/modules/QueryProgress/index.js.map +1 -0
- package/build/cjs/modules/QueryStatistics/i18n/index.d.ts +2 -2
- package/build/cjs/modules/RowsList/RowsList.js +4 -3
- package/build/cjs/modules/RowsList/RowsList.js.map +1 -1
- package/build/cjs/modules/SavedQueryRow/SavedQueryRow.d.ts +2 -2
- package/build/cjs/modules/SavedQueryRow/SavedQueryRow.js +6 -4
- package/build/cjs/modules/SavedQueryRow/SavedQueryRow.js.map +1 -1
- package/build/cjs/modules/SavedQuerySearchRow/SavedQuerySearchRow.d.ts +2 -2
- package/build/cjs/modules/SavedQuerySearchRow/SavedQuerySearchRow.js +4 -3
- package/build/cjs/modules/SavedQuerySearchRow/SavedQuerySearchRow.js.map +1 -1
- package/build/cjs/modules/TutorialRow/TutorialRow.d.ts +1 -1
- package/build/cjs/modules/TutorialRow/TutorialRow.js +2 -2
- package/build/cjs/modules/TutorialRow/TutorialRow.js.map +1 -1
- package/build/cjs/modules/TutorialSearchRow/TutorialSearchRow.d.ts +1 -1
- package/build/cjs/modules/TutorialSearchRow/TutorialSearchRow.js +4 -3
- package/build/cjs/modules/TutorialSearchRow/TutorialSearchRow.js.map +1 -1
- package/build/cjs/modules/index.d.ts +2 -0
- package/build/cjs/modules/index.js +8 -0
- package/build/cjs/modules/index.js.map +1 -1
- package/build/cjs/types/queryGraph.d.ts +87 -0
- package/build/cjs/types/queryGraph.js +6 -0
- package/build/cjs/types/queryGraph.js.map +1 -0
- package/build/cjs/widgets/DashboardCharts/DashboardCharts.js +8 -6
- package/build/cjs/widgets/DashboardCharts/DashboardCharts.js.map +1 -1
- package/build/cjs/widgets/DashboardCharts/types.d.ts +3 -3
- package/build/cjs/widgets/DashboardCharts/types.js.map +1 -1
- package/build/cjs/widgets/QueriesHistory/QueriesHistory.js +2 -2
- package/build/cjs/widgets/QueriesHistory/QueriesHistory.js.map +1 -1
- package/build/cjs/widgets/QueriesHistory/internal/HistoryRowContent.js +6 -5
- package/build/cjs/widgets/QueriesHistory/internal/HistoryRowContent.js.map +1 -1
- package/build/cjs/widgets/QueriesNavigation/QueriesNavigation.d.ts +1 -1
- package/build/cjs/widgets/QueriesNavigation/QueriesNavigation.js +13 -9
- package/build/cjs/widgets/QueriesNavigation/QueriesNavigation.js.map +1 -1
- package/build/cjs/widgets/QueriesNavigation/helpers/createEmptyDetailConfig.js +2 -2
- package/build/cjs/widgets/QueriesNavigation/helpers/createEmptyDetailConfig.js.map +1 -1
- package/build/cjs/widgets/QueriesNavigation/helpers/createTableDetailConfig.js +8 -5
- package/build/cjs/widgets/QueriesNavigation/helpers/createTableDetailConfig.js.map +1 -1
- package/build/cjs/widgets/QueryResults/QueryResults.js +2 -2
- package/build/cjs/widgets/QueryResults/QueryResults.js.map +1 -1
- package/build/cjs/widgets/QueryResults/i18n/index.d.ts +2 -2
- package/build/cjs/widgets/QueryResults/internal/QueryResultsSchema.js +4 -3
- package/build/cjs/widgets/QueryResults/internal/QueryResultsSchema.js.map +1 -1
- package/build/cjs/widgets/SavedQueries/SavedQueries.d.ts +2 -2
- package/build/cjs/widgets/SavedQueries/SavedQueries.js +2 -2
- package/build/cjs/widgets/SavedQueries/SavedQueries.js.map +1 -1
- package/build/cjs/widgets/SavedQueries/SavedQueryRowContent.d.ts +2 -2
- package/build/cjs/widgets/SavedQueries/SavedQueryRowContent.js +6 -5
- package/build/cjs/widgets/SavedQueries/SavedQueryRowContent.js.map +1 -1
- package/build/cjs/widgets/TutorialsHistory/TutorialRowContent.d.ts +2 -2
- package/build/cjs/widgets/TutorialsHistory/TutorialRowContent.js +6 -5
- package/build/cjs/widgets/TutorialsHistory/TutorialRowContent.js.map +1 -1
- package/build/cjs/widgets/TutorialsHistory/TutorialsHistory.d.ts +2 -2
- package/build/cjs/widgets/TutorialsHistory/TutorialsHistory.js +6 -4
- package/build/cjs/widgets/TutorialsHistory/TutorialsHistory.js.map +1 -1
- package/build/esm/components/AttachmentList/AttachmentList.js +1 -0
- package/build/esm/components/AttachmentList/AttachmentList.js.map +1 -1
- package/build/esm/components/QueryGraph/QueryGraph.css +70 -0
- package/build/esm/components/QueryGraph/QueryGraph.css.map +1 -0
- package/build/esm/components/QueryGraph/QueryGraph.d.ts +4 -0
- package/build/esm/components/QueryGraph/QueryGraph.js +510 -0
- package/build/esm/components/QueryGraph/QueryGraph.js.map +1 -0
- package/build/esm/components/QueryGraph/QueryGraph.scss +81 -0
- package/build/esm/components/QueryGraph/QueryGraph.stories.d.ts +16 -0
- package/build/esm/components/QueryGraph/QueryGraph.stories.js +331 -0
- package/build/esm/components/QueryGraph/QueryGraph.stories.js.map +1 -0
- package/build/esm/components/QueryGraph/helpers/layout.d.ts +9 -0
- package/build/esm/components/QueryGraph/helpers/layout.js +128 -0
- package/build/esm/components/QueryGraph/helpers/layout.js.map +1 -0
- package/build/esm/components/QueryGraph/helpers/presentation.d.ts +18 -0
- package/build/esm/components/QueryGraph/helpers/presentation.js +35 -0
- package/build/esm/components/QueryGraph/helpers/presentation.js.map +1 -0
- package/build/esm/components/QueryGraph/i18n/dicts.d.ts +55 -0
- package/build/esm/components/QueryGraph/i18n/dicts.js +7 -0
- package/build/esm/components/QueryGraph/i18n/dicts.js.map +1 -0
- package/build/esm/components/QueryGraph/i18n/en.json +26 -0
- package/build/esm/components/QueryGraph/i18n/index.d.ts +6 -0
- package/build/esm/components/QueryGraph/i18n/index.js +4 -0
- package/build/esm/components/QueryGraph/i18n/index.js.map +1 -0
- package/build/esm/components/QueryGraph/i18n/ru.json +26 -0
- package/build/esm/components/QueryGraph/index.d.ts +2 -0
- package/build/esm/components/QueryGraph/index.js +2 -0
- package/build/esm/components/QueryGraph/index.js.map +1 -0
- package/build/esm/components/QueryGraph/internal/QueryGraphCanvasBlock.d.ts +24 -0
- package/build/esm/components/QueryGraph/internal/QueryGraphCanvasBlock.js +299 -0
- package/build/esm/components/QueryGraph/internal/QueryGraphCanvasBlock.js.map +1 -0
- package/build/esm/components/QueryGraph/internal/QueryGraphPopup.d.ts +5 -0
- package/build/esm/components/QueryGraph/internal/QueryGraphPopup.js +234 -0
- package/build/esm/components/QueryGraph/internal/QueryGraphPopup.js.map +1 -0
- package/build/esm/components/QueryGraph/internal/queryGraphIcons.d.ts +12 -0
- package/build/esm/components/QueryGraph/internal/queryGraphIcons.js +150 -0
- package/build/esm/components/QueryGraph/internal/queryGraphIcons.js.map +1 -0
- package/build/esm/components/QueryGraph/internal/useQueryGraphLayout.d.ts +22 -0
- package/build/esm/components/QueryGraph/internal/useQueryGraphLayout.js +53 -0
- package/build/esm/components/QueryGraph/internal/useQueryGraphLayout.js.map +1 -0
- package/build/esm/components/QueryGraph/story/largeGraphData.d.ts +3 -0
- package/build/esm/components/QueryGraph/story/largeGraphData.js +220 -0
- package/build/esm/components/QueryGraph/story/largeGraphData.js.map +1 -0
- package/build/esm/components/index.d.ts +2 -0
- package/build/esm/components/index.js +1 -0
- package/build/esm/components/index.js.map +1 -1
- package/build/esm/helpers/buildColumnsFromKeys.d.ts +1 -1
- package/build/esm/helpers/buildColumnsFromKeys.js.map +1 -1
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.js +1 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/modules/Attachments/Attachments.css +13 -1
- package/build/esm/modules/Attachments/Attachments.css.map +1 -1
- package/build/esm/modules/Attachments/Attachments.js +5 -5
- package/build/esm/modules/Attachments/Attachments.js.map +1 -1
- package/build/esm/modules/Attachments/Attachments.scss +13 -1
- package/build/esm/modules/Attachments/Attachments.stories.d.ts +1 -0
- package/build/esm/modules/Attachments/Attachments.stories.js +91 -1
- package/build/esm/modules/Attachments/Attachments.stories.js.map +1 -1
- package/build/esm/modules/ClustersList/ClustersList.d.ts +1 -1
- package/build/esm/modules/ClustersList/ClustersList.js +2 -1
- package/build/esm/modules/ClustersList/ClustersList.js.map +1 -1
- package/build/esm/modules/HistoryHeader/HistoryHeader.js +2 -1
- package/build/esm/modules/HistoryHeader/HistoryHeader.js.map +1 -1
- package/build/esm/modules/HistoryRow/HistoryRow.js +6 -1
- package/build/esm/modules/HistoryRow/HistoryRow.js.map +1 -1
- package/build/esm/modules/HistorySearchRow/HistorySearchRow.js +4 -1
- package/build/esm/modules/HistorySearchRow/HistorySearchRow.js.map +1 -1
- package/build/esm/modules/HistorySearchRow/helpers/resolveMonacoLanguage.d.ts +1 -1
- package/build/esm/modules/HistorySearchRow/helpers/resolveMonacoLanguage.js +1 -1
- package/build/esm/modules/HistorySearchRow/helpers/resolveMonacoLanguage.js.map +1 -1
- package/build/esm/modules/NavigationDetail/NavigationDetail.d.ts +1 -1
- package/build/esm/modules/NavigationDetail/NavigationDetail.js +1 -1
- package/build/esm/modules/NavigationDetail/NavigationDetail.js.map +1 -1
- package/build/esm/modules/NavigationHeader/NavigationHeader.d.ts +1 -1
- package/build/esm/modules/NavigationHeader/NavigationHeader.js +1 -1
- package/build/esm/modules/NavigationHeader/NavigationHeader.js.map +1 -1
- package/build/esm/modules/NavigationItemsList/NavigationItemsList.d.ts +1 -1
- package/build/esm/modules/NavigationItemsList/NavigationItemsList.js +2 -1
- package/build/esm/modules/NavigationItemsList/NavigationItemsList.js.map +1 -1
- package/build/esm/modules/NavigationItemsList/internal/NavigationItemsListEmptyState.d.ts +1 -1
- package/build/esm/modules/NavigationItemsList/internal/NavigationItemsListEmptyState.js +1 -1
- package/build/esm/modules/NavigationItemsList/internal/NavigationItemsListEmptyState.js.map +1 -1
- package/build/esm/modules/NavigationMeta/NavigationMeta.js +2 -1
- package/build/esm/modules/NavigationMeta/NavigationMeta.js.map +1 -1
- package/build/esm/modules/NavigationMeta/i18n/index.d.ts +2 -2
- package/build/esm/modules/NavigationPreview/NavigationPreview.d.ts +1 -1
- package/build/esm/modules/NavigationPreview/NavigationPreview.js +3 -1
- package/build/esm/modules/NavigationPreview/NavigationPreview.js.map +1 -1
- package/build/esm/modules/NavigationPreview/helpers/buildPreviewColumns.d.ts +1 -1
- package/build/esm/modules/NavigationPreview/helpers/buildPreviewColumns.js.map +1 -1
- package/build/esm/modules/NavigationSchema/NavigationSchema.d.ts +1 -1
- package/build/esm/modules/NavigationSchema/NavigationSchema.js +2 -1
- package/build/esm/modules/NavigationSchema/NavigationSchema.js.map +1 -1
- package/build/esm/modules/NavigationSchema/helpers/buildSchemaColumns.d.ts +1 -1
- package/build/esm/modules/NavigationSchema/helpers/buildSchemaColumns.js.map +1 -1
- package/build/esm/modules/NavigationView/NavigationView.d.ts +1 -1
- package/build/esm/modules/NavigationView/NavigationView.js +2 -1
- package/build/esm/modules/NavigationView/NavigationView.js.map +1 -1
- package/build/esm/modules/NavigationView/helpers/buildViewColumns.d.ts +1 -1
- package/build/esm/modules/NavigationView/helpers/buildViewColumns.js.map +1 -1
- package/build/esm/modules/NavigationView/internal/NavigationViewSectionItem.d.ts +1 -1
- package/build/esm/modules/NavigationView/internal/NavigationViewSectionItem.js +2 -1
- package/build/esm/modules/NavigationView/internal/NavigationViewSectionItem.js.map +1 -1
- package/build/esm/modules/QueriesList/QueriesList.js +1 -1
- package/build/esm/modules/QueriesList/QueriesList.js.map +1 -1
- package/build/esm/modules/QueryProgress/QueryProgress.css +64 -0
- package/build/esm/modules/QueryProgress/QueryProgress.css.map +1 -0
- package/build/esm/modules/QueryProgress/QueryProgress.d.ts +4 -0
- package/build/esm/modules/QueryProgress/QueryProgress.js +127 -0
- package/build/esm/modules/QueryProgress/QueryProgress.js.map +1 -0
- package/build/esm/modules/QueryProgress/QueryProgress.scss +72 -0
- package/build/esm/modules/QueryProgress/QueryProgress.stories.d.ts +7 -0
- package/build/esm/modules/QueryProgress/QueryProgress.stories.js +31 -0
- package/build/esm/modules/QueryProgress/QueryProgress.stories.js.map +1 -0
- package/build/esm/modules/QueryProgress/i18n/dicts.d.ts +25 -0
- package/build/esm/modules/QueryProgress/i18n/dicts.js +7 -0
- package/build/esm/modules/QueryProgress/i18n/dicts.js.map +1 -0
- package/build/esm/modules/QueryProgress/i18n/en.json +11 -0
- package/build/esm/modules/QueryProgress/i18n/index.d.ts +6 -0
- package/build/esm/modules/QueryProgress/i18n/index.js +4 -0
- package/build/esm/modules/QueryProgress/i18n/index.js.map +1 -0
- package/build/esm/modules/QueryProgress/i18n/ru.json +11 -0
- package/build/esm/modules/QueryProgress/index.d.ts +2 -0
- package/build/esm/modules/QueryProgress/index.js +2 -0
- package/build/esm/modules/QueryProgress/index.js.map +1 -0
- package/build/esm/modules/QueryStatistics/i18n/index.d.ts +2 -2
- package/build/esm/modules/RowsList/RowsList.js +2 -1
- package/build/esm/modules/RowsList/RowsList.js.map +1 -1
- package/build/esm/modules/SavedQueryRow/SavedQueryRow.d.ts +2 -2
- package/build/esm/modules/SavedQueryRow/SavedQueryRow.js +3 -1
- package/build/esm/modules/SavedQueryRow/SavedQueryRow.js.map +1 -1
- package/build/esm/modules/SavedQuerySearchRow/SavedQuerySearchRow.d.ts +2 -2
- package/build/esm/modules/SavedQuerySearchRow/SavedQuerySearchRow.js +2 -1
- package/build/esm/modules/SavedQuerySearchRow/SavedQuerySearchRow.js.map +1 -1
- package/build/esm/modules/TutorialRow/TutorialRow.d.ts +1 -1
- package/build/esm/modules/TutorialRow/TutorialRow.js +1 -1
- package/build/esm/modules/TutorialRow/TutorialRow.js.map +1 -1
- package/build/esm/modules/TutorialSearchRow/TutorialSearchRow.d.ts +1 -1
- package/build/esm/modules/TutorialSearchRow/TutorialSearchRow.js +2 -1
- package/build/esm/modules/TutorialSearchRow/TutorialSearchRow.js.map +1 -1
- package/build/esm/modules/index.d.ts +2 -0
- package/build/esm/modules/index.js +1 -0
- package/build/esm/modules/index.js.map +1 -1
- package/build/esm/types/queryGraph.d.ts +87 -0
- package/build/esm/types/queryGraph.js +2 -0
- package/build/esm/types/queryGraph.js.map +1 -0
- package/build/esm/widgets/DashboardCharts/DashboardCharts.js +4 -2
- package/build/esm/widgets/DashboardCharts/DashboardCharts.js.map +1 -1
- package/build/esm/widgets/DashboardCharts/types.d.ts +3 -3
- package/build/esm/widgets/DashboardCharts/types.js.map +1 -1
- package/build/esm/widgets/QueriesHistory/QueriesHistory.js +1 -1
- package/build/esm/widgets/QueriesHistory/QueriesHistory.js.map +1 -1
- package/build/esm/widgets/QueriesHistory/internal/HistoryRowContent.js +3 -2
- package/build/esm/widgets/QueriesHistory/internal/HistoryRowContent.js.map +1 -1
- package/build/esm/widgets/QueriesNavigation/QueriesNavigation.d.ts +1 -1
- package/build/esm/widgets/QueriesNavigation/QueriesNavigation.js +6 -2
- package/build/esm/widgets/QueriesNavigation/QueriesNavigation.js.map +1 -1
- package/build/esm/widgets/QueriesNavigation/helpers/createEmptyDetailConfig.js +1 -1
- package/build/esm/widgets/QueriesNavigation/helpers/createEmptyDetailConfig.js.map +1 -1
- package/build/esm/widgets/QueriesNavigation/helpers/createTableDetailConfig.js +4 -1
- package/build/esm/widgets/QueriesNavigation/helpers/createTableDetailConfig.js.map +1 -1
- package/build/esm/widgets/QueryResults/QueryResults.js +1 -1
- package/build/esm/widgets/QueryResults/QueryResults.js.map +1 -1
- package/build/esm/widgets/QueryResults/i18n/index.d.ts +2 -2
- package/build/esm/widgets/QueryResults/internal/QueryResultsSchema.js +2 -1
- package/build/esm/widgets/QueryResults/internal/QueryResultsSchema.js.map +1 -1
- package/build/esm/widgets/SavedQueries/SavedQueries.d.ts +2 -2
- package/build/esm/widgets/SavedQueries/SavedQueries.js +1 -1
- package/build/esm/widgets/SavedQueries/SavedQueries.js.map +1 -1
- package/build/esm/widgets/SavedQueries/SavedQueryRowContent.d.ts +2 -2
- package/build/esm/widgets/SavedQueries/SavedQueryRowContent.js +3 -2
- package/build/esm/widgets/SavedQueries/SavedQueryRowContent.js.map +1 -1
- package/build/esm/widgets/TutorialsHistory/TutorialRowContent.d.ts +2 -2
- package/build/esm/widgets/TutorialsHistory/TutorialRowContent.js +3 -2
- package/build/esm/widgets/TutorialsHistory/TutorialRowContent.js.map +1 -1
- package/build/esm/widgets/TutorialsHistory/TutorialsHistory.d.ts +2 -2
- package/build/esm/widgets/TutorialsHistory/TutorialsHistory.js +3 -1
- package/build/esm/widgets/TutorialsHistory/TutorialsHistory.js.map +1 -1
- package/package.json +84 -5
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useQueryGraphLayout = useQueryGraphLayout;
|
|
7
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
var _graph = require("@gravity-ui/graph");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
function useQueryGraphLayout(_ref) {
|
|
12
|
+
var structureKey = _ref.structureKey,
|
|
13
|
+
blocks = _ref.blocks,
|
|
14
|
+
connections = _ref.connections,
|
|
15
|
+
onError = _ref.onError;
|
|
16
|
+
var onErrorRef = (0, _react.useRef)(onError);
|
|
17
|
+
onErrorRef.current = onError;
|
|
18
|
+
var requestedKeyRef = (0, _react.useRef)(structureKey);
|
|
19
|
+
var _useState = (0, _react.useState)(),
|
|
20
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
21
|
+
resolved = _useState2[0],
|
|
22
|
+
setResolved = _useState2[1];
|
|
23
|
+
var _useState3 = (0, _react.useState)(),
|
|
24
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
25
|
+
error = _useState4[0],
|
|
26
|
+
setError = _useState4[1];
|
|
27
|
+
var handleError = (0, _react.useCallback)(function (nextError) {
|
|
28
|
+
var _onErrorRef$current;
|
|
29
|
+
setError(nextError);
|
|
30
|
+
(_onErrorRef$current = onErrorRef.current) === null || _onErrorRef$current === void 0 || _onErrorRef$current.call(onErrorRef, nextError);
|
|
31
|
+
}, []);
|
|
32
|
+
var _useLayeredLayout = (0, _graph.useLayeredLayout)({
|
|
33
|
+
blocks: blocks,
|
|
34
|
+
connections: connections,
|
|
35
|
+
onError: handleError
|
|
36
|
+
}),
|
|
37
|
+
result = _useLayeredLayout.result,
|
|
38
|
+
isLoading = _useLayeredLayout.isLoading;
|
|
39
|
+
(0, _react.useEffect)(function () {
|
|
40
|
+
setError(undefined);
|
|
41
|
+
}, [structureKey]);
|
|
42
|
+
(0, _react.useEffect)(function () {
|
|
43
|
+
if (isLoading) requestedKeyRef.current = structureKey;
|
|
44
|
+
}, [isLoading, structureKey]);
|
|
45
|
+
(0, _react.useEffect)(function () {
|
|
46
|
+
if (!isLoading && result && requestedKeyRef.current === structureKey) {
|
|
47
|
+
setResolved({
|
|
48
|
+
structureKey: structureKey,
|
|
49
|
+
result: result
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}, [isLoading, result, structureKey]);
|
|
53
|
+
return {
|
|
54
|
+
result: resolved === null || resolved === void 0 ? void 0 : resolved.result,
|
|
55
|
+
resolvedStructureKey: resolved === null || resolved === void 0 ? void 0 : resolved.structureKey,
|
|
56
|
+
isInitialLoading: isLoading && !resolved,
|
|
57
|
+
error: error
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
// #sourceMappingURL=useQueryGraphLayout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_graph","_interopRequireDefault","e","__esModule","default","useQueryGraphLayout","_ref","structureKey","blocks","connections","onError","onErrorRef","useRef","current","requestedKeyRef","_useState","useState","_useState2","_slicedToArray","resolved","setResolved","_useState3","_useState4","error","setError","handleError","useCallback","nextError","_onErrorRef$current","call","_useLayeredLayout","useLayeredLayout","result","isLoading","useEffect","undefined","resolvedStructureKey","isInitialLoading"],"sources":["useQueryGraphLayout.ts"],"sourcesContent":["import {useCallback, useEffect, useRef, useState} from 'react';\nimport {type ConverterResult, useLayeredLayout} from '@gravity-ui/graph';\n\ntype QueryGraphLayoutInput = {\n structureKey: string;\n blocks: Array<{id: string; width: number; height: number}>;\n connections: Array<{\n id: string;\n sourceBlockId: string;\n targetBlockId: string;\n }>;\n onError?: (error: Error) => void;\n};\n\ntype ResolvedLayout = {structureKey: string; result: ConverterResult};\n\nexport function useQueryGraphLayout({\n structureKey,\n blocks,\n connections,\n onError,\n}: QueryGraphLayoutInput) {\n const onErrorRef = useRef(onError);\n onErrorRef.current = onError;\n const requestedKeyRef = useRef(structureKey);\n const [resolved, setResolved] = useState<ResolvedLayout>();\n const [error, setError] = useState<Error>();\n\n const handleError = useCallback((nextError: Error) => {\n setError(nextError);\n onErrorRef.current?.(nextError);\n }, []);\n const {result, isLoading} = useLayeredLayout({blocks, connections, onError: handleError});\n\n useEffect(() => {\n setError(undefined);\n }, [structureKey]);\n useEffect(() => {\n if (isLoading) requestedKeyRef.current = structureKey;\n }, [isLoading, structureKey]);\n useEffect(() => {\n if (!isLoading && result && requestedKeyRef.current === structureKey) {\n setResolved({structureKey, result});\n }\n }, [isLoading, result, structureKey]);\n\n return {\n result: resolved?.result,\n resolvedStructureKey: resolved?.structureKey,\n isInitialLoading: isLoading && !resolved,\n error,\n };\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAAwE,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAejE,SAASG,mBAAmBA,CAAAC,IAAA,EAKT;EAAA,I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AAS,EAAC,YAAM;IACZ,IAAID,SAAS,EAAEnB,eAAe,CAACD,OAAO,GAAGN,YAAY;EACzD,CAAC,EAAE,CAAC0B,SAAS,EAAE1B,YAAY,CAAC,CAAC;EAC7B,IAAA2B,gBAAS,EAAC,YAAM;IACZ,IAAI,CAACD,SAAS,IAAID,MAAM,IAAIlB,eAAe,CAACD,OAAO,KAAKN,YAAY,EAAE;MAClEa,WAAW,CAAC;QAACb,YAAY,EAAZA,YAAY;QAAEyB,MAAM,EAANA;MAAM,CAAC,CAAC;IACvC;EACJ,CAAC,EAAE,CAACC,SAAS,EAAED,MAAM,EAAEzB,YAAY,CAAC,CAAC;EAErC,OAAO;IACHyB,MAAM,EAAEb,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEa,MAAM;IACxBI,oBAAoB,EAAEjB,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEZ,YAAY;IAC5C8B,gBAAgB,EAAEJ,SAAS,IAAI,CAACd,QAAQ;IACxCI,KAAK,EAALA;EACJ,CAAC;AACL","ignoreList":[]}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.largeGraphNodes = exports.largeGraphEdges = void 0;
|
|
7
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
8
|
+
require("core-js/modules/es.array.concat.js");
|
|
9
|
+
require("core-js/modules/es.array.map.js");
|
|
10
|
+
require("core-js/modules/es.function.name.js");
|
|
11
|
+
require("core-js/modules/es.object.to-string.js");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function operation(_ref) {
|
|
14
|
+
var id = _ref.id,
|
|
15
|
+
name = _ref.name,
|
|
16
|
+
label = _ref.label,
|
|
17
|
+
_ref$inputs = _ref.inputs,
|
|
18
|
+
inputs = _ref$inputs === void 0 ? 1 : _ref$inputs,
|
|
19
|
+
_ref$outputs = _ref.outputs,
|
|
20
|
+
outputs = _ref$outputs === void 0 ? 1 : _ref$outputs,
|
|
21
|
+
_ref$status = _ref.status,
|
|
22
|
+
status = _ref$status === void 0 ? 'completed' : _ref$status,
|
|
23
|
+
_ref$total = _ref.total,
|
|
24
|
+
total = _ref$total === void 0 ? 100 : _ref$total,
|
|
25
|
+
_ref$completed = _ref.completed,
|
|
26
|
+
completed = _ref$completed === void 0 ? total : _ref$completed,
|
|
27
|
+
running = _ref.running;
|
|
28
|
+
var pending = Math.max(0, total - completed - (running !== null && running !== void 0 ? running : 0));
|
|
29
|
+
return {
|
|
30
|
+
id: id,
|
|
31
|
+
kind: 'operation',
|
|
32
|
+
name: name,
|
|
33
|
+
label: label,
|
|
34
|
+
status: status,
|
|
35
|
+
progress: {
|
|
36
|
+
total: total,
|
|
37
|
+
completed: completed,
|
|
38
|
+
running: running,
|
|
39
|
+
pending: pending
|
|
40
|
+
},
|
|
41
|
+
popup: {
|
|
42
|
+
details: [{
|
|
43
|
+
name: 'Operation ID',
|
|
44
|
+
value: id
|
|
45
|
+
}, {
|
|
46
|
+
name: 'Inputs',
|
|
47
|
+
value: inputs
|
|
48
|
+
}, {
|
|
49
|
+
name: 'Outputs',
|
|
50
|
+
value: outputs
|
|
51
|
+
}],
|
|
52
|
+
jobs: {
|
|
53
|
+
total: total,
|
|
54
|
+
completed: completed,
|
|
55
|
+
running: running,
|
|
56
|
+
pending: pending
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// The topology is adapted from a processed production graph. Product-specific names and
|
|
63
|
+
// backend fields are intentionally normalized to the public QueryGraph contract.
|
|
64
|
+
var largeGraphNodes = exports.largeGraphNodes = [{
|
|
65
|
+
id: '25',
|
|
66
|
+
kind: 'input',
|
|
67
|
+
name: 'date_dim',
|
|
68
|
+
label: 'tpcds/3TB/date_dim',
|
|
69
|
+
popup: {
|
|
70
|
+
details: [{
|
|
71
|
+
name: 'Path',
|
|
72
|
+
value: 'tpcds/3TB/date_dim'
|
|
73
|
+
}]
|
|
74
|
+
}
|
|
75
|
+
}, {
|
|
76
|
+
id: '26',
|
|
77
|
+
kind: 'input',
|
|
78
|
+
name: 'web_sales',
|
|
79
|
+
label: 'tpcds/3TB/web_sales',
|
|
80
|
+
popup: {
|
|
81
|
+
details: [{
|
|
82
|
+
name: 'Path',
|
|
83
|
+
value: 'tpcds/3TB/web_sales'
|
|
84
|
+
}]
|
|
85
|
+
}
|
|
86
|
+
}, {
|
|
87
|
+
id: '27',
|
|
88
|
+
kind: 'input',
|
|
89
|
+
name: 'customer_address',
|
|
90
|
+
label: 'tpcds/3TB/customer_address',
|
|
91
|
+
popup: {
|
|
92
|
+
details: [{
|
|
93
|
+
name: 'Path',
|
|
94
|
+
value: 'tpcds/3TB/customer_address'
|
|
95
|
+
}]
|
|
96
|
+
}
|
|
97
|
+
}, {
|
|
98
|
+
id: '153',
|
|
99
|
+
kind: 'input',
|
|
100
|
+
name: 'store_sales',
|
|
101
|
+
label: 'tpcds/3TB/store_sales',
|
|
102
|
+
popup: {
|
|
103
|
+
details: [{
|
|
104
|
+
name: 'Path',
|
|
105
|
+
value: 'tpcds/3TB/store_sales'
|
|
106
|
+
}]
|
|
107
|
+
}
|
|
108
|
+
}, operation({
|
|
109
|
+
id: '21',
|
|
110
|
+
name: 'Sort',
|
|
111
|
+
total: 48
|
|
112
|
+
}), operation({
|
|
113
|
+
id: '41',
|
|
114
|
+
name: 'Reduce',
|
|
115
|
+
label: '2 inputs',
|
|
116
|
+
inputs: 2,
|
|
117
|
+
total: 96
|
|
118
|
+
}), operation({
|
|
119
|
+
id: '50',
|
|
120
|
+
name: 'MapReduce',
|
|
121
|
+
label: '2 inputs',
|
|
122
|
+
inputs: 2,
|
|
123
|
+
total: 180
|
|
124
|
+
}), operation({
|
|
125
|
+
id: '67',
|
|
126
|
+
name: 'MapReduce',
|
|
127
|
+
label: '3 outputs',
|
|
128
|
+
outputs: 3,
|
|
129
|
+
total: 240
|
|
130
|
+
}), operation({
|
|
131
|
+
id: '92',
|
|
132
|
+
name: 'Merge',
|
|
133
|
+
total: 72
|
|
134
|
+
}), operation({
|
|
135
|
+
id: '96',
|
|
136
|
+
name: 'Merge',
|
|
137
|
+
total: 84
|
|
138
|
+
}), operation({
|
|
139
|
+
id: '100',
|
|
140
|
+
name: 'Merge',
|
|
141
|
+
total: 64
|
|
142
|
+
}), operation({
|
|
143
|
+
id: '38',
|
|
144
|
+
name: 'Reduce',
|
|
145
|
+
label: '2 inputs',
|
|
146
|
+
inputs: 2,
|
|
147
|
+
total: 112
|
|
148
|
+
}), operation({
|
|
149
|
+
id: '59',
|
|
150
|
+
name: 'MapReduce',
|
|
151
|
+
label: '2 inputs',
|
|
152
|
+
inputs: 2,
|
|
153
|
+
total: 196
|
|
154
|
+
}), operation({
|
|
155
|
+
id: '75',
|
|
156
|
+
name: 'MapReduce',
|
|
157
|
+
label: '3 outputs',
|
|
158
|
+
outputs: 3,
|
|
159
|
+
total: 256
|
|
160
|
+
}), operation({
|
|
161
|
+
id: '105',
|
|
162
|
+
name: 'Merge',
|
|
163
|
+
total: 80
|
|
164
|
+
}), operation({
|
|
165
|
+
id: '109',
|
|
166
|
+
name: 'Merge',
|
|
167
|
+
total: 88
|
|
168
|
+
}), operation({
|
|
169
|
+
id: '140',
|
|
170
|
+
name: 'Map',
|
|
171
|
+
total: 144
|
|
172
|
+
}), operation({
|
|
173
|
+
id: '171',
|
|
174
|
+
name: 'Map',
|
|
175
|
+
status: 'running',
|
|
176
|
+
total: 128,
|
|
177
|
+
completed: 72,
|
|
178
|
+
running: 16
|
|
179
|
+
}), operation({
|
|
180
|
+
id: '179',
|
|
181
|
+
name: 'Map',
|
|
182
|
+
status: 'waiting',
|
|
183
|
+
total: 96,
|
|
184
|
+
completed: 0
|
|
185
|
+
}), operation({
|
|
186
|
+
id: '186',
|
|
187
|
+
name: 'Map',
|
|
188
|
+
status: 'not-started',
|
|
189
|
+
total: 80,
|
|
190
|
+
completed: 0
|
|
191
|
+
}), operation({
|
|
192
|
+
id: '192',
|
|
193
|
+
name: 'Map',
|
|
194
|
+
status: 'not-started',
|
|
195
|
+
total: 64,
|
|
196
|
+
completed: 0
|
|
197
|
+
}), operation({
|
|
198
|
+
id: '197',
|
|
199
|
+
name: 'Sort',
|
|
200
|
+
status: 'not-started',
|
|
201
|
+
total: 48,
|
|
202
|
+
completed: 0
|
|
203
|
+
}), operation({
|
|
204
|
+
id: '200',
|
|
205
|
+
name: 'Fetch result',
|
|
206
|
+
status: 'not-started',
|
|
207
|
+
total: 1,
|
|
208
|
+
completed: 0
|
|
209
|
+
}), operation({
|
|
210
|
+
id: '198',
|
|
211
|
+
name: 'Commit result',
|
|
212
|
+
status: 'not-started',
|
|
213
|
+
total: 1,
|
|
214
|
+
completed: 0
|
|
215
|
+
})];
|
|
216
|
+
var topology = [['25', '21'], ['26', '41'], ['21', '41'], ['27', '50'], ['41', '50'], ['50', '67'], ['67', '92'], ['67', '96'], ['67', '100'], ['153', '38'], ['21', '38'], ['27', '59'], ['38', '59'], ['59', '75'], ['75', '105'], ['75', '109'], ['75', '140'], ['109', '140'], ['75', '171'], ['105', '171'], ['140', '171'], ['67', '179'], ['100', '179'], ['171', '179'], ['67', '186'], ['96', '186'], ['179', '186'], ['67', '192'], ['92', '192'], ['186', '192'], ['192', '197'], ['197', '200'], ['200', '198']];
|
|
217
|
+
var largeGraphEdges = exports.largeGraphEdges = topology.map(function (_ref2) {
|
|
218
|
+
var _ref3 = (0, _slicedToArray2.default)(_ref2, 2),
|
|
219
|
+
source = _ref3[0],
|
|
220
|
+
target = _ref3[1];
|
|
221
|
+
return {
|
|
222
|
+
id: "".concat(source, "-").concat(target),
|
|
223
|
+
source: source,
|
|
224
|
+
target: target
|
|
225
|
+
};
|
|
226
|
+
});
|
|
227
|
+
// #sourceMappingURL=largeGraphData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["operation","_ref","id","name","label","_ref$inputs","inputs","_ref$outputs","outputs","_ref$status","status","_ref$total","total","_ref$completed","completed","running","pending","Math","max","kind","progress","popup","details","value","jobs","largeGraphNodes","exports","topology","largeGraphEdges","map","_ref2","_ref3","_slicedToArray","source","target","concat"],"sources":["largeGraphData.ts"],"sourcesContent":["import type {QueryGraphEdge, QueryGraphNode, QueryGraphNodeStatus} from '../../../types/queryGraph';\n\ntype OperationOptions = {\n id: string;\n name: string;\n label?: string;\n inputs?: number;\n outputs?: number;\n status?: QueryGraphNodeStatus;\n total?: number;\n completed?: number;\n running?: number;\n};\n\nfunction operation({\n id,\n name,\n label,\n inputs = 1,\n outputs = 1,\n status = 'completed',\n total = 100,\n completed = total,\n running,\n}: OperationOptions): QueryGraphNode {\n const pending = Math.max(0, total - completed - (running ?? 0));\n\n return {\n id,\n kind: 'operation',\n name,\n label,\n status,\n progress: {total, completed, running, pending},\n popup: {\n details: [\n {name: 'Operation ID', value: id},\n {name: 'Inputs', value: inputs},\n {name: 'Outputs', value: outputs},\n ],\n jobs: {total, completed, running, pending},\n },\n };\n}\n\n// The topology is adapted from a processed production graph. Product-specific names and\n// backend fields are intentionally normalized to the public QueryGraph contract.\nexport const largeGraphNodes: QueryGraphNode[] = [\n {\n id: '25',\n kind: 'input',\n name: 'date_dim',\n label: 'tpcds/3TB/date_dim',\n popup: {details: [{name: 'Path', value: 'tpcds/3TB/date_dim'}]},\n },\n {\n id: '26',\n kind: 'input',\n name: 'web_sales',\n label: 'tpcds/3TB/web_sales',\n popup: {details: [{name: 'Path', value: 'tpcds/3TB/web_sales'}]},\n },\n {\n id: '27',\n kind: 'input',\n name: 'customer_address',\n label: 'tpcds/3TB/customer_address',\n popup: {details: [{name: 'Path', value: 'tpcds/3TB/customer_address'}]},\n },\n {\n id: '153',\n kind: 'input',\n name: 'store_sales',\n label: 'tpcds/3TB/store_sales',\n popup: {details: [{name: 'Path', value: 'tpcds/3TB/store_sales'}]},\n },\n operation({id: '21', name: 'Sort', total: 48}),\n operation({id: '41', name: 'Reduce', label: '2 inputs', inputs: 2, total: 96}),\n operation({id: '50', name: 'MapReduce', label: '2 inputs', inputs: 2, total: 180}),\n operation({id: '67', name: 'MapReduce', label: '3 outputs', outputs: 3, total: 240}),\n operation({id: '92', name: 'Merge', total: 72}),\n operation({id: '96', name: 'Merge', total: 84}),\n operation({id: '100', name: 'Merge', total: 64}),\n operation({id: '38', name: 'Reduce', label: '2 inputs', inputs: 2, total: 112}),\n operation({id: '59', name: 'MapReduce', label: '2 inputs', inputs: 2, total: 196}),\n operation({id: '75', name: 'MapReduce', label: '3 outputs', outputs: 3, total: 256}),\n operation({id: '105', name: 'Merge', total: 80}),\n operation({id: '109', name: 'Merge', total: 88}),\n operation({id: '140', name: 'Map', total: 144}),\n operation({\n id: '171',\n name: 'Map',\n status: 'running',\n total: 128,\n completed: 72,\n running: 16,\n }),\n operation({id: '179', name: 'Map', status: 'waiting', total: 96, completed: 0}),\n operation({id: '186', name: 'Map', status: 'not-started', total: 80, completed: 0}),\n operation({id: '192', name: 'Map', status: 'not-started', total: 64, completed: 0}),\n operation({id: '197', name: 'Sort', status: 'not-started', total: 48, completed: 0}),\n operation({id: '200', name: 'Fetch result', status: 'not-started', total: 1, completed: 0}),\n operation({id: '198', name: 'Commit result', status: 'not-started', total: 1, completed: 0}),\n];\n\nconst topology = [\n ['25', '21'],\n ['26', '41'],\n ['21', '41'],\n ['27', '50'],\n ['41', '50'],\n ['50', '67'],\n ['67', '92'],\n ['67', '96'],\n ['67', '100'],\n ['153', '38'],\n ['21', '38'],\n ['27', '59'],\n ['38', '59'],\n ['59', '75'],\n ['75', '105'],\n ['75', '109'],\n ['75', '140'],\n ['109', '140'],\n ['75', '171'],\n ['105', '171'],\n ['140', '171'],\n ['67', '179'],\n ['100', '179'],\n ['171', '179'],\n ['67', '186'],\n ['96', '186'],\n ['179', '186'],\n ['67', '192'],\n ['92', '192'],\n ['186', '192'],\n ['192', '197'],\n ['197', '200'],\n ['200', '198'],\n] as const;\n\nexport const largeGraphEdges: QueryGraphEdge[] = topology.map(([source, target]) => ({\n id: `${source}-${target}`,\n source,\n target,\n}));\n"],"mappings":";;;;;;;;;;;;AAcA,SAASA,SAASA,CAAAC,IAAA,EAUmB;EAAA,IATjCC,EAAE,GAAAD,IAAA,CAAFC,EAAE;IACFC,IAAI,GAAAF,IAAA,CAAJE,IAAI;IACJC,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAAC,WAAA,GAAAJ,IAAA,CACLK,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,CAAC,GAAAA,WAAA;IAAAE,YAAA,GAAAN,IAAA,CACVO,OAAO;IAAPA,OAAO,GAAAD,YAAA,cAAG,CAAC,GAAAA,YAAA;IAAAE,WAAA,GAAAR,IAAA,CACXS,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,WAAW,GAAAA,WAAA;IAAAE,UAAA,GAAAV,IAAA,CACpBW,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAG,GAAG,GAAAA,UAAA;IAAAE,cAAA,GAAAZ,IAAA,CACXa,SAAS;IAATA,SAAS,GAAAD,cAAA,cAAGD,KAAK,GAAAC,cAAA;IACjBE,OAAO,GAAAd,IAAA,CAAPc,OAAO;EAEP,IAAMC,OAAO,GAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEN,KAAK,GAAGE,SAAS,IAAIC,OAAO,aAAPA,OAAO,cAAPA,OAAO,GAAI,CAAC,CAAC,CAAC;EAE/D,OAAO;IACHb,EAAE,EAAFA,EAAE;IACFiB,IAAI,EAAE,WAAW;IACjBhB,IAAI,EAAJA,IAAI;IACJC,KAAK,EAALA,KAAK;IACLM,MAAM,EAANA,MAAM;IACNU,QAAQ,EAAE;MAACR,KAAK,EAALA,KAAK;MAAEE,SAAS,EAATA,SAAS;MAAEC,OAAO,EAAPA,OAAO;MAAEC,OAAO,EAAPA;IAAO,CAAC;IAC9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AAC,EACd,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,CAAC,IAAI,EAAE,KAAK,CAAC,EACb,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,CAAC,IAAI,EAAE,KAAK,CAAC,EACb,CAAC,IAAI,EAAE,KAAK,CAAC,EACb,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,CAAC,IAAI,EAAE,KAAK,CAAC,EACb,CAAC,IAAI,EAAE,KAAK,CAAC,EACb,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,CAAC,KAAK,EAAE,KAAK,CAAC,CACR;AAEH,IAAMC,eAAiC,GAAAF,OAAA,CAAAE,eAAA,GAAGD,QAAQ,CAACE,GAAG,CAAC,UAAAC,KAAA;EAAA,IAAAC,KAAA,OAAAC,uBAAA,EAAAF,KAAA;IAAEG,MAAM,GAAAF,KAAA;IAAEG,MAAM,GAAAH,KAAA;EAAA,OAAO;IACjF7B,EAAE,KAAAiC,MAAA,CAAKF,MAAM,OAAAE,MAAA,CAAID,MAAM,CAAE;IACzBD,MAAM,EAANA,MAAM;IACNC,MAAM,EAANA;EACJ,CAAC;AAAA,CAAC,CAAC","ignoreList":[]}
|
|
@@ -53,3 +53,5 @@ export { MonacoLanguage, YT_DARK_HC_MONACO_THEME, YT_DARK_MONACO_THEME, YT_LIGHT
|
|
|
53
53
|
export type { MonacoThemeName } from './MonacoEditor';
|
|
54
54
|
export * from './AttachmentList';
|
|
55
55
|
export * from './AttachmentListPlaceholder';
|
|
56
|
+
export { QueryGraph } from './QueryGraph';
|
|
57
|
+
export type { QueryGraphProps } from './QueryGraph';
|
|
@@ -39,7 +39,8 @@ var _exportNames = {
|
|
|
39
39
|
DEFAULT_ADD_CHART_BUTTON_OPTIONS: true,
|
|
40
40
|
ChartEditorForm: true,
|
|
41
41
|
Chart: true,
|
|
42
|
-
ErrorTree: true
|
|
42
|
+
ErrorTree: true,
|
|
43
|
+
QueryGraph: true
|
|
43
44
|
};
|
|
44
45
|
Object.defineProperty(exports, "AddChartButton", {
|
|
45
46
|
enumerable: true,
|
|
@@ -185,6 +186,12 @@ Object.defineProperty(exports, "QueryDuration", {
|
|
|
185
186
|
return _QueryDuration.QueryDuration;
|
|
186
187
|
}
|
|
187
188
|
});
|
|
189
|
+
Object.defineProperty(exports, "QueryGraph", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () {
|
|
192
|
+
return _QueryGraph.QueryGraph;
|
|
193
|
+
}
|
|
194
|
+
});
|
|
188
195
|
Object.defineProperty(exports, "QueryResultsTable", {
|
|
189
196
|
enumerable: true,
|
|
190
197
|
get: function () {
|
|
@@ -321,4 +328,5 @@ Object.keys(_AttachmentListPlaceholder).forEach(function (key) {
|
|
|
321
328
|
}
|
|
322
329
|
});
|
|
323
330
|
});
|
|
331
|
+
var _QueryGraph = require("./QueryGraph");
|
|
324
332
|
// #sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_DataTable","require","_QueryResultsTable","_QueryStatusIcon","_QueryDuration","_LazyList","_ListSpinner","_Breadcrumbs","_PathEditor","_HistoryFilter","_HistoryPrivateIcon","_FieldsSelector","_EditableRowTitle","_RowActionsMenu","_FieldsSearchToolbar","_HistoryGroupHeader","_EmptyContent","_ClusterRow","_NavigationItemRow","_NavigationActionButtons","_SkeletonRows","_RowLink","_SearchRowLayout","_SearchWithButtons","_MonacoEditor","_AddChartButton","_ChartEditorForm","_Dashboard","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_Chart","_ErrorTree","_AttachmentList","_AttachmentListPlaceholder"],"sources":["index.ts"],"sourcesContent":["export {DataTable} from './DataTable';\nexport type {DataTableProps, Column} from './DataTable';\nexport {QueryResultsTable, formatQueryResultType} from './QueryResultsTable';\nexport type {QueryResultsTableProps} from './QueryResultsTable';\nexport {QueryStatusIcon} from './QueryStatusIcon';\nexport {QueryDuration} from './QueryDuration';\nexport {LazyList} from './LazyList';\nexport type {LazyListProps} from './LazyList';\nexport {ListSpinner} from './ListSpinner';\nexport type {ListSpinnerProps} from './ListSpinner';\nexport {Breadcrumbs} from './Breadcrumbs';\nexport type {BreadcrumbsProps} from './Breadcrumbs';\nexport {PathEditor} from './PathEditor';\nexport type {PathEditorProps} from './PathEditor';\nexport {HistoryFilter} from './HistoryFilter';\nexport {HistoryPrivateIcon} from './HistoryPrivateIcon';\nexport {FieldsSelector} from './FieldsSelector';\nexport type {FieldsSelectorOption, FieldsSelectorProps} from './FieldsSelector';\nexport {EditableRowTitle} from './EditableRowTitle';\nexport type {EditableRowTitleProps} from './EditableRowTitle';\nexport {RowActionsMenu} from './RowActionsMenu';\nexport type {RowActionsMenuProps} from './RowActionsMenu';\nexport {FieldsSearchToolbar} from './FieldsSearchToolbar';\nexport type {FieldsSearchToolbarProps} from './FieldsSearchToolbar';\nexport {HistoryGroupHeader} from './HistoryGroupHeader';\nexport {EmptyContent} from './EmptyContent';\nexport type {EmptyContentProps, EmptyContentVariant} from './EmptyContent';\nexport {ClusterRow} from './ClusterRow';\nexport type {ClusterRowProps} from './ClusterRow';\nexport {NavigationItemRow} from './NavigationItemRow';\nexport type {NavigationItemRowProps} from './NavigationItemRow';\nexport {NavigationActionButtons} from './NavigationActionButtons';\nexport type {NavigationActionButtonsProps} from './NavigationActionButtons';\nexport {SkeletonRows} from './SkeletonRows';\nexport type {SkeletonRowsProps} from './SkeletonRows';\nexport {RowLink} from './RowLink';\nexport type {RowLinkProps} from './RowLink';\nexport {SearchRowLayout} from './SearchRowLayout';\nexport type {SearchRowLayoutProps} from './SearchRowLayout';\nexport {SearchWithButtons} from './SearchWithButtons';\nexport type {SearchWithButtonsProps} from './SearchWithButtons';\nexport {MonacoEditor} from './MonacoEditor';\nexport type {MonacoEditorConfig} from './MonacoEditor';\nexport {AddChartButton, DEFAULT_ADD_CHART_BUTTON_OPTIONS} from './AddChartButton';\nexport type {\n AddChartButtonOption,\n AddChartButtonProps,\n DefaultAddChartButtonValue,\n} from './AddChartButton';\nexport {ChartEditorForm} from './ChartEditorForm';\nexport type {\n ChartEditorFormProps,\n ChartEditorFormValues,\n ChartEditorLabels,\n ChartEditorOption,\n} from './ChartEditorForm';\nexport * from './Dashboard';\nexport {Chart} from './Chart';\nexport type {ChartAction, ChartProps} from './Chart';\nexport {ErrorTree} from './ErrorTree';\nexport {\n MonacoLanguage,\n YT_DARK_HC_MONACO_THEME,\n YT_DARK_MONACO_THEME,\n YT_LIGHT_HC_MONACO_THEME,\n YT_LIGHT_MONACO_THEME,\n MONACO_THEME_BY_UI,\n} from './MonacoEditor';\nexport type {MonacoThemeName} from './MonacoEditor';\nexport * from './AttachmentList';\nexport * from './AttachmentListPlaceholder';\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_DataTable","require","_QueryResultsTable","_QueryStatusIcon","_QueryDuration","_LazyList","_ListSpinner","_Breadcrumbs","_PathEditor","_HistoryFilter","_HistoryPrivateIcon","_FieldsSelector","_EditableRowTitle","_RowActionsMenu","_FieldsSearchToolbar","_HistoryGroupHeader","_EmptyContent","_ClusterRow","_NavigationItemRow","_NavigationActionButtons","_SkeletonRows","_RowLink","_SearchRowLayout","_SearchWithButtons","_MonacoEditor","_AddChartButton","_ChartEditorForm","_Dashboard","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_Chart","_ErrorTree","_AttachmentList","_AttachmentListPlaceholder","_QueryGraph"],"sources":["index.ts"],"sourcesContent":["export {DataTable} from './DataTable';\nexport type {DataTableProps, Column} from './DataTable';\nexport {QueryResultsTable, formatQueryResultType} from './QueryResultsTable';\nexport type {QueryResultsTableProps} from './QueryResultsTable';\nexport {QueryStatusIcon} from './QueryStatusIcon';\nexport {QueryDuration} from './QueryDuration';\nexport {LazyList} from './LazyList';\nexport type {LazyListProps} from './LazyList';\nexport {ListSpinner} from './ListSpinner';\nexport type {ListSpinnerProps} from './ListSpinner';\nexport {Breadcrumbs} from './Breadcrumbs';\nexport type {BreadcrumbsProps} from './Breadcrumbs';\nexport {PathEditor} from './PathEditor';\nexport type {PathEditorProps} from './PathEditor';\nexport {HistoryFilter} from './HistoryFilter';\nexport {HistoryPrivateIcon} from './HistoryPrivateIcon';\nexport {FieldsSelector} from './FieldsSelector';\nexport type {FieldsSelectorOption, FieldsSelectorProps} from './FieldsSelector';\nexport {EditableRowTitle} from './EditableRowTitle';\nexport type {EditableRowTitleProps} from './EditableRowTitle';\nexport {RowActionsMenu} from './RowActionsMenu';\nexport type {RowActionsMenuProps} from './RowActionsMenu';\nexport {FieldsSearchToolbar} from './FieldsSearchToolbar';\nexport type {FieldsSearchToolbarProps} from './FieldsSearchToolbar';\nexport {HistoryGroupHeader} from './HistoryGroupHeader';\nexport {EmptyContent} from './EmptyContent';\nexport type {EmptyContentProps, EmptyContentVariant} from './EmptyContent';\nexport {ClusterRow} from './ClusterRow';\nexport type {ClusterRowProps} from './ClusterRow';\nexport {NavigationItemRow} from './NavigationItemRow';\nexport type {NavigationItemRowProps} from './NavigationItemRow';\nexport {NavigationActionButtons} from './NavigationActionButtons';\nexport type {NavigationActionButtonsProps} from './NavigationActionButtons';\nexport {SkeletonRows} from './SkeletonRows';\nexport type {SkeletonRowsProps} from './SkeletonRows';\nexport {RowLink} from './RowLink';\nexport type {RowLinkProps} from './RowLink';\nexport {SearchRowLayout} from './SearchRowLayout';\nexport type {SearchRowLayoutProps} from './SearchRowLayout';\nexport {SearchWithButtons} from './SearchWithButtons';\nexport type {SearchWithButtonsProps} from './SearchWithButtons';\nexport {MonacoEditor} from './MonacoEditor';\nexport type {MonacoEditorConfig} from './MonacoEditor';\nexport {AddChartButton, DEFAULT_ADD_CHART_BUTTON_OPTIONS} from './AddChartButton';\nexport type {\n AddChartButtonOption,\n AddChartButtonProps,\n DefaultAddChartButtonValue,\n} from './AddChartButton';\nexport {ChartEditorForm} from './ChartEditorForm';\nexport type {\n ChartEditorFormProps,\n ChartEditorFormValues,\n ChartEditorLabels,\n ChartEditorOption,\n} from './ChartEditorForm';\nexport * from './Dashboard';\nexport {Chart} from './Chart';\nexport type {ChartAction, ChartProps} from './Chart';\nexport {ErrorTree} from './ErrorTree';\nexport {\n MonacoLanguage,\n YT_DARK_HC_MONACO_THEME,\n YT_DARK_MONACO_THEME,\n YT_LIGHT_HC_MONACO_THEME,\n YT_LIGHT_MONACO_THEME,\n MONACO_THEME_BY_UI,\n} from './MonacoEditor';\nexport type {MonacoThemeName} from './MonacoEditor';\nexport * from './AttachmentList';\nexport * from './AttachmentListPlaceholder';\nexport {QueryGraph} from './QueryGraph';\nexport type {QueryGraphProps} from './QueryGraph';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAAC,kBAAA,GAAAD,OAAA;AAEA,IAAAE,gBAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AAEA,IAAAK,YAAA,GAAAL,OAAA;AAEA,IAAAM,YAAA,GAAAN,OAAA;AAEA,IAAAO,WAAA,GAAAP,OAAA;AAEA,IAAAQ,cAAA,GAAAR,OAAA;AACA,IAAAS,mBAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAV,OAAA;AAEA,IAAAW,iBAAA,GAAAX,OAAA;AAEA,IAAAY,eAAA,GAAAZ,OAAA;AAEA,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AA,CAAAL,GAAA,MAAAW,eAAA,CAAAX,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,eAAA,CAAAX,GAAA;IAAA;EAAA;AAAA;AACA,IAAAY,0BAAA,GAAA1C,OAAA;AAAA2B,MAAA,CAAAC,IAAA,CAAAc,0BAAA,EAAAb,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAY,0BAAA,CAAAZ,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAI,0BAAA,CAAAZ,GAAA;IAAA;EAAA;AAAA;AACA,IAAAa,WAAA,GAAA3C,OAAA","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Column } from '../components';
|
|
1
|
+
import type { Column } from '../components/DataTable';
|
|
2
2
|
export declare function buildColumnsFromKeys<TRow extends Record<string, unknown>>(columns: string[], emptyText: string): Array<Column<TRow>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_isEmptyValue","require","buildColumnsFromKeys","columns","emptyText","map","column","name","header","render","_ref","row","value","isEmptyValue"],"sources":["buildColumnsFromKeys.ts"],"sourcesContent":["import type {ReactNode} from 'react';\nimport type {Column} from '../components';\nimport {isEmptyValue} from './isEmptyValue';\n\nexport function buildColumnsFromKeys<TRow extends Record<string, unknown>>(\n columns: string[],\n emptyText: string,\n): Array<Column<TRow>> {\n return columns.map((column) => ({\n name: column,\n header: column,\n render: ({row}) => {\n const value = row[column];\n return isEmptyValue(value) ? emptyText : (value as ReactNode);\n },\n }));\n}\n"],"mappings":";;;;;;;;;;AAEA,IAAAA,aAAA,GAAAC,OAAA;AAEO,SAASC,oBAAoBA,CAChCC,OAAiB,EACjBC,SAAiB,EACE;EACnB,OAAOD,OAAO,CAACE,GAAG,CAAC,UAACC,MAAM;IAAA,OAAM;MAC5BC,IAAI,EAAED,MAAM;MACZE,MAAM,EAAEF,MAAM;MACdG,MAAM,EAAE,SAARA,MAAMA,CAAAC,IAAA,EAAa;QAAA,IAATC,GAAG,GAAAD,IAAA,CAAHC,GAAG;QACT,IAAMC,KAAK,GAAGD,GAAG,CAACL,MAAM,CAAC;QACzB,OAAO,IAAAO,0BAAY,EAACD,KAAK,CAAC,GAAGR,SAAS,GAAIQ,KAAmB;MACjE;IACJ,CAAC;EAAA,CAAC,CAAC;AACP","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_isEmptyValue","require","buildColumnsFromKeys","columns","emptyText","map","column","name","header","render","_ref","row","value","isEmptyValue"],"sources":["buildColumnsFromKeys.ts"],"sourcesContent":["import type {ReactNode} from 'react';\nimport type {Column} from '../components/DataTable';\nimport {isEmptyValue} from './isEmptyValue';\n\nexport function buildColumnsFromKeys<TRow extends Record<string, unknown>>(\n columns: string[],\n emptyText: string,\n): Array<Column<TRow>> {\n return columns.map((column) => ({\n name: column,\n header: column,\n render: ({row}) => {\n const value = row[column];\n return isEmptyValue(value) ? emptyText : (value as ReactNode);\n },\n }));\n}\n"],"mappings":";;;;;;;;;;AAEA,IAAAA,aAAA,GAAAC,OAAA;AAEO,SAASC,oBAAoBA,CAChCC,OAAiB,EACjBC,SAAiB,EACE;EACnB,OAAOD,OAAO,CAACE,GAAG,CAAC,UAACC,MAAM;IAAA,OAAM;MAC5BC,IAAI,EAAED,MAAM;MACZE,MAAM,EAAEF,MAAM;MACdG,MAAM,EAAE,SAARA,MAAMA,CAAAC,IAAA,EAAa;QAAA,IAATC,GAAG,GAAAD,IAAA,CAAHC,GAAG;QACT,IAAMC,KAAK,GAAGD,GAAG,CAACL,MAAM,CAAC;QACzB,OAAO,IAAAO,0BAAY,EAACD,KAAK,CAAC,GAAGR,SAAS,GAAIQ,KAAmB;MACjE;IACJ,CAAC;EAAA,CAAC,CAAC;AACP","ignoreList":[]}
|
package/build/cjs/index.d.ts
CHANGED
package/build/cjs/index.js
CHANGED
|
@@ -124,4 +124,15 @@ Object.keys(_queryResults).forEach(function (key) {
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
|
+
var _queryGraph = require("./types/queryGraph");
|
|
128
|
+
Object.keys(_queryGraph).forEach(function (key) {
|
|
129
|
+
if (key === "default" || key === "__esModule") return;
|
|
130
|
+
if (key in exports && exports[key] === _queryGraph[key]) return;
|
|
131
|
+
Object.defineProperty(exports, key, {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () {
|
|
134
|
+
return _queryGraph[key];
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
});
|
|
127
138
|
// #sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_components","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_modules","_widgets","_queryList","_history","_tutorial","_navigation","_pathEditor","_errorTree","_queryStatistics","_queryResults"],"sources":["index.ts"],"sourcesContent":["export * from './components';\nexport * from './modules';\nexport * from './widgets';\nexport * from './types/queryList';\nexport * from './types/history';\nexport type {SavedQuery} from './types/savedQueries';\nexport * from './types/tutorial';\nexport * from './types/navigation';\nexport * from './types/pathEditor';\nexport * from './types/errorTree';\nexport * from './types/queryStatistics';\nexport * from './types/queryResults';\n"],"mappings":";;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,WAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,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,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAU,aAAA,CAAAd,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_components","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_modules","_widgets","_queryList","_history","_tutorial","_navigation","_pathEditor","_errorTree","_queryStatistics","_queryResults","_queryGraph"],"sources":["index.ts"],"sourcesContent":["export * from './components';\nexport * from './modules';\nexport * from './widgets';\nexport * from './types/queryList';\nexport * from './types/history';\nexport type {SavedQuery} from './types/savedQueries';\nexport * from './types/tutorial';\nexport * from './types/navigation';\nexport * from './types/pathEditor';\nexport * from './types/errorTree';\nexport * from './types/queryStatistics';\nexport * from './types/queryResults';\nexport * from './types/queryGraph';\n"],"mappings":";;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,WAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,WAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,WAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,QAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,QAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,QAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,QAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,QAAA,GAAAV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: column;
|
|
4
|
+
}
|
|
1
5
|
.qp-attachments__panel {
|
|
2
|
-
flex: 1;
|
|
6
|
+
flex: 1 1 0;
|
|
7
|
+
min-height: 0;
|
|
8
|
+
max-height: 100%;
|
|
9
|
+
overflow: hidden;
|
|
3
10
|
}
|
|
4
11
|
.qp-attachments__tab .g-tab__title {
|
|
5
12
|
display: flex;
|
|
@@ -8,5 +15,10 @@
|
|
|
8
15
|
.qp-attachments__tab-list {
|
|
9
16
|
padding-left: var(--g-spacing-4);
|
|
10
17
|
padding-right: var(--g-spacing-4);
|
|
18
|
+
flex-shrink: 0;
|
|
19
|
+
}
|
|
20
|
+
.qp-attachments__list {
|
|
21
|
+
min-height: 0;
|
|
22
|
+
overflow-y: auto;
|
|
11
23
|
}
|
|
12
24
|
/*# sourceMappingURL=Attachments.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Attachments.scss"],"names":[],"mappings":"AACI;EACI,
|
|
1
|
+
{"version":3,"sources":["Attachments.scss"],"names":[],"mappings":"AAAA;EACI,aAAA;EACA,sBAAA;AACJ;AACI;EACI,WAAA;EACA,aAAA;EACA,gBAAA;EACA,gBAAA;AACR;AAEI;EACI,aAAA;EACA,uBAAA;AAAR;AAGI;EACI,gCAAA;EACA,iCAAA;EACA,cAAA;AADR;AAII;EACI,aAAA;EACA,gBAAA;AAFR","file":"Attachments.css","sourcesContent":[".qp-attachments {\n display: flex;\n flex-direction: column;\n \n &__panel {\n flex: 1 1 0;\n min-height: 0;\n max-height: 100%;\n overflow: hidden;\n }\n\n &__tab .g-tab__title {\n display: flex;\n gap: var(--g-spacing-2)\n }\n\n &__tab-list {\n padding-left: var(--g-spacing-4);\n padding-right: var(--g-spacing-4);\n flex-shrink: 0;\n }\n\n &__list {\n min-height: 0;\n overflow-y: auto;\n }\n}"],"sourceRoot":""}
|
|
@@ -253,11 +253,10 @@ var Attachments = exports.Attachments = function Attachments(_ref) {
|
|
|
253
253
|
deletedAttachments: patchDeletedAttachList
|
|
254
254
|
});
|
|
255
255
|
};
|
|
256
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_uikit.
|
|
256
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_uikit.Box, {
|
|
257
257
|
className: block(),
|
|
258
|
-
direction: "column",
|
|
259
|
-
width: "100%",
|
|
260
258
|
height: "100%",
|
|
259
|
+
overflow: "hidden",
|
|
261
260
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_uikit.TabProvider, {
|
|
262
261
|
value: currentTab,
|
|
263
262
|
onUpdate: function onUpdate(tab) {
|
|
@@ -293,11 +292,12 @@ var Attachments = exports.Attachments = function Attachments(_ref) {
|
|
|
293
292
|
value: "Current",
|
|
294
293
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_uikit.Flex, {
|
|
295
294
|
spacing: {
|
|
296
|
-
|
|
295
|
+
py: 3
|
|
297
296
|
},
|
|
298
297
|
direction: "column",
|
|
299
298
|
width: "100%",
|
|
300
299
|
height: "100%",
|
|
300
|
+
gap: 3,
|
|
301
301
|
children: [attachList.length ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.AttachmentList, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, attachmentListProps), {}, {
|
|
302
302
|
attachments: attachList,
|
|
303
303
|
wasAddedIds: wasAddedIds,
|