@fivepixels-js/react 0.1.7 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -3
- package/dist/components/icons/Icons.d.ts +34 -0
- package/dist/components/icons/Icons.d.ts.map +1 -1
- package/dist/components/icons/Icons.js +67 -13
- package/dist/components/icons/Icons.js.map +1 -1
- package/dist/components/icons/ProbeLayoutIcons.d.ts +16 -0
- package/dist/components/icons/ProbeLayoutIcons.d.ts.map +1 -0
- package/dist/components/icons/ProbeLayoutIcons.js +62 -0
- package/dist/components/icons/ProbeLayoutIcons.js.map +1 -0
- package/dist/components/overlay/PickTargetCompareChip.d.ts +7 -0
- package/dist/components/overlay/PickTargetCompareChip.d.ts.map +1 -0
- package/dist/components/overlay/PickTargetCompareChip.js +35 -0
- package/dist/components/overlay/PickTargetCompareChip.js.map +1 -0
- package/dist/components/overlay/PickTargetCompareSegment.d.ts +12 -0
- package/dist/components/overlay/PickTargetCompareSegment.d.ts.map +1 -0
- package/dist/components/overlay/PickTargetCompareSegment.js +17 -0
- package/dist/components/overlay/PickTargetCompareSegment.js.map +1 -0
- package/dist/components/overlay/PickTargetContextMenu.d.ts +8 -0
- package/dist/components/overlay/PickTargetContextMenu.d.ts.map +1 -0
- package/dist/components/overlay/PickTargetContextMenu.js +30 -0
- package/dist/components/overlay/PickTargetContextMenu.js.map +1 -0
- package/dist/components/overlay/PickTargetHoverTooltip.d.ts +7 -0
- package/dist/components/overlay/PickTargetHoverTooltip.d.ts.map +1 -0
- package/dist/components/overlay/PickTargetHoverTooltip.js +69 -0
- package/dist/components/overlay/PickTargetHoverTooltip.js.map +1 -0
- package/dist/components/overlay/PickTargetProbePanel.d.ts +2 -0
- package/dist/components/overlay/PickTargetProbePanel.d.ts.map +1 -0
- package/dist/components/overlay/PickTargetProbePanel.js +106 -0
- package/dist/components/overlay/PickTargetProbePanel.js.map +1 -0
- package/dist/components/overlay/PickTargetSavedBadges.d.ts +2 -0
- package/dist/components/overlay/PickTargetSavedBadges.d.ts.map +1 -0
- package/dist/components/overlay/PickTargetSavedBadges.js +63 -0
- package/dist/components/overlay/PickTargetSavedBadges.js.map +1 -0
- package/dist/components/overlay/ProbeLayoutControls.d.ts +11 -0
- package/dist/components/overlay/ProbeLayoutControls.d.ts.map +1 -0
- package/dist/components/overlay/ProbeLayoutControls.js +82 -0
- package/dist/components/overlay/ProbeLayoutControls.js.map +1 -0
- package/dist/components/overlay/ReportOverlayLayer.d.ts.map +1 -1
- package/dist/components/overlay/ReportOverlayLayer.js +16 -2
- package/dist/components/overlay/ReportOverlayLayer.js.map +1 -1
- package/dist/components/overlay/TargetHighlights.d.ts +7 -2
- package/dist/components/overlay/TargetHighlights.d.ts.map +1 -1
- package/dist/components/overlay/TargetHighlights.js +18 -14
- package/dist/components/overlay/TargetHighlights.js.map +1 -1
- package/dist/components/panel/AppearanceThemePicker.d.ts +15 -0
- package/dist/components/panel/AppearanceThemePicker.d.ts.map +1 -0
- package/dist/components/panel/AppearanceThemePicker.js +30 -0
- package/dist/components/panel/AppearanceThemePicker.js.map +1 -0
- package/dist/components/panel/DiscreteScaleDial.d.ts +10 -0
- package/dist/components/panel/DiscreteScaleDial.d.ts.map +1 -0
- package/dist/components/panel/DiscreteScaleDial.js +14 -0
- package/dist/components/panel/DiscreteScaleDial.js.map +1 -0
- package/dist/components/panel/DraftProbeSummaryBanner.d.ts +2 -0
- package/dist/components/panel/DraftProbeSummaryBanner.d.ts.map +1 -0
- package/dist/components/panel/DraftProbeSummaryBanner.js +10 -0
- package/dist/components/panel/DraftProbeSummaryBanner.js.map +1 -0
- package/dist/components/panel/FeedbackActivityHeatmap.d.ts +2 -0
- package/dist/components/panel/FeedbackActivityHeatmap.d.ts.map +1 -0
- package/dist/components/panel/FeedbackActivityHeatmap.js +172 -0
- package/dist/components/panel/FeedbackActivityHeatmap.js.map +1 -0
- package/dist/components/panel/HexColorField.d.ts +9 -0
- package/dist/components/panel/HexColorField.d.ts.map +1 -0
- package/dist/components/panel/HexColorField.js +23 -0
- package/dist/components/panel/HexColorField.js.map +1 -0
- package/dist/components/panel/MarkerShapePicker.d.ts +10 -0
- package/dist/components/panel/MarkerShapePicker.d.ts.map +1 -0
- package/dist/components/panel/MarkerShapePicker.js +26 -0
- package/dist/components/panel/MarkerShapePicker.js.map +1 -0
- package/dist/components/panel/PanelDropdownMenu.d.ts.map +1 -1
- package/dist/components/panel/PanelDropdownMenu.js +25 -14
- package/dist/components/panel/PanelDropdownMenu.js.map +1 -1
- package/dist/components/panel/PanelKeyGate.d.ts +7 -0
- package/dist/components/panel/PanelKeyGate.d.ts.map +1 -0
- package/dist/components/panel/PanelKeyGate.js +38 -0
- package/dist/components/panel/PanelKeyGate.js.map +1 -0
- package/dist/components/panel/PanelOnboarding.d.ts +2 -0
- package/dist/components/panel/PanelOnboarding.d.ts.map +1 -0
- package/dist/components/panel/PanelOnboarding.js +115 -0
- package/dist/components/panel/PanelOnboarding.js.map +1 -0
- package/dist/components/panel/PanelPresentationSwitch.d.ts +2 -0
- package/dist/components/panel/PanelPresentationSwitch.d.ts.map +1 -0
- package/dist/components/panel/PanelPresentationSwitch.js +40 -0
- package/dist/components/panel/PanelPresentationSwitch.js.map +1 -0
- package/dist/components/panel/PanelProjectFooter.d.ts +2 -0
- package/dist/components/panel/PanelProjectFooter.d.ts.map +1 -0
- package/dist/components/panel/PanelProjectFooter.js +7 -0
- package/dist/components/panel/PanelProjectFooter.js.map +1 -0
- package/dist/components/panel/PanelRoleSwitch.d.ts +2 -0
- package/dist/components/panel/PanelRoleSwitch.d.ts.map +1 -0
- package/dist/components/panel/PanelRoleSwitch.js +21 -0
- package/dist/components/panel/PanelRoleSwitch.js.map +1 -0
- package/dist/components/panel/PanelSettings.d.ts +21 -0
- package/dist/components/panel/PanelSettings.d.ts.map +1 -0
- package/dist/components/panel/PanelSettings.js +103 -0
- package/dist/components/panel/PanelSettings.js.map +1 -0
- package/dist/components/panel/PanelTabSelector.d.ts +13 -0
- package/dist/components/panel/PanelTabSelector.d.ts.map +1 -0
- package/dist/components/panel/PanelTabSelector.js +44 -0
- package/dist/components/panel/PanelTabSelector.js.map +1 -0
- package/dist/components/panel/ProbeEditModeBanner.d.ts +2 -0
- package/dist/components/panel/ProbeEditModeBanner.d.ts.map +1 -0
- package/dist/components/panel/ProbeEditModeBanner.js +22 -0
- package/dist/components/panel/ProbeEditModeBanner.js.map +1 -0
- package/dist/components/panel/ReportAuthDiagnostics.d.ts +2 -0
- package/dist/components/panel/ReportAuthDiagnostics.d.ts.map +1 -0
- package/dist/components/panel/ReportAuthDiagnostics.js +67 -0
- package/dist/components/panel/ReportAuthDiagnostics.js.map +1 -0
- package/dist/components/panel/ReportCommandPanel.js +1 -1
- package/dist/components/panel/ReportCommandPanel.js.map +1 -1
- package/dist/components/panel/ReportCommandReplaceConfirmDialog.d.ts.map +1 -1
- package/dist/components/panel/ReportCommandReplaceConfirmDialog.js +2 -1
- package/dist/components/panel/ReportCommandReplaceConfirmDialog.js.map +1 -1
- package/dist/components/panel/ReportControlPanel.d.ts.map +1 -1
- package/dist/components/panel/ReportControlPanel.js +62 -46
- package/dist/components/panel/ReportControlPanel.js.map +1 -1
- package/dist/components/panel/ReportDraftForm.d.ts.map +1 -1
- package/dist/components/panel/ReportDraftForm.js +41 -16
- package/dist/components/panel/ReportDraftForm.js.map +1 -1
- package/dist/components/panel/ReportFeedbackList.d.ts.map +1 -1
- package/dist/components/panel/ReportFeedbackList.js +46 -105
- package/dist/components/panel/ReportFeedbackList.js.map +1 -1
- package/dist/components/panel/ReportOverview.d.ts +2 -0
- package/dist/components/panel/ReportOverview.d.ts.map +1 -0
- package/dist/components/panel/ReportOverview.js +6 -0
- package/dist/components/panel/ReportOverview.js.map +1 -0
- package/dist/components/panel/ReportPersonalKeyDialog.js +2 -2
- package/dist/components/panel/ReportPersonalKeyDialog.js.map +1 -1
- package/dist/components/panel/ReportRouteDetails.d.ts.map +1 -1
- package/dist/components/panel/ReportRouteDetails.js +23 -11
- package/dist/components/panel/ReportRouteDetails.js.map +1 -1
- package/dist/components/panel/RouteDetailsTimeline.d.ts +13 -0
- package/dist/components/panel/RouteDetailsTimeline.d.ts.map +1 -0
- package/dist/components/panel/RouteDetailsTimeline.js +53 -0
- package/dist/components/panel/RouteDetailsTimeline.js.map +1 -0
- package/dist/components/panel/ThemePreviewSkeleton.d.ts +7 -0
- package/dist/components/panel/ThemePreviewSkeleton.d.ts.map +1 -0
- package/dist/components/panel/ThemePreviewSkeleton.js +25 -0
- package/dist/components/panel/ThemePreviewSkeleton.js.map +1 -0
- package/dist/components/panel/experimental/ExperimentalFeedbackRow.d.ts +8 -0
- package/dist/components/panel/experimental/ExperimentalFeedbackRow.d.ts.map +1 -0
- package/dist/components/panel/experimental/ExperimentalFeedbackRow.js +13 -0
- package/dist/components/panel/experimental/ExperimentalFeedbackRow.js.map +1 -0
- package/dist/components/panel/experimental/ReportMyTasksPanel.d.ts +2 -0
- package/dist/components/panel/experimental/ReportMyTasksPanel.d.ts.map +1 -0
- package/dist/components/panel/experimental/ReportMyTasksPanel.js +16 -0
- package/dist/components/panel/experimental/ReportMyTasksPanel.js.map +1 -0
- package/dist/components/panel/experimental/ReportNeedsAttentionPanel.d.ts +2 -0
- package/dist/components/panel/experimental/ReportNeedsAttentionPanel.d.ts.map +1 -0
- package/dist/components/panel/experimental/ReportNeedsAttentionPanel.js +16 -0
- package/dist/components/panel/experimental/ReportNeedsAttentionPanel.js.map +1 -0
- package/dist/components/panel/experimental/ReportPageBriefPanel.d.ts +2 -0
- package/dist/components/panel/experimental/ReportPageBriefPanel.d.ts.map +1 -0
- package/dist/components/panel/experimental/ReportPageBriefPanel.js +15 -0
- package/dist/components/panel/experimental/ReportPageBriefPanel.js.map +1 -0
- package/dist/components/panel/experimental/ReportProjectHealthPanel.d.ts +2 -0
- package/dist/components/panel/experimental/ReportProjectHealthPanel.d.ts.map +1 -0
- package/dist/components/panel/experimental/ReportProjectHealthPanel.js +22 -0
- package/dist/components/panel/experimental/ReportProjectHealthPanel.js.map +1 -0
- package/dist/components/panel/experimental/ReportTodayDigestPanel.d.ts +2 -0
- package/dist/components/panel/experimental/ReportTodayDigestPanel.d.ts.map +1 -0
- package/dist/components/panel/experimental/ReportTodayDigestPanel.js +16 -0
- package/dist/components/panel/experimental/ReportTodayDigestPanel.js.map +1 -0
- package/dist/components/panel/feedback/AssigneeThreadEntry.d.ts +20 -0
- package/dist/components/panel/feedback/AssigneeThreadEntry.d.ts.map +1 -0
- package/dist/components/panel/feedback/AssigneeThreadEntry.js +23 -0
- package/dist/components/panel/feedback/AssigneeThreadEntry.js.map +1 -0
- package/dist/components/panel/feedback/CaseAssigneeInfo.d.ts +8 -0
- package/dist/components/panel/feedback/CaseAssigneeInfo.d.ts.map +1 -0
- package/dist/components/panel/feedback/CaseAssigneeInfo.js +20 -0
- package/dist/components/panel/feedback/CaseAssigneeInfo.js.map +1 -0
- package/dist/components/panel/feedback/ComposerFooterWarning.d.ts +6 -0
- package/dist/components/panel/feedback/ComposerFooterWarning.d.ts.map +1 -0
- package/dist/components/panel/feedback/ComposerFooterWarning.js +6 -0
- package/dist/components/panel/feedback/ComposerFooterWarning.js.map +1 -0
- package/dist/components/panel/feedback/FeedbackCaseEditor.d.ts +15 -0
- package/dist/components/panel/feedback/FeedbackCaseEditor.d.ts.map +1 -0
- package/dist/components/panel/feedback/FeedbackCaseEditor.js +111 -0
- package/dist/components/panel/feedback/FeedbackCaseEditor.js.map +1 -0
- package/dist/components/panel/feedback/FeedbackCaseList.d.ts +21 -0
- package/dist/components/panel/feedback/FeedbackCaseList.d.ts.map +1 -0
- package/dist/components/panel/feedback/FeedbackCaseList.js +48 -0
- package/dist/components/panel/feedback/FeedbackCaseList.js.map +1 -0
- package/dist/components/panel/feedback/FeedbackCaseTabBar.d.ts +34 -0
- package/dist/components/panel/feedback/FeedbackCaseTabBar.d.ts.map +1 -0
- package/dist/components/panel/feedback/FeedbackCaseTabBar.js +37 -0
- package/dist/components/panel/feedback/FeedbackCaseTabBar.js.map +1 -0
- package/dist/components/panel/feedback/FeedbackCategorySelector.d.ts +12 -0
- package/dist/components/panel/feedback/FeedbackCategorySelector.d.ts.map +1 -0
- package/dist/components/panel/feedback/FeedbackCategorySelector.js +25 -0
- package/dist/components/panel/feedback/FeedbackCategorySelector.js.map +1 -0
- package/dist/components/panel/feedback/FeedbackComposer.d.ts +20 -4
- package/dist/components/panel/feedback/FeedbackComposer.d.ts.map +1 -1
- package/dist/components/panel/feedback/FeedbackComposer.js +78 -11
- package/dist/components/panel/feedback/FeedbackComposer.js.map +1 -1
- package/dist/components/panel/feedback/FeedbackHoverCard.d.ts +1 -5
- package/dist/components/panel/feedback/FeedbackHoverCard.d.ts.map +1 -1
- package/dist/components/panel/feedback/FeedbackHoverCard.js +21 -14
- package/dist/components/panel/feedback/FeedbackHoverCard.js.map +1 -1
- package/dist/components/panel/feedback/FeedbackListItem.d.ts +17 -0
- package/dist/components/panel/feedback/FeedbackListItem.d.ts.map +1 -0
- package/dist/components/panel/feedback/FeedbackListItem.js +70 -0
- package/dist/components/panel/feedback/FeedbackListItem.js.map +1 -0
- package/dist/components/panel/feedback/FeedbackStatusBadge.d.ts +2 -1
- package/dist/components/panel/feedback/FeedbackStatusBadge.d.ts.map +1 -1
- package/dist/components/panel/feedback/FeedbackStatusBadge.js +2 -2
- package/dist/components/panel/feedback/FeedbackStatusBadge.js.map +1 -1
- package/dist/components/panel/feedback/FeedbackThread.d.ts +9 -3
- package/dist/components/panel/feedback/FeedbackThread.d.ts.map +1 -1
- package/dist/components/panel/feedback/FeedbackThread.js +155 -39
- package/dist/components/panel/feedback/FeedbackThread.js.map +1 -1
- package/dist/components/panel/feedback/PickTargetSnippet.d.ts +7 -0
- package/dist/components/panel/feedback/PickTargetSnippet.d.ts.map +1 -0
- package/dist/components/panel/feedback/PickTargetSnippet.js +30 -0
- package/dist/components/panel/feedback/PickTargetSnippet.js.map +1 -0
- package/dist/components/panel/feedback/QuestionThreadGroup.d.ts +9 -0
- package/dist/components/panel/feedback/QuestionThreadGroup.d.ts.map +1 -0
- package/dist/components/panel/feedback/QuestionThreadGroup.js +30 -0
- package/dist/components/panel/feedback/QuestionThreadGroup.js.map +1 -0
- package/dist/components/panel/feedback/ReplyHistoryControls.d.ts +8 -0
- package/dist/components/panel/feedback/ReplyHistoryControls.d.ts.map +1 -0
- package/dist/components/panel/feedback/ReplyHistoryControls.js +26 -0
- package/dist/components/panel/feedback/ReplyHistoryControls.js.map +1 -0
- package/dist/components/panel/feedback/ThreadAuthorMeta.d.ts +10 -0
- package/dist/components/panel/feedback/ThreadAuthorMeta.d.ts.map +1 -0
- package/dist/components/panel/feedback/ThreadAuthorMeta.js +9 -0
- package/dist/components/panel/feedback/ThreadAuthorMeta.js.map +1 -0
- package/dist/components/panel/feedback/ThreadChildReply.d.ts +8 -0
- package/dist/components/panel/feedback/ThreadChildReply.d.ts.map +1 -0
- package/dist/components/panel/feedback/ThreadChildReply.js +7 -0
- package/dist/components/panel/feedback/ThreadChildReply.js.map +1 -0
- package/dist/components/panel/feedback/ThreadTimelineRow.d.ts +11 -0
- package/dist/components/panel/feedback/ThreadTimelineRow.d.ts.map +1 -0
- package/dist/components/panel/feedback/ThreadTimelineRow.js +7 -0
- package/dist/components/panel/feedback/ThreadTimelineRow.js.map +1 -0
- package/dist/components/point/MarkerCaseSidebar.d.ts +9 -0
- package/dist/components/point/MarkerCaseSidebar.d.ts.map +1 -0
- package/dist/components/point/MarkerCaseSidebar.js +27 -0
- package/dist/components/point/MarkerCaseSidebar.js.map +1 -0
- package/dist/components/point/MarkerFeedbackWindow.d.ts +9 -0
- package/dist/components/point/MarkerFeedbackWindow.d.ts.map +1 -0
- package/dist/components/point/MarkerFeedbackWindow.js +257 -0
- package/dist/components/point/MarkerFeedbackWindow.js.map +1 -0
- package/dist/components/point/ReportDraftMarker.d.ts.map +1 -1
- package/dist/components/point/ReportDraftMarker.js +8 -17
- package/dist/components/point/ReportDraftMarker.js.map +1 -1
- package/dist/components/point/ReportMarkersLayer.d.ts.map +1 -1
- package/dist/components/point/ReportMarkersLayer.js +41 -95
- package/dist/components/point/ReportMarkersLayer.js.map +1 -1
- package/dist/components/report/FivePixels.d.ts +7 -28
- package/dist/components/report/FivePixels.d.ts.map +1 -1
- package/dist/components/report/FivePixels.js +3 -3
- package/dist/components/report/FivePixels.js.map +1 -1
- package/dist/components/report/ReportView.d.ts.map +1 -1
- package/dist/components/report/ReportView.js +5 -3
- package/dist/components/report/ReportView.js.map +1 -1
- package/dist/components/report/ShadowReportRoot.d.ts +2 -2
- package/dist/components/report/ShadowReportRoot.d.ts.map +1 -1
- package/dist/components/report/ShadowReportRoot.js +4 -7
- package/dist/components/report/ShadowReportRoot.js.map +1 -1
- package/dist/components/report/ThemeScope.d.ts +10 -0
- package/dist/components/report/ThemeScope.d.ts.map +1 -0
- package/dist/components/report/ThemeScope.js +5 -0
- package/dist/components/report/ThemeScope.js.map +1 -0
- package/dist/components/report/index.d.ts +4 -1
- package/dist/components/report/index.d.ts.map +1 -1
- package/dist/components/report/index.js +3 -0
- package/dist/components/report/index.js.map +1 -1
- package/dist/components/ui/CornerResizeGhost.d.ts +8 -0
- package/dist/components/ui/CornerResizeGhost.d.ts.map +1 -0
- package/dist/components/ui/CornerResizeGhost.js +5 -0
- package/dist/components/ui/CornerResizeGhost.js.map +1 -0
- package/dist/components/ui/CornerResizeHandle.d.ts +11 -0
- package/dist/components/ui/CornerResizeHandle.d.ts.map +1 -0
- package/dist/components/ui/CornerResizeHandle.js +32 -0
- package/dist/components/ui/CornerResizeHandle.js.map +1 -0
- package/dist/components/ui/HoverTooltip.d.ts +4 -2
- package/dist/components/ui/HoverTooltip.d.ts.map +1 -1
- package/dist/components/ui/HoverTooltip.js +28 -17
- package/dist/components/ui/HoverTooltip.js.map +1 -1
- package/dist/components/ui/IconTooltipButton.d.ts.map +1 -1
- package/dist/components/ui/IconTooltipButton.js +5 -2
- package/dist/components/ui/IconTooltipButton.js.map +1 -1
- package/dist/components/ui/PointerFollowTooltip.d.ts +14 -0
- package/dist/components/ui/PointerFollowTooltip.d.ts.map +1 -0
- package/dist/components/ui/PointerFollowTooltip.js +58 -0
- package/dist/components/ui/PointerFollowTooltip.js.map +1 -0
- package/dist/components/ui/ProcessingDots.d.ts +6 -0
- package/dist/components/ui/ProcessingDots.d.ts.map +1 -0
- package/dist/components/ui/ProcessingDots.js +19 -0
- package/dist/components/ui/ProcessingDots.js.map +1 -0
- package/dist/components/ui/Text/index.d.ts +6 -0
- package/dist/components/ui/Text/index.d.ts.map +1 -0
- package/dist/components/ui/Text/index.js +5 -0
- package/dist/components/ui/Text/index.js.map +1 -0
- package/dist/components/ui/Text/ui/Shimmer.d.ts +14 -0
- package/dist/components/ui/Text/ui/Shimmer.d.ts.map +1 -0
- package/dist/components/ui/Text/ui/Shimmer.js +41 -0
- package/dist/components/ui/Text/ui/Shimmer.js.map +1 -0
- package/dist/constants/appearance.d.ts +10 -0
- package/dist/constants/appearance.d.ts.map +1 -0
- package/dist/constants/appearance.js +10 -0
- package/dist/constants/appearance.js.map +1 -0
- package/dist/constants/feedbackCategory.d.ts +5 -0
- package/dist/constants/feedbackCategory.d.ts.map +1 -0
- package/dist/constants/feedbackCategory.js +5 -0
- package/dist/constants/feedbackCategory.js.map +1 -0
- package/dist/constants/feedbackStatus.d.ts +1 -1
- package/dist/constants/feedbackStatus.d.ts.map +1 -1
- package/dist/constants/feedbackStatus.js +20 -8
- package/dist/constants/feedbackStatus.js.map +1 -1
- package/dist/constants/feedbackStorageEvents.d.ts +3 -0
- package/dist/constants/feedbackStorageEvents.d.ts.map +1 -0
- package/dist/constants/feedbackStorageEvents.js +8 -0
- package/dist/constants/feedbackStorageEvents.js.map +1 -0
- package/dist/constants/markerAppearance.d.ts +35 -0
- package/dist/constants/markerAppearance.d.ts.map +1 -0
- package/dist/constants/markerAppearance.js +57 -0
- package/dist/constants/markerAppearance.js.map +1 -0
- package/dist/constants/panelRole.d.ts +5 -0
- package/dist/constants/panelRole.d.ts.map +1 -0
- package/dist/constants/panelRole.js +6 -0
- package/dist/constants/panelRole.js.map +1 -0
- package/dist/constants/panelTabPresets.d.ts +14 -0
- package/dist/constants/panelTabPresets.d.ts.map +1 -0
- package/dist/constants/panelTabPresets.js +48 -0
- package/dist/constants/panelTabPresets.js.map +1 -0
- package/dist/constants/panelTabRegistry.d.ts +23 -0
- package/dist/constants/panelTabRegistry.d.ts.map +1 -0
- package/dist/constants/panelTabRegistry.js +95 -0
- package/dist/constants/panelTabRegistry.js.map +1 -0
- package/dist/constants/replyHistory.d.ts +8 -0
- package/dist/constants/replyHistory.d.ts.map +1 -0
- package/dist/constants/replyHistory.js +15 -0
- package/dist/constants/replyHistory.js.map +1 -0
- package/dist/constants/report.d.ts +5 -0
- package/dist/constants/report.d.ts.map +1 -1
- package/dist/constants/report.js +5 -0
- package/dist/constants/report.js.map +1 -1
- package/dist/constants/storageKeys.d.ts +2 -0
- package/dist/constants/storageKeys.d.ts.map +1 -1
- package/dist/constants/storageKeys.js +4 -0
- package/dist/constants/storageKeys.js.map +1 -1
- package/dist/hooks/replyHistoryActions.d.ts +30 -0
- package/dist/hooks/replyHistoryActions.d.ts.map +1 -0
- package/dist/hooks/replyHistoryActions.js +278 -0
- package/dist/hooks/replyHistoryActions.js.map +1 -0
- package/dist/hooks/report.api.d.ts +3 -1
- package/dist/hooks/report.api.d.ts.map +1 -1
- package/dist/hooks/report.api.js +27 -4
- package/dist/hooks/report.api.js.map +1 -1
- package/dist/hooks/report.query.d.ts +1 -1
- package/dist/hooks/report.query.d.ts.map +1 -1
- package/dist/hooks/report.query.js +3 -2
- package/dist/hooks/report.query.js.map +1 -1
- package/dist/hooks/useActivitySummary.d.ts +13 -0
- package/dist/hooks/useActivitySummary.d.ts.map +1 -0
- package/dist/hooks/useActivitySummary.js +41 -0
- package/dist/hooks/useActivitySummary.js.map +1 -0
- package/dist/hooks/useAppearancePreference.d.ts +1 -1
- package/dist/hooks/useAppearancePreference.d.ts.map +1 -1
- package/dist/hooks/useAppearancePreference.js +14 -11
- package/dist/hooks/useAppearancePreference.js.map +1 -1
- package/dist/hooks/useDraggableWindow.d.ts +17 -0
- package/dist/hooks/useDraggableWindow.d.ts.map +1 -0
- package/dist/hooks/useDraggableWindow.js +104 -0
- package/dist/hooks/useDraggableWindow.js.map +1 -0
- package/dist/hooks/useGhostCornerResize.d.ts +36 -0
- package/dist/hooks/useGhostCornerResize.d.ts.map +1 -0
- package/dist/hooks/useGhostCornerResize.js +161 -0
- package/dist/hooks/useGhostCornerResize.js.map +1 -0
- package/dist/hooks/useMarkerAppearancePreference.d.ts +10 -0
- package/dist/hooks/useMarkerAppearancePreference.d.ts.map +1 -0
- package/dist/hooks/useMarkerAppearancePreference.js +94 -0
- package/dist/hooks/useMarkerAppearancePreference.js.map +1 -0
- package/dist/hooks/useMarkerTargetPreviewPreference.d.ts +6 -0
- package/dist/hooks/useMarkerTargetPreviewPreference.d.ts.map +1 -0
- package/dist/hooks/useMarkerTargetPreviewPreference.js +41 -0
- package/dist/hooks/useMarkerTargetPreviewPreference.js.map +1 -0
- package/dist/hooks/usePanelBootstrap.d.ts +16 -0
- package/dist/hooks/usePanelBootstrap.d.ts.map +1 -0
- package/dist/hooks/usePanelBootstrap.js +46 -0
- package/dist/hooks/usePanelBootstrap.js.map +1 -0
- package/dist/hooks/usePanelDock.d.ts.map +1 -1
- package/dist/hooks/usePanelDock.js +40 -31
- package/dist/hooks/usePanelDock.js.map +1 -1
- package/dist/hooks/usePanelFeedbackTransfer.d.ts +3 -3
- package/dist/hooks/usePanelFeedbackTransfer.d.ts.map +1 -1
- package/dist/hooks/usePanelFeedbackTransfer.js +13 -13
- package/dist/hooks/usePanelFeedbackTransfer.js.map +1 -1
- package/dist/hooks/usePanelResize.d.ts +44 -0
- package/dist/hooks/usePanelResize.d.ts.map +1 -0
- package/dist/hooks/usePanelResize.js +234 -0
- package/dist/hooks/usePanelResize.js.map +1 -0
- package/dist/hooks/usePanelRolePreference.d.ts +6 -0
- package/dist/hooks/usePanelRolePreference.d.ts.map +1 -0
- package/dist/hooks/usePanelRolePreference.js +38 -0
- package/dist/hooks/usePanelRolePreference.js.map +1 -0
- package/dist/hooks/usePanelTabPreference.d.ts +13 -0
- package/dist/hooks/usePanelTabPreference.d.ts.map +1 -0
- package/dist/hooks/usePanelTabPreference.js +66 -0
- package/dist/hooks/usePanelTabPreference.js.map +1 -0
- package/dist/hooks/usePersonalKey.d.ts +18 -2
- package/dist/hooks/usePersonalKey.d.ts.map +1 -1
- package/dist/hooks/usePersonalKey.js +43 -16
- package/dist/hooks/usePersonalKey.js.map +1 -1
- package/dist/hooks/useQuestionThreadPreference.d.ts +6 -0
- package/dist/hooks/useQuestionThreadPreference.d.ts.map +1 -0
- package/dist/hooks/useQuestionThreadPreference.js +40 -0
- package/dist/hooks/useQuestionThreadPreference.js.map +1 -0
- package/dist/hooks/useReportPersistence.d.ts +26 -16
- package/dist/hooks/useReportPersistence.d.ts.map +1 -1
- package/dist/hooks/useReportPersistence.js +158 -58
- package/dist/hooks/useReportPersistence.js.map +1 -1
- package/dist/hooks/useReportShortcuts.d.ts +1 -1
- package/dist/hooks/useReportShortcuts.d.ts.map +1 -1
- package/dist/hooks/useReportShortcuts.js +8 -1
- package/dist/hooks/useReportShortcuts.js.map +1 -1
- package/dist/hooks/useReportState.d.ts +184 -31
- package/dist/hooks/useReportState.d.ts.map +1 -1
- package/dist/hooks/useReportState.js +1553 -161
- package/dist/hooks/useReportState.js.map +1 -1
- package/dist/hooks/useSelfProfile.d.ts +12 -0
- package/dist/hooks/useSelfProfile.d.ts.map +1 -0
- package/dist/hooks/useSelfProfile.js +65 -0
- package/dist/hooks/useSelfProfile.js.map +1 -0
- package/dist/hooks/useTooltipLayout.d.ts +5 -1
- package/dist/hooks/useTooltipLayout.d.ts.map +1 -1
- package/dist/hooks/useTooltipLayout.js +9 -4
- package/dist/hooks/useTooltipLayout.js.map +1 -1
- package/dist/hooks/useTooltipResize.d.ts +16 -0
- package/dist/hooks/useTooltipResize.d.ts.map +1 -0
- package/dist/hooks/useTooltipResize.js +27 -0
- package/dist/hooks/useTooltipResize.js.map +1 -0
- package/dist/hooks/useTypographyPreference.d.ts +8 -0
- package/dist/hooks/useTypographyPreference.d.ts.map +1 -0
- package/dist/hooks/useTypographyPreference.js +59 -0
- package/dist/hooks/useTypographyPreference.js.map +1 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +403 -14
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +404 -15
- package/dist/i18n/ko.js.map +1 -1
- package/dist/i18n/types.d.ts +383 -10
- package/dist/i18n/types.d.ts.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/providers/ReportProvider.d.ts +7 -28
- package/dist/providers/ReportProvider.d.ts.map +1 -1
- package/dist/providers/ReportProvider.js +16 -8
- package/dist/providers/ReportProvider.js.map +1 -1
- package/dist/providers/reportContext.d.ts +324 -54
- package/dist/providers/reportContext.d.ts.map +1 -1
- package/dist/storage/local/localStorageAdapter.d.ts.map +1 -1
- package/dist/storage/local/localStorageAdapter.js +78 -9
- package/dist/storage/local/localStorageAdapter.js.map +1 -1
- package/dist/styles/reportStylesheet.d.ts +1 -1
- package/dist/styles/reportStylesheet.d.ts.map +1 -1
- package/dist/styles/reportStylesheet.js +1 -1
- package/dist/styles/reportStylesheet.js.map +1 -1
- package/dist/types/report-ui.d.ts +87 -5
- package/dist/types/report-ui.d.ts.map +1 -1
- package/dist/types/report.d.ts +147 -20
- package/dist/types/report.d.ts.map +1 -1
- package/dist/types/report.js.map +1 -1
- package/dist/utils/coordinates.d.ts +16 -1
- package/dist/utils/coordinates.d.ts.map +1 -1
- package/dist/utils/coordinates.js +66 -37
- package/dist/utils/coordinates.js.map +1 -1
- package/dist/utils/cssStepper.d.ts +6 -0
- package/dist/utils/cssStepper.d.ts.map +1 -0
- package/dist/utils/cssStepper.js +40 -0
- package/dist/utils/cssStepper.js.map +1 -0
- package/dist/utils/dom.d.ts +6 -0
- package/dist/utils/dom.d.ts.map +1 -1
- package/dist/utils/dom.js +139 -4
- package/dist/utils/dom.js.map +1 -1
- package/dist/utils/experimentalPanelTabs.d.ts +29 -0
- package/dist/utils/experimentalPanelTabs.d.ts.map +1 -0
- package/dist/utils/experimentalPanelTabs.js +113 -0
- package/dist/utils/experimentalPanelTabs.js.map +1 -0
- package/dist/utils/feedbackCaseId.d.ts +7 -0
- package/dist/utils/feedbackCaseId.d.ts.map +1 -0
- package/dist/utils/feedbackCaseId.js +44 -0
- package/dist/utils/feedbackCaseId.js.map +1 -0
- package/dist/utils/feedbackDataTransfer.d.ts +4 -0
- package/dist/utils/feedbackDataTransfer.d.ts.map +1 -1
- package/dist/utils/feedbackDataTransfer.js +70 -0
- package/dist/utils/feedbackDataTransfer.js.map +1 -1
- package/dist/utils/feedbackDeepLink.d.ts +11 -0
- package/dist/utils/feedbackDeepLink.d.ts.map +1 -0
- package/dist/utils/feedbackDeepLink.js +35 -0
- package/dist/utils/feedbackDeepLink.js.map +1 -0
- package/dist/utils/feedbackListStatus.d.ts +4 -0
- package/dist/utils/feedbackListStatus.d.ts.map +1 -0
- package/dist/utils/feedbackListStatus.js +19 -0
- package/dist/utils/feedbackListStatus.js.map +1 -0
- package/dist/utils/feedbackThread.d.ts +61 -2
- package/dist/utils/feedbackThread.d.ts.map +1 -1
- package/dist/utils/feedbackThread.js +325 -10
- package/dist/utils/feedbackThread.js.map +1 -1
- package/dist/utils/fields.d.ts +3 -2
- package/dist/utils/fields.d.ts.map +1 -1
- package/dist/utils/fields.js +9 -4
- package/dist/utils/fields.js.map +1 -1
- package/dist/utils/format.d.ts +1 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/format.js +6 -0
- package/dist/utils/format.js.map +1 -1
- package/dist/utils/githubIntegration.d.ts +1 -0
- package/dist/utils/githubIntegration.d.ts.map +1 -1
- package/dist/utils/githubIntegration.js +8 -2
- package/dist/utils/githubIntegration.js.map +1 -1
- package/dist/utils/heatmapActivity.d.ts +68 -0
- package/dist/utils/heatmapActivity.d.ts.map +1 -0
- package/dist/utils/heatmapActivity.js +280 -0
- package/dist/utils/heatmapActivity.js.map +1 -0
- package/dist/utils/hexColor.d.ts +7 -0
- package/dist/utils/hexColor.d.ts.map +1 -0
- package/dist/utils/hexColor.js +25 -0
- package/dist/utils/hexColor.js.map +1 -0
- package/dist/utils/hourlyCompareSparkline.d.ts +19 -0
- package/dist/utils/hourlyCompareSparkline.d.ts.map +1 -0
- package/dist/utils/hourlyCompareSparkline.js +65 -0
- package/dist/utils/hourlyCompareSparkline.js.map +1 -0
- package/dist/utils/locateFeedback.d.ts +3 -3
- package/dist/utils/locateFeedback.d.ts.map +1 -1
- package/dist/utils/locateFeedback.js +11 -3
- package/dist/utils/locateFeedback.js.map +1 -1
- package/dist/utils/markerContext.d.ts +3 -3
- package/dist/utils/markerContext.d.ts.map +1 -1
- package/dist/utils/markerContext.js +6 -5
- package/dist/utils/markerContext.js.map +1 -1
- package/dist/utils/markerRuntime.d.ts +5 -0
- package/dist/utils/markerRuntime.d.ts.map +1 -0
- package/dist/utils/markerRuntime.js +13 -0
- package/dist/utils/markerRuntime.js.map +1 -0
- package/dist/utils/markerShape.d.ts +13 -0
- package/dist/utils/markerShape.d.ts.map +1 -0
- package/dist/utils/markerShape.js +52 -0
- package/dist/utils/markerShape.js.map +1 -0
- package/dist/utils/markerTarget.d.ts +3 -0
- package/dist/utils/markerTarget.d.ts.map +1 -0
- package/dist/utils/markerTarget.js +16 -0
- package/dist/utils/markerTarget.js.map +1 -0
- package/dist/utils/panelBootstrap.d.ts +27 -0
- package/dist/utils/panelBootstrap.d.ts.map +1 -0
- package/dist/utils/panelBootstrap.js +95 -0
- package/dist/utils/panelBootstrap.js.map +1 -0
- package/dist/utils/panelRoleStats.d.ts +18 -0
- package/dist/utils/panelRoleStats.d.ts.map +1 -0
- package/dist/utils/panelRoleStats.js +77 -0
- package/dist/utils/panelRoleStats.js.map +1 -0
- package/dist/utils/panelTabPreference.d.ts +19 -0
- package/dist/utils/panelTabPreference.d.ts.map +1 -0
- package/dist/utils/panelTabPreference.js +76 -0
- package/dist/utils/panelTabPreference.js.map +1 -0
- package/dist/utils/pathname.d.ts +2 -0
- package/dist/utils/pathname.d.ts.map +1 -1
- package/dist/utils/pathname.js +10 -0
- package/dist/utils/pathname.js.map +1 -1
- package/dist/utils/personalKey.d.ts +7 -1
- package/dist/utils/personalKey.d.ts.map +1 -1
- package/dist/utils/personalKey.js +50 -2
- package/dist/utils/personalKey.js.map +1 -1
- package/dist/utils/pickProbe.d.ts +21 -0
- package/dist/utils/pickProbe.d.ts.map +1 -0
- package/dist/utils/pickProbe.js +285 -0
- package/dist/utils/pickProbe.js.map +1 -0
- package/dist/utils/pickProbeLayout.d.ts +16 -0
- package/dist/utils/pickProbeLayout.d.ts.map +1 -0
- package/dist/utils/pickProbeLayout.js +52 -0
- package/dist/utils/pickProbeLayout.js.map +1 -0
- package/dist/utils/pickProbeSession.d.ts +14 -0
- package/dist/utils/pickProbeSession.d.ts.map +1 -0
- package/dist/utils/pickProbeSession.js +134 -0
- package/dist/utils/pickProbeSession.js.map +1 -0
- package/dist/utils/pickTargetDeleteAnimation.d.ts +3 -0
- package/dist/utils/pickTargetDeleteAnimation.d.ts.map +1 -0
- package/dist/utils/pickTargetDeleteAnimation.js +29 -0
- package/dist/utils/pickTargetDeleteAnimation.js.map +1 -0
- package/dist/utils/pickTargetInspect.d.ts +12 -0
- package/dist/utils/pickTargetInspect.d.ts.map +1 -0
- package/dist/utils/pickTargetInspect.js +75 -0
- package/dist/utils/pickTargetInspect.js.map +1 -0
- package/dist/utils/probeColor.d.ts +6 -0
- package/dist/utils/probeColor.d.ts.map +1 -0
- package/dist/utils/probeColor.js +49 -0
- package/dist/utils/probeColor.js.map +1 -0
- package/dist/utils/probeLayout.d.ts +27 -0
- package/dist/utils/probeLayout.d.ts.map +1 -0
- package/dist/utils/probeLayout.js +86 -0
- package/dist/utils/probeLayout.js.map +1 -0
- package/dist/utils/probeSessionHistory.d.ts +8 -0
- package/dist/utils/probeSessionHistory.d.ts.map +1 -0
- package/dist/utils/probeSessionHistory.js +102 -0
- package/dist/utils/probeSessionHistory.js.map +1 -0
- package/dist/utils/replyHistory.d.ts +20 -0
- package/dist/utils/replyHistory.d.ts.map +1 -0
- package/dist/utils/replyHistory.js +82 -0
- package/dist/utils/replyHistory.js.map +1 -0
- package/dist/utils/reportCases.d.ts +54 -0
- package/dist/utils/reportCases.d.ts.map +1 -0
- package/dist/utils/reportCases.js +297 -0
- package/dist/utils/reportCases.js.map +1 -0
- package/dist/utils/reportPosition.d.ts +9 -0
- package/dist/utils/reportPosition.d.ts.map +1 -0
- package/dist/utils/reportPosition.js +18 -0
- package/dist/utils/reportPosition.js.map +1 -0
- package/dist/utils/reportProject.d.ts +1 -7
- package/dist/utils/reportProject.d.ts.map +1 -1
- package/dist/utils/reportProject.js +4 -4
- package/dist/utils/reportProject.js.map +1 -1
- package/dist/utils/reportSummary.d.ts +7 -0
- package/dist/utils/reportSummary.d.ts.map +1 -0
- package/dist/utils/reportSummary.js +49 -0
- package/dist/utils/reportSummary.js.map +1 -0
- package/dist/utils/reportTeam.d.ts +20 -5
- package/dist/utils/reportTeam.d.ts.map +1 -1
- package/dist/utils/reportTeam.js +60 -3
- package/dist/utils/reportTeam.js.map +1 -1
- package/dist/utils/reportUi.d.ts +10 -11
- package/dist/utils/reportUi.d.ts.map +1 -1
- package/dist/utils/reportUi.js +21 -6
- package/dist/utils/reportUi.js.map +1 -1
- package/dist/utils/reportVisibility.d.ts +1 -9
- package/dist/utils/reportVisibility.d.ts.map +1 -1
- package/dist/utils/reportVisibility.js +4 -4
- package/dist/utils/reportVisibility.js.map +1 -1
- package/dist/utils/reportVisual.d.ts +3 -1
- package/dist/utils/reportVisual.d.ts.map +1 -1
- package/dist/utils/reportVisual.js +17 -6
- package/dist/utils/reportVisual.js.map +1 -1
- package/dist/utils/routeDetailStatus.d.ts.map +1 -1
- package/dist/utils/routeDetailStatus.js +4 -1
- package/dist/utils/routeDetailStatus.js.map +1 -1
- package/dist/utils/storage.d.ts +3 -1
- package/dist/utils/storage.d.ts.map +1 -1
- package/dist/utils/storage.js +6 -2
- package/dist/utils/storage.js.map +1 -1
- package/dist/utils/targetSelector.d.ts +20 -0
- package/dist/utils/targetSelector.d.ts.map +1 -0
- package/dist/utils/targetSelector.js +123 -0
- package/dist/utils/targetSelector.js.map +1 -0
- package/dist/utils/validateFeedbackImport.d.ts +2 -1
- package/dist/utils/validateFeedbackImport.d.ts.map +1 -1
- package/dist/utils/validateFeedbackImport.js +114 -45
- package/dist/utils/validateFeedbackImport.js.map +1 -1
- package/package.json +78 -78
- package/dist/components/motion/index.d.ts +0 -48
- package/dist/components/motion/index.d.ts.map +0 -1
- package/dist/components/motion/index.js +0 -910
- package/dist/components/motion/index.js.map +0 -1
- package/dist/components/panel/PanelMoreMenu.d.ts +0 -20
- package/dist/components/panel/PanelMoreMenu.d.ts.map +0 -1
- package/dist/components/panel/PanelMoreMenu.js +0 -20
- package/dist/components/panel/PanelMoreMenu.js.map +0 -1
- package/dist/components/panel/feedback/FeedbackIssueHeader.d.ts +0 -12
- package/dist/components/panel/feedback/FeedbackIssueHeader.d.ts.map +0 -1
- package/dist/components/panel/feedback/FeedbackIssueHeader.js +0 -10
- package/dist/components/panel/feedback/FeedbackIssueHeader.js.map +0 -1
- package/dist/components/panel/feedback/FieldTagSelector.d.ts +0 -9
- package/dist/components/panel/feedback/FieldTagSelector.d.ts.map +0 -1
- package/dist/components/panel/feedback/FieldTagSelector.js +0 -15
- package/dist/components/panel/feedback/FieldTagSelector.js.map +0 -1
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
export function createCaseId() {
|
|
2
|
+
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
3
|
+
return crypto.randomUUID();
|
|
4
|
+
}
|
|
5
|
+
return `case-${Date.now()}-${Math.random().toString(16).slice(2)}`;
|
|
6
|
+
}
|
|
7
|
+
export function createReportCase(text, overrides = {}) {
|
|
8
|
+
const timestamp = overrides.created_at ?? new Date().toISOString();
|
|
9
|
+
return {
|
|
10
|
+
id: overrides.id ?? createCaseId(),
|
|
11
|
+
text,
|
|
12
|
+
status: overrides.status ?? "open",
|
|
13
|
+
assignee_name: overrides.assignee_name ?? null,
|
|
14
|
+
created_at: timestamp,
|
|
15
|
+
updated_at: overrides.updated_at ?? timestamp,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export function getReportCases(report) {
|
|
19
|
+
return report.cases ?? [];
|
|
20
|
+
}
|
|
21
|
+
export function getOpenCases(report) {
|
|
22
|
+
return getReportCases(report).filter((item) => item.status === "open");
|
|
23
|
+
}
|
|
24
|
+
export function getResolvedCases(report) {
|
|
25
|
+
return getReportCases(report).filter((item) => item.status === "resolved");
|
|
26
|
+
}
|
|
27
|
+
export function getResolvedCaseCount(report) {
|
|
28
|
+
return getResolvedCases(report).length;
|
|
29
|
+
}
|
|
30
|
+
export function allCasesResolved(report) {
|
|
31
|
+
const cases = getReportCases(report);
|
|
32
|
+
return cases.length > 0 && cases.every((item) => item.status === "resolved");
|
|
33
|
+
}
|
|
34
|
+
export function hasOpenCases(report) {
|
|
35
|
+
return getOpenCases(report).length > 0;
|
|
36
|
+
}
|
|
37
|
+
export function resolveCases(cases, caseIds, resolvedAt = new Date().toISOString()) {
|
|
38
|
+
const targetIds = new Set(caseIds);
|
|
39
|
+
return cases.map((item) => {
|
|
40
|
+
if (!targetIds.has(item.id) || item.status === "resolved") {
|
|
41
|
+
return item;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
...item,
|
|
45
|
+
status: "resolved",
|
|
46
|
+
updated_at: resolvedAt,
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
export function syncIssueStatusFromCases(report) {
|
|
51
|
+
if (report.status === "archived") {
|
|
52
|
+
return "archived";
|
|
53
|
+
}
|
|
54
|
+
if (allCasesResolved(report)) {
|
|
55
|
+
return "resolved";
|
|
56
|
+
}
|
|
57
|
+
if (report.status === "resolved" || report.status === "git_issued") {
|
|
58
|
+
return "open";
|
|
59
|
+
}
|
|
60
|
+
return report.status;
|
|
61
|
+
}
|
|
62
|
+
export function applyCaseStatusSync(report) {
|
|
63
|
+
return {
|
|
64
|
+
...report,
|
|
65
|
+
status: syncIssueStatusFromCases(report),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export function getIssueSummary(report, options) {
|
|
69
|
+
const cases = getReportCases(report).map((item) => item.text.trim()).filter(Boolean);
|
|
70
|
+
if (cases.length === 0) {
|
|
71
|
+
return "";
|
|
72
|
+
}
|
|
73
|
+
if (cases.length === 1) {
|
|
74
|
+
return cases[0];
|
|
75
|
+
}
|
|
76
|
+
const formatMore = options?.summaryMore ?? ((count) => `외 ${count}건`);
|
|
77
|
+
return `${cases[0]} ${formatMore(cases.length - 1)}`;
|
|
78
|
+
}
|
|
79
|
+
export function shouldShowCaseProgress(report) {
|
|
80
|
+
return getReportCases(report).length > 1;
|
|
81
|
+
}
|
|
82
|
+
export function getIssueProgressLabel(report) {
|
|
83
|
+
const total = getReportCases(report).length;
|
|
84
|
+
const resolved = getResolvedCaseCount(report);
|
|
85
|
+
if (total === 0) {
|
|
86
|
+
return "";
|
|
87
|
+
}
|
|
88
|
+
return `${resolved}/${total}`;
|
|
89
|
+
}
|
|
90
|
+
export function casesToSearchText(cases) {
|
|
91
|
+
return cases.map((item) => item.text).join(" ");
|
|
92
|
+
}
|
|
93
|
+
function isCaseStatus(value) {
|
|
94
|
+
return value === "open" || value === "resolved";
|
|
95
|
+
}
|
|
96
|
+
export function normalizeReportCase(value, fallbackTimestamp) {
|
|
97
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
const item = value;
|
|
101
|
+
if (typeof item.id !== "string" || typeof item.text !== "string") {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
const createdAt = typeof item.created_at === "string" && item.created_at.trim().length > 0 ? item.created_at : fallbackTimestamp;
|
|
105
|
+
const updatedAt = typeof item.updated_at === "string" && item.updated_at.trim().length > 0 ? item.updated_at : createdAt;
|
|
106
|
+
return {
|
|
107
|
+
id: item.id,
|
|
108
|
+
text: item.text,
|
|
109
|
+
status: isCaseStatus(item.status) ? item.status : "open",
|
|
110
|
+
assignee_name: item.assignee_name === null || typeof item.assignee_name === "string" ? (item.assignee_name ?? null) : null,
|
|
111
|
+
previous_assignee_name: item.previous_assignee_name === null || typeof item.previous_assignee_name === "string" ? (item.previous_assignee_name ?? null) : null,
|
|
112
|
+
created_at: createdAt,
|
|
113
|
+
updated_at: updatedAt,
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
export function normalizeReportCases(value, fallbackTimestamp) {
|
|
117
|
+
if (!Array.isArray(value)) {
|
|
118
|
+
return [];
|
|
119
|
+
}
|
|
120
|
+
return value.flatMap((item) => {
|
|
121
|
+
const normalized = normalizeReportCase(item, fallbackTimestamp);
|
|
122
|
+
return normalized ? [normalized] : [];
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
export function normalizeReplyCaseIds(value) {
|
|
126
|
+
if (!Array.isArray(value)) {
|
|
127
|
+
return [];
|
|
128
|
+
}
|
|
129
|
+
return value.filter((item) => typeof item === "string" && item.trim().length > 0);
|
|
130
|
+
}
|
|
131
|
+
export function normalizeFeedbackCases(item) {
|
|
132
|
+
const normalized = normalizeReportCases(item.cases, item.created_at);
|
|
133
|
+
if (normalized.length > 0) {
|
|
134
|
+
return normalized;
|
|
135
|
+
}
|
|
136
|
+
const legacyMessage = typeof item.message === "string" ? item.message.trim() : "";
|
|
137
|
+
if (legacyMessage) {
|
|
138
|
+
return [createReportCase(legacyMessage, { created_at: item.created_at, updated_at: item.created_at })];
|
|
139
|
+
}
|
|
140
|
+
return normalized;
|
|
141
|
+
}
|
|
142
|
+
export function canEditReportCases(report) {
|
|
143
|
+
return report.status !== "archived";
|
|
144
|
+
}
|
|
145
|
+
export function getOpenCaseIds(report) {
|
|
146
|
+
return getOpenCases(report).map((item) => item.id);
|
|
147
|
+
}
|
|
148
|
+
export function getCaseById(report, caseId) {
|
|
149
|
+
return getReportCases(report).find((item) => item.id === caseId);
|
|
150
|
+
}
|
|
151
|
+
export function replyBelongsToCase(reply, caseId, report) {
|
|
152
|
+
const caseIds = reply.case_ids ?? [];
|
|
153
|
+
if (caseIds.length === 0) {
|
|
154
|
+
const cases = report ? getReportCases(report) : [];
|
|
155
|
+
return cases.length === 1 && cases[0]?.id === caseId;
|
|
156
|
+
}
|
|
157
|
+
return caseIds.includes(caseId);
|
|
158
|
+
}
|
|
159
|
+
export function getRepliesForCase(report, caseId) {
|
|
160
|
+
return (report.replies ?? []).filter((reply) => replyBelongsToCase(reply, caseId, report));
|
|
161
|
+
}
|
|
162
|
+
export function getCaseAssigneeName(report, caseId) {
|
|
163
|
+
const assignee = getCaseById(report, caseId)?.assignee_name?.trim();
|
|
164
|
+
return assignee || null;
|
|
165
|
+
}
|
|
166
|
+
export function getLatestReplyAuthorForCase(report, caseId) {
|
|
167
|
+
const replies = getRepliesForCase(report, caseId);
|
|
168
|
+
for (let index = replies.length - 1; index >= 0; index -= 1) {
|
|
169
|
+
const reply = replies[index];
|
|
170
|
+
if (reply.author_type === "system") {
|
|
171
|
+
continue;
|
|
172
|
+
}
|
|
173
|
+
const authorName = reply.author_name?.trim();
|
|
174
|
+
if (authorName) {
|
|
175
|
+
return authorName;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
return null;
|
|
179
|
+
}
|
|
180
|
+
export function getCaseHandlerName(report, caseId) {
|
|
181
|
+
return getCaseAssigneeName(report, caseId);
|
|
182
|
+
}
|
|
183
|
+
export function resolveAuthorDepartment(authors, authorName) {
|
|
184
|
+
const normalizedName = authorName.trim();
|
|
185
|
+
if (!normalizedName) {
|
|
186
|
+
return null;
|
|
187
|
+
}
|
|
188
|
+
const author = authors.find((item) => item.name.trim() === normalizedName);
|
|
189
|
+
return author?.department?.trim() || null;
|
|
190
|
+
}
|
|
191
|
+
export function formatAssigneeLabel(authorName, department) {
|
|
192
|
+
const name = authorName.trim();
|
|
193
|
+
const dept = department?.trim();
|
|
194
|
+
if (name && dept) {
|
|
195
|
+
return `${name}, ${dept}`;
|
|
196
|
+
}
|
|
197
|
+
return name;
|
|
198
|
+
}
|
|
199
|
+
export function hasCaseDiscussion(report, caseId) {
|
|
200
|
+
return getRepliesForCase(report, caseId).length > 0;
|
|
201
|
+
}
|
|
202
|
+
export function isCaseInProgress(report, caseId) {
|
|
203
|
+
const caseItem = getCaseById(report, caseId);
|
|
204
|
+
if (!caseItem || caseItem.status !== "open") {
|
|
205
|
+
return false;
|
|
206
|
+
}
|
|
207
|
+
return Boolean(getCaseAssigneeName(report, caseId));
|
|
208
|
+
}
|
|
209
|
+
export function canActOnCase(report, caseId, actorName) {
|
|
210
|
+
const actor = actorName.trim();
|
|
211
|
+
if (!actor) {
|
|
212
|
+
return false;
|
|
213
|
+
}
|
|
214
|
+
const qaName = report.author_name?.trim() ?? "";
|
|
215
|
+
if (qaName && actor === qaName) {
|
|
216
|
+
return true;
|
|
217
|
+
}
|
|
218
|
+
const assignee = getCaseAssigneeName(report, caseId);
|
|
219
|
+
if (!assignee) {
|
|
220
|
+
return true;
|
|
221
|
+
}
|
|
222
|
+
return actor === assignee;
|
|
223
|
+
}
|
|
224
|
+
export function claimCaseAssignee(cases, caseId, assigneeName, claimedAt = new Date().toISOString()) {
|
|
225
|
+
const normalizedName = assigneeName.trim();
|
|
226
|
+
if (!normalizedName) {
|
|
227
|
+
return cases;
|
|
228
|
+
}
|
|
229
|
+
return cases.map((item) => {
|
|
230
|
+
if (item.id !== caseId || item.assignee_name?.trim()) {
|
|
231
|
+
return item;
|
|
232
|
+
}
|
|
233
|
+
return {
|
|
234
|
+
...item,
|
|
235
|
+
assignee_name: normalizedName,
|
|
236
|
+
updated_at: claimedAt,
|
|
237
|
+
};
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
export function transferCaseAssignee(cases, caseId, assigneeName, transferredAt = new Date().toISOString()) {
|
|
241
|
+
const normalizedName = assigneeName.trim();
|
|
242
|
+
if (!normalizedName) {
|
|
243
|
+
return cases;
|
|
244
|
+
}
|
|
245
|
+
return cases.map((item) => {
|
|
246
|
+
if (item.id !== caseId) {
|
|
247
|
+
return item;
|
|
248
|
+
}
|
|
249
|
+
const previousAssignee = item.assignee_name?.trim() || null;
|
|
250
|
+
return {
|
|
251
|
+
...item,
|
|
252
|
+
assignee_name: normalizedName,
|
|
253
|
+
previous_assignee_name: previousAssignee,
|
|
254
|
+
updated_at: transferredAt,
|
|
255
|
+
};
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
export function resolveDefaultFocusedCaseId(report) {
|
|
259
|
+
const cases = getReportCases(report);
|
|
260
|
+
const firstOpenCase = cases.find((item) => item.status === "open");
|
|
261
|
+
return firstOpenCase?.id ?? cases[0]?.id ?? null;
|
|
262
|
+
}
|
|
263
|
+
export function isValidFocusedCase(report, caseId) {
|
|
264
|
+
if (!caseId) {
|
|
265
|
+
return false;
|
|
266
|
+
}
|
|
267
|
+
return getReportCases(report).some((item) => item.id === caseId);
|
|
268
|
+
}
|
|
269
|
+
export function isValidCaseSelection(report, selectedCaseIds) {
|
|
270
|
+
if (selectedCaseIds.length === 0) {
|
|
271
|
+
return false;
|
|
272
|
+
}
|
|
273
|
+
const openCaseIds = new Set(getOpenCaseIds(report));
|
|
274
|
+
return selectedCaseIds.every((caseId) => openCaseIds.has(caseId));
|
|
275
|
+
}
|
|
276
|
+
export function getCaseLabels(report, caseIds) {
|
|
277
|
+
const caseMap = new Map(getReportCases(report).map((item) => [item.id, item.text]));
|
|
278
|
+
return caseIds.flatMap((caseId) => {
|
|
279
|
+
const label = caseMap.get(caseId)?.trim();
|
|
280
|
+
return label ? [label] : [];
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
export function buildResolvedCasesUpdate(report, caseIds) {
|
|
284
|
+
return resolveCases(getReportCases(report), caseIds);
|
|
285
|
+
}
|
|
286
|
+
export function validateCasesForSubmit(cases, messages) {
|
|
287
|
+
if (cases.length === 0) {
|
|
288
|
+
return messages.casesRequired;
|
|
289
|
+
}
|
|
290
|
+
for (const [index, item] of cases.entries()) {
|
|
291
|
+
if (!item.text.trim()) {
|
|
292
|
+
return messages.caseTextRequired(index + 1);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
return "";
|
|
296
|
+
}
|
|
297
|
+
//# sourceMappingURL=reportCases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportCases.js","sourceRoot":"","sources":["../../src/utils/reportCases.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,YAAY;IACxB,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,OAAO,MAAM,CAAC,UAAU,KAAK,UAAU,EAAE,CAAC;QAC3E,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;IAED,OAAO,QAAQ,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,IAAY,EAAE,YAA+C,EAAE;IAC5F,MAAM,SAAS,GAAG,SAAS,CAAC,UAAU,IAAI,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAEnE,OAAO;QACH,EAAE,EAAE,SAAS,CAAC,EAAE,IAAI,YAAY,EAAE;QAClC,IAAI;QACJ,MAAM,EAAE,SAAS,CAAC,MAAM,IAAI,MAAM;QAClC,aAAa,EAAE,SAAS,CAAC,aAAa,IAAI,IAAI;QAC9C,UAAU,EAAE,S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C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,MAAsB,EAAE,OAAiB;IAC9E,OAAO,YAAY,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,KAAsC,EAAE,QAAgC;IAC3G,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACrB,OAAO,QAAQ,CAAC,aAAa,CAAC;IAClC,CAAC;IAED,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC;QAC1C,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;YACpB,OAAO,QAAQ,CAAC,gBAAgB,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;QAChD,CAAC;IACL,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReportPosition, ReportPositionAnchor, ReportPositionRatio, ReportPositionViewport } from "../types/report.js";
|
|
2
|
+
export declare function getDocumentY(position: ReportPosition): number;
|
|
3
|
+
export declare function createReportPosition(overrides?: {
|
|
4
|
+
target?: ReportPositionRatio | null;
|
|
5
|
+
viewport?: Partial<ReportPositionViewport>;
|
|
6
|
+
scrollY?: number;
|
|
7
|
+
anchor?: ReportPositionAnchor | null;
|
|
8
|
+
}): ReportPosition;
|
|
9
|
+
//# sourceMappingURL=reportPosition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportPosition.d.ts","sourceRoot":"","sources":["../../src/utils/reportPosition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAE3H,wBAAgB,YAAY,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM,CAE7D;AAED,wBAAgB,oBAAoB,CAChC,SAAS,GAAE;IACP,MAAM,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;CACnC,GACP,cAAc,CAahB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export function getDocumentY(position) {
|
|
2
|
+
return position.scrollY + position.viewport.y * position.viewport.height;
|
|
3
|
+
}
|
|
4
|
+
export function createReportPosition(overrides = {}) {
|
|
5
|
+
return {
|
|
6
|
+
target: overrides.target ?? { x: 0.25, y: 0.75 },
|
|
7
|
+
viewport: {
|
|
8
|
+
x: 0.5,
|
|
9
|
+
y: 0.5,
|
|
10
|
+
width: 1024,
|
|
11
|
+
height: 768,
|
|
12
|
+
...overrides.viewport,
|
|
13
|
+
},
|
|
14
|
+
scrollY: overrides.scrollY ?? 0,
|
|
15
|
+
anchor: overrides.anchor ?? null,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=reportPosition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportPosition.js","sourceRoot":"","sources":["../../src/utils/reportPosition.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,YAAY,CAAC,QAAwB;IACjD,OAAO,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,oBAAoB,CAChC,YAKI,EAAE;IAEN,OAAO;QACH,MAAM,EAAE,SAAS,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE;QAChD,QAAQ,EAAE;YACN,CAAC,EAAE,GAAG;YACN,CAAC,EAAE,GAAG;YACN,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,GAAG;YACX,GAAG,SAAS,CAAC,QAAQ;SACxB;QACD,OAAO,EAAE,SAAS,CAAC,OAAO,IAAI,CAAC;QAC/B,MAAM,EAAE,SAAS,CAAC,MAAM,IAAI,IAAI;KACnC,CAAC;AACN,CAAC"}
|
|
@@ -6,12 +6,6 @@ export type ResolvedReportProject = {
|
|
|
6
6
|
};
|
|
7
7
|
export type ResolveReportProjectOptions = {
|
|
8
8
|
project?: ReportProject;
|
|
9
|
-
/** @deprecated Use `project.id`. */
|
|
10
|
-
projectId?: string;
|
|
11
|
-
/** @deprecated Use `project.env`. */
|
|
12
|
-
environment?: string;
|
|
13
|
-
/** @deprecated Use `project.version`. */
|
|
14
|
-
appVersion?: string;
|
|
15
9
|
};
|
|
16
|
-
export declare function resolveReportProject({ project
|
|
10
|
+
export declare function resolveReportProject({ project }: ResolveReportProjectOptions): ResolvedReportProject;
|
|
17
11
|
//# sourceMappingURL=reportProject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reportProject.d.ts","sourceRoot":"","sources":["../../src/utils/reportProject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGvD,MAAM,MAAM,qBAAqB,GAAG;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACtC,OAAO,CAAC,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"reportProject.d.ts","sourceRoot":"","sources":["../../src/utils/reportProject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGvD,MAAM,MAAM,qBAAqB,GAAG;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACtC,OAAO,CAAC,EAAE,aAAa,CAAC;CAC3B,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,2BAA2B,GAAG,qBAAqB,CAMpG"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { resolveProjectId } from "./projectId.js";
|
|
2
|
-
export function resolveReportProject({ project
|
|
2
|
+
export function resolveReportProject({ project }) {
|
|
3
3
|
return {
|
|
4
|
-
projectId: resolveProjectId(project?.id
|
|
5
|
-
environment: project?.env
|
|
6
|
-
appVersion: project?.version
|
|
4
|
+
projectId: resolveProjectId(project?.id),
|
|
5
|
+
environment: project?.env,
|
|
6
|
+
appVersion: project?.version,
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=reportProject.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reportProject.js","sourceRoot":"","sources":["../../src/utils/reportProject.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"reportProject.js","sourceRoot":"","sources":["../../src/utils/reportProject.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAYlD,MAAM,UAAU,oBAAoB,CAAC,EAAE,OAAO,EAA+B;IACzE,OAAO;QACH,SAAS,EAAE,gBAAgB,CAAC,OAAO,EAAE,EAAE,CAAC;QACxC,WAAW,EAAE,OAAO,EAAE,GAAG;QACzB,UAAU,EAAE,OAAO,EAAE,OAAO;KAC/B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReportFeedback, ReportReply, ReportReplySummary } from "../types/report.js";
|
|
2
|
+
export declare function toReplySummary(reply: ReportReply): ReportReplySummary;
|
|
3
|
+
export declare function summaryToReply(summary: ReportReplySummary, commentId: string): ReportReply;
|
|
4
|
+
export declare function normalizeListReport(item: ReportFeedback): ReportFeedback;
|
|
5
|
+
export declare function mergeRepliesIntoReport(report: ReportFeedback, replies: ReportReply[]): ReportFeedback;
|
|
6
|
+
export declare function needsReplyLoad(report: ReportFeedback, canListReplies: boolean): boolean;
|
|
7
|
+
//# sourceMappingURL=reportSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportSummary.d.ts","sourceRoot":"","sources":["../../src/utils/reportSummary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEzF,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,kBAAkB,CAUrE;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,GAAG,WAAW,CAM1F;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAaxE;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,cAAc,CAOrG;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,GAAG,OAAO,CAYvF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export function toReplySummary(reply) {
|
|
2
|
+
return {
|
|
3
|
+
id: reply.id,
|
|
4
|
+
message: reply.message,
|
|
5
|
+
created_at: reply.created_at,
|
|
6
|
+
status: reply.status,
|
|
7
|
+
case_ids: reply.case_ids,
|
|
8
|
+
author_type: reply.author_type,
|
|
9
|
+
author_name: reply.author_name,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export function summaryToReply(summary, commentId) {
|
|
13
|
+
return {
|
|
14
|
+
...summary,
|
|
15
|
+
comment_id: commentId,
|
|
16
|
+
case_ids: summary.case_ids ?? [],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function normalizeListReport(item) {
|
|
20
|
+
const embeddedReplies = item.replies;
|
|
21
|
+
const reply_count = item.reply_count ?? embeddedReplies?.length ?? 0;
|
|
22
|
+
const latest_reply = item.latest_reply ??
|
|
23
|
+
(embeddedReplies && embeddedReplies.length > 0 ? toReplySummary(embeddedReplies[embeddedReplies.length - 1]) : null);
|
|
24
|
+
return {
|
|
25
|
+
...item,
|
|
26
|
+
replies: embeddedReplies ?? [],
|
|
27
|
+
reply_count,
|
|
28
|
+
latest_reply,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function mergeRepliesIntoReport(report, replies) {
|
|
32
|
+
return {
|
|
33
|
+
...report,
|
|
34
|
+
replies,
|
|
35
|
+
reply_count: replies.length,
|
|
36
|
+
latest_reply: replies.length > 0 ? toReplySummary(replies[replies.length - 1]) : null,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function needsReplyLoad(report, canListReplies) {
|
|
40
|
+
if (!canListReplies) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
const count = typeof report.reply_count === "number" ? report.reply_count : (report.replies?.length ?? 0);
|
|
44
|
+
if (count === 0) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return (report.replies?.length ?? 0) < count;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=reportSummary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportSummary.js","sourceRoot":"","sources":["../../src/utils/reportSummary.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,cAAc,CAAC,KAAkB;IAC7C,OAAO;QACH,EAAE,EAAE,KAAK,CAAC,EAAE;QACZ,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,UAAU,EAAE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CAAC,cAAc,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,KAAK,GAAG,OAAO,MAAM,CAAC,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC;IAE1G,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;QACd,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC;AACjD,CAAC"}
|
|
@@ -4,12 +4,27 @@ export type ResolvedReportTeam = {
|
|
|
4
4
|
reviewers: ReportAuthor[];
|
|
5
5
|
requireReviewerKey: boolean;
|
|
6
6
|
};
|
|
7
|
+
export type PresentationViewer = {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
department?: string;
|
|
11
|
+
isCreator?: boolean;
|
|
12
|
+
privateKey?: string;
|
|
13
|
+
};
|
|
7
14
|
export type ResolveReportTeamOptions = {
|
|
8
15
|
team?: ReportTeam;
|
|
9
|
-
/** @deprecated Use `team.user`. */
|
|
10
|
-
identify?: ReportIdentify;
|
|
11
|
-
/** @deprecated Use `team.reviewers`. */
|
|
12
|
-
authors?: ReportAuthor[];
|
|
13
16
|
};
|
|
14
|
-
export declare function resolveReportTeam({ team
|
|
17
|
+
export declare function resolveReportTeam({ team }: ResolveReportTeamOptions): ResolvedReportTeam;
|
|
18
|
+
export declare function buildPresentationViewers(user: ReportIdentify | undefined, reviewers: ReportAuthor[]): PresentationViewer[];
|
|
19
|
+
export declare function formatPresentationViewerLabel(viewer: PresentationViewer): string;
|
|
20
|
+
export type SessionActor = {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
};
|
|
24
|
+
export declare function resolveSessionActor(options: {
|
|
25
|
+
isPresentationMode: boolean;
|
|
26
|
+
presentationViewers: PresentationViewer[];
|
|
27
|
+
presentationViewerId: string | null;
|
|
28
|
+
activeIdentify: ReportIdentify | undefined;
|
|
29
|
+
}): SessionActor | null;
|
|
15
30
|
//# sourceMappingURL=reportTeam.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reportTeam.d.ts","sourceRoot":"","sources":["../../src/utils/reportTeam.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"reportTeam.d.ts","sourceRoot":"","sources":["../../src/utils/reportTeam.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGlF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,kBAAkB,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE,wBAAwB,GAAG,kBAAkB,CAMxF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,kBAAkB,EAAE,CAuC1H;AAED,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAEhF;AAED,MAAM,MAAM,YAAY,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE;IACzC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAC1C,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;CAC9C,GAAG,YAAY,GAAG,IAAI,CAyBtB"}
|
package/dist/utils/reportTeam.js
CHANGED
|
@@ -1,8 +1,65 @@
|
|
|
1
|
-
|
|
1
|
+
import { formatAssigneeLabel } from "../utils/reportCases.js";
|
|
2
|
+
export function resolveReportTeam({ team }) {
|
|
2
3
|
return {
|
|
3
|
-
user: team?.user
|
|
4
|
-
reviewers: team?.reviewers ??
|
|
4
|
+
user: team?.user,
|
|
5
|
+
reviewers: team?.reviewers ?? [],
|
|
5
6
|
requireReviewerKey: team?.requireReviewerKey ?? false,
|
|
6
7
|
};
|
|
7
8
|
}
|
|
9
|
+
export function buildPresentationViewers(user, reviewers) {
|
|
10
|
+
const byId = new Map();
|
|
11
|
+
if (user?.id && user.name.trim()) {
|
|
12
|
+
byId.set(user.id, {
|
|
13
|
+
id: user.id,
|
|
14
|
+
name: user.name.trim(),
|
|
15
|
+
isCreator: true,
|
|
16
|
+
privateKey: user.privateKey?.trim() || undefined,
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
for (const reviewer of reviewers) {
|
|
20
|
+
const name = reviewer.name.trim();
|
|
21
|
+
if (!reviewer.id || !name) {
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
const existing = byId.get(reviewer.id);
|
|
25
|
+
if (existing) {
|
|
26
|
+
byId.set(reviewer.id, {
|
|
27
|
+
...existing,
|
|
28
|
+
department: reviewer.department?.trim() || existing.department,
|
|
29
|
+
privateKey: reviewer.privateKey?.trim() || existing.privateKey,
|
|
30
|
+
});
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
byId.set(reviewer.id, {
|
|
34
|
+
id: reviewer.id,
|
|
35
|
+
name,
|
|
36
|
+
department: reviewer.department?.trim() || undefined,
|
|
37
|
+
privateKey: reviewer.privateKey?.trim() || undefined,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
return Array.from(byId.values());
|
|
41
|
+
}
|
|
42
|
+
export function formatPresentationViewerLabel(viewer) {
|
|
43
|
+
return formatAssigneeLabel(viewer.name, viewer.department);
|
|
44
|
+
}
|
|
45
|
+
export function resolveSessionActor(options) {
|
|
46
|
+
if (options.isPresentationMode) {
|
|
47
|
+
const viewer = options.presentationViewers.find((item) => item.id === options.presentationViewerId) ?? options.presentationViewers[0];
|
|
48
|
+
if (!viewer?.name.trim()) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
id: viewer.id,
|
|
53
|
+
name: viewer.name.trim(),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
const name = options.activeIdentify?.name?.trim();
|
|
57
|
+
if (!options.activeIdentify?.id || !name) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
id: options.activeIdentify.id,
|
|
62
|
+
name,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
8
65
|
//# sourceMappingURL=reportTeam.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reportTeam.js","sourceRoot":"","sources":["../../src/utils/reportTeam.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reportTeam.js","sourceRoot":"","sources":["../../src/utils/reportTeam.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAoB7D,MAAM,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAA4B;IAChE,OAAO;QACH,IAAI,EAAE,IAAI,EAAE,IAAI;QAChB,SAAS,EAAE,IA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,23 @@
|
|
|
1
1
|
import type { DeepPartialReportMessages, ReportLocale, ReportMessages } from "../i18n/index.js";
|
|
2
|
-
import type { ReportUi } from "../types/report.js";
|
|
2
|
+
import type { QuestionThreadDisplay, ReplyHistoryLoadMode, ReportAppearance, ReportUi } from "../types/report.js";
|
|
3
|
+
export type ResolvedReplyHistoryConfig = {
|
|
4
|
+
mode: ReplyHistoryLoadMode;
|
|
5
|
+
pageSize: number;
|
|
6
|
+
};
|
|
3
7
|
export type ResolvedReportUi = {
|
|
4
|
-
|
|
8
|
+
panelAppearance: ReportAppearance;
|
|
9
|
+
tooltipAppearance: ReportAppearance;
|
|
5
10
|
showFeedbackList: boolean;
|
|
6
11
|
visibleShortcutKeys: boolean;
|
|
12
|
+
questionThreadDefault: QuestionThreadDisplay;
|
|
13
|
+
replyHistory: ResolvedReplyHistoryConfig;
|
|
7
14
|
shortcut?: string;
|
|
8
15
|
locale: ReportLocale;
|
|
9
16
|
messages: ReportMessages;
|
|
10
17
|
};
|
|
11
18
|
export type ResolveReportUiOptions = {
|
|
12
19
|
ui?: ReportUi;
|
|
13
|
-
/** @deprecated Use `ui.appearance`. */
|
|
14
|
-
appearance?: ReportUi["appearance"];
|
|
15
|
-
/** @deprecated Use `ui.showFeedbackList`. */
|
|
16
|
-
showFeedbackList?: boolean;
|
|
17
|
-
/** @deprecated Use `ui.visibleShortcutKeys`. */
|
|
18
|
-
visibleShortcutKeys?: boolean;
|
|
19
|
-
/** @deprecated Use `ui.shortcut`. */
|
|
20
|
-
shortcut?: string;
|
|
21
20
|
};
|
|
22
|
-
export declare function resolveReportUi({ ui
|
|
21
|
+
export declare function resolveReportUi({ ui }: ResolveReportUiOptions): ResolvedReportUi;
|
|
23
22
|
export type { DeepPartialReportMessages, ReportLocale, ReportMessages };
|
|
24
23
|
//# sourceMappingURL=reportUi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reportUi.d.ts","sourceRoot":"","sources":["../../src/utils/reportUi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE/F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"reportUi.d.ts","sourceRoot":"","sources":["../../src/utils/reportUi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE/F,OAAO,KAAK,EAAE,qBAAqB,EAAsB,oBAAoB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGrI,MAAM,MAAM,0BAA0B,GAAG;IACrC,IAAI,EAAE,oBAAoB,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,eAAe,EAAE,gBAAgB,CAAC;IAClC,iBAAiB,EAAE,gBAAgB,CAAC;IACpC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,YAAY,EAAE,0BAA0B,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,cAAc,CAAC;CAC5B,CAAC;AAkBF,MAAM,MAAM,sBAAsB,GAAG;IACjC,EAAE,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAAE,EAAE,EAAE,EAAE,sBAAsB,GAAG,gBAAgB,CAoBhF;AAED,YAAY,EAAE,yBAAyB,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC"}
|