@gravity-ui/querieskit 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/components/AttachmentList/AttachmentList.css +22 -0
- package/build/cjs/components/AttachmentList/AttachmentList.css.map +1 -0
- package/build/cjs/components/AttachmentList/AttachmentList.d.ts +17 -0
- package/build/cjs/components/AttachmentList/AttachmentList.js +75 -0
- package/build/cjs/components/AttachmentList/AttachmentList.js.map +1 -0
- package/build/cjs/components/AttachmentList/AttachmentList.stories.d.ts +93 -0
- package/build/cjs/components/AttachmentList/AttachmentList.stories.js +323 -0
- package/build/cjs/components/AttachmentList/AttachmentList.stories.js.map +1 -0
- package/build/cjs/components/AttachmentList/helpers/getIconByAttachmentName.d.ts +2 -0
- package/build/cjs/components/AttachmentList/helpers/getIconByAttachmentName.js +36 -0
- package/build/cjs/components/AttachmentList/helpers/getIconByAttachmentName.js.map +1 -0
- package/build/cjs/components/AttachmentList/helpers/objectLinkValidator.d.ts +11 -0
- package/build/cjs/components/AttachmentList/helpers/objectLinkValidator.js +30 -0
- package/build/cjs/components/AttachmentList/helpers/objectLinkValidator.js.map +1 -0
- package/build/cjs/components/AttachmentList/helpers/stringRequiredValidator.d.ts +2 -0
- package/build/cjs/components/AttachmentList/helpers/stringRequiredValidator.js +26 -0
- package/build/cjs/components/AttachmentList/helpers/stringRequiredValidator.js.map +1 -0
- package/build/cjs/components/AttachmentList/hooks/useKeyDownFormControl.d.ts +4 -0
- package/build/cjs/components/AttachmentList/hooks/useKeyDownFormControl.js +27 -0
- package/build/cjs/components/AttachmentList/hooks/useKeyDownFormControl.js.map +1 -0
- package/build/cjs/components/AttachmentList/hooks/useLabelRef.d.ts +4 -0
- package/build/cjs/components/AttachmentList/hooks/useLabelRef.js +35 -0
- package/build/cjs/components/AttachmentList/hooks/useLabelRef.js.map +1 -0
- package/build/cjs/components/AttachmentList/i18n/dicts.d.ts +23 -0
- package/build/cjs/components/AttachmentList/i18n/dicts.js +14 -0
- package/build/cjs/components/AttachmentList/i18n/dicts.js.map +1 -0
- package/build/cjs/components/AttachmentList/i18n/en.json +10 -0
- package/build/cjs/components/AttachmentList/i18n/index.d.ts +6 -0
- package/build/cjs/components/AttachmentList/i18n/index.js +11 -0
- package/build/cjs/components/AttachmentList/i18n/index.js.map +1 -0
- package/build/cjs/components/AttachmentList/i18n/ru.json +10 -0
- package/build/cjs/components/AttachmentList/index.d.ts +4 -0
- package/build/cjs/components/AttachmentList/index.js +40 -0
- package/build/cjs/components/AttachmentList/index.js.map +1 -0
- package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.css +18 -0
- package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.css.map +1 -0
- package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.d.ts +16 -0
- package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.js +106 -0
- package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.js.map +1 -0
- package/build/cjs/components/AttachmentList/internal/AttachmentItem/index.d.ts +2 -0
- package/build/cjs/components/AttachmentList/internal/AttachmentItem/index.js +13 -0
- package/build/cjs/components/AttachmentList/internal/AttachmentItem/index.js.map +1 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.d.ts +9 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.js +22 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.js.map +1 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.css +17 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.css.map +1 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.d.ts +24 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.js +175 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.js.map +1 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/FileEdit.d.ts +12 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/FileEdit.js +91 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/FileEdit.js.map +1 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/index.d.ts +4 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/index.js +13 -0
- package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/index.js.map +1 -0
- package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.css +4 -0
- package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.css.map +1 -0
- package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.d.ts +13 -0
- package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.js +75 -0
- package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.js.map +1 -0
- package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.d.ts +29 -0
- package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.js +36 -0
- package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.js.map +1 -0
- package/build/cjs/components/AttachmentListPlaceholder/i18n/dicts.d.ts +17 -0
- package/build/cjs/components/AttachmentListPlaceholder/i18n/dicts.js +14 -0
- package/build/cjs/components/AttachmentListPlaceholder/i18n/dicts.js.map +1 -0
- package/build/cjs/components/AttachmentListPlaceholder/i18n/en.json +7 -0
- package/build/cjs/components/AttachmentListPlaceholder/i18n/index.d.ts +6 -0
- package/build/cjs/components/AttachmentListPlaceholder/i18n/index.js +11 -0
- package/build/cjs/components/AttachmentListPlaceholder/i18n/index.js.map +1 -0
- package/build/cjs/components/AttachmentListPlaceholder/i18n/ru.json +7 -0
- package/build/cjs/components/AttachmentListPlaceholder/index.d.ts +2 -0
- package/build/cjs/components/AttachmentListPlaceholder/index.js +13 -0
- package/build/cjs/components/AttachmentListPlaceholder/index.js.map +1 -0
- package/build/cjs/components/DataTable/DataTable.css +0 -7
- package/build/cjs/components/DataTable/DataTable.css.map +1 -1
- package/build/cjs/components/DataTable/DataTable.js +12 -5
- package/build/cjs/components/DataTable/DataTable.js.map +1 -1
- package/build/cjs/components/ErrorTree/ErrorTree.d.ts +3 -0
- package/build/cjs/components/ErrorTree/ErrorTree.js +35 -0
- package/build/cjs/components/ErrorTree/ErrorTree.js.map +1 -0
- package/build/cjs/components/ErrorTree/ErrorTree.stories.d.ts +8 -0
- package/build/cjs/components/ErrorTree/ErrorTree.stories.js +101 -0
- package/build/cjs/components/ErrorTree/ErrorTree.stories.js.map +1 -0
- package/build/cjs/components/ErrorTree/helpers/formatAttributes.d.ts +2 -0
- package/build/cjs/components/ErrorTree/helpers/formatAttributes.js +16 -0
- package/build/cjs/components/ErrorTree/helpers/formatAttributes.js.map +1 -0
- package/build/cjs/components/ErrorTree/helpers/getIntermediateChain.d.ts +6 -0
- package/build/cjs/components/ErrorTree/helpers/getIntermediateChain.js +22 -0
- package/build/cjs/components/ErrorTree/helpers/getIntermediateChain.js.map +1 -0
- package/build/cjs/components/ErrorTree/i18n/dicts.d.ts +27 -0
- package/build/cjs/components/ErrorTree/i18n/dicts.js +14 -0
- package/build/cjs/components/ErrorTree/i18n/dicts.js.map +1 -0
- package/build/cjs/components/ErrorTree/i18n/en.json +11 -0
- package/build/cjs/components/ErrorTree/i18n/index.d.ts +6 -0
- package/build/cjs/components/ErrorTree/i18n/index.js +11 -0
- package/build/cjs/components/ErrorTree/i18n/index.js.map +1 -0
- package/build/cjs/components/ErrorTree/i18n/ru.json +13 -0
- package/build/cjs/components/ErrorTree/index.d.ts +1 -0
- package/build/cjs/components/ErrorTree/index.js +13 -0
- package/build/cjs/components/ErrorTree/index.js.map +1 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.css +4 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.css.map +1 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.d.ts +10 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.js +32 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.js.map +1 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.css +80 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.css.map +1 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.d.ts +13 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.js +274 -0
- package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.js.map +1 -0
- package/build/cjs/components/ErrorTree/internal/IntermediateMessages.css +10 -0
- package/build/cjs/components/ErrorTree/internal/IntermediateMessages.css.map +1 -0
- package/build/cjs/components/ErrorTree/internal/IntermediateMessages.d.ts +9 -0
- package/build/cjs/components/ErrorTree/internal/IntermediateMessages.js +118 -0
- package/build/cjs/components/ErrorTree/internal/IntermediateMessages.js.map +1 -0
- package/build/cjs/components/Icons/LogoCPlusPlus.d.ts +2 -0
- package/build/cjs/components/Icons/LogoCPlusPlus.js +35 -0
- package/build/cjs/components/Icons/LogoCPlusPlus.js.map +1 -0
- package/build/cjs/components/Icons/index.d.ts +1 -0
- package/build/cjs/components/Icons/index.js +13 -0
- package/build/cjs/components/Icons/index.js.map +1 -0
- package/build/cjs/components/QueryResultsTable/QueryResultsTable.css +53 -0
- package/build/cjs/components/QueryResultsTable/QueryResultsTable.css.map +1 -0
- package/build/cjs/components/QueryResultsTable/QueryResultsTable.d.ts +24 -0
- package/build/cjs/components/QueryResultsTable/QueryResultsTable.js +104 -0
- package/build/cjs/components/QueryResultsTable/QueryResultsTable.js.map +1 -0
- package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultType.d.ts +3 -0
- package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultType.js +90 -0
- package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultType.js.map +1 -0
- package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultValue.d.ts +11 -0
- package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultValue.js +40 -0
- package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultValue.js.map +1 -0
- package/build/cjs/components/QueryResultsTable/i18n/dicts.d.ts +13 -0
- package/build/cjs/components/QueryResultsTable/i18n/dicts.js +14 -0
- package/build/cjs/components/QueryResultsTable/i18n/dicts.js.map +1 -0
- package/build/cjs/components/QueryResultsTable/i18n/en.json +5 -0
- package/build/cjs/components/QueryResultsTable/i18n/index.d.ts +6 -0
- package/build/cjs/components/QueryResultsTable/i18n/index.js +11 -0
- package/build/cjs/components/QueryResultsTable/i18n/index.js.map +1 -0
- package/build/cjs/components/QueryResultsTable/i18n/ru.json +5 -0
- package/build/cjs/components/QueryResultsTable/index.d.ts +3 -0
- package/build/cjs/components/QueryResultsTable/index.js +20 -0
- package/build/cjs/components/QueryResultsTable/index.js.map +1 -0
- package/build/cjs/components/QueryResultsTable/internal/QueryResultCell.d.ts +11 -0
- package/build/cjs/components/QueryResultsTable/internal/QueryResultCell.js +79 -0
- package/build/cjs/components/QueryResultsTable/internal/QueryResultCell.js.map +1 -0
- package/build/cjs/components/index.d.ts +5 -0
- package/build/cjs/components/index.js +48 -1
- package/build/cjs/components/index.js.map +1 -1
- package/build/cjs/helpers/createUuid.d.ts +1 -0
- package/build/cjs/helpers/createUuid.js +12 -0
- package/build/cjs/helpers/createUuid.js.map +1 -0
- package/build/cjs/helpers/isObjectEqual.d.ts +1 -0
- package/build/cjs/helpers/isObjectEqual.js +30 -0
- package/build/cjs/helpers/isObjectEqual.js.map +1 -0
- package/build/cjs/helpers/useDebouncedValue.d.ts +2 -0
- package/build/cjs/helpers/useDebouncedValue.js +27 -0
- package/build/cjs/helpers/useDebouncedValue.js.map +1 -0
- package/build/cjs/index.d.ts +3 -0
- package/build/cjs/index.js +33 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/modules/Attachments/Attachments.css +8 -0
- package/build/cjs/modules/Attachments/Attachments.css.map +1 -0
- package/build/cjs/modules/Attachments/Attachments.d.ts +22 -0
- package/build/cjs/modules/Attachments/Attachments.js +381 -0
- package/build/cjs/modules/Attachments/Attachments.js.map +1 -0
- package/build/cjs/modules/Attachments/Attachments.stories.d.ts +41 -0
- package/build/cjs/modules/Attachments/Attachments.stories.js +123 -0
- package/build/cjs/modules/Attachments/Attachments.stories.js.map +1 -0
- package/build/cjs/modules/Attachments/i18n/dicts.d.ts +13 -0
- package/build/cjs/modules/Attachments/i18n/dicts.js +14 -0
- package/build/cjs/modules/Attachments/i18n/dicts.js.map +1 -0
- package/build/cjs/modules/Attachments/i18n/en.json +5 -0
- package/build/cjs/modules/Attachments/i18n/index.d.ts +6 -0
- package/build/cjs/modules/Attachments/i18n/index.js +11 -0
- package/build/cjs/modules/Attachments/i18n/index.js.map +1 -0
- package/build/cjs/modules/Attachments/i18n/ru.json +5 -0
- package/build/cjs/modules/Attachments/index.d.ts +2 -0
- package/build/cjs/modules/Attachments/index.js +13 -0
- package/build/cjs/modules/Attachments/index.js.map +1 -0
- package/build/cjs/modules/HistoryLayout/HistoryLayout.d.ts +1 -1
- package/build/cjs/modules/HistoryLayout/HistoryLayout.js +1 -1
- package/build/cjs/modules/HistoryLayout/HistoryLayout.js.map +1 -1
- package/build/cjs/modules/NavigationPreview/NavigationPreview.css +7 -1
- package/build/cjs/modules/NavigationPreview/NavigationPreview.css.map +1 -1
- package/build/cjs/modules/NavigationPreview/NavigationPreview.d.ts +2 -2
- package/build/cjs/modules/NavigationPreview/NavigationPreview.js +37 -7
- package/build/cjs/modules/NavigationPreview/NavigationPreview.js.map +1 -1
- package/build/cjs/modules/NavigationPreview/story/NavigationPreview.stories.d.ts +1 -0
- package/build/cjs/modules/NavigationPreview/story/NavigationPreview.stories.js +25 -1
- package/build/cjs/modules/NavigationPreview/story/NavigationPreview.stories.js.map +1 -1
- package/build/cjs/modules/NavigationPreview/story/mockData.d.ts +2 -2
- package/build/cjs/modules/NavigationPreview/story/mockData.js +16 -4
- package/build/cjs/modules/NavigationPreview/story/mockData.js.map +1 -1
- package/build/cjs/modules/QueryStatistics/QueryStatistics.css +4 -0
- package/build/cjs/modules/QueryStatistics/QueryStatistics.css.map +1 -0
- package/build/cjs/modules/QueryStatistics/QueryStatistics.d.ts +4 -0
- package/build/cjs/modules/QueryStatistics/QueryStatistics.js +151 -0
- package/build/cjs/modules/QueryStatistics/QueryStatistics.js.map +1 -0
- package/build/cjs/modules/QueryStatistics/helpers.d.ts +15 -0
- package/build/cjs/modules/QueryStatistics/helpers.js +118 -0
- package/build/cjs/modules/QueryStatistics/helpers.js.map +1 -0
- package/build/cjs/modules/QueryStatistics/i18n/dicts.d.ts +35 -0
- package/build/cjs/modules/QueryStatistics/i18n/dicts.js +14 -0
- package/build/cjs/modules/QueryStatistics/i18n/dicts.js.map +1 -0
- package/build/cjs/modules/QueryStatistics/i18n/en.json +16 -0
- package/build/cjs/modules/QueryStatistics/i18n/index.d.ts +6 -0
- package/build/cjs/modules/QueryStatistics/i18n/index.js +11 -0
- package/build/cjs/modules/QueryStatistics/i18n/index.js.map +1 -0
- package/build/cjs/modules/QueryStatistics/i18n/ru.json +16 -0
- package/build/cjs/modules/QueryStatistics/index.d.ts +2 -0
- package/build/cjs/modules/QueryStatistics/index.js +13 -0
- package/build/cjs/modules/QueryStatistics/index.js.map +1 -0
- package/build/cjs/modules/QueryStatistics/internal/MetricCell.css +36 -0
- package/build/cjs/modules/QueryStatistics/internal/MetricCell.css.map +1 -0
- package/build/cjs/modules/QueryStatistics/internal/MetricCell.d.ts +9 -0
- package/build/cjs/modules/QueryStatistics/internal/MetricCell.js +121 -0
- package/build/cjs/modules/QueryStatistics/internal/MetricCell.js.map +1 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.css +21 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.css.map +1 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.d.ts +20 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.js +140 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.js.map +1 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.css +5 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.css.map +1 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.d.ts +10 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.js +55 -0
- package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.js.map +1 -0
- package/build/cjs/modules/QueryStatistics/story/QueryStatistics.stories.d.ts +8 -0
- package/build/cjs/modules/QueryStatistics/story/QueryStatistics.stories.js +112 -0
- package/build/cjs/modules/QueryStatistics/story/QueryStatistics.stories.js.map +1 -0
- package/build/cjs/modules/RowsList/RowsList.css +4 -0
- package/build/cjs/modules/RowsList/RowsList.css.map +1 -1
- package/build/cjs/modules/index.d.ts +3 -0
- package/build/cjs/modules/index.js +20 -0
- package/build/cjs/modules/index.js.map +1 -1
- package/build/cjs/types/declarations.d.ts +10 -0
- package/build/cjs/types/errorTree.d.ts +23 -0
- package/build/cjs/types/errorTree.js +6 -0
- package/build/cjs/types/errorTree.js.map +1 -0
- package/build/cjs/types/navigation.d.ts +8 -1
- package/build/cjs/types/navigation.js.map +1 -1
- package/build/cjs/types/queryList.d.ts +1 -1
- package/build/cjs/types/queryList.js.map +1 -1
- package/build/cjs/types/queryResults.d.ts +34 -0
- package/build/cjs/types/queryResults.js +6 -0
- package/build/cjs/types/queryResults.js.map +1 -0
- package/build/cjs/types/queryStatistics.d.ts +54 -0
- package/build/cjs/types/queryStatistics.js +6 -0
- package/build/cjs/types/queryStatistics.js.map +1 -0
- package/build/cjs/widgets/QueriesHistory/QueriesHistory.js +1 -2
- package/build/cjs/widgets/QueriesHistory/QueriesHistory.js.map +1 -1
- package/build/cjs/widgets/QueriesHistory/QueriesHistory.stories.d.ts +1 -0
- package/build/cjs/widgets/QueriesHistory/QueriesHistory.stories.js +82 -1
- package/build/cjs/widgets/QueriesHistory/QueriesHistory.stories.js.map +1 -1
- package/build/cjs/widgets/QueriesNavigation/QueriesNavigation.stories.js +40 -35
- package/build/cjs/widgets/QueriesNavigation/QueriesNavigation.stories.js.map +1 -1
- package/build/cjs/widgets/QueriesNavigation/i18n/index.d.ts +2 -2
- package/build/cjs/widgets/QueryResults/QueryResults.css +19 -0
- package/build/cjs/widgets/QueryResults/QueryResults.css.map +1 -0
- package/build/cjs/widgets/QueryResults/QueryResults.d.ts +23 -0
- package/build/cjs/widgets/QueryResults/QueryResults.js +119 -0
- package/build/cjs/widgets/QueryResults/QueryResults.js.map +1 -0
- package/build/cjs/widgets/QueryResults/QueryResults.stories.d.ts +19 -0
- package/build/cjs/widgets/QueryResults/QueryResults.stories.js +199 -0
- package/build/cjs/widgets/QueryResults/QueryResults.stories.js.map +1 -0
- package/build/cjs/widgets/QueryResults/i18n/dicts.d.ts +25 -0
- package/build/cjs/widgets/QueryResults/i18n/dicts.js +14 -0
- package/build/cjs/widgets/QueryResults/i18n/dicts.js.map +1 -0
- package/build/cjs/widgets/QueryResults/i18n/en.json +10 -0
- package/build/cjs/widgets/QueryResults/i18n/index.d.ts +6 -0
- package/build/cjs/widgets/QueryResults/i18n/index.js +11 -0
- package/build/cjs/widgets/QueryResults/i18n/index.js.map +1 -0
- package/build/cjs/widgets/QueryResults/i18n/ru.json +12 -0
- package/build/cjs/widgets/QueryResults/index.d.ts +2 -0
- package/build/cjs/widgets/QueryResults/index.js +13 -0
- package/build/cjs/widgets/QueryResults/index.js.map +1 -0
- package/build/cjs/widgets/QueryResults/internal/QueryResultsSchema.d.ts +7 -0
- package/build/cjs/widgets/QueryResults/internal/QueryResultsSchema.js +49 -0
- package/build/cjs/widgets/QueryResults/internal/QueryResultsSchema.js.map +1 -0
- package/build/cjs/widgets/SavedQueries/SavedQueries.stories.js.map +1 -1
- package/build/cjs/widgets/index.d.ts +2 -0
- package/build/cjs/widgets/index.js +7 -0
- package/build/cjs/widgets/index.js.map +1 -1
- package/build/esm/components/AttachmentList/AttachmentList.css +22 -0
- package/build/esm/components/AttachmentList/AttachmentList.css.map +1 -0
- package/build/esm/components/AttachmentList/AttachmentList.d.ts +17 -0
- package/build/esm/components/AttachmentList/AttachmentList.js +67 -0
- package/build/esm/components/AttachmentList/AttachmentList.js.map +1 -0
- package/build/esm/components/AttachmentList/AttachmentList.scss +25 -0
- package/build/esm/components/AttachmentList/AttachmentList.stories.d.ts +93 -0
- package/build/esm/components/AttachmentList/AttachmentList.stories.js +315 -0
- package/build/esm/components/AttachmentList/AttachmentList.stories.js.map +1 -0
- package/build/esm/components/AttachmentList/helpers/getIconByAttachmentName.d.ts +2 -0
- package/build/esm/components/AttachmentList/helpers/getIconByAttachmentName.js +30 -0
- package/build/esm/components/AttachmentList/helpers/getIconByAttachmentName.js.map +1 -0
- package/build/esm/components/AttachmentList/helpers/objectLinkValidator.d.ts +11 -0
- package/build/esm/components/AttachmentList/helpers/objectLinkValidator.js +24 -0
- package/build/esm/components/AttachmentList/helpers/objectLinkValidator.js.map +1 -0
- package/build/esm/components/AttachmentList/helpers/stringRequiredValidator.d.ts +2 -0
- package/build/esm/components/AttachmentList/helpers/stringRequiredValidator.js +19 -0
- package/build/esm/components/AttachmentList/helpers/stringRequiredValidator.js.map +1 -0
- package/build/esm/components/AttachmentList/hooks/useKeyDownFormControl.d.ts +4 -0
- package/build/esm/components/AttachmentList/hooks/useKeyDownFormControl.js +21 -0
- package/build/esm/components/AttachmentList/hooks/useKeyDownFormControl.js.map +1 -0
- package/build/esm/components/AttachmentList/hooks/useLabelRef.d.ts +4 -0
- package/build/esm/components/AttachmentList/hooks/useLabelRef.js +28 -0
- package/build/esm/components/AttachmentList/hooks/useLabelRef.js.map +1 -0
- package/build/esm/components/AttachmentList/i18n/dicts.d.ts +23 -0
- package/build/esm/components/AttachmentList/i18n/dicts.js +7 -0
- package/build/esm/components/AttachmentList/i18n/dicts.js.map +1 -0
- package/build/esm/components/AttachmentList/i18n/en.json +10 -0
- package/build/esm/components/AttachmentList/i18n/index.d.ts +6 -0
- package/build/esm/components/AttachmentList/i18n/index.js +4 -0
- package/build/esm/components/AttachmentList/i18n/index.js.map +1 -0
- package/build/esm/components/AttachmentList/i18n/ru.json +10 -0
- package/build/esm/components/AttachmentList/index.d.ts +4 -0
- package/build/esm/components/AttachmentList/index.js +4 -0
- package/build/esm/components/AttachmentList/index.js.map +1 -0
- package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.css +18 -0
- package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.css.map +1 -0
- package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.d.ts +16 -0
- package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.js +98 -0
- package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.js.map +1 -0
- package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.scss +23 -0
- package/build/esm/components/AttachmentList/internal/AttachmentItem/index.d.ts +2 -0
- package/build/esm/components/AttachmentList/internal/AttachmentItem/index.js +2 -0
- package/build/esm/components/AttachmentList/internal/AttachmentItem/index.js.map +1 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.d.ts +9 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.js +15 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.js.map +1 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.css +17 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.css.map +1 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.d.ts +24 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.js +167 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.js.map +1 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.scss +21 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/FileEdit.d.ts +12 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/FileEdit.js +83 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/FileEdit.js.map +1 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/index.d.ts +4 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/index.js +2 -0
- package/build/esm/components/AttachmentList/internal/EditAttachmentItem/index.js.map +1 -0
- package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.css +4 -0
- package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.css.map +1 -0
- package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.d.ts +13 -0
- package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.js +68 -0
- package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.js.map +1 -0
- package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.scss +5 -0
- package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.d.ts +29 -0
- package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.js +29 -0
- package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.js.map +1 -0
- package/build/esm/components/AttachmentListPlaceholder/i18n/dicts.d.ts +17 -0
- package/build/esm/components/AttachmentListPlaceholder/i18n/dicts.js +7 -0
- package/build/esm/components/AttachmentListPlaceholder/i18n/dicts.js.map +1 -0
- package/build/esm/components/AttachmentListPlaceholder/i18n/en.json +7 -0
- package/build/esm/components/AttachmentListPlaceholder/i18n/index.d.ts +6 -0
- package/build/esm/components/AttachmentListPlaceholder/i18n/index.js +4 -0
- package/build/esm/components/AttachmentListPlaceholder/i18n/index.js.map +1 -0
- package/build/esm/components/AttachmentListPlaceholder/i18n/ru.json +7 -0
- package/build/esm/components/AttachmentListPlaceholder/index.d.ts +2 -0
- package/build/esm/components/AttachmentListPlaceholder/index.js +2 -0
- package/build/esm/components/AttachmentListPlaceholder/index.js.map +1 -0
- package/build/esm/components/DataTable/DataTable.css +0 -7
- package/build/esm/components/DataTable/DataTable.css.map +1 -1
- package/build/esm/components/DataTable/DataTable.js +12 -5
- package/build/esm/components/DataTable/DataTable.js.map +1 -1
- package/build/esm/components/DataTable/DataTable.scss +18 -26
- package/build/esm/components/ErrorTree/ErrorTree.d.ts +3 -0
- package/build/esm/components/ErrorTree/ErrorTree.js +28 -0
- package/build/esm/components/ErrorTree/ErrorTree.js.map +1 -0
- package/build/esm/components/ErrorTree/ErrorTree.stories.d.ts +8 -0
- package/build/esm/components/ErrorTree/ErrorTree.stories.js +94 -0
- package/build/esm/components/ErrorTree/ErrorTree.stories.js.map +1 -0
- package/build/esm/components/ErrorTree/helpers/formatAttributes.d.ts +2 -0
- package/build/esm/components/ErrorTree/helpers/formatAttributes.js +10 -0
- package/build/esm/components/ErrorTree/helpers/formatAttributes.js.map +1 -0
- package/build/esm/components/ErrorTree/helpers/getIntermediateChain.d.ts +6 -0
- package/build/esm/components/ErrorTree/helpers/getIntermediateChain.js +16 -0
- package/build/esm/components/ErrorTree/helpers/getIntermediateChain.js.map +1 -0
- package/build/esm/components/ErrorTree/i18n/dicts.d.ts +27 -0
- package/build/esm/components/ErrorTree/i18n/dicts.js +7 -0
- package/build/esm/components/ErrorTree/i18n/dicts.js.map +1 -0
- package/build/esm/components/ErrorTree/i18n/en.json +11 -0
- package/build/esm/components/ErrorTree/i18n/index.d.ts +6 -0
- package/build/esm/components/ErrorTree/i18n/index.js +4 -0
- package/build/esm/components/ErrorTree/i18n/index.js.map +1 -0
- package/build/esm/components/ErrorTree/i18n/ru.json +13 -0
- package/build/esm/components/ErrorTree/index.d.ts +1 -0
- package/build/esm/components/ErrorTree/index.js +2 -0
- package/build/esm/components/ErrorTree/index.js.map +1 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.css +4 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.css.map +1 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.d.ts +10 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.js +25 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.js.map +1 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.scss +5 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeNode.css +80 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeNode.css.map +1 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeNode.d.ts +13 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeNode.js +266 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeNode.js.map +1 -0
- package/build/esm/components/ErrorTree/internal/ErrorTreeNode.scss +95 -0
- package/build/esm/components/ErrorTree/internal/IntermediateMessages.css +10 -0
- package/build/esm/components/ErrorTree/internal/IntermediateMessages.css.map +1 -0
- package/build/esm/components/ErrorTree/internal/IntermediateMessages.d.ts +9 -0
- package/build/esm/components/ErrorTree/internal/IntermediateMessages.js +110 -0
- package/build/esm/components/ErrorTree/internal/IntermediateMessages.js.map +1 -0
- package/build/esm/components/ErrorTree/internal/IntermediateMessages.scss +13 -0
- package/build/esm/components/Icons/LogoCPlusPlus.d.ts +2 -0
- package/build/esm/components/Icons/LogoCPlusPlus.js +28 -0
- package/build/esm/components/Icons/LogoCPlusPlus.js.map +1 -0
- package/build/esm/components/Icons/index.d.ts +1 -0
- package/build/esm/components/Icons/index.js +2 -0
- package/build/esm/components/Icons/index.js.map +1 -0
- package/build/esm/components/QueryResultsTable/QueryResultsTable.css +53 -0
- package/build/esm/components/QueryResultsTable/QueryResultsTable.css.map +1 -0
- package/build/esm/components/QueryResultsTable/QueryResultsTable.d.ts +24 -0
- package/build/esm/components/QueryResultsTable/QueryResultsTable.js +96 -0
- package/build/esm/components/QueryResultsTable/QueryResultsTable.js.map +1 -0
- package/build/esm/components/QueryResultsTable/QueryResultsTable.scss +65 -0
- package/build/esm/components/QueryResultsTable/helpers/formatQueryResultType.d.ts +3 -0
- package/build/esm/components/QueryResultsTable/helpers/formatQueryResultType.js +82 -0
- package/build/esm/components/QueryResultsTable/helpers/formatQueryResultType.js.map +1 -0
- package/build/esm/components/QueryResultsTable/helpers/formatQueryResultValue.d.ts +11 -0
- package/build/esm/components/QueryResultsTable/helpers/formatQueryResultValue.js +33 -0
- package/build/esm/components/QueryResultsTable/helpers/formatQueryResultValue.js.map +1 -0
- package/build/esm/components/QueryResultsTable/i18n/dicts.d.ts +13 -0
- package/build/esm/components/QueryResultsTable/i18n/dicts.js +7 -0
- package/build/esm/components/QueryResultsTable/i18n/dicts.js.map +1 -0
- package/build/esm/components/QueryResultsTable/i18n/en.json +5 -0
- package/build/esm/components/QueryResultsTable/i18n/index.d.ts +6 -0
- package/build/esm/components/QueryResultsTable/i18n/index.js +4 -0
- package/build/esm/components/QueryResultsTable/i18n/index.js.map +1 -0
- package/build/esm/components/QueryResultsTable/i18n/ru.json +5 -0
- package/build/esm/components/QueryResultsTable/index.d.ts +3 -0
- package/build/esm/components/QueryResultsTable/index.js +3 -0
- package/build/esm/components/QueryResultsTable/index.js.map +1 -0
- package/build/esm/components/QueryResultsTable/internal/QueryResultCell.d.ts +11 -0
- package/build/esm/components/QueryResultsTable/internal/QueryResultCell.js +71 -0
- package/build/esm/components/QueryResultsTable/internal/QueryResultCell.js.map +1 -0
- package/build/esm/components/index.d.ts +5 -0
- package/build/esm/components/index.js +4 -0
- package/build/esm/components/index.js.map +1 -1
- package/build/esm/helpers/createUuid.d.ts +1 -0
- package/build/esm/helpers/createUuid.js +6 -0
- package/build/esm/helpers/createUuid.js.map +1 -0
- package/build/esm/helpers/isObjectEqual.d.ts +1 -0
- package/build/esm/helpers/isObjectEqual.js +23 -0
- package/build/esm/helpers/isObjectEqual.js.map +1 -0
- package/build/esm/helpers/useDebouncedValue.d.ts +2 -0
- package/build/esm/helpers/useDebouncedValue.js +21 -0
- package/build/esm/helpers/useDebouncedValue.js.map +1 -0
- package/build/esm/index.d.ts +3 -0
- package/build/esm/index.js +3 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/modules/Attachments/Attachments.css +8 -0
- package/build/esm/modules/Attachments/Attachments.css.map +1 -0
- package/build/esm/modules/Attachments/Attachments.d.ts +22 -0
- package/build/esm/modules/Attachments/Attachments.js +373 -0
- package/build/esm/modules/Attachments/Attachments.js.map +1 -0
- package/build/esm/modules/Attachments/Attachments.scss +10 -0
- package/build/esm/modules/Attachments/Attachments.stories.d.ts +41 -0
- package/build/esm/modules/Attachments/Attachments.stories.js +115 -0
- package/build/esm/modules/Attachments/Attachments.stories.js.map +1 -0
- package/build/esm/modules/Attachments/i18n/dicts.d.ts +13 -0
- package/build/esm/modules/Attachments/i18n/dicts.js +7 -0
- package/build/esm/modules/Attachments/i18n/dicts.js.map +1 -0
- package/build/esm/modules/Attachments/i18n/en.json +5 -0
- package/build/esm/modules/Attachments/i18n/index.d.ts +6 -0
- package/build/esm/modules/Attachments/i18n/index.js +4 -0
- package/build/esm/modules/Attachments/i18n/index.js.map +1 -0
- package/build/esm/modules/Attachments/i18n/ru.json +5 -0
- package/build/esm/modules/Attachments/index.d.ts +2 -0
- package/build/esm/modules/Attachments/index.js +2 -0
- package/build/esm/modules/Attachments/index.js.map +1 -0
- package/build/esm/modules/HistoryLayout/HistoryLayout.d.ts +1 -1
- package/build/esm/modules/HistoryLayout/HistoryLayout.js +1 -1
- package/build/esm/modules/HistoryLayout/HistoryLayout.js.map +1 -1
- package/build/esm/modules/NavigationPreview/NavigationPreview.css +7 -1
- package/build/esm/modules/NavigationPreview/NavigationPreview.css.map +1 -1
- package/build/esm/modules/NavigationPreview/NavigationPreview.d.ts +2 -2
- package/build/esm/modules/NavigationPreview/NavigationPreview.js +38 -8
- package/build/esm/modules/NavigationPreview/NavigationPreview.js.map +1 -1
- package/build/esm/modules/NavigationPreview/NavigationPreview.scss +25 -17
- package/build/esm/modules/NavigationPreview/story/NavigationPreview.stories.d.ts +1 -0
- package/build/esm/modules/NavigationPreview/story/NavigationPreview.stories.js +24 -0
- package/build/esm/modules/NavigationPreview/story/NavigationPreview.stories.js.map +1 -1
- package/build/esm/modules/NavigationPreview/story/mockData.d.ts +2 -2
- package/build/esm/modules/NavigationPreview/story/mockData.js +16 -4
- package/build/esm/modules/NavigationPreview/story/mockData.js.map +1 -1
- package/build/esm/modules/QueryStatistics/QueryStatistics.css +4 -0
- package/build/esm/modules/QueryStatistics/QueryStatistics.css.map +1 -0
- package/build/esm/modules/QueryStatistics/QueryStatistics.d.ts +4 -0
- package/build/esm/modules/QueryStatistics/QueryStatistics.js +143 -0
- package/build/esm/modules/QueryStatistics/QueryStatistics.js.map +1 -0
- package/build/esm/modules/QueryStatistics/QueryStatistics.scss +3 -0
- package/build/esm/modules/QueryStatistics/helpers.d.ts +15 -0
- package/build/esm/modules/QueryStatistics/helpers.js +106 -0
- package/build/esm/modules/QueryStatistics/helpers.js.map +1 -0
- package/build/esm/modules/QueryStatistics/i18n/dicts.d.ts +35 -0
- package/build/esm/modules/QueryStatistics/i18n/dicts.js +7 -0
- package/build/esm/modules/QueryStatistics/i18n/dicts.js.map +1 -0
- package/build/esm/modules/QueryStatistics/i18n/en.json +16 -0
- package/build/esm/modules/QueryStatistics/i18n/index.d.ts +6 -0
- package/build/esm/modules/QueryStatistics/i18n/index.js +4 -0
- package/build/esm/modules/QueryStatistics/i18n/index.js.map +1 -0
- package/build/esm/modules/QueryStatistics/i18n/ru.json +16 -0
- package/build/esm/modules/QueryStatistics/index.d.ts +2 -0
- package/build/esm/modules/QueryStatistics/index.js +2 -0
- package/build/esm/modules/QueryStatistics/index.js.map +1 -0
- package/build/esm/modules/QueryStatistics/internal/MetricCell.css +36 -0
- package/build/esm/modules/QueryStatistics/internal/MetricCell.css.map +1 -0
- package/build/esm/modules/QueryStatistics/internal/MetricCell.d.ts +9 -0
- package/build/esm/modules/QueryStatistics/internal/MetricCell.js +114 -0
- package/build/esm/modules/QueryStatistics/internal/MetricCell.js.map +1 -0
- package/build/esm/modules/QueryStatistics/internal/MetricCell.scss +12 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.css +21 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.css.map +1 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.d.ts +20 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.js +132 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.js.map +1 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.scss +8 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.css +5 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.css.map +1 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.d.ts +10 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.js +48 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.js.map +1 -0
- package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.scss +1 -0
- package/build/esm/modules/QueryStatistics/story/QueryStatistics.stories.d.ts +8 -0
- package/build/esm/modules/QueryStatistics/story/QueryStatistics.stories.js +105 -0
- package/build/esm/modules/QueryStatistics/story/QueryStatistics.stories.js.map +1 -0
- package/build/esm/modules/RowsList/RowsList.css +4 -0
- package/build/esm/modules/RowsList/RowsList.css.map +1 -1
- package/build/esm/modules/RowsList/RowsList.scss +3 -0
- package/build/esm/modules/index.d.ts +3 -0
- package/build/esm/modules/index.js +2 -0
- package/build/esm/modules/index.js.map +1 -1
- package/build/esm/types/declarations.d.ts +10 -0
- package/build/esm/types/errorTree.d.ts +23 -0
- package/build/esm/types/errorTree.js +2 -0
- package/build/esm/types/errorTree.js.map +1 -0
- package/build/esm/types/navigation.d.ts +8 -1
- package/build/esm/types/navigation.js.map +1 -1
- package/build/esm/types/queryList.d.ts +1 -1
- package/build/esm/types/queryList.js.map +1 -1
- package/build/esm/types/queryResults.d.ts +34 -0
- package/build/esm/types/queryResults.js +2 -0
- package/build/esm/types/queryResults.js.map +1 -0
- package/build/esm/types/queryStatistics.d.ts +54 -0
- package/build/esm/types/queryStatistics.js +2 -0
- package/build/esm/types/queryStatistics.js.map +1 -0
- package/build/esm/widgets/QueriesHistory/QueriesHistory.js +1 -2
- package/build/esm/widgets/QueriesHistory/QueriesHistory.js.map +1 -1
- package/build/esm/widgets/QueriesHistory/QueriesHistory.stories.d.ts +1 -0
- package/build/esm/widgets/QueriesHistory/QueriesHistory.stories.js +81 -0
- package/build/esm/widgets/QueriesHistory/QueriesHistory.stories.js.map +1 -1
- package/build/esm/widgets/QueriesNavigation/QueriesNavigation.stories.js +40 -35
- package/build/esm/widgets/QueriesNavigation/QueriesNavigation.stories.js.map +1 -1
- package/build/esm/widgets/QueriesNavigation/i18n/index.d.ts +2 -2
- package/build/esm/widgets/QueryResults/QueryResults.css +19 -0
- package/build/esm/widgets/QueryResults/QueryResults.css.map +1 -0
- package/build/esm/widgets/QueryResults/QueryResults.d.ts +23 -0
- package/build/esm/widgets/QueryResults/QueryResults.js +111 -0
- package/build/esm/widgets/QueryResults/QueryResults.js.map +1 -0
- package/build/esm/widgets/QueryResults/QueryResults.scss +25 -0
- package/build/esm/widgets/QueryResults/QueryResults.stories.d.ts +19 -0
- package/build/esm/widgets/QueryResults/QueryResults.stories.js +191 -0
- package/build/esm/widgets/QueryResults/QueryResults.stories.js.map +1 -0
- package/build/esm/widgets/QueryResults/i18n/dicts.d.ts +25 -0
- package/build/esm/widgets/QueryResults/i18n/dicts.js +7 -0
- package/build/esm/widgets/QueryResults/i18n/dicts.js.map +1 -0
- package/build/esm/widgets/QueryResults/i18n/en.json +10 -0
- package/build/esm/widgets/QueryResults/i18n/index.d.ts +6 -0
- package/build/esm/widgets/QueryResults/i18n/index.js +4 -0
- package/build/esm/widgets/QueryResults/i18n/index.js.map +1 -0
- package/build/esm/widgets/QueryResults/i18n/ru.json +12 -0
- package/build/esm/widgets/QueryResults/index.d.ts +2 -0
- package/build/esm/widgets/QueryResults/index.js +2 -0
- package/build/esm/widgets/QueryResults/index.js.map +1 -0
- package/build/esm/widgets/QueryResults/internal/QueryResultsSchema.d.ts +7 -0
- package/build/esm/widgets/QueryResults/internal/QueryResultsSchema.js +41 -0
- package/build/esm/widgets/QueryResults/internal/QueryResultsSchema.js.map +1 -0
- package/build/esm/widgets/SavedQueries/SavedQueries.stories.js.map +1 -1
- package/build/esm/widgets/index.d.ts +2 -0
- package/build/esm/widgets/index.js +1 -0
- package/build/esm/widgets/index.js.map +1 -1
- package/package.json +29 -2
- package/.agents/skills/code-review-checklist/SKILL.md +0 -135
- package/.agents/skills/github-pr-review/SKILL.md +0 -24
- package/.agents/skills/gravity-ui/SKILL.md +0 -175
- package/.agents/skills/gravity-ui/references/icons.md +0 -60
- package/.agents/skills/gravity-ui/references/layout.md +0 -366
- package/.agents/skills/gravity-ui/references/package-routing.md +0 -424
- package/.agents/skills/gravity-ui/references/theming.md +0 -309
- package/.agents/skills/gravity-ui/rules/hallucination-traps.md +0 -361
- package/.agents/skills/gravity-ui/scripts/icon-image-search.sh +0 -63
- package/.eslintignore +0 -3
- package/.github/workflows/ci.yml +0 -25
- package/.github/workflows/main-preview.yml +0 -31
- package/.github/workflows/pr-preview-build.yml +0 -13
- package/.github/workflows/pr-preview-deploy.yml +0 -22
- package/.github/workflows/pr-title.yml +0 -27
- package/.github/workflows/release.yml +0 -20
- package/.nvmrc +0 -1
- package/.prettierrc.js +0 -1
- package/.storybook/main.ts +0 -31
- package/.storybook/preview.tsx +0 -43
- package/.storybook/redefinition.css +0 -3
- package/.storybook/tsconfig.json +0 -9
- package/.stylelintrc +0 -9
- package/AGENTS.md +0 -117
- package/CHANGELOG.md +0 -86
- package/CODEOWNERS +0 -1
- package/CONTRIBUTING.md +0 -31
- package/NOTICES.md +0 -8
- package/app-builder.config.ts +0 -9
- package/commitlint.config.cjs +0 -6
- package/eslint.config.mjs +0 -53
- package/plans/i18n-rules.md +0 -116
- package/plans/navigation-architecture.md +0 -262
- package/plans/queries-history-structure.md +0 -143
- package/plans/queries-navigation-architecture-review.md +0 -217
- package/skills-lock.json +0 -11
- package/src/components/AddChartButton/AddChartButton.scss +0 -12
- package/src/components/AddChartButton/AddChartButton.stories.tsx +0 -34
- package/src/components/AddChartButton/AddChartButton.tsx +0 -139
- package/src/components/AddChartButton/index.ts +0 -6
- package/src/components/Breadcrumbs/Breadcrumbs.scss +0 -25
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +0 -114
- package/src/components/Breadcrumbs/helpers/parsePathSegments.ts +0 -16
- package/src/components/Breadcrumbs/i18n/dicts.ts +0 -4
- package/src/components/Breadcrumbs/i18n/en.json +0 -4
- package/src/components/Breadcrumbs/i18n/index.ts +0 -5
- package/src/components/Breadcrumbs/i18n/ru.json +0 -4
- package/src/components/Breadcrumbs/index.ts +0 -2
- package/src/components/Chart/Chart.scss +0 -40
- package/src/components/Chart/Chart.stories.tsx +0 -75
- package/src/components/Chart/Chart.tsx +0 -120
- package/src/components/Chart/i18n/dicts.ts +0 -4
- package/src/components/Chart/i18n/en.json +0 -6
- package/src/components/Chart/i18n/index.ts +0 -5
- package/src/components/Chart/i18n/ru.json +0 -6
- package/src/components/Chart/index.ts +0 -2
- package/src/components/ChartEditorForm/ChartEditorForm.scss +0 -20
- package/src/components/ChartEditorForm/ChartEditorForm.stories.tsx +0 -88
- package/src/components/ChartEditorForm/ChartEditorForm.tsx +0 -120
- package/src/components/ChartEditorForm/helpers/resolveLabels.ts +0 -17
- package/src/components/ChartEditorForm/i18n/dicts.ts +0 -4
- package/src/components/ChartEditorForm/i18n/en.json +0 -12
- package/src/components/ChartEditorForm/i18n/index.ts +0 -5
- package/src/components/ChartEditorForm/i18n/ru.json +0 -12
- package/src/components/ChartEditorForm/index.ts +0 -7
- package/src/components/ChartEditorForm/internal/Field.tsx +0 -11
- package/src/components/ChartEditorForm/types.ts +0 -44
- package/src/components/ClusterRow/ClusterRow.tsx +0 -34
- package/src/components/ClusterRow/index.ts +0 -2
- package/src/components/Dashboard/Dashboard.scss +0 -4
- package/src/components/Dashboard/Dashboard.stories.scss +0 -18
- package/src/components/Dashboard/Dashboard.stories.tsx +0 -248
- package/src/components/Dashboard/Dashboard.tsx +0 -51
- package/src/components/Dashboard/helpers/createDefaultLayout.ts +0 -43
- package/src/components/Dashboard/hooks/useDashboardConfig.ts +0 -63
- package/src/components/Dashboard/index.ts +0 -2
- package/src/components/Dashboard/internal/DashPlate.scss +0 -23
- package/src/components/Dashboard/internal/DashPlate.tsx +0 -35
- package/src/components/Dashboard/internal/DashboardProvider.tsx +0 -37
- package/src/components/Dashboard/types.ts +0 -21
- package/src/components/DataTable/DataTable.scss +0 -35
- package/src/components/DataTable/DataTable.stories.tsx +0 -65
- package/src/components/DataTable/DataTable.tsx +0 -81
- package/src/components/DataTable/index.ts +0 -1
- package/src/components/EditableRowTitle/EditableRowTitle.tsx +0 -67
- package/src/components/EditableRowTitle/index.ts +0 -2
- package/src/components/EmptyContent/EmptyContent.scss +0 -3
- package/src/components/EmptyContent/EmptyContent.tsx +0 -57
- package/src/components/EmptyContent/i18n/dicts.ts +0 -4
- package/src/components/EmptyContent/i18n/en.json +0 -7
- package/src/components/EmptyContent/i18n/index.ts +0 -5
- package/src/components/EmptyContent/i18n/ru.json +0 -7
- package/src/components/EmptyContent/index.ts +0 -1
- package/src/components/FieldsSearchToolbar/FieldsSearchToolbar.tsx +0 -48
- package/src/components/FieldsSearchToolbar/index.ts +0 -2
- package/src/components/FieldsSelector/FieldsSelector.scss +0 -18
- package/src/components/FieldsSelector/FieldsSelector.stories.tsx +0 -48
- package/src/components/FieldsSelector/FieldsSelector.tsx +0 -92
- package/src/components/FieldsSelector/i18n/dicts.ts +0 -4
- package/src/components/FieldsSelector/i18n/en.json +0 -3
- package/src/components/FieldsSelector/i18n/index.ts +0 -5
- package/src/components/FieldsSelector/i18n/ru.json +0 -3
- package/src/components/FieldsSelector/index.ts +0 -2
- package/src/components/HistoryFilter/HistoryFilter.scss +0 -5
- package/src/components/HistoryFilter/HistoryFilter.stories.tsx +0 -69
- package/src/components/HistoryFilter/HistoryFilter.tsx +0 -64
- package/src/components/HistoryFilter/i18n/dicts.ts +0 -4
- package/src/components/HistoryFilter/i18n/en.json +0 -4
- package/src/components/HistoryFilter/i18n/index.ts +0 -5
- package/src/components/HistoryFilter/i18n/ru.json +0 -4
- package/src/components/HistoryFilter/index.ts +0 -1
- package/src/components/HistoryGroupHeader/HistoryGroupHeader.scss +0 -7
- package/src/components/HistoryGroupHeader/HistoryGroupHeader.tsx +0 -18
- package/src/components/HistoryGroupHeader/index.ts +0 -1
- package/src/components/HistoryPrivateIcon/HistoryPrivateIcon.scss +0 -7
- package/src/components/HistoryPrivateIcon/HistoryPrivateIcon.tsx +0 -22
- package/src/components/HistoryPrivateIcon/index.ts +0 -1
- package/src/components/LazyList/LazyList.scss +0 -13
- package/src/components/LazyList/LazyList.tsx +0 -97
- package/src/components/LazyList/index.ts +0 -2
- package/src/components/ListSpinner/ListSpinner.scss +0 -3
- package/src/components/ListSpinner/ListSpinner.tsx +0 -18
- package/src/components/ListSpinner/index.ts +0 -2
- package/src/components/MonacoEditor/MonacoEditor.tsx +0 -112
- package/src/components/MonacoEditor/MonacoEditorThemes.tsx +0 -73
- package/src/components/MonacoEditor/index.ts +0 -11
- package/src/components/MonacoEditor/monaco-yql-languages/_.contribution.ts +0 -193
- package/src/components/MonacoEditor/monaco-yql-languages/clickhouse/clickhouse.contribution.ts +0 -14
- package/src/components/MonacoEditor/monaco-yql-languages/clickhouse/clickhouse.keywords.ts +0 -146
- package/src/components/MonacoEditor/monaco-yql-languages/clickhouse/clickhouse.ts +0 -217
- package/src/components/MonacoEditor/monaco-yql-languages/constants.ts +0 -6
- package/src/components/MonacoEditor/monaco-yql-languages/fillers/monaco-editor-core.ts +0 -3
- package/src/components/MonacoEditor/monaco-yql-languages/index.ts +0 -1
- package/src/components/MonacoEditor/monaco-yql-languages/monaco.contribution.ts +0 -5
- package/src/components/MonacoEditor/monaco-yql-languages/s-expressions/s-expressions.contribution.ts +0 -14
- package/src/components/MonacoEditor/monaco-yql-languages/s-expressions/s-expressions.keywords.ts +0 -97
- package/src/components/MonacoEditor/monaco-yql-languages/s-expressions/s-expressions.ts +0 -170
- package/src/components/MonacoEditor/monaco-yql-languages/themes/themes.contribution.ts +0 -35
- package/src/components/MonacoEditor/monaco-yql-languages/yql/yql.contribution.ts +0 -14
- package/src/components/MonacoEditor/monaco-yql-languages/yql/yql.keywords.ts +0 -13
- package/src/components/MonacoEditor/monaco-yql-languages/yql/yql.ts +0 -178
- package/src/components/MonacoEditor/monaco-yql-languages/yql_ansi/yql_ansi.contribution.ts +0 -14
- package/src/components/MonacoEditor/monaco-yql-languages/yql_ansi/yql_ansi.keywords.ts +0 -45
- package/src/components/MonacoEditor/monaco-yql-languages/yql_ansi/yql_ansi.ts +0 -142
- package/src/components/NavigationActionButtons/NavigationActionButtons.tsx +0 -46
- package/src/components/NavigationActionButtons/index.ts +0 -2
- package/src/components/NavigationItemRow/NavigationItemRow.tsx +0 -28
- package/src/components/NavigationItemRow/index.ts +0 -2
- package/src/components/PathEditor/PathEditor.scss +0 -41
- package/src/components/PathEditor/PathEditor.stories.helpers.ts +0 -118
- package/src/components/PathEditor/PathEditor.stories.tsx +0 -57
- package/src/components/PathEditor/PathEditor.tsx +0 -380
- package/src/components/PathEditor/helpers/suggestions.ts +0 -40
- package/src/components/PathEditor/i18n/dicts.ts +0 -4
- package/src/components/PathEditor/i18n/en.json +0 -4
- package/src/components/PathEditor/i18n/index.ts +0 -5
- package/src/components/PathEditor/i18n/ru.json +0 -4
- package/src/components/PathEditor/index.ts +0 -2
- package/src/components/QueryDuration/QueryDuration.scss +0 -6
- package/src/components/QueryDuration/QueryDuration.stories.tsx +0 -40
- package/src/components/QueryDuration/QueryDuration.tsx +0 -21
- package/src/components/QueryDuration/index.ts +0 -1
- package/src/components/QueryDuration/useQueryDuration.ts +0 -34
- package/src/components/QueryStatusIcon/QueryStatusIcon.scss +0 -17
- package/src/components/QueryStatusIcon/QueryStatusIcon.stories.tsx +0 -50
- package/src/components/QueryStatusIcon/QueryStatusIcon.tsx +0 -37
- package/src/components/QueryStatusIcon/index.ts +0 -1
- package/src/components/RowActionsMenu/RowActionsMenu.tsx +0 -47
- package/src/components/RowActionsMenu/index.ts +0 -2
- package/src/components/RowLink/RowLink.scss +0 -8
- package/src/components/RowLink/RowLink.tsx +0 -23
- package/src/components/RowLink/index.ts +0 -2
- package/src/components/SearchRowLayout/SearchRowLayout.scss +0 -18
- package/src/components/SearchRowLayout/SearchRowLayout.tsx +0 -45
- package/src/components/SearchRowLayout/helpers/fitQueryToVisibleLines.ts +0 -10
- package/src/components/SearchRowLayout/helpers/monacoConfig.ts +0 -25
- package/src/components/SearchRowLayout/index.ts +0 -2
- package/src/components/SearchWithButtons/SearchWithButtons.scss +0 -10
- package/src/components/SearchWithButtons/SearchWithButtons.stories.tsx +0 -107
- package/src/components/SearchWithButtons/SearchWithButtons.tsx +0 -56
- package/src/components/SearchWithButtons/index.ts +0 -2
- package/src/components/SimpleForm/CheckboxGroupField.tsx +0 -53
- package/src/components/SimpleForm/RangeDatePickerField.tsx +0 -50
- package/src/components/SimpleForm/SelectField.tsx +0 -24
- package/src/components/SimpleForm/SimpleForm.stories.tsx +0 -115
- package/src/components/SimpleForm/SimpleForm.tsx +0 -65
- package/src/components/SimpleForm/SwitchField.tsx +0 -23
- package/src/components/SimpleForm/helpers/controlsRegistry.ts +0 -24
- package/src/components/SimpleForm/helpers/getInitialValues.ts +0 -10
- package/src/components/SimpleForm/helpers/index.ts +0 -2
- package/src/components/SimpleForm/index.ts +0 -7
- package/src/components/SkeletonRows/SkeletonRows.tsx +0 -24
- package/src/components/SkeletonRows/index.ts +0 -2
- package/src/components/index.ts +0 -66
- package/src/constants/query.ts +0 -10
- package/src/constants/row.ts +0 -2
- package/src/helpers/buildColumnsFromKeys.ts +0 -17
- package/src/helpers/getDefaultNavigationIcon.ts +0 -33
- package/src/helpers/getListKey.ts +0 -12
- package/src/helpers/getParentPath.ts +0 -10
- package/src/helpers/isEmptyValue.ts +0 -2
- package/src/helpers/isFieldVisible.ts +0 -20
- package/src/helpers/time.ts +0 -29
- package/src/helpers/useLoadMoreSentinel.ts +0 -31
- package/src/helpers/useToggle.ts +0 -11
- package/src/helpers/useVisibleColumns.ts +0 -26
- package/src/i18n/index.ts +0 -26
- package/src/index.ts +0 -9
- package/src/modules/ChartEditor/ChartEditor.scss +0 -12
- package/src/modules/ChartEditor/ChartEditor.tsx +0 -116
- package/src/modules/ChartEditor/i18n/dicts.ts +0 -4
- package/src/modules/ChartEditor/i18n/en.json +0 -3
- package/src/modules/ChartEditor/i18n/index.ts +0 -5
- package/src/modules/ChartEditor/i18n/ru.json +0 -3
- package/src/modules/ChartEditor/index.ts +0 -2
- package/src/modules/ChartEditor/story/ChartEditor.stories.tsx +0 -186
- package/src/modules/ChartEditor/story/mockData.ts +0 -222
- package/src/modules/ChartEditor/types.ts +0 -18
- package/src/modules/ClustersList/ClustersList.scss +0 -11
- package/src/modules/ClustersList/ClustersList.tsx +0 -49
- package/src/modules/ClustersList/index.ts +0 -2
- package/src/modules/HistoryComparisonActions/HistoryComparisonActions.scss +0 -4
- package/src/modules/HistoryComparisonActions/HistoryComparisonActions.tsx +0 -42
- package/src/modules/HistoryComparisonActions/index.ts +0 -2
- package/src/modules/HistoryHeader/HistoryHeader.stories.tsx +0 -47
- package/src/modules/HistoryHeader/HistoryHeader.tsx +0 -58
- package/src/modules/HistoryHeader/index.ts +0 -1
- package/src/modules/HistoryHeader/internal/FullSearchToggleButton.tsx +0 -16
- package/src/modules/HistoryLayout/HistoryLayout.scss +0 -7
- package/src/modules/HistoryLayout/HistoryLayout.tsx +0 -43
- package/src/modules/HistoryLayout/index.ts +0 -2
- package/src/modules/HistoryRow/HistoryRow.scss +0 -32
- package/src/modules/HistoryRow/HistoryRow.stories.tsx +0 -91
- package/src/modules/HistoryRow/HistoryRow.tsx +0 -77
- package/src/modules/HistoryRow/index.ts +0 -1
- package/src/modules/HistorySearchRow/HistorySearchRow.scss +0 -13
- package/src/modules/HistorySearchRow/HistorySearchRow.stories.tsx +0 -52
- package/src/modules/HistorySearchRow/HistorySearchRow.tsx +0 -62
- package/src/modules/HistorySearchRow/helpers/resolveMonacoLanguage.ts +0 -19
- package/src/modules/HistorySearchRow/index.ts +0 -1
- package/src/modules/NavigationDetail/NavigationDetail.scss +0 -13
- package/src/modules/NavigationDetail/NavigationDetail.tsx +0 -121
- package/src/modules/NavigationDetail/helpers/getInitialTab.ts +0 -9
- package/src/modules/NavigationDetail/helpers/getVisibleTabs.ts +0 -5
- package/src/modules/NavigationDetail/index.ts +0 -2
- package/src/modules/NavigationDetail/internal/NavigationDetailTabs.tsx +0 -32
- package/src/modules/NavigationHeader/NavigationHeader.stories.tsx +0 -118
- package/src/modules/NavigationHeader/NavigationHeader.tsx +0 -33
- package/src/modules/NavigationHeader/index.ts +0 -2
- package/src/modules/NavigationItemsList/NavigationItemsList.scss +0 -65
- package/src/modules/NavigationItemsList/NavigationItemsList.tsx +0 -92
- package/src/modules/NavigationItemsList/index.ts +0 -2
- package/src/modules/NavigationItemsList/internal/NavigationItemsListEmptyState.tsx +0 -45
- package/src/modules/NavigationItemsList/internal/NavigationItemsListHeader.scss +0 -6
- package/src/modules/NavigationItemsList/internal/NavigationItemsListHeader.tsx +0 -54
- package/src/modules/NavigationItemsList/internal/useParentRow.ts +0 -23
- package/src/modules/NavigationMeta/NavigationMeta.scss +0 -25
- package/src/modules/NavigationMeta/NavigationMeta.tsx +0 -81
- package/src/modules/NavigationMeta/helpers/buildMetaGroups.tsx +0 -27
- package/src/modules/NavigationMeta/i18n/dicts.ts +0 -4
- package/src/modules/NavigationMeta/i18n/en.json +0 -4
- package/src/modules/NavigationMeta/i18n/index.ts +0 -5
- package/src/modules/NavigationMeta/i18n/ru.json +0 -4
- package/src/modules/NavigationMeta/index.ts +0 -3
- package/src/modules/NavigationMeta/story/NavigationMeta.stories.tsx +0 -80
- package/src/modules/NavigationMeta/story/mockData.ts +0 -22
- package/src/modules/NavigationPreview/NavigationPreview.scss +0 -24
- package/src/modules/NavigationPreview/NavigationPreview.tsx +0 -110
- package/src/modules/NavigationPreview/helpers/buildPreviewColumns.tsx +0 -11
- package/src/modules/NavigationPreview/helpers/filterPreviewRows.ts +0 -29
- package/src/modules/NavigationPreview/i18n/dicts.ts +0 -4
- package/src/modules/NavigationPreview/i18n/en.json +0 -3
- package/src/modules/NavigationPreview/i18n/index.ts +0 -5
- package/src/modules/NavigationPreview/i18n/ru.json +0 -3
- package/src/modules/NavigationPreview/index.ts +0 -4
- package/src/modules/NavigationPreview/story/NavigationPreview.stories.tsx +0 -98
- package/src/modules/NavigationPreview/story/mockData.ts +0 -9
- package/src/modules/NavigationSchema/NavigationSchema.scss +0 -24
- package/src/modules/NavigationSchema/NavigationSchema.tsx +0 -118
- package/src/modules/NavigationSchema/helpers/buildSchemaColumns.tsx +0 -54
- package/src/modules/NavigationSchema/helpers/filterSchema.ts +0 -18
- package/src/modules/NavigationSchema/i18n/dicts.ts +0 -4
- package/src/modules/NavigationSchema/i18n/en.json +0 -9
- package/src/modules/NavigationSchema/i18n/index.ts +0 -5
- package/src/modules/NavigationSchema/i18n/ru.json +0 -9
- package/src/modules/NavigationSchema/index.ts +0 -4
- package/src/modules/NavigationSchema/story/NavigationSchema.stories.tsx +0 -112
- package/src/modules/NavigationSchema/story/mockData.ts +0 -9
- package/src/modules/NavigationView/NavigationView.scss +0 -44
- package/src/modules/NavigationView/NavigationView.tsx +0 -60
- package/src/modules/NavigationView/helpers/buildViewColumns.tsx +0 -11
- package/src/modules/NavigationView/i18n/dicts.ts +0 -4
- package/src/modules/NavigationView/i18n/en.json +0 -3
- package/src/modules/NavigationView/i18n/index.ts +0 -5
- package/src/modules/NavigationView/i18n/ru.json +0 -3
- package/src/modules/NavigationView/index.ts +0 -3
- package/src/modules/NavigationView/internal/NavigationViewSectionItem.tsx +0 -70
- package/src/modules/NavigationView/story/NavigationView.stories.tsx +0 -110
- package/src/modules/NavigationView/story/mockData.ts +0 -35
- package/src/modules/QueriesList/QueriesList.scss +0 -10
- package/src/modules/QueriesList/QueriesList.tsx +0 -98
- package/src/modules/QueriesList/index.ts +0 -2
- package/src/modules/RowsList/RowsList.scss +0 -5
- package/src/modules/RowsList/RowsList.tsx +0 -96
- package/src/modules/RowsList/helpers/prepareRowData.ts +0 -61
- package/src/modules/RowsList/index.ts +0 -2
- package/src/modules/SavedQueryRow/SavedQueryRow.scss +0 -20
- package/src/modules/SavedQueryRow/SavedQueryRow.tsx +0 -60
- package/src/modules/SavedQueryRow/index.ts +0 -2
- package/src/modules/SavedQuerySearchRow/SavedQuerySearchRow.scss +0 -15
- package/src/modules/SavedQuerySearchRow/SavedQuerySearchRow.tsx +0 -58
- package/src/modules/SavedQuerySearchRow/index.ts +0 -2
- package/src/modules/TutorialRow/TutorialRow.scss +0 -9
- package/src/modules/TutorialRow/TutorialRow.stories.tsx +0 -43
- package/src/modules/TutorialRow/TutorialRow.tsx +0 -25
- package/src/modules/TutorialRow/index.ts +0 -2
- package/src/modules/TutorialSearchRow/TutorialSearchRow.scss +0 -5
- package/src/modules/TutorialSearchRow/TutorialSearchRow.stories.tsx +0 -44
- package/src/modules/TutorialSearchRow/TutorialSearchRow.tsx +0 -33
- package/src/modules/TutorialSearchRow/index.ts +0 -2
- package/src/modules/index.ts +0 -36
- package/src/types/declarations.d.ts +0 -15
- package/src/types/forms.ts +0 -33
- package/src/types/history.ts +0 -12
- package/src/types/navigation.ts +0 -199
- package/src/types/pathEditor.ts +0 -29
- package/src/types/queryList.ts +0 -92
- package/src/types/savedQueries.ts +0 -7
- package/src/types/tutorial.ts +0 -3
- package/src/widgets/DashboardCharts/DashboardCharts.scss +0 -25
- package/src/widgets/DashboardCharts/DashboardCharts.tsx +0 -214
- package/src/widgets/DashboardCharts/helpers/chartTypeIcons.ts +0 -33
- package/src/widgets/DashboardCharts/i18n/dicts.ts +0 -4
- package/src/widgets/DashboardCharts/i18n/en.json +0 -7
- package/src/widgets/DashboardCharts/i18n/index.ts +0 -5
- package/src/widgets/DashboardCharts/i18n/ru.json +0 -7
- package/src/widgets/DashboardCharts/index.ts +0 -2
- package/src/widgets/DashboardCharts/internal/EmptyDashboardPlaceholder.tsx +0 -26
- package/src/widgets/DashboardCharts/story/DashboardCharts.stories.scss +0 -6
- package/src/widgets/DashboardCharts/story/DashboardCharts.stories.tsx +0 -77
- package/src/widgets/DashboardCharts/story/mockData.ts +0 -419
- package/src/widgets/DashboardCharts/types.ts +0 -30
- package/src/widgets/QueriesHistory/QueriesHistory.scss +0 -3
- package/src/widgets/QueriesHistory/QueriesHistory.stories.tsx +0 -276
- package/src/widgets/QueriesHistory/QueriesHistory.tsx +0 -71
- package/src/widgets/QueriesHistory/i18n/dicts.ts +0 -4
- package/src/widgets/QueriesHistory/i18n/en.json +0 -3
- package/src/widgets/QueriesHistory/i18n/index.ts +0 -5
- package/src/widgets/QueriesHistory/i18n/ru.json +0 -3
- package/src/widgets/QueriesHistory/index.ts +0 -2
- package/src/widgets/QueriesHistory/internal/HistoryRowContent.tsx +0 -22
- package/src/widgets/QueriesNavigation/QueriesNavigation.scss +0 -9
- package/src/widgets/QueriesNavigation/QueriesNavigation.stories.tsx +0 -400
- package/src/widgets/QueriesNavigation/QueriesNavigation.tsx +0 -195
- package/src/widgets/QueriesNavigation/helpers/createEmptyDetailConfig.tsx +0 -8
- package/src/widgets/QueriesNavigation/helpers/createNavigationDetailResolver.ts +0 -28
- package/src/widgets/QueriesNavigation/helpers/createTableDetailConfig.tsx +0 -127
- package/src/widgets/QueriesNavigation/i18n/dicts.ts +0 -4
- package/src/widgets/QueriesNavigation/i18n/en.json +0 -10
- package/src/widgets/QueriesNavigation/i18n/index.ts +0 -5
- package/src/widgets/QueriesNavigation/i18n/ru.json +0 -10
- package/src/widgets/QueriesNavigation/index.ts +0 -13
- package/src/widgets/SavedQueries/SavedQueries.scss +0 -3
- package/src/widgets/SavedQueries/SavedQueries.stories.tsx +0 -192
- package/src/widgets/SavedQueries/SavedQueries.tsx +0 -77
- package/src/widgets/SavedQueries/SavedQueryRowContent.tsx +0 -26
- package/src/widgets/SavedQueries/i18n/dicts.ts +0 -4
- package/src/widgets/SavedQueries/i18n/en.json +0 -3
- package/src/widgets/SavedQueries/i18n/index.ts +0 -4
- package/src/widgets/SavedQueries/i18n/ru.json +0 -3
- package/src/widgets/SavedQueries/index.ts +0 -2
- package/src/widgets/TutorialsHistory/TutorialRowContent.tsx +0 -16
- package/src/widgets/TutorialsHistory/TutorialsHistory.scss +0 -3
- package/src/widgets/TutorialsHistory/TutorialsHistory.stories.tsx +0 -135
- package/src/widgets/TutorialsHistory/TutorialsHistory.tsx +0 -63
- package/src/widgets/TutorialsHistory/i18n/dicts.ts +0 -4
- package/src/widgets/TutorialsHistory/i18n/en.json +0 -3
- package/src/widgets/TutorialsHistory/i18n/index.ts +0 -5
- package/src/widgets/TutorialsHistory/i18n/ru.json +0 -3
- package/src/widgets/TutorialsHistory/index.ts +0 -2
- package/src/widgets/index.ts +0 -18
- package/tsconfig.json +0 -20
- package/tsconfig.publish.json +0 -11
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "AttachmentListPlaceholder", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _AttachmentListPlaceholder.AttachmentListPlaceholder;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _AttachmentListPlaceholder = require("./AttachmentListPlaceholder");
|
|
13
|
+
// #sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_AttachmentListPlaceholder","require"],"sources":["index.ts"],"sourcesContent":["export {AttachmentListPlaceholder} from './AttachmentListPlaceholder';\nexport type {AttachmentListPlaceholderProps} from './AttachmentListPlaceholder';\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,0BAAA,GAAAC,OAAA","ignoreList":[]}
|
|
@@ -18,11 +18,4 @@
|
|
|
18
18
|
.qp-data-table__content_empty.qp-data-table__content_align_center {
|
|
19
19
|
justify-content: center;
|
|
20
20
|
}
|
|
21
|
-
.qp-data-table__no-data-placeholder {
|
|
22
|
-
width: 100%;
|
|
23
|
-
max-width: 120px;
|
|
24
|
-
height: var(--g-text-body-1-line-height);
|
|
25
|
-
border-radius: 4px;
|
|
26
|
-
background-color: var(--g-color-base-generic);
|
|
27
|
-
}
|
|
28
21
|
/*# sourceMappingURL=DataTable.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["DataTable.scss"],"names":[],"mappings":"AAAA;
|
|
1
|
+
{"version":3,"sources":["DataTable.scss"],"names":[],"mappings":"AAAA;EACI,aAAA;EACA,sBAAA;EACA,YAAA;AACJ;AACI;EACI,OAAA;AACR;AAGQ;EACI,oDAAA;AADZ;AAKI;EACI,aAAA;AAHR;AAKQ;EACI,yBAAA;AAHZ;AAMQ;EACI,uBAAA;AAJZ","file":"DataTable.css","sourcesContent":[".qp-data-table {\n display: flex;\n flex-direction: column;\n height: 100%;\n\n &__empty {\n flex: 1;\n }\n\n &__tr_empty {\n .qp-data-table__td_empty {\n border-bottom: 1px solid var(--g-color-line-generic);\n }\n }\n\n &__content_empty {\n display: flex;\n\n &.qp-data-table__content_align_right {\n justify-content: flex-end;\n }\n\n &.qp-data-table__content_align_center {\n justify-content: center;\n }\n }\n}\n"],"sourceRoot":""}
|
|
@@ -11,10 +11,12 @@ require("core-js/modules/es.array.map.js");
|
|
|
11
11
|
require("core-js/modules/es.function.name.js");
|
|
12
12
|
require("core-js/modules/es.iterator.constructor.js");
|
|
13
13
|
require("core-js/modules/es.iterator.map.js");
|
|
14
|
+
require("core-js/modules/es.number.constructor.js");
|
|
14
15
|
require("core-js/modules/es.object.to-string.js");
|
|
15
16
|
require("core-js/modules/es.string.iterator.js");
|
|
16
17
|
var _react = _interopRequireDefault(require("react"));
|
|
17
18
|
var _reactDataTable = _interopRequireDefault(require("@gravity-ui/react-data-table"));
|
|
19
|
+
var _uikit = require("@gravity-ui/uikit");
|
|
18
20
|
var _bemCnLite = _interopRequireDefault(require("bem-cn-lite"));
|
|
19
21
|
var _EmptyContent = require("../EmptyContent");
|
|
20
22
|
require("./DataTable.css");
|
|
@@ -23,7 +25,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
23
25
|
var _excluded = ["loading", "loaded", "className", "emptyVariant", "columns", "data", "settings"];
|
|
24
26
|
var block = (0, _bemCnLite.default)('qp-data-table');
|
|
25
27
|
var SKELETON_ROWS_COUNT = 4;
|
|
26
|
-
function
|
|
28
|
+
function getSkeletonWidth(rowIndex, columnIndex) {
|
|
29
|
+
var widths = [72, 120, 180, 96];
|
|
30
|
+
return widths[(rowIndex + columnIndex) % widths.length];
|
|
31
|
+
}
|
|
32
|
+
function renderEmptyCell(key, rowIndex, columnIndex, align) {
|
|
27
33
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("td", {
|
|
28
34
|
className: block('td', {
|
|
29
35
|
empty: true
|
|
@@ -33,8 +39,9 @@ function renderEmptyCell(key, align) {
|
|
|
33
39
|
empty: true,
|
|
34
40
|
align: align
|
|
35
41
|
}),
|
|
36
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
37
|
-
|
|
42
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_uikit.Skeleton, {
|
|
43
|
+
variant: "text",
|
|
44
|
+
width: getSkeletonWidth(rowIndex, columnIndex)
|
|
38
45
|
})
|
|
39
46
|
})
|
|
40
47
|
}, key);
|
|
@@ -47,8 +54,8 @@ function renderLoadingSkeleton(columns, displayIndices) {
|
|
|
47
54
|
className: block('tr', {
|
|
48
55
|
empty: true
|
|
49
56
|
}),
|
|
50
|
-
children: [displayIndices && renderEmptyCell('__index'), columns.map(function (column) {
|
|
51
|
-
return renderEmptyCell(column.name, column.align);
|
|
57
|
+
children: [displayIndices && renderEmptyCell('__index', index, 0), columns.map(function (column, columnIndex) {
|
|
58
|
+
return renderEmptyCell(column.name, index, columnIndex + Number(displayIndices), column.align);
|
|
52
59
|
})]
|
|
53
60
|
}, index);
|
|
54
61
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactDataTable","_bemCnLite","_EmptyContent","_jsxRuntime","e","__esModule","default","block","cn","SKELETON_ROWS_COUNT","renderEmptyCell","key","align","_jsx","className","empty","children","renderLoadingSkeleton","columns","displayIndices","Array","from","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactDataTable","_uikit","_bemCnLite","_EmptyContent","_jsxRuntime","e","__esModule","default","block","cn","SKELETON_ROWS_COUNT","getSkeletonWidth","rowIndex","columnIndex","widths","length","renderEmptyCell","key","align","_jsx","className","empty","children","Skeleton","variant","width","renderLoadingSkeleton","columns","displayIndices","Array","from","_","index","_jsxs","map","column","name","Number","DataTable","props","loading","loaded","_props$emptyVariant","emptyVariant","data","settings","rest","_objectWithoutProperties","_excluded","isEmpty","renderEmptyRow","BaseDataTable","_objectSpread","theme","emptyDataMessage","EmptyContent"],"sources":["DataTable.tsx"],"sourcesContent":["import React from 'react';\nimport BaseDataTable, {\n DataTableProps as BaseDataTableProps,\n Column,\n} from '@gravity-ui/react-data-table';\nimport {Skeleton} from '@gravity-ui/uikit';\nimport cn from 'bem-cn-lite';\n\nimport {EmptyContent, EmptyContentVariant} from '../EmptyContent';\n\nimport './DataTable.scss';\n\nexport type {Column};\n\nconst block = cn('qp-data-table');\n\nconst SKELETON_ROWS_COUNT = 4;\n\nexport type DataTableProps<T> = {\n loading?: boolean;\n loaded?: boolean;\n className?: string;\n emptyVariant?: EmptyContentVariant;\n} & Omit<BaseDataTableProps<T>, 'theme'>;\n\nfunction getSkeletonWidth(rowIndex: number, columnIndex: number) {\n const widths = [72, 120, 180, 96];\n\n return widths[(rowIndex + columnIndex) % widths.length];\n}\n\nfunction renderEmptyCell(\n key: string,\n rowIndex: number,\n columnIndex: number,\n align?: Column<unknown>['align'],\n) {\n return (\n <td key={key} className={block('td', {empty: true})}>\n <div className={block('content', {empty: true, align})}>\n <Skeleton variant=\"text\" width={getSkeletonWidth(rowIndex, columnIndex)} />\n </div>\n </td>\n );\n}\n\nfunction renderLoadingSkeleton<T>(columns: Array<Column<T>>, displayIndices: boolean) {\n return Array.from({length: SKELETON_ROWS_COUNT}, (_, index) => (\n <tr key={index} className={block('tr', {empty: true})}>\n {displayIndices && renderEmptyCell('__index', index, 0)}\n {columns.map((column, columnIndex) =>\n renderEmptyCell(\n column.name,\n index,\n columnIndex + Number(displayIndices),\n column.align,\n ),\n )}\n </tr>\n ));\n}\n\nexport function DataTable<T>(props: DataTableProps<T>) {\n const {\n loading,\n loaded,\n className,\n emptyVariant = 'no-data',\n columns,\n data,\n settings,\n ...rest\n } = props;\n\n const isEmpty = loaded && data.length === 0;\n const displayIndices = settings?.displayIndices !== false;\n\n const renderEmptyRow = () => {\n if (loading && !loaded) {\n return renderLoadingSkeleton(columns, displayIndices);\n }\n\n return null;\n };\n\n return (\n <div className={block(null, className)}>\n <BaseDataTable\n {...rest}\n columns={columns}\n data={data}\n settings={settings}\n theme=\"yandex-cloud\"\n emptyDataMessage=\"\"\n renderEmptyRow={renderEmptyRow}\n />\n {isEmpty && <EmptyContent variant={emptyVariant} className={block('empty')} />}\n </div>\n );\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ErrorTree = ErrorTree;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _bemCnLite = _interopRequireDefault(require("bem-cn-lite"));
|
|
9
|
+
var _ErrorTreeNode = require("./internal/ErrorTreeNode");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
var block = (0, _bemCnLite.default)('qp-error-tree');
|
|
13
|
+
function ErrorTree(_ref) {
|
|
14
|
+
var root = _ref.root,
|
|
15
|
+
className = _ref.className,
|
|
16
|
+
_ref$defaultExpanded = _ref.defaultExpanded,
|
|
17
|
+
defaultExpanded = _ref$defaultExpanded === void 0 ? true : _ref$defaultExpanded,
|
|
18
|
+
_ref$defaultInfoExpan = _ref.defaultInfoExpanded,
|
|
19
|
+
defaultInfoExpanded = _ref$defaultInfoExpan === void 0 ? false : _ref$defaultInfoExpan,
|
|
20
|
+
renderAttributes = _ref.renderAttributes,
|
|
21
|
+
onPositionClick = _ref.onPositionClick;
|
|
22
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
23
|
+
className: block(null, className),
|
|
24
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorTreeNode.ErrorTreeNode, {
|
|
25
|
+
item: root,
|
|
26
|
+
level: 0,
|
|
27
|
+
defaultNodeExpanded: defaultExpanded,
|
|
28
|
+
defaultExpanded: defaultExpanded,
|
|
29
|
+
defaultInfoExpanded: defaultInfoExpanded,
|
|
30
|
+
renderAttributes: renderAttributes,
|
|
31
|
+
onPositionClick: onPositionClick
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
// #sourceMappingURL=ErrorTree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_bemCnLite","_ErrorTreeNode","_jsxRuntime","e","__esModule","default","block","cn","ErrorTree","_ref","root","className","_ref$defaultExpanded","defaultExpanded","_ref$defaultInfoExpan","defaultInfoExpanded","renderAttributes","onPositionClick","_jsx","children","ErrorTreeNode","item","level","defaultNodeExpanded"],"sources":["ErrorTree.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'bem-cn-lite';\n\nimport type {ErrorTreeProps} from '../../types/errorTree';\nimport {ErrorTreeNode} from './internal/ErrorTreeNode';\n\nconst block = cn('qp-error-tree');\n\nexport function ErrorTree({\n root,\n className,\n defaultExpanded = true,\n defaultInfoExpanded = false,\n renderAttributes,\n onPositionClick,\n}: ErrorTreeProps) {\n return (\n <div className={block(null, className)}>\n <ErrorTreeNode\n item={root}\n level={0}\n defaultNodeExpanded={defaultExpanded}\n defaultExpanded={defaultExpanded}\n defaultInfoExpanded={defaultInfoExpanded}\n renderAttributes={renderAttributes}\n onPositionClick={onPositionClick}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAGA,IAAAE,cAAA,GAAAF,OAAA;AAAuD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEvD,IAAMG,KAAK,GAAG,IAAAC,kBAAE,EAAC,eAAe,CAAC;AAE1B,SAASC,SAASA,CAAAC,IAAA,EAON;EAAA,IANfC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,SAAS,GAAAF,IAAA,CAATE,SAAS;IAAAC,oBAAA,GAAAH,IAAA,CACTI,eAAe;IAAfA,eAAe,GAAAD,oBAAA,cAAG,IAAI,GAAAA,oBAAA;IAAAE,qBAAA,GAAAL,IAAA,CACtBM,mBAAmB;IAAnBA,mBAAmB,GAAAD,qBAAA,cAAG,KAAK,GAAAA,qBAAA;IAC3BE,gBAAgB,GAAAP,IAAA,CAAhBO,gBAAgB;IAChBC,eAAe,GAAAR,IAAA,CAAfQ,eAAe;EAEf,oBACI,IAAAC,eAAA;IAAKP,SAAS,EAAEL,KAAK,CAAC,IAAI,EAAEK,SAAS,CAAE;IAAAQ,QAAA,eACnC,IAAAD,eAAA,EAACE,4BAAa;MACVC,IAAI,EAAEX,IAAK;MACXY,KAAK,EAAE,CAAE;MACTC,mBAAmB,EAAEV,eAAgB;MACrCA,eAAe,EAAEA,eAAgB;MACjCE,mBAAmB,EAAEA,mBAAoB;MACzCC,gBAAgB,EAAEA,gBAAiB;MACnCC,eAAe,EAAEA;IAAgB,CACpC;EAAC,CACD,CAAC;AAEd","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ErrorTree } from './ErrorTree';
|
|
3
|
+
declare const meta: Meta<typeof ErrorTree>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ErrorTree>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CustomAttributes: Story;
|
|
8
|
+
export declare const Narrow: Story;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.Narrow = exports.Default = exports.CustomAttributes = void 0;
|
|
7
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _uikit = require("@gravity-ui/uikit");
|
|
10
|
+
var _actions = require("storybook/actions");
|
|
11
|
+
var _ErrorTree = require("./ErrorTree");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
var root = {
|
|
15
|
+
id: 'root',
|
|
16
|
+
severity: 'error',
|
|
17
|
+
message: 'Missing value for parameter: $h',
|
|
18
|
+
code: 2,
|
|
19
|
+
attributes: {
|
|
20
|
+
severity: 'Error',
|
|
21
|
+
queryId: '7d1d'
|
|
22
|
+
},
|
|
23
|
+
children: [{
|
|
24
|
+
id: 'nested-error',
|
|
25
|
+
severity: 'error',
|
|
26
|
+
message: 'Missing value for parameter: $h',
|
|
27
|
+
code: 2,
|
|
28
|
+
position: {
|
|
29
|
+
row: 1,
|
|
30
|
+
column: 0
|
|
31
|
+
},
|
|
32
|
+
attributes: {
|
|
33
|
+
severity: 'Error'
|
|
34
|
+
},
|
|
35
|
+
children: [{
|
|
36
|
+
id: 'intermediate-1',
|
|
37
|
+
severity: 'warning',
|
|
38
|
+
message: 'Intermediate parser message',
|
|
39
|
+
children: [{
|
|
40
|
+
id: 'intermediate-2',
|
|
41
|
+
severity: 'warning',
|
|
42
|
+
message: 'Intermediate optimizer message',
|
|
43
|
+
children: [{
|
|
44
|
+
id: 'terminal-error',
|
|
45
|
+
severity: 'error',
|
|
46
|
+
message: 'At function: RemovePrefixMembers, At function: OrderedSqlProject',
|
|
47
|
+
code: 2
|
|
48
|
+
}]
|
|
49
|
+
}]
|
|
50
|
+
}]
|
|
51
|
+
}, {
|
|
52
|
+
id: 'warning',
|
|
53
|
+
severity: 'warning',
|
|
54
|
+
message: 'Query can be optimized further',
|
|
55
|
+
code: 0,
|
|
56
|
+
children: [{
|
|
57
|
+
id: 'info',
|
|
58
|
+
severity: 'info',
|
|
59
|
+
message: 'Consider adding a filter before the join',
|
|
60
|
+
position: {
|
|
61
|
+
row: 47,
|
|
62
|
+
column: 6
|
|
63
|
+
}
|
|
64
|
+
}]
|
|
65
|
+
}]
|
|
66
|
+
};
|
|
67
|
+
var meta = {
|
|
68
|
+
title: 'Components/ErrorTree',
|
|
69
|
+
component: _ErrorTree.ErrorTree,
|
|
70
|
+
tags: ['autodocs'],
|
|
71
|
+
parameters: {
|
|
72
|
+
layout: 'padded'
|
|
73
|
+
},
|
|
74
|
+
args: {
|
|
75
|
+
root: root,
|
|
76
|
+
onPositionClick: (0, _actions.action)('onPositionClick')
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
var _default = exports.default = meta;
|
|
80
|
+
var Default = exports.Default = {};
|
|
81
|
+
var CustomAttributes = exports.CustomAttributes = {
|
|
82
|
+
args: {
|
|
83
|
+
renderAttributes: function renderAttributes(attributes) {
|
|
84
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_uikit.Text, {
|
|
85
|
+
variant: "body-2",
|
|
86
|
+
children: String(attributes.severity)
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
var Narrow = exports.Narrow = {
|
|
92
|
+
render: function render(args) {
|
|
93
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
94
|
+
style: {
|
|
95
|
+
width: 420
|
|
96
|
+
},
|
|
97
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorTree.ErrorTree, (0, _objectSpread2.default)({}, args))
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
// #sourceMappingURL=ErrorTree.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_uikit","_actions","_ErrorTree","_jsxRuntime","e","__esModule","default","root","id","severity","message","code","attributes","queryId","children","position","row","column","meta","title","component","ErrorTree","tags","parameters","layout","args","onPositionClick","action","_default","exports","Default","CustomAttributes","renderAttributes","_jsx","Text","variant","String","Narrow","render","style","width","_objectSpread"],"sources":["ErrorTree.stories.tsx"],"sourcesContent":["import React from 'react';\nimport type {Meta, StoryObj} from '@storybook/react';\nimport {Text} from '@gravity-ui/uikit';\nimport {action} from 'storybook/actions';\n\nimport type {ErrorTreeItem} from '../../types/errorTree';\nimport {ErrorTree} from './ErrorTree';\n\nconst root: ErrorTreeItem = {\n id: 'root',\n severity: 'error',\n message: 'Missing value for parameter: $h',\n code: 2,\n attributes: {severity: 'Error', queryId: '7d1d'},\n children: [\n {\n id: 'nested-error',\n severity: 'error',\n message: 'Missing value for parameter: $h',\n code: 2,\n position: {row: 1, column: 0},\n attributes: {severity: 'Error'},\n children: [\n {\n id: 'intermediate-1',\n severity: 'warning',\n message: 'Intermediate parser message',\n children: [\n {\n id: 'intermediate-2',\n severity: 'warning',\n message: 'Intermediate optimizer message',\n children: [\n {\n id: 'terminal-error',\n severity: 'error',\n message:\n 'At function: RemovePrefixMembers, At function: OrderedSqlProject',\n code: 2,\n },\n ],\n },\n ],\n },\n ],\n },\n {\n id: 'warning',\n severity: 'warning',\n message: 'Query can be optimized further',\n code: 0,\n children: [\n {\n id: 'info',\n severity: 'info',\n message: 'Consider adding a filter before the join',\n position: {row: 47, column: 6},\n },\n ],\n },\n ],\n};\n\nconst meta: Meta<typeof ErrorTree> = {\n title: 'Components/ErrorTree',\n component: ErrorTree,\n tags: ['autodocs'],\n parameters: {layout: 'padded'},\n args: {\n root,\n onPositionClick: action('onPositionClick'),\n },\n};\n\nexport default meta;\ntype Story = StoryObj<typeof ErrorTree>;\n\nexport const Default: Story = {};\n\nexport const CustomAttributes: Story = {\n args: {\n renderAttributes: (attributes) => (\n <Text variant=\"body-2\">{String(attributes.severity)}</Text>\n ),\n },\n};\n\nexport const Narrow: Story = {\n render: (args) => (\n <div style={{width: 420}}>\n <ErrorTree {...args} />\n </div>\n ),\n};\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.formatAttributes = formatAttributes;
|
|
7
|
+
require("core-js/modules/es.date.to-json.js");
|
|
8
|
+
require("core-js/modules/es.json.stringify.js");
|
|
9
|
+
function formatAttributes(attributes) {
|
|
10
|
+
try {
|
|
11
|
+
return JSON.stringify(attributes, null, 2);
|
|
12
|
+
} catch (_unused) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
// #sourceMappingURL=formatAttributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["formatAttributes","attributes","JSON","stringify","_unused"],"sources":["formatAttributes.ts"],"sourcesContent":["import type {ErrorTreeItem} from '../../../types/errorTree';\n\nexport function formatAttributes(attributes: ErrorTreeItem['attributes']) {\n try {\n return JSON.stringify(attributes, null, 2);\n } catch {\n return null;\n }\n}\n"],"mappings":";;;;;;;;AAEO,SAASA,gBAAgBA,CAACC,UAAuC,EAAE;EACtE,IAAI;IACA,OAAOC,IAAI,CAACC,SAAS,CAACF,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;EAC9C,CAAC,CAAC,OAAAG,OAAA,EAAM;IACJ,OAAO,IAAI;EACf;AACJ","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getIntermediateChain = getIntermediateChain;
|
|
7
|
+
require("core-js/modules/es.array.push.js");
|
|
8
|
+
require("core-js/modules/es.array.slice.js");
|
|
9
|
+
function getIntermediateChain(item) {
|
|
10
|
+
var items = [item];
|
|
11
|
+
var current = item;
|
|
12
|
+
while (((_current$children = current.children) === null || _current$children === void 0 ? void 0 : _current$children.length) === 1) {
|
|
13
|
+
var _current$children;
|
|
14
|
+
current = current.children[0];
|
|
15
|
+
items.push(current);
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
hiddenItems: items.slice(0, -1),
|
|
19
|
+
terminalItem: items[items.length - 1]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
// #sourceMappingURL=getIntermediateChain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getIntermediateChain","item","items","current","_current$children","children","length","push","hiddenItems","slice","terminalItem"],"sources":["getIntermediateChain.ts"],"sourcesContent":["import type {ErrorTreeItem} from '../../../types/errorTree';\n\nexport type IntermediateChain = {\n hiddenItems: ErrorTreeItem[];\n terminalItem: ErrorTreeItem;\n};\n\nexport function getIntermediateChain(item: ErrorTreeItem): IntermediateChain {\n const items = [item];\n let current = item;\n\n while (current.children?.length === 1) {\n current = current.children[0];\n items.push(current);\n }\n\n return {\n hiddenItems: items.slice(0, -1),\n terminalItem: items[items.length - 1],\n };\n}\n"],"mappings":";;;;;;;;AAOO,SAASA,oBAAoBA,CAACC,IAAmB,EAAqB;EACzE,IAAMC,KAAK,GAAG,CAACD,IAAI,CAAC;EACpB,IAAIE,OAAO,GAAGF,IAAI;EAElB,OAAO,EAAAG,iBAAA,GAAAD,OAAO,CAACE,QAAQ,cAAAD,iBAAA,uBAAhBA,iBAAA,CAAkBE,MAAM,MAAK,CAAC,EAAE;IAAA,IAAAF,iBAAA;IACnCD,OAAO,GAAGA,OAAO,CAACE,QAAQ,CAAC,CAAC,CAAC;IAC7BH,KAAK,CAACK,IAAI,CAACJ,OAAO,CAAC;EACvB;EAEA,OAAO;IACHK,WAAW,EAAEN,KAAK,CAACO,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/BC,YAAY,EAAER,KAAK,CAACA,KAAK,CAACI,MAAM,GAAG,CAAC;EACxC,CAAC;AACL","ignoreList":[]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
field_attributes: string;
|
|
4
|
+
field_code: string;
|
|
5
|
+
"action_show-all": string;
|
|
6
|
+
"action_show-parent": string;
|
|
7
|
+
"context_intermediate-messages": {
|
|
8
|
+
one: string;
|
|
9
|
+
other: string;
|
|
10
|
+
};
|
|
11
|
+
"context_attributes-unavailable": string;
|
|
12
|
+
};
|
|
13
|
+
ru: {
|
|
14
|
+
field_attributes: string;
|
|
15
|
+
field_code: string;
|
|
16
|
+
"action_show-all": string;
|
|
17
|
+
"action_show-parent": string;
|
|
18
|
+
"context_intermediate-messages": {
|
|
19
|
+
one: string;
|
|
20
|
+
few: string;
|
|
21
|
+
many: string;
|
|
22
|
+
other: string;
|
|
23
|
+
};
|
|
24
|
+
"context_attributes-unavailable": string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _en = _interopRequireDefault(require("./en.json"));
|
|
8
|
+
var _ru = _interopRequireDefault(require("./ru.json"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
var _default = exports.default = {
|
|
11
|
+
en: _en.default,
|
|
12
|
+
ru: _ru.default
|
|
13
|
+
};
|
|
14
|
+
// #sourceMappingURL=dicts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_en","_interopRequireDefault","require","_ru","e","__esModule","default","_default","exports","en","ru"],"sources":["dicts.ts"],"sourcesContent":["import en from './en.json';\nimport ru from './ru.json';\n\nexport default {en, ru};\n"],"mappings":";;;;;;AAAA,IAAAA,GAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,GAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAS,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAEM;EAACG,EAAE,EAAFA,WAAE;EAAEC,EAAE,EAAFA;AAAE,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"field_attributes": "Attributes",
|
|
3
|
+
"field_code": "Code",
|
|
4
|
+
"action_show-all": "Show all",
|
|
5
|
+
"action_show-parent": "Show parent",
|
|
6
|
+
"context_intermediate-messages": {
|
|
7
|
+
"one": "{{count}} intermediate message",
|
|
8
|
+
"other": "{{count}} intermediate messages"
|
|
9
|
+
},
|
|
10
|
+
"context_attributes-unavailable": "Attributes cannot be displayed"
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: ((key: "field_attributes" | "field_code" | "action_show-all" | "action_show-parent" | "context_intermediate-messages" | "context_attributes-unavailable", params?: import("@gravity-ui/i18n").Params) => string) & {
|
|
2
|
+
keysetData: {
|
|
3
|
+
"qp:error-tree": Record<"field_attributes" | "field_code" | "action_show-all" | "action_show-parent" | "context_intermediate-messages" | "context_attributes-unavailable", import("@gravity-ui/i18n").KeyData>;
|
|
4
|
+
};
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _i18n = require("../../../i18n");
|
|
8
|
+
var _dicts = _interopRequireDefault(require("./dicts"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
var _default = exports.default = (0, _i18n.addI18Keysets)('qp:error-tree', _dicts.default);
|
|
11
|
+
// #sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_i18n","require","_dicts","_interopRequireDefault","e","__esModule","default","_default","exports","addI18Keysets","dicts"],"sources":["index.ts"],"sourcesContent":["import {addI18Keysets} from '../../../i18n';\n\nimport dicts from './dicts';\n\nexport default addI18Keysets('qp:error-tree', dicts);\n"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAY,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAEG,IAAAG,mBAAa,EAAC,eAAe,EAAEC,cAAK,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"field_attributes": "Атрибуты",
|
|
3
|
+
"field_code": "Код",
|
|
4
|
+
"action_show-all": "Показать все",
|
|
5
|
+
"action_show-parent": "Показать родителя",
|
|
6
|
+
"context_intermediate-messages": {
|
|
7
|
+
"one": "{{count}} промежуточное сообщение",
|
|
8
|
+
"few": "{{count}} промежуточных сообщения",
|
|
9
|
+
"many": "{{count}} промежуточных сообщений",
|
|
10
|
+
"other": "{{count}} промежуточного сообщения"
|
|
11
|
+
},
|
|
12
|
+
"context_attributes-unavailable": "Не удалось показать атрибуты"
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ErrorTree } from './ErrorTree';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ErrorTree", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _ErrorTree.ErrorTree;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _ErrorTree = require("./ErrorTree");
|
|
13
|
+
// #sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_ErrorTree","require"],"sources":["index.ts"],"sourcesContent":["export {ErrorTree} from './ErrorTree';\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["ErrorTreeChildren.scss"],"names":[],"mappings":"AACI;EACI,gCAAA;AAAR","file":"ErrorTreeChildren.css","sourcesContent":[".qp-error-tree {\n &__children {\n padding-inline-start: var(--g-spacing-7);\n }\n}\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ErrorTreeItem, ErrorTreeProps } from '../../../types/errorTree';
|
|
3
|
+
import './ErrorTreeChildren.scss';
|
|
4
|
+
type ErrorTreeChildrenProps = Pick<ErrorTreeProps, 'defaultExpanded' | 'defaultInfoExpanded' | 'renderAttributes' | 'onPositionClick'> & {
|
|
5
|
+
className?: string;
|
|
6
|
+
items: ErrorTreeItem[];
|
|
7
|
+
level: number;
|
|
8
|
+
};
|
|
9
|
+
export declare function ErrorTreeChildren({ className, items, ...props }: ErrorTreeChildrenProps): React.JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ErrorTreeChildren = ErrorTreeChildren;
|
|
7
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
8
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
|
+
require("core-js/modules/es.array.map.js");
|
|
10
|
+
require("core-js/modules/es.iterator.constructor.js");
|
|
11
|
+
require("core-js/modules/es.iterator.map.js");
|
|
12
|
+
require("core-js/modules/es.object.to-string.js");
|
|
13
|
+
var _react = _interopRequireDefault(require("react"));
|
|
14
|
+
var _IntermediateMessages = require("./IntermediateMessages");
|
|
15
|
+
require("./ErrorTreeChildren.css");
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
+
var _excluded = ["className", "items"];
|
|
19
|
+
function ErrorTreeChildren(_ref) {
|
|
20
|
+
var className = _ref.className,
|
|
21
|
+
items = _ref.items,
|
|
22
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
24
|
+
className: className,
|
|
25
|
+
children: items.map(function (item) {
|
|
26
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IntermediateMessages.IntermediateMessages, (0, _objectSpread2.default)({
|
|
27
|
+
item: item
|
|
28
|
+
}, props), item.id);
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
// #sourceMappingURL=ErrorTreeChildren.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_IntermediateMessages","_jsxRuntime","e","__esModule","default","ErrorTreeChildren","_ref","className","items","props","_objectWithoutProperties","_excluded","_jsx","children","map","item","IntermediateMessages","_objectSpread","id"],"sources":["ErrorTreeChildren.tsx"],"sourcesContent":["import React from 'react';\n\nimport type {ErrorTreeItem, ErrorTreeProps} from '../../../types/errorTree';\nimport {IntermediateMessages} from './IntermediateMessages';\n\nimport './ErrorTreeChildren.scss';\n\ntype ErrorTreeChildrenProps = Pick<\n ErrorTreeProps,\n 'defaultExpanded' | 'defaultInfoExpanded' | 'renderAttributes' | 'onPositionClick'\n> & {\n className?: string;\n items: ErrorTreeItem[];\n level: number;\n};\n\nexport function ErrorTreeChildren({className, items, ...props}: ErrorTreeChildrenProps) {\n return (\n <div className={className}>\n {items.map((item) => (\n <IntermediateMessages key={item.id} item={item} {...props} />\n ))}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,qBAAA,GAAAD,OAAA;AAEAA,OAAA;AAAkC,IAAAE,WAAA,GAAAF,OAAA;AAAA,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;;AAW3B,SAASG,iBAAiBA,CAAAC,IAAA,EAAuD;EAAA,IAArDC,SAAS,GAAAD,IAAA,CAATC,SAAS;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAKC,KAAK,OAAAC,iCAAA,EAAAJ,IAAA,EAAAK,SAAA;EACzD,oBACI,IAAAC,eAAA;IAAKL,SAAS,EAAEA,SAAU;IAAAM,QAAA,EACrBL,KAAK,CAACM,GAAG,CAAC,UAACC,IAAI;MAAA,oBACZ,IAAAH,eAAA,EAACI,0CAAoB,MAAAC,sBAAA;QAAeF,IAAI,EAAEA;MAAK,GAAKN,KAAK,GAA9BM,IAAI,CAACG,EAA4B,CAAC;IAAA,CAChE;EAAC,CACD,CAAC;AAEd","ignoreList":[]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.qp-error-tree__node {
|
|
2
|
+
margin-bottom: var(--g-spacing-2);
|
|
3
|
+
}
|
|
4
|
+
.qp-error-tree__summary, .qp-error-tree__line {
|
|
5
|
+
min-width: 0;
|
|
6
|
+
}
|
|
7
|
+
.qp-error-tree__expand-button {
|
|
8
|
+
flex: 0 0 auto;
|
|
9
|
+
}
|
|
10
|
+
.qp-error-tree__expand-placeholder {
|
|
11
|
+
flex: 0 0 28px;
|
|
12
|
+
}
|
|
13
|
+
.qp-error-tree__line {
|
|
14
|
+
flex: 1 1 auto;
|
|
15
|
+
min-width: 0;
|
|
16
|
+
padding-top: 2px;
|
|
17
|
+
padding-bottom: 2px;
|
|
18
|
+
}
|
|
19
|
+
.qp-error-tree__severity-icon {
|
|
20
|
+
flex: 0 0 auto;
|
|
21
|
+
}
|
|
22
|
+
.qp-error-tree__severity-icon_error {
|
|
23
|
+
color: var(--g-color-text-danger);
|
|
24
|
+
}
|
|
25
|
+
.qp-error-tree__severity-icon_warning {
|
|
26
|
+
color: var(--g-color-text-warning);
|
|
27
|
+
}
|
|
28
|
+
.qp-error-tree__severity-icon_info {
|
|
29
|
+
color: var(--g-color-text-info);
|
|
30
|
+
}
|
|
31
|
+
.qp-error-tree__attributes-button, .qp-error-tree__show-parent {
|
|
32
|
+
flex: 0 0 auto;
|
|
33
|
+
}
|
|
34
|
+
.qp-error-tree__position {
|
|
35
|
+
flex: 0 0 auto;
|
|
36
|
+
padding-top: 4px;
|
|
37
|
+
padding-bottom: 4px;
|
|
38
|
+
color: var(--g-color-text-secondary);
|
|
39
|
+
font-family: var(--g-font-family-monospace);
|
|
40
|
+
}
|
|
41
|
+
.qp-error-tree__message, .qp-error-tree__message-button {
|
|
42
|
+
flex: 1 1 auto;
|
|
43
|
+
min-width: 0;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
padding-top: 4px;
|
|
46
|
+
padding-bottom: 4px;
|
|
47
|
+
color: var(--g-color-text-primary);
|
|
48
|
+
font-family: var(--g-font-family-monospace);
|
|
49
|
+
font-size: var(--g-text-code-2-font-size);
|
|
50
|
+
line-height: var(--g-text-code-2-line-height);
|
|
51
|
+
text-align: left;
|
|
52
|
+
text-overflow: ellipsis;
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
}
|
|
55
|
+
.qp-error-tree__message-button {
|
|
56
|
+
justify-content: flex-start;
|
|
57
|
+
}
|
|
58
|
+
.qp-error-tree__code {
|
|
59
|
+
flex: 0 0 auto;
|
|
60
|
+
padding-top: 4px;
|
|
61
|
+
padding-bottom: 4px;
|
|
62
|
+
color: var(--g-color-text-complementary);
|
|
63
|
+
}
|
|
64
|
+
.qp-error-tree__attributes {
|
|
65
|
+
margin-top: var(--g-spacing-1);
|
|
66
|
+
margin-left: 28px;
|
|
67
|
+
overflow: auto;
|
|
68
|
+
}
|
|
69
|
+
.qp-error-tree__attributes-content {
|
|
70
|
+
margin: 0;
|
|
71
|
+
padding: var(--g-spacing-2);
|
|
72
|
+
border-radius: var(--g-border-radius-s);
|
|
73
|
+
background: var(--g-color-base-generic-ultralight);
|
|
74
|
+
color: var(--g-color-text-primary);
|
|
75
|
+
font-family: var(--g-font-family-monospace);
|
|
76
|
+
font-size: var(--g-text-code-2-font-size);
|
|
77
|
+
line-height: var(--g-text-code-2-line-height);
|
|
78
|
+
white-space: pre-wrap;
|
|
79
|
+
}
|
|
80
|
+
/*# sourceMappingURL=ErrorTreeNode.css.map */
|