@allurereport/web-components 3.21.0 → 3.22.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/dist/Attachment-DFk4AiwI.js +2 -0
- package/dist/Attachment-DFk4AiwI.js.map +1 -0
- package/dist/Attachment-Du2XgmQc.d.ts +26 -0
- package/dist/Attachment.d.ts +5 -0
- package/dist/Attachment.js +2 -0
- package/dist/Attachment.js.map +1 -0
- package/dist/AttachmentCode-DLfL9_C7.js +2 -0
- package/dist/AttachmentCode-DLfL9_C7.js.map +1 -0
- package/dist/AttachmentImageDiff-Bp1b_UU5.js +2 -0
- package/dist/AttachmentImageDiff-Bp1b_UU5.js.map +1 -0
- package/dist/AttachmentTable-B_2qN3O-.js +2 -0
- package/dist/AttachmentTable-B_2qN3O-.js.map +1 -0
- package/dist/BarChart-Dmhamjn_.js +2 -0
- package/dist/BarChart-Dmhamjn_.js.map +1 -0
- package/dist/BarChartRenderer-Ip2G__e-.js +2 -0
- package/dist/BarChartRenderer-Ip2G__e-.js.map +1 -0
- package/dist/ChartWidget.d.ts +13 -0
- package/dist/ChartWidget.js +2 -0
- package/dist/ChartWidget.js.map +1 -0
- package/dist/CodeViewer.d.ts +9 -0
- package/dist/CodeViewer.js +2 -0
- package/dist/CodeViewer.js.map +1 -0
- package/dist/CurrentStatusChartWidget.d.ts +16 -0
- package/dist/CurrentStatusChartWidget.js +2 -0
- package/dist/CurrentStatusChartWidget.js.map +1 -0
- package/dist/DurationDynamicsChartWidget.d.ts +12 -0
- package/dist/DurationDynamicsChartWidget.js +2 -0
- package/dist/DurationDynamicsChartWidget.js.map +1 -0
- package/dist/DurationsChartWidget.d.ts +12 -0
- package/dist/DurationsChartWidget.js +2 -0
- package/dist/DurationsChartWidget.js.map +1 -0
- package/dist/EmptyDataStub-CRdg61R2.js +2 -0
- package/dist/EmptyDataStub-CRdg61R2.js.map +1 -0
- package/dist/FunnelChartRenderer-tZ8LQJEg.js +2 -0
- package/dist/FunnelChartRenderer-tZ8LQJEg.js.map +1 -0
- package/dist/Grid.d.ts +20 -0
- package/dist/Grid.js +2 -0
- package/dist/Grid.js.map +1 -0
- package/dist/GridItem-DI1f2R1r.js +8 -0
- package/dist/GridItem-DI1f2R1r.js.map +1 -0
- package/dist/HeatMapChartRenderer-CgQ03Op3.js +2 -0
- package/dist/HeatMapChartRenderer-CgQ03Op3.js.map +1 -0
- package/dist/HeatMapWidget-Dqm7-_SB.js +2 -0
- package/dist/HeatMapWidget-Dqm7-_SB.js.map +1 -0
- package/dist/HeatMapWidget.d.ts +5 -0
- package/dist/HeatMapWidget.js +2 -0
- package/dist/HeatMapWidget.js.map +1 -0
- package/dist/HtmlPreview-u0sa77g5.js +2 -0
- package/dist/HtmlPreview-u0sa77g5.js.map +1 -0
- package/dist/HttpAttachment-CkQRcAfa.js +2 -0
- package/dist/HttpAttachment-CkQRcAfa.js.map +1 -0
- package/dist/MarkdownPreview-BEs6LvOd.js +4 -0
- package/dist/MarkdownPreview-BEs6LvOd.js.map +1 -0
- package/dist/MermaidPreview-4EDQwdX3.js +2 -0
- package/dist/MermaidPreview-4EDQwdX3.js.map +1 -0
- package/dist/PieChartRenderer-Cv4hjlRj.js +2 -0
- package/dist/PieChartRenderer-Cv4hjlRj.js.map +1 -0
- package/dist/StabilityDistributionWidget.d.ts +12 -0
- package/dist/StabilityDistributionWidget.js +2 -0
- package/dist/StabilityDistributionWidget.js.map +1 -0
- package/dist/StatusAgePyramidChartWidget.d.ts +15 -0
- package/dist/StatusAgePyramidChartWidget.js +2 -0
- package/dist/StatusAgePyramidChartWidget.js.map +1 -0
- package/dist/StatusDynamicsChartWidget.d.ts +22 -0
- package/dist/StatusDynamicsChartWidget.js +2 -0
- package/dist/StatusDynamicsChartWidget.js.map +1 -0
- package/dist/StatusTransitionsChartWidget.d.ts +14 -0
- package/dist/StatusTransitionsChartWidget.js +2 -0
- package/dist/StatusTransitionsChartWidget.js.map +1 -0
- package/dist/SuccessRatePieChart.d.ts +11 -0
- package/dist/SuccessRatePieChart.js +2 -0
- package/dist/SuccessRatePieChart.js.map +1 -0
- package/dist/TestBaseGrowthDynamicsChartWidget.d.ts +13 -0
- package/dist/TestBaseGrowthDynamicsChartWidget.js +2 -0
- package/dist/TestBaseGrowthDynamicsChartWidget.js.map +1 -0
- package/dist/TestingPyramidWidget.d.ts +20 -0
- package/dist/TestingPyramidWidget.js +2 -0
- package/dist/TestingPyramidWidget.js.map +1 -0
- package/dist/Timeline-BWVXDTn-.js +2 -0
- package/dist/Timeline-BWVXDTn-.js.map +1 -0
- package/dist/Timeline.d.ts +46 -0
- package/dist/Timeline.js +2 -0
- package/dist/Timeline.js.map +1 -0
- package/dist/TrSeveritiesChartWidget.d.ts +13 -0
- package/dist/TrSeveritiesChartWidget.js +2 -0
- package/dist/TrSeveritiesChartWidget.js.map +1 -0
- package/dist/TreeMapChartRenderer-DAOzpUju.js +2 -0
- package/dist/TreeMapChartRenderer-DAOzpUju.js.map +1 -0
- package/dist/TreeMapChartWidget-DKXJlnm9.js +2 -0
- package/dist/TreeMapChartWidget-DKXJlnm9.js.map +1 -0
- package/dist/TreeMapChartWidget.d.ts +7 -0
- package/dist/TreeMapChartWidget.js +2 -0
- package/dist/TreeMapChartWidget.js.map +1 -0
- package/dist/_baseSlice-CBpWu5XB.js +2 -0
- package/dist/_baseSlice-CBpWu5XB.js.map +1 -0
- package/dist/_commonjsHelpers-Doe7ti1T.js +2 -0
- package/dist/_commonjsHelpers-Doe7ti1T.js.map +1 -0
- package/dist/_stringToArray-aaWSQcKo.js +2 -0
- package/dist/_stringToArray-aaWSQcKo.js.map +1 -0
- package/dist/array-B0SXO2zY.js +2 -0
- package/dist/array-B0SXO2zY.js.map +1 -0
- package/dist/clipboard-BUUe2rGt.js +2 -0
- package/dist/clipboard-BUUe2rGt.js.map +1 -0
- package/dist/clsx-D83172mf.js +2 -0
- package/dist/clsx-D83172mf.js.map +1 -0
- package/dist/components/ArrowButton/index.d.ts +16 -0
- package/dist/components/ArrowButton/index.d.ts.map +1 -0
- package/dist/components/Attachment/Attachment.d.ts +10 -0
- package/dist/components/Attachment/Attachment.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentCode.d.ts +6 -0
- package/dist/components/Attachment/AttachmentCode.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentEmpty.d.ts +5 -0
- package/dist/components/Attachment/AttachmentEmpty.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentImage.d.ts +3 -0
- package/dist/components/Attachment/AttachmentImage.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentImageDiff.d.ts +3 -0
- package/dist/components/Attachment/AttachmentImageDiff.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentTable.d.ts +3 -0
- package/dist/components/Attachment/AttachmentTable.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentVideo.d.ts +3 -0
- package/dist/components/Attachment/AttachmentVideo.d.ts.map +1 -0
- package/dist/components/Attachment/CodeViewer.d.ts +8 -0
- package/dist/components/Attachment/CodeViewer.d.ts.map +1 -0
- package/dist/components/Attachment/HtmlPreview.d.ts +8 -0
- package/dist/components/Attachment/HtmlPreview.d.ts.map +1 -0
- package/dist/components/Attachment/HttpAttachment.d.ts +4 -0
- package/dist/components/Attachment/HttpAttachment.d.ts.map +1 -0
- package/dist/components/Attachment/MarkdownPreview.d.ts +8 -0
- package/dist/components/Attachment/MarkdownPreview.d.ts.map +1 -0
- package/dist/components/Attachment/MermaidPreview.d.ts +8 -0
- package/dist/components/Attachment/MermaidPreview.d.ts.map +1 -0
- package/dist/components/Attachment/htmlPreviewDocument.d.ts +3 -0
- package/dist/components/Attachment/htmlPreviewDocument.d.ts.map +1 -0
- package/dist/components/Attachment/iframe.d.ts +2 -0
- package/dist/components/Attachment/iframe.d.ts.map +1 -0
- package/dist/components/Attachment/index.d.ts +12 -0
- package/dist/components/Attachment/index.d.ts.map +1 -0
- package/dist/components/Attachment/mermaid.d.ts +3 -0
- package/dist/components/Attachment/mermaid.d.ts.map +1 -0
- package/dist/components/Attachment/model.d.ts +14 -0
- package/dist/components/Attachment/model.d.ts.map +1 -0
- package/dist/components/Attachment/prism-global.d.ts +2 -0
- package/dist/components/Attachment/prism-global.d.ts.map +1 -0
- package/dist/components/Attachment/prism-setup.d.ts +10 -0
- package/dist/components/Attachment/prism-setup.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +128 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/BarChart.d.ts +40 -0
- package/dist/components/Charts/BarChart/BarChart.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/BarChartTooltip.d.ts +12 -0
- package/dist/components/Charts/BarChart/BarChartTooltip.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/BottomAxisLine.d.ts +3 -0
- package/dist/components/Charts/BarChart/BottomAxisLine.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/Layers.d.ts +23 -0
- package/dist/components/Charts/BarChart/Layers.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/TrendLinesLayer.d.ts +8 -0
- package/dist/components/Charts/BarChart/TrendLinesLayer.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/context.d.ts +7 -0
- package/dist/components/Charts/BarChart/context.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/utils.d.ts +13 -0
- package/dist/components/Charts/BarChart/utils.d.ts.map +1 -0
- package/dist/components/Charts/BarChartRenderer.d.ts +3 -0
- package/dist/components/Charts/BarChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/ChartTooltip/index.d.ts +6 -0
- package/dist/components/Charts/ChartTooltip/index.d.ts.map +1 -0
- package/dist/components/Charts/ChartTooltip/useChartTooltip.d.ts +14 -0
- package/dist/components/Charts/ChartTooltip/useChartTooltip.d.ts.map +1 -0
- package/dist/components/Charts/ChartWidget.d.ts +4 -0
- package/dist/components/Charts/ChartWidget.d.ts.map +1 -0
- package/dist/components/Charts/ChartWidget.types.d.ts +7 -0
- package/dist/components/Charts/ChartWidget.types.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/AdditionalStats.d.ts +10 -0
- package/dist/components/Charts/CurrentStatusChartWidget/AdditionalStats.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/constants.d.ts +9 -0
- package/dist/components/Charts/CurrentStatusChartWidget/constants.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/CurrentStatusChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/parts.d.ts +11 -0
- package/dist/components/Charts/CurrentStatusChartWidget/parts.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/types.d.ts +19 -0
- package/dist/components/Charts/CurrentStatusChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/CurrentStatusChartWidget/utils.d.ts +25 -0
- package/dist/components/Charts/CurrentStatusChartWidget/utils.d.ts.map +1 -0
- package/dist/components/Charts/DurationDynamicsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/DurationDynamicsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/DurationDynamicsChartWidget/types.d.ts +8 -0
- package/dist/components/Charts/DurationDynamicsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/DurationsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/DurationsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/DurationsChartWidget/types.d.ts +8 -0
- package/dist/components/Charts/DurationsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/EmptyDataStub/EmptyDataStub.d.ts +10 -0
- package/dist/components/Charts/EmptyDataStub/EmptyDataStub.d.ts.map +1 -0
- package/dist/components/Charts/EmptyDataStub/index.d.ts +2 -0
- package/dist/components/Charts/EmptyDataStub/index.d.ts.map +1 -0
- package/dist/components/Charts/FunnelChartRenderer.d.ts +3 -0
- package/dist/components/Charts/FunnelChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/HeatMap.d.ts +4 -0
- package/dist/components/Charts/HeatMap/HeatMap.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/Tooltip.d.ts +3 -0
- package/dist/components/Charts/HeatMap/Tooltip.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/config.d.ts +21 -0
- package/dist/components/Charts/HeatMap/config.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/index.d.ts +4 -0
- package/dist/components/Charts/HeatMap/index.d.ts.map +1 -0
- package/dist/components/Charts/HeatMap/types.d.ts +15 -0
- package/dist/components/Charts/HeatMap/types.d.ts.map +1 -0
- package/dist/components/Charts/HeatMapChartRenderer.d.ts +3 -0
- package/dist/components/Charts/HeatMapChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/HeatMapWidget/HeatMapWidget.d.ts +4 -0
- package/dist/components/Charts/HeatMapWidget/HeatMapWidget.d.ts.map +1 -0
- package/dist/components/Charts/HeatMapWidget/index.d.ts +3 -0
- package/dist/components/Charts/HeatMapWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/HeatMapWidget/types.d.ts +6 -0
- package/dist/components/Charts/HeatMapWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/Legend/LegendIndicator/index.d.ts +6 -0
- package/dist/components/Charts/Legend/LegendIndicator/index.d.ts.map +1 -0
- package/dist/components/Charts/Legend/LegendItem/index.d.ts +5 -0
- package/dist/components/Charts/Legend/LegendItem/index.d.ts.map +1 -0
- package/dist/components/Charts/Legend/LegendItem/types.d.ts +17 -0
- package/dist/components/Charts/Legend/LegendItem/types.d.ts.map +1 -0
- package/dist/components/Charts/Legend/index.d.ts +6 -0
- package/dist/components/Charts/Legend/index.d.ts.map +1 -0
- package/dist/components/Charts/PieChartRenderer.d.ts +3 -0
- package/dist/components/Charts/PieChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/StabilityDistributionWidget/index.d.ts +4 -0
- package/dist/components/Charts/StabilityDistributionWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/StabilityDistributionWidget/types.d.ts +8 -0
- package/dist/components/Charts/StabilityDistributionWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/StatusAgePyramidChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/StatusAgePyramidChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/StatusAgePyramidChartWidget/types.d.ts +11 -0
- package/dist/components/Charts/StatusAgePyramidChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/StatusDynamicsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/StatusDynamicsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/StatusDynamicsChartWidget/types.d.ts +18 -0
- package/dist/components/Charts/StatusDynamicsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/StatusTransitionsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/StatusTransitionsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/StatusTransitionsChartWidget/types.d.ts +10 -0
- package/dist/components/Charts/StatusTransitionsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/SuccessRatePieChart/index.d.ts +9 -0
- package/dist/components/Charts/SuccessRatePieChart/index.d.ts.map +1 -0
- package/dist/components/Charts/SuccessRatePieChart/successRate.d.ts +6 -0
- package/dist/components/Charts/SuccessRatePieChart/successRate.d.ts.map +1 -0
- package/dist/components/Charts/TestBaseGrowthDynamicsChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/TestBaseGrowthDynamicsChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/TestBaseGrowthDynamicsChartWidget/types.d.ts +10 -0
- package/dist/components/Charts/TestBaseGrowthDynamicsChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/TestingPyramidWidget/index.d.ts +19 -0
- package/dist/components/Charts/TestingPyramidWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/TrSeveritiesChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/TrSeveritiesChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/TrSeveritiesChartWidget/types.d.ts +9 -0
- package/dist/components/Charts/TrSeveritiesChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/Node.d.ts +3 -0
- package/dist/components/Charts/TreeMapChart/Node.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapChart.d.ts +6 -0
- package/dist/components/Charts/TreeMapChart/TreeMapChart.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/TreeMapLegend.d.ts +4 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/TreeMapLegend.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/index.d.ts +3 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/index.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/types.d.ts +8 -0
- package/dist/components/Charts/TreeMapChart/TreeMapLegend/types.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/TreeMapTooltip/TreeMapTooltip.d.ts +10 -0
- package/dist/components/Charts/TreeMapChart/TreeMapTooltip/TreeMapTooltip.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/config.d.ts +4 -0
- package/dist/components/Charts/TreeMapChart/config.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/index.d.ts +4 -0
- package/dist/components/Charts/TreeMapChart/index.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/types.d.ts +27 -0
- package/dist/components/Charts/TreeMapChart/types.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChart/utils.d.ts +5 -0
- package/dist/components/Charts/TreeMapChart/utils.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartRenderer.d.ts +3 -0
- package/dist/components/Charts/TreeMapChartRenderer.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartWidget/TreeMapChartWidget.d.ts +9 -0
- package/dist/components/Charts/TreeMapChartWidget/TreeMapChartWidget.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartWidget/hooks.d.ts +4 -0
- package/dist/components/Charts/TreeMapChartWidget/hooks.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartWidget/index.d.ts +4 -0
- package/dist/components/Charts/TreeMapChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/TreeMapChartWidget/types.d.ts +11 -0
- package/dist/components/Charts/TreeMapChartWidget/types.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/TrendChart.d.ts +4 -0
- package/dist/components/Charts/TrendChart/TrendChart.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/config.d.ts +13 -0
- package/dist/components/Charts/TrendChart/config.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/constants.d.ts +2 -0
- package/dist/components/Charts/TrendChart/constants.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/index.d.ts +5 -0
- package/dist/components/Charts/TrendChart/index.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/theme.d.ts +32 -0
- package/dist/components/Charts/TrendChart/theme.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/types.d.ts +53 -0
- package/dist/components/Charts/TrendChart/types.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/utils.d.ts +7 -0
- package/dist/components/Charts/TrendChart/utils.d.ts.map +1 -0
- package/dist/components/Charts/TrendChartWidget/index.d.ts +26 -0
- package/dist/components/Charts/TrendChartWidget/index.d.ts.map +1 -0
- package/dist/components/Charts/config.d.ts +12 -0
- package/dist/components/Charts/config.d.ts.map +1 -0
- package/dist/components/Charts/hooks/useTooltip.d.ts +9 -0
- package/dist/components/Charts/hooks/useTooltip.d.ts.map +1 -0
- package/dist/components/Charts/utils.d.ts +12 -0
- package/dist/components/Charts/utils.d.ts.map +1 -0
- package/dist/components/Counter/index.d.ts +10 -0
- package/dist/components/Counter/index.d.ts.map +1 -0
- package/dist/components/DimensionsProvider/index.d.ts +8 -0
- package/dist/components/DimensionsProvider/index.d.ts.map +1 -0
- package/dist/components/EmptyView/index.d.ts +16 -0
- package/dist/components/EmptyView/index.d.ts.map +1 -0
- package/dist/components/Grid/Grid.d.ts +28 -0
- package/dist/components/Grid/Grid.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/GridItem.d.ts +21 -0
- package/dist/components/Grid/components/GridItem/GridItem.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/DragHandle.d.ts +6 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/DragHandle.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/components/DragHandleIcon.d.ts +6 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/components/DragHandleIcon.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/components/index.d.ts +2 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/components/index.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/index.d.ts +2 -0
- package/dist/components/Grid/components/GridItem/components/DragHandle/index.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/components/index.d.ts +2 -0
- package/dist/components/Grid/components/GridItem/components/index.d.ts.map +1 -0
- package/dist/components/Grid/components/GridItem/index.d.ts +3 -0
- package/dist/components/Grid/components/GridItem/index.d.ts.map +1 -0
- package/dist/components/Grid/constants.d.ts +4 -0
- package/dist/components/Grid/constants.d.ts.map +1 -0
- package/dist/components/Grid/hooks/index.d.ts +2 -0
- package/dist/components/Grid/hooks/index.d.ts.map +1 -0
- package/dist/components/Grid/hooks/useSortable.d.ts +10 -0
- package/dist/components/Grid/hooks/useSortable.d.ts.map +1 -0
- package/dist/components/Grid/index.d.ts +5 -0
- package/dist/components/Grid/index.d.ts.map +1 -0
- package/dist/components/IconLabel/index.d.ts +10 -0
- package/dist/components/IconLabel/index.d.ts.map +1 -0
- package/dist/components/ImageDiff/index.d.ts +9 -0
- package/dist/components/ImageDiff/index.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/DiffModeSelector.d.ts +2 -0
- package/dist/components/ImageDiff/src/DiffModeSelector.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/DiffModeView.d.ts +2 -0
- package/dist/components/ImageDiff/src/DiffModeView.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/Image.d.ts +3 -0
- package/dist/components/ImageDiff/src/Image.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/Wrapper.d.ts +11 -0
- package/dist/components/ImageDiff/src/Wrapper.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/hooks.d.ts +37 -0
- package/dist/components/ImageDiff/src/hooks.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/i18n.d.ts +9 -0
- package/dist/components/ImageDiff/src/i18n.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/model.d.ts +20 -0
- package/dist/components/ImageDiff/src/model.d.ts.map +1 -0
- package/dist/components/ImageDiff/src/utils.d.ts +7 -0
- package/dist/components/ImageDiff/src/utils.d.ts.map +1 -0
- package/dist/components/Label/index.d.ts +3 -0
- package/dist/components/Label/index.d.ts.map +1 -0
- package/dist/components/LanguagePicker/index.d.ts +8 -0
- package/dist/components/LanguagePicker/index.d.ts.map +1 -0
- package/dist/components/LazyComponent/index.d.ts +12 -0
- package/dist/components/LazyComponent/index.d.ts.map +1 -0
- package/dist/components/Link/index.d.ts +9 -0
- package/dist/components/Link/index.d.ts.map +1 -0
- package/dist/components/LinkifiedText/index.d.ts +6 -0
- package/dist/components/LinkifiedText/index.d.ts.map +1 -0
- package/dist/components/Loadable/index.d.ts +16 -0
- package/dist/components/Loadable/index.d.ts.map +1 -0
- package/dist/components/Menu/index.d.ts +49 -0
- package/dist/components/Menu/index.d.ts.map +1 -0
- package/dist/components/MiddleEllipsis/index.d.ts +27 -0
- package/dist/components/MiddleEllipsis/index.d.ts.map +1 -0
- package/dist/components/Modal/Gallery.d.ts +5 -0
- package/dist/components/Modal/Gallery.d.ts.map +1 -0
- package/dist/components/Modal/Thumb.d.ts +10 -0
- package/dist/components/Modal/Thumb.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +25 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/OverviewLink/index.d.ts +16 -0
- package/dist/components/OverviewLink/index.d.ts.map +1 -0
- package/dist/components/PageLoader/index.d.ts +2 -0
- package/dist/components/PageLoader/index.d.ts.map +1 -0
- package/dist/components/ReportLogo/index.d.ts +5 -0
- package/dist/components/ReportLogo/index.d.ts.map +1 -0
- package/dist/components/ReportLogoFull/index.d.ts +4 -0
- package/dist/components/ReportLogoFull/index.d.ts.map +1 -0
- package/dist/components/ReportSummaryCard/components/MetadataItem/index.d.ts +16 -0
- package/dist/components/ReportSummaryCard/components/MetadataItem/index.d.ts.map +1 -0
- package/dist/components/ReportSummaryCard/index.d.ts +8 -0
- package/dist/components/ReportSummaryCard/index.d.ts.map +1 -0
- package/dist/components/ReportSummaryCard/model.d.ts +22 -0
- package/dist/components/ReportSummaryCard/model.d.ts.map +1 -0
- package/dist/components/SearchBox/index.d.ts +13 -0
- package/dist/components/SearchBox/index.d.ts.map +1 -0
- package/dist/components/Spinner/index.d.ts +5 -0
- package/dist/components/Spinner/index.d.ts.map +1 -0
- package/dist/components/StatusLabel/index.d.ts +8 -0
- package/dist/components/StatusLabel/index.d.ts.map +1 -0
- package/dist/components/SvgIcon/index.d.ts +124 -0
- package/dist/components/SvgIcon/index.d.ts.map +1 -0
- package/dist/components/Tabs/index.d.ts +27 -0
- package/dist/components/Tabs/index.d.ts.map +1 -0
- package/dist/components/Tag/index.d.ts +10 -0
- package/dist/components/Tag/index.d.ts.map +1 -0
- package/dist/components/ThemeButton/index.d.ts +7 -0
- package/dist/components/ThemeButton/index.d.ts.map +1 -0
- package/dist/components/ThemeProvider/index.d.ts +7 -0
- package/dist/components/ThemeProvider/index.d.ts.map +1 -0
- package/dist/components/Timeline/DurationRange.d.ts +30 -0
- package/dist/components/Timeline/DurationRange.d.ts.map +1 -0
- package/dist/components/Timeline/GroupTooltip.d.ts +9 -0
- package/dist/components/Timeline/GroupTooltip.d.ts.map +1 -0
- package/dist/components/Timeline/ResponsiveWrapper/context.d.ts +6 -0
- package/dist/components/Timeline/ResponsiveWrapper/context.d.ts.map +1 -0
- package/dist/components/Timeline/ResponsiveWrapper/index.d.ts +7 -0
- package/dist/components/Timeline/ResponsiveWrapper/index.d.ts.map +1 -0
- package/dist/components/Timeline/SegmentTooltip.d.ts +7 -0
- package/dist/components/Timeline/SegmentTooltip.d.ts.map +1 -0
- package/dist/components/Timeline/TimeOverview.d.ts +21 -0
- package/dist/components/Timeline/TimeOverview.d.ts.map +1 -0
- package/dist/components/Timeline/Timeline.d.ts +23 -0
- package/dist/components/Timeline/Timeline.d.ts.map +1 -0
- package/dist/components/Timeline/hooks/useDurationRange.d.ts +7 -0
- package/dist/components/Timeline/hooks/useDurationRange.d.ts.map +1 -0
- package/dist/components/Timeline/index.d.ts +2 -0
- package/dist/components/Timeline/index.d.ts.map +1 -0
- package/dist/components/Timeline/types.d.ts +35 -0
- package/dist/components/Timeline/types.d.ts.map +1 -0
- package/dist/components/Timeline/utils.d.ts +27 -0
- package/dist/components/Timeline/utils.d.ts.map +1 -0
- package/dist/components/Toggle/index.d.ts +10 -0
- package/dist/components/Toggle/index.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +36 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Tree/Tree.d.ts +27 -0
- package/dist/components/Tree/Tree.d.ts.map +1 -0
- package/dist/components/Tree/TreeHeader.d.ts +18 -0
- package/dist/components/Tree/TreeHeader.d.ts.map +1 -0
- package/dist/components/Tree/TreeItem.d.ts +25 -0
- package/dist/components/Tree/TreeItem.d.ts.map +1 -0
- package/dist/components/Tree/TreeItemIcon.d.ts +10 -0
- package/dist/components/Tree/TreeItemIcon.d.ts.map +1 -0
- package/dist/components/Tree/TreeItemInfo/index.d.ts +14 -0
- package/dist/components/Tree/TreeItemInfo/index.d.ts.map +1 -0
- package/dist/components/Tree/TreeItemInfo/utils.d.ts +3 -0
- package/dist/components/Tree/TreeItemInfo/utils.d.ts.map +1 -0
- package/dist/components/Tree/TreeItemRetries/index.d.ts +5 -0
- package/dist/components/Tree/TreeItemRetries/index.d.ts.map +1 -0
- package/dist/components/Tree/TreeSection.d.ts +12 -0
- package/dist/components/Tree/TreeSection.d.ts.map +1 -0
- package/dist/components/Tree/TreeStatusBar.d.ts +14 -0
- package/dist/components/Tree/TreeStatusBar.d.ts.map +1 -0
- package/dist/components/Tree/index.d.ts +7 -0
- package/dist/components/Tree/index.d.ts.map +1 -0
- package/dist/components/Typography/index.d.ts +37 -0
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/components/Widget/index.d.ts +9 -0
- package/dist/components/Widget/index.d.ts.map +1 -0
- package/dist/config-CgDglkkw.js +2 -0
- package/dist/config-CgDglkkw.js.map +1 -0
- package/dist/constants-D-YBPtws.js +2 -0
- package/dist/constants-D-YBPtws.js.map +1 -0
- package/dist/core.d.ts +577 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +2 -0
- package/dist/core.js.map +1 -0
- package/dist/floating-ui.dom-B9YqEzUD.js +2 -0
- package/dist/floating-ui.dom-B9YqEzUD.js.map +1 -0
- package/dist/hooks/useDebouncedCallback.d.ts +6 -0
- package/dist/hooks/useDebouncedCallback.d.ts.map +1 -0
- package/dist/hooks/useElementTruncation.d.ts +9 -0
- package/dist/hooks/useElementTruncation.d.ts.map +1 -0
- package/dist/identity-DBvQ9SaG.js +2 -0
- package/dist/identity-DBvQ9SaG.js.map +1 -0
- package/dist/index-B-4syZ2J.d.ts +25 -0
- package/dist/index-B9kLHMy9.d.ts +19 -0
- package/dist/index-BLcyRUFW.js +2 -0
- package/dist/index-BLcyRUFW.js.map +1 -0
- package/dist/index-BZ-V3udE.js +2 -0
- package/dist/index-BZ-V3udE.js.map +1 -0
- package/dist/index-BzcM2nAl.js +2 -0
- package/dist/index-BzcM2nAl.js.map +1 -0
- package/dist/index-CCQ13d2t.js +2 -0
- package/dist/index-CCQ13d2t.js.map +1 -0
- package/dist/index-CbwuBF9w.js +2 -0
- package/dist/index-CbwuBF9w.js.map +1 -0
- package/dist/index-Cf1z5wAO.js +2 -0
- package/dist/index-Cf1z5wAO.js.map +1 -0
- package/dist/index-D2c5viX_.js +2 -0
- package/dist/index-D2c5viX_.js.map +1 -0
- package/dist/index-DQIPuqU4.js +2 -0
- package/dist/index-DQIPuqU4.js.map +1 -0
- package/dist/index-DYL-tbfk.js +2 -0
- package/dist/index-DYL-tbfk.js.map +1 -0
- package/dist/index-Dq7O-bm8.js +2 -0
- package/dist/index-Dq7O-bm8.js.map +1 -0
- package/dist/index-QmAJXsgx.d.ts +50 -0
- package/dist/index-k2XcinIa.js +2 -0
- package/dist/index-k2XcinIa.js.map +1 -0
- package/dist/index-qMwNH4DY.js +2 -0
- package/dist/index-qMwNH4DY.js.map +1 -0
- package/dist/index-uBEpZNBn.js +2 -0
- package/dist/index-uBEpZNBn.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +37 -819
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -29
- package/dist/index.js.map +1 -1
- package/dist/index.module-Bdu_gwCw.js +2 -0
- package/dist/index.module-Bdu_gwCw.js.map +1 -0
- package/dist/line-CEBDCBhb.js +2 -0
- package/dist/line-CEBDCBhb.js.map +1 -0
- package/dist/linear-C7uKb8Tk.js +2 -0
- package/dist/linear-C7uKb8Tk.js.map +1 -0
- package/dist/nivo-annotations-OXtu3nXs.js +2 -0
- package/dist/nivo-annotations-OXtu3nXs.js.map +1 -0
- package/dist/nivo-axes-3Cy5TCy7.js +2 -0
- package/dist/nivo-axes-3Cy5TCy7.js.map +1 -0
- package/dist/nivo-colors-fVDn0-vW.js +3 -0
- package/dist/nivo-colors-fVDn0-vW.js.map +1 -0
- package/dist/nivo-legends-BIaWaGVX.js +2 -0
- package/dist/nivo-legends-BIaWaGVX.js.map +1 -0
- package/dist/omit-Cims_XVO.js +2 -0
- package/dist/omit-Cims_XVO.js.map +1 -0
- package/dist/prism-global-B3qB0vXd.js +18 -0
- package/dist/prism-global-B3qB0vXd.js.map +1 -0
- package/dist/successRate-De1K9gog.d.ts +3 -0
- package/dist/successRate-rrLYYsum.js +2 -0
- package/dist/successRate-rrLYYsum.js.map +1 -0
- package/dist/time-CyaymdXm.js +2 -0
- package/dist/time-CyaymdXm.js.map +1 -0
- package/dist/toNumber-Cpsf6DxM.js +2 -0
- package/dist/toNumber-Cpsf6DxM.js.map +1 -0
- package/dist/toString-Ccq3A8Sl.js +2 -0
- package/dist/toString-Ccq3A8Sl.js.map +1 -0
- package/dist/truncate-Bk-Lghrl.js +2 -0
- package/dist/truncate-Bk-Lghrl.js.map +1 -0
- package/dist/upperFirst-jXpCKAQr.js +2 -0
- package/dist/upperFirst-jXpCKAQr.js.map +1 -0
- package/dist/useTooltip-VGYCawp2.js +2 -0
- package/dist/useTooltip-VGYCawp2.js.map +1 -0
- package/dist/utcTime-ClVTKNFl.js +2 -0
- package/dist/utcTime-ClVTKNFl.js.map +1 -0
- package/dist/utils-DKmgmsaJ.js +6 -0
- package/dist/utils-DKmgmsaJ.js.map +1 -0
- package/dist/utils-DfVSL1lz.js +2 -0
- package/dist/utils-DfVSL1lz.js.map +1 -0
- package/package.json +159 -20
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentImageDiff.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/AttachmentImageDiff.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI/C,eAAO,MAAM,mBAAmB,GAAI,OAAO,eAAe,iCAYzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentTable.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/AttachmentTable.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAiF/C,eAAO,MAAM,eAAe,GAAI,sBAAsB,eAAe,iCAoCpE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentVideo.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/AttachmentVideo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI/C,eAAO,MAAM,eAAe,GAAI,sBAAsB,eAAe,iCAUpE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ComponentChildren, FunctionalComponent } from "preact";
|
|
2
|
+
import "./code.scss";
|
|
3
|
+
export declare const CodeViewer: FunctionalComponent<{
|
|
4
|
+
code?: string;
|
|
5
|
+
children?: ComponentChildren;
|
|
6
|
+
className?: string;
|
|
7
|
+
}>;
|
|
8
|
+
//# sourceMappingURL=CodeViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeViewer.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/CodeViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAKrE,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,UAAU,EAAE,mBAAmB,CAAC;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAaA,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FunctionalComponent } from "preact";
|
|
2
|
+
export type HtmlAttachmentPreviewProps = {
|
|
3
|
+
attachment: {
|
|
4
|
+
text: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const HtmlPreview: FunctionalComponent<HtmlAttachmentPreviewProps>;
|
|
8
|
+
//# sourceMappingURL=HtmlPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HtmlPreview.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/HtmlPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAkBlD,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,mBAAmB,CAAC,0BAA0B,CAgDvE,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { AttachmentProps } from "./model";
|
|
2
|
+
export { HTTP_EXCHANGE_REDACTED_VALUE } from "@allurereport/web-commons";
|
|
3
|
+
export declare const HttpAttachment: ({ attachment }: AttachmentProps) => import("preact").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=HttpAttachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpAttachment.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/HttpAttachment.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AA+oBzE,eAAO,MAAM,cAAc,GAAI,gBAAgB,eAAe,iCAoB7D,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FunctionalComponent } from "preact";
|
|
2
|
+
export type MarkdownAttachmentPreviewProps = {
|
|
3
|
+
attachment: {
|
|
4
|
+
text: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const MarkdownPreview: FunctionalComponent<MarkdownAttachmentPreviewProps>;
|
|
8
|
+
//# sourceMappingURL=MarkdownPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkdownPreview.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/MarkdownPreview.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AASlD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,mBAAmB,CAAC,8BAA8B,CAoD/E,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FunctionalComponent } from "preact";
|
|
2
|
+
export type MermaidAttachmentPreviewProps = {
|
|
3
|
+
attachment: {
|
|
4
|
+
text: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const MermaidPreview: FunctionalComponent<MermaidAttachmentPreviewProps>;
|
|
8
|
+
//# sourceMappingURL=MermaidPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MermaidPreview.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/MermaidPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAelD,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,6BAA6B,CAoE7E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"htmlPreviewDocument.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/htmlPreviewDocument.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,+BAA+B,CAAC;AAsE7E,eAAO,MAAM,yBAAyB,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,EAAE,MAAM,OAAO,WAenF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iframe.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/iframe.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,GAAI,QAAQ,iBAAiB,WAQ/D,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { Attachment } from "./Attachment";
|
|
2
|
+
export { AttachmentCode } from "./AttachmentCode";
|
|
3
|
+
export { AttachmentTable } from "./AttachmentTable";
|
|
4
|
+
export { HtmlPreview } from "./HtmlPreview";
|
|
5
|
+
export { MarkdownPreview } from "./MarkdownPreview";
|
|
6
|
+
export { MermaidPreview } from "./MermaidPreview";
|
|
7
|
+
export { AttachmentImage } from "./AttachmentImage";
|
|
8
|
+
export { AttachmentVideo } from "./AttachmentVideo";
|
|
9
|
+
export { AttachmentEmpty } from "./AttachmentEmpty";
|
|
10
|
+
export { CodeViewer } from "./CodeViewer";
|
|
11
|
+
export { HttpAttachment } from "./HttpAttachment";
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mermaid.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/mermaid.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,2BAA2B,GAAI,KAAK,MAAM,KAAG,MASzD,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,IAAI,MAAM,EACV,YAAY,MAAM,EAClB,QAAO,SAAS,GAAG,MAAkB,KACpC,OAAO,CAAC,MAAM,CAwBhB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AttachmentTestStepResult } from "@allurereport/core-api";
|
|
2
|
+
import type { AttachmentData } from "@allurereport/web-commons";
|
|
3
|
+
import type { ComponentProps } from "preact";
|
|
4
|
+
import type { ImageDiff } from "../ImageDiff";
|
|
5
|
+
export type AttachmentProps = {
|
|
6
|
+
attachment: AttachmentData | null;
|
|
7
|
+
item: AttachmentTestStepResult;
|
|
8
|
+
i18n?: (key: any) => string;
|
|
9
|
+
};
|
|
10
|
+
export type I18nProp = {
|
|
11
|
+
controls?: (key: string) => string;
|
|
12
|
+
imageDiff: ComponentProps<typeof ImageDiff>["i18n"];
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,cAAc,GAAG,IAAI,CAAC;IAClC,IAAI,EAAE,wBAAwB,CAAC;IAC/B,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACnC,SAAS,EAAE,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;CACrD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prism-global.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/prism-global.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./prism-global.js";
|
|
2
|
+
import "prismjs/components/prism-markup";
|
|
3
|
+
import "prismjs/components/prism-css";
|
|
4
|
+
import "prismjs/components/prism-csv";
|
|
5
|
+
import "prismjs/components/prism-javascript";
|
|
6
|
+
import "prismjs/components/prism-json";
|
|
7
|
+
import "prismjs/components/prism-markdown";
|
|
8
|
+
import "prismjs/components/prism-typescript";
|
|
9
|
+
export { default as Prism } from "prismjs";
|
|
10
|
+
//# sourceMappingURL=prism-setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prism-setup.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/prism-setup.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iCAAiC,CAAC;AACzC,OAAO,8BAA8B,CAAC;AACtC,OAAO,8BAA8B,CAAC;AACtC,OAAO,qCAAqC,CAAC;AAC7C,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,qCAAqC,CAAC;AAE7C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { ComponentChild } from "preact";
|
|
2
|
+
import type { Ref } from "preact";
|
|
3
|
+
type BaseBtnProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Text to be displayed on the button
|
|
6
|
+
* Should not contain any JSX, only plain text
|
|
7
|
+
*/
|
|
8
|
+
text?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Indicates if the button is in a pending state
|
|
11
|
+
*/
|
|
12
|
+
isPending?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Size of the button
|
|
15
|
+
*
|
|
16
|
+
* @default m
|
|
17
|
+
*
|
|
18
|
+
* - `xs` - Extra small button
|
|
19
|
+
* - `s` - Small button
|
|
20
|
+
* - `m` - Medium button
|
|
21
|
+
* - `l` - Large button
|
|
22
|
+
*/
|
|
23
|
+
size?: "xs" | "s" | "m" | "l";
|
|
24
|
+
/**
|
|
25
|
+
* Style of the button
|
|
26
|
+
*
|
|
27
|
+
* @default primary
|
|
28
|
+
*
|
|
29
|
+
* - `primary` - Primary button
|
|
30
|
+
* - `outline` - Outline button
|
|
31
|
+
* - `ghost` - Ghost button
|
|
32
|
+
* - `flat` - Flat button
|
|
33
|
+
* - `raised` - Raised button
|
|
34
|
+
*/
|
|
35
|
+
style?: "primary" | "outline" | "ghost" | "flat" | "raised";
|
|
36
|
+
/**
|
|
37
|
+
* - `danger` - Indicates if the button is a danger button
|
|
38
|
+
* - `positive` - Indicates if the button is a positive button
|
|
39
|
+
* - `accent` - Colours the text and the icon of the ghost button with the accent colour
|
|
40
|
+
*
|
|
41
|
+
* @default "default"
|
|
42
|
+
*/
|
|
43
|
+
action?: "default" | "danger" | "positive" | "accent";
|
|
44
|
+
/**
|
|
45
|
+
* Icon to be displayed on the button
|
|
46
|
+
*/
|
|
47
|
+
icon?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Custom icon size on the button
|
|
50
|
+
*/
|
|
51
|
+
iconSize?: "xs" | "s" | "m";
|
|
52
|
+
/**
|
|
53
|
+
* Color of the icon
|
|
54
|
+
* applied only when style is not primary
|
|
55
|
+
* and action is default
|
|
56
|
+
*/
|
|
57
|
+
iconColor?: "primary" | "secondary";
|
|
58
|
+
/**
|
|
59
|
+
* Indicates if the button should take the full width of its container
|
|
60
|
+
*/
|
|
61
|
+
fullWidth?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Indicates if the button is an icon button
|
|
64
|
+
*/
|
|
65
|
+
isIconButton?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Indicates if the button is a dropdown button
|
|
68
|
+
*/
|
|
69
|
+
isDropdownButton?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Callback to be called when the button is pressed
|
|
72
|
+
*/
|
|
73
|
+
onClick?: (e: MouseEvent) => void;
|
|
74
|
+
/**
|
|
75
|
+
* Type of the button
|
|
76
|
+
* same as HTML Button type
|
|
77
|
+
*/
|
|
78
|
+
type?: HTMLButtonElement["type"];
|
|
79
|
+
/**
|
|
80
|
+
* Indicates if the button is disabled or not
|
|
81
|
+
* this tells screen readers to ignore the button
|
|
82
|
+
* But the button is still focusable in order to show the tooltip
|
|
83
|
+
*/
|
|
84
|
+
isDisabled?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* For visual "active" state
|
|
87
|
+
*
|
|
88
|
+
* Used for dropdown buttons mainly
|
|
89
|
+
*/
|
|
90
|
+
isActive?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Indicates if the button is focusable
|
|
93
|
+
*
|
|
94
|
+
* @default true
|
|
95
|
+
*/
|
|
96
|
+
focusable?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* URL to navigate to when the button is clicked
|
|
99
|
+
* If provided, the button will be rendered as an anchor element
|
|
100
|
+
*/
|
|
101
|
+
href?: string;
|
|
102
|
+
rounded?: boolean;
|
|
103
|
+
target?: HTMLAnchorElement["target"];
|
|
104
|
+
/**
|
|
105
|
+
* Relationship of the linked page, `noopener noreferrer` is applied to the links that are opened in a new tab by default
|
|
106
|
+
*/
|
|
107
|
+
rel?: HTMLAnchorElement["rel"];
|
|
108
|
+
className?: string;
|
|
109
|
+
dataTestId?: string;
|
|
110
|
+
leadingSlot?: ComponentChild;
|
|
111
|
+
trailingSlot?: ComponentChild;
|
|
112
|
+
isLink?: boolean;
|
|
113
|
+
isTextTruncated?: boolean;
|
|
114
|
+
textRef?: Ref<HTMLSpanElement>;
|
|
115
|
+
};
|
|
116
|
+
export type ButtonProps = Omit<BaseBtnProps, "text" | "isIconButton" | "isDropdownButton" | "rounded" | "isLink"> & Pick<Required<BaseBtnProps>, "text">;
|
|
117
|
+
export declare const Button: (props: ButtonProps) => import("preact").JSX.Element;
|
|
118
|
+
export type IconButtonProps = Omit<BaseBtnProps, "text" | "icon" | "autoFocus" | "fullWidth" | "isIconButton" | "isDropdownButton" | "trailingSlot" | "leadingSlot" | "isLink"> & Pick<Required<BaseBtnProps>, "icon"> & {
|
|
119
|
+
rounded?: boolean;
|
|
120
|
+
};
|
|
121
|
+
export declare const IconButton: (props: IconButtonProps) => import("preact").JSX.Element;
|
|
122
|
+
type DropdownButtonProps = Omit<BaseBtnProps, "type" | "autoFocus" | "isDropdownButton" | "isIconButton" | "text" | "isActive" | "isLink"> & Pick<Required<BaseBtnProps>, "text"> & {
|
|
123
|
+
isExpanded?: boolean;
|
|
124
|
+
};
|
|
125
|
+
export declare const DropdownButton: (props: DropdownButtonProps) => import("preact").JSX.Element;
|
|
126
|
+
export declare const ButtonLink: (props: Omit<BaseBtnProps, "href" | "isLink"> & Pick<Required<BaseBtnProps>, "href">) => import("preact").JSX.Element;
|
|
127
|
+
export {};
|
|
128
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAQlC,KAAK,YAAY,GAAG;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC9B;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC5D;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAC;IACtD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;IAC5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC;;;OAGG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACrC;;OAEG;IACH,GAAG,CAAC,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAC;CAChC,CAAC;AAmGF,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,cAAc,GAAG,kBAAkB,GAAG,SAAS,GAAG,QAAQ,CAAC,GAC/G,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,CAAC;AAEvC,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,iCAA2B,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,YAAY,EACV,MAAM,GACN,MAAM,GACN,WAAW,GACX,WAAW,GACX,cAAc,GACd,kBAAkB,GAClB,cAAc,GACd,aAAa,GACb,QAAQ,CACX,GACC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,GAAG;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,iCAAwC,CAAC;AAE1F,KAAK,mBAAmB,GAAG,IAAI,CAC7B,YAAY,EACZ,MAAM,GAAG,WAAW,GAAG,kBAAkB,GAAG,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAC5F,GACC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,GAAG;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEJ,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,iCAExD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,iCAE7G,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { AxisTickProps } from "@nivo/axes";
|
|
2
|
+
import { type BarDatum, type ComputedDatum } from "@nivo/bar";
|
|
3
|
+
import type { CartesianMarkerProps } from "@nivo/core";
|
|
4
|
+
import type { LegendItemValue } from "../Legend/LegendItem/types";
|
|
5
|
+
type BarChartProps<T extends BarDatum> = {
|
|
6
|
+
data: T[];
|
|
7
|
+
legend: LegendItemValue<T>[];
|
|
8
|
+
indexBy: Extract<keyof T, string>;
|
|
9
|
+
lines?: {
|
|
10
|
+
/**
|
|
11
|
+
* Corresponding key of the line in the legend
|
|
12
|
+
*/
|
|
13
|
+
key: Extract<keyof T, string>;
|
|
14
|
+
curveSharpness?: number;
|
|
15
|
+
}[];
|
|
16
|
+
hideEmptyTrendLines?: boolean;
|
|
17
|
+
formatTrendValue?: (value: number, trendKey: Extract<keyof T, string>) => number | undefined;
|
|
18
|
+
formatLegendValue?: (legend: LegendItemValue<T>) => string | number | undefined;
|
|
19
|
+
formatIndexBy?: (value: T, indexBy: Extract<keyof T, string>) => string;
|
|
20
|
+
renderBottomTick?: (props: AxisTickProps<number | string>) => any;
|
|
21
|
+
bottomTickSize?: number;
|
|
22
|
+
onBarClick?: (value: ComputedDatum<T>) => void;
|
|
23
|
+
padding?: number;
|
|
24
|
+
hasValueFn?: (data: T) => boolean;
|
|
25
|
+
currentLocale?: string;
|
|
26
|
+
formatBottomTick?: (value: number | string, item: T) => string | number;
|
|
27
|
+
formatLeftTick?: (value: number | string) => string | number;
|
|
28
|
+
leftAxisTickValues?: number[];
|
|
29
|
+
bottomTickRotation?: number;
|
|
30
|
+
noLegend?: boolean;
|
|
31
|
+
minValue?: number;
|
|
32
|
+
maxValue?: number;
|
|
33
|
+
groupMode?: "grouped" | "stacked";
|
|
34
|
+
markers?: readonly CartesianMarkerProps<string | number>[];
|
|
35
|
+
colors?: (data: ComputedDatum<T>) => string;
|
|
36
|
+
layout?: "horizontal" | "vertical";
|
|
37
|
+
};
|
|
38
|
+
export declare const BarChart: <T extends BarDatum>(props: BarChartProps<T>) => import("preact").JSX.Element;
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=BarChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/BarChart/BarChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAA4B,KAAK,QAAQ,EAAE,KAAK,aAAa,EAAiB,MAAM,WAAW,CAAC;AACvG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAMvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAUlE,KAAK,aAAa,CAAC,CAAC,SAAS,QAAQ,IAAI;IACvC,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE;QACN;;WAEG;QACH,GAAG,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;QAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EAAE,CAAC;IACJ,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAC7F,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAChF,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC;IACxE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,GAAG,CAAC;IAClE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC;IACxE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,GAAG,MAAM,CAAC;IAC7D,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,SAAS,oBAAoB,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC3D,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;IAC5C,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,QAAQ,EAAE,OAAO,aAAa,CAAC,CAAC,CAAC,iCAgLnE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { BarDatum } from "@nivo/bar";
|
|
2
|
+
import type { LegendItemValue } from "../Legend/LegendItem/types";
|
|
3
|
+
export interface BarChartTooltipProps<T extends BarDatum> {
|
|
4
|
+
value: T;
|
|
5
|
+
indexBy: Extract<keyof T, string>;
|
|
6
|
+
legend: LegendItemValue<T>[];
|
|
7
|
+
formatIndexBy?: (value: T, indexBy: Extract<keyof T, string>) => string;
|
|
8
|
+
formatLegendValue?: (legend: LegendItemValue<T>) => string | number | undefined;
|
|
9
|
+
allowZeroValues?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const BarChartTooltip: <T extends BarDatum>({ value, indexBy, legend, formatIndexBy, formatLegendValue, allowZeroValues, }: BarChartTooltipProps<T>) => import("preact").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=BarChartTooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChartTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/BarChart/BarChartTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAI1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,QAAQ;IACtD,KAAK,EAAE,CAAC,CAAC;IACT,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAClC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC;IACxE,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAChF,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,QAAQ,EAAE,gFAOjD,oBAAoB,CAAC,CAAC,CAAC,iCAsBzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomAxisLine.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/BarChart/BottomAxisLine.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGrD,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,CAAC,GAAG,CAAC,iCAyB7D,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { BarCustomLayerProps, BarDatum, BarSvgProps } from "@nivo/bar";
|
|
2
|
+
import { createElement } from "preact";
|
|
3
|
+
import type { LegendItemValue } from "../Legend/LegendItem/types.js";
|
|
4
|
+
export interface BarChartTooltipProps<T extends BarDatum> {
|
|
5
|
+
value: T;
|
|
6
|
+
}
|
|
7
|
+
export declare const getBarSize: (size: number, barSize: "s" | "m" | "l") => number;
|
|
8
|
+
export declare const getRadius: (size: number) => 0 | 1 | 2 | 6 | 4 | 1.5;
|
|
9
|
+
export declare const BarChartItemHoverLayer: <T extends BarDatum>(props: Omit<BarCustomLayerProps<T>, "tooltip"> & {
|
|
10
|
+
tooltip: (props: BarChartTooltipProps<T>) => any;
|
|
11
|
+
indexBy: Extract<keyof T, string>;
|
|
12
|
+
hasValueFn?: (data: T) => boolean;
|
|
13
|
+
layout?: "vertical" | "horizontal";
|
|
14
|
+
onBarClick?: (value: {
|
|
15
|
+
data: T;
|
|
16
|
+
}) => void;
|
|
17
|
+
}) => any;
|
|
18
|
+
export declare const BarChartBars: <T extends BarDatum>(props: BarCustomLayerProps<T> & Pick<BarSvgProps<T>, "layout" | "groupMode"> & {
|
|
19
|
+
legend: LegendItemValue<T>[];
|
|
20
|
+
indexBy: Extract<keyof T, string>;
|
|
21
|
+
barSize: "s" | "m" | "l";
|
|
22
|
+
}) => createElement.JSX.Element;
|
|
23
|
+
//# sourceMappingURL=Layers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layers.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/BarChart/Layers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,WAAW,EAAoB,MAAM,WAAW,CAAC;AAI9F,OAAO,EAAiB,aAAa,EAAE,MAAM,QAAQ,CAAC;AAMtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGrE,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,QAAQ;IACtD,KAAK,EAAE,CAAC,CAAC;CACV;AAWD,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,EAAE,SAAS,GAAG,GAAG,GAAG,GAAG,GAAG,WAEhE,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,4BA0BrC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,QAAQ,EACvD,OAAO,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG;IAC/C,OAAO,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC;IACjD,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAClC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IAClC,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACnC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,KAAK,IAAI,CAAC;CAC3C,KACA,GAwFF,CAAC;AAwLF,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,QAAQ,EAC7C,OAAO,mBAAmB,CAAC,CAAC,CAAC,GAC3B,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC,GAAG;IAC7C,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAClC,OAAO,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAC1B,8BAoBJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BarCustomLayerProps, BarDatum } from "@nivo/bar";
|
|
2
|
+
import type { LegendItemValue } from "../Legend/LegendItem/types";
|
|
3
|
+
export declare const TrendLinesLayer: <T extends BarDatum>(props: BarCustomLayerProps<T> & {
|
|
4
|
+
legend: LegendItemValue<T>[];
|
|
5
|
+
indexBy: Extract<keyof T, string>;
|
|
6
|
+
formatValue?: (value: number, trendKey: Extract<keyof T, string>) => number | undefined;
|
|
7
|
+
}) => import("preact").JSX.Element | null;
|
|
8
|
+
//# sourceMappingURL=TrendLinesLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrendLinesLayer.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/BarChart/TrendLinesLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAoB,MAAM,WAAW,CAAC;AASjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAoBlE,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,QAAQ,EAChD,OAAO,mBAAmB,CAAC,CAAC,CAAC,GAAG;IAC9B,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;CACzF,wCA2JF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FunctionalComponent } from "preact";
|
|
2
|
+
import type { Dispatch, StateUpdater } from "preact/hooks";
|
|
3
|
+
type BarChartState = string | undefined;
|
|
4
|
+
export declare const BarChartStateProvider: FunctionalComponent;
|
|
5
|
+
export declare const useBarChartState: () => [BarChartState, Dispatch<StateUpdater<BarChartState>>];
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/BarChart/context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAiB,MAAM,QAAQ,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAG3D,KAAK,aAAa,GAAG,MAAM,GAAG,SAAS,CAAC;AAIxC,eAAO,MAAM,qBAAqB,EAAE,mBAOnC,CAAC;AAEF,eAAO,MAAM,gBAAgB,8DAQ5B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { BarDatum } from "@nivo/bar";
|
|
2
|
+
export declare const computeVerticalAxisMargin: <T extends BarDatum>({ data, layout, indexBy, keys, stacked, position, formatLeftTick, formatBottomTick, }: {
|
|
3
|
+
data: T[];
|
|
4
|
+
indexBy: Extract<keyof T, string>;
|
|
5
|
+
layout: "horizontal" | "vertical";
|
|
6
|
+
keys: string[];
|
|
7
|
+
stacked: boolean;
|
|
8
|
+
position: "left" | "right";
|
|
9
|
+
formatLeftTick: (value: number | string) => string | number;
|
|
10
|
+
formatBottomTick: (value: number | string, item: T) => string | number;
|
|
11
|
+
}) => number;
|
|
12
|
+
export declare const isEmptyChart: <T extends BarDatum>(data: T[], indexBy: Extract<keyof T, string>) => boolean;
|
|
13
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/BarChart/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAG1C,eAAO,MAAM,yBAAyB,GAAI,CAAC,SAAS,QAAQ,EAAE,uFAS3D;IACD,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAClC,MAAM,EAAE,YAAY,GAAG,UAAU,CAAC;IAClC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,GAAG,MAAM,CAAC;IAC5D,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC;CACxE,WA8BA,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,QAAQ,EAAE,MAAM,CAAC,EAAE,EAAE,SAAS,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,YAM5F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChartRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/Charts/BarChartRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAU5D,eAAO,MAAM,aAAa,GAAI,kBAAkB,gBAAgB,wCA2G/D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/ChartTooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAQlD,eAAO,MAAM,YAAY,EAAE,mBAAmB,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAkBA,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** A tooltip shared by HTML and SVG chart targets, including keyboard interaction. */
|
|
2
|
+
export declare const useChartTooltip: (text: string, tooltipText?: string) => {
|
|
3
|
+
triggerProps: {
|
|
4
|
+
tabindex: number;
|
|
5
|
+
"data-chart-tooltip-trigger": boolean;
|
|
6
|
+
"aria-describedby": string;
|
|
7
|
+
onMouseEnter: (event: MouseEvent) => void;
|
|
8
|
+
onMouseLeave: () => void;
|
|
9
|
+
onFocus: (event: FocusEvent) => void;
|
|
10
|
+
onBlur: () => void;
|
|
11
|
+
};
|
|
12
|
+
tooltip: import("preact").VNode<any> | null;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=useChartTooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/ChartTooltip/useChartTooltip.tsx"],"names":[],"mappings":"AAMA,sFAAsF;AACtF,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,EAAE,oBAAkB;;;;;8BAiElC,UAAU;;yBAQf,UAAU;;;;CAyClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartWidget.d.ts","sourceRoot":"","sources":["../../../src/components/Charts/ChartWidget.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AA6B5D,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,wCAkDlD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { UIChartData } from "@allurereport/web-commons";
|
|
2
|
+
export type ChartWidgetProps = {
|
|
3
|
+
chartData: UIChartData;
|
|
4
|
+
t: (key: string, options?: any) => string;
|
|
5
|
+
empty: (key: string, options?: any) => string;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=ChartWidget.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartWidget.types.d.ts","sourceRoot":"","sources":["../../../src/components/Charts/ChartWidget.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,WAAW,CAAC;IACvB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;IAC1C,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;CAC/C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Statistic } from "@allurereport/core-api";
|
|
2
|
+
import type { I18nProp } from "./types";
|
|
3
|
+
type Props = {
|
|
4
|
+
stats: Statistic;
|
|
5
|
+
i18n: I18nProp;
|
|
6
|
+
layout: "vertical" | "horizontal";
|
|
7
|
+
};
|
|
8
|
+
export declare const AdditionalStats: (props: Props) => import("preact").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=AdditionalStats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdditionalStats.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/CurrentStatusChartWidget/AdditionalStats.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,KAAK,KAAK,GAAG;IAAE,KAAK,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,UAAU,GAAG,YAAY,CAAA;CAAE,CAAC;AAqBrF,eAAO,MAAM,eAAe,GAAI,OAAO,KAAK,iCAgB3C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Statistic } from "@allurereport/core-api";
|
|
2
|
+
import type { ChartDatum } from "./types";
|
|
3
|
+
export declare const PIE_PADDING = 8;
|
|
4
|
+
export declare const MAX_ADDITIONAL_STATS_WIDTH = 46;
|
|
5
|
+
export declare const GAP = 16;
|
|
6
|
+
export declare const MAX_PIE_WIDTH = 300;
|
|
7
|
+
export declare const EMPTY_ARC: ChartDatum;
|
|
8
|
+
export declare const ADD_STATS_KEYS: (keyof Pick<Statistic, "new" | "flaky" | "retries">)[];
|
|
9
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/CurrentStatusChartWidget/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAC7C,eAAO,MAAM,GAAG,KAAK,CAAC;AACtB,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,eAAO,MAAM,SAAS,EAAE,UAMvB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAkC,CAAC,MAAM,IAAI,CAAC,SAAS,EAAE,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/CurrentStatusChartWidget/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAYlD,OAAO,KAAK,EAAc,KAAK,EAAE,MAAM,SAAS,CAAC;AAgBjD,eAAO,MAAM,wBAAwB,EAAE,mBAAmB,CAAC,KAAK,CA2D/D,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PieCustomLayerProps } from "@nivo/pie";
|
|
2
|
+
import type { ChartDatum, I18nProp } from "./types";
|
|
3
|
+
export declare const CenteredMetric: ({ metric, metricType, layerProps, isEmpty, i18n, total, }: {
|
|
4
|
+
metric: string;
|
|
5
|
+
metricType: "total" | "percent";
|
|
6
|
+
layerProps: PieCustomLayerProps<ChartDatum>;
|
|
7
|
+
isEmpty: boolean;
|
|
8
|
+
i18n: I18nProp;
|
|
9
|
+
total: number;
|
|
10
|
+
}) => import("preact").JSX.Element | null;
|
|
11
|
+
//# sourceMappingURL=parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/CurrentStatusChartWidget/parts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGrD,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAKpD,eAAO,MAAM,cAAc,GAAI,2DAO5B;IACD,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,UAAU,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAC;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,wCAUA,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Statistic, TestStatus } from "@allurereport/core-api";
|
|
2
|
+
type I18nKeys = "status.passed" | "status.failed" | "status.skipped" | "status.unknown" | "status.broken" | "percentage" | "of" | "tests.new" | "tests.flaky" | "tests.retries" | "total";
|
|
3
|
+
export type I18nProp = (key: I18nKeys, props?: Record<string, unknown>) => string;
|
|
4
|
+
export type Props = {
|
|
5
|
+
title?: string;
|
|
6
|
+
i18n?: I18nProp;
|
|
7
|
+
data: Statistic;
|
|
8
|
+
statuses?: TestStatus[];
|
|
9
|
+
metric?: TestStatus;
|
|
10
|
+
};
|
|
11
|
+
export type ChartDatum = {
|
|
12
|
+
id: string;
|
|
13
|
+
value: number;
|
|
14
|
+
color: string;
|
|
15
|
+
label: string;
|
|
16
|
+
};
|
|
17
|
+
export type ChartData = ChartDatum[];
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=types.d.ts.map
|