@pega/cosmos-react-work 5.0.0-dev.4.7 → 5.0.0-dev.4.8
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/package.json +2 -2
- package/lib/components/AppAnnouncement/AppAnnouncement.d.ts +0 -23
- package/lib/components/AppAnnouncement/AppAnnouncement.d.ts.map +0 -1
- package/lib/components/AppAnnouncement/AppAnnouncement.js +0 -93
- package/lib/components/AppAnnouncement/AppAnnouncement.js.map +0 -1
- package/lib/components/AppAnnouncement/index.d.ts +0 -3
- package/lib/components/AppAnnouncement/index.d.ts.map +0 -1
- package/lib/components/AppAnnouncement/index.js +0 -2
- package/lib/components/AppAnnouncement/index.js.map +0 -1
- package/lib/components/Article/Article.d.ts +0 -49
- package/lib/components/Article/Article.d.ts.map +0 -1
- package/lib/components/Article/Article.js +0 -73
- package/lib/components/Article/Article.js.map +0 -1
- package/lib/components/Article/ArticleFooter.d.ts +0 -40
- package/lib/components/Article/ArticleFooter.d.ts.map +0 -1
- package/lib/components/Article/ArticleFooter.js +0 -54
- package/lib/components/Article/ArticleFooter.js.map +0 -1
- package/lib/components/Article/ArticleMeta.d.ts +0 -13
- package/lib/components/Article/ArticleMeta.d.ts.map +0 -1
- package/lib/components/Article/ArticleMeta.js +0 -24
- package/lib/components/Article/ArticleMeta.js.map +0 -1
- package/lib/components/Article/index.d.ts +0 -5
- package/lib/components/Article/index.d.ts.map +0 -1
- package/lib/components/Article/index.js +0 -3
- package/lib/components/Article/index.js.map +0 -1
- package/lib/components/ArticleList/ArticleList.d.ts +0 -6
- package/lib/components/ArticleList/ArticleList.d.ts.map +0 -1
- package/lib/components/ArticleList/ArticleList.js +0 -132
- package/lib/components/ArticleList/ArticleList.js.map +0 -1
- package/lib/components/ArticleList/ArticleList.types.d.ts +0 -87
- package/lib/components/ArticleList/ArticleList.types.d.ts.map +0 -1
- package/lib/components/ArticleList/ArticleList.types.js +0 -2
- package/lib/components/ArticleList/ArticleList.types.js.map +0 -1
- package/lib/components/ArticleList/ArticleListFilter.d.ts +0 -6
- package/lib/components/ArticleList/ArticleListFilter.d.ts.map +0 -1
- package/lib/components/ArticleList/ArticleListFilter.js +0 -61
- package/lib/components/ArticleList/ArticleListFilter.js.map +0 -1
- package/lib/components/ArticleList/ArticleListHeader.d.ts +0 -5
- package/lib/components/ArticleList/ArticleListHeader.d.ts.map +0 -1
- package/lib/components/ArticleList/ArticleListHeader.js +0 -20
- package/lib/components/ArticleList/ArticleListHeader.js.map +0 -1
- package/lib/components/ArticleList/ArticleSummary.d.ts +0 -7
- package/lib/components/ArticleList/ArticleSummary.d.ts.map +0 -1
- package/lib/components/ArticleList/ArticleSummary.js +0 -56
- package/lib/components/ArticleList/ArticleSummary.js.map +0 -1
- package/lib/components/ArticleList/index.d.ts +0 -6
- package/lib/components/ArticleList/index.d.ts.map +0 -1
- package/lib/components/ArticleList/index.js +0 -4
- package/lib/components/ArticleList/index.js.map +0 -1
- package/lib/components/Assignments/Assignments.d.ts +0 -21
- package/lib/components/Assignments/Assignments.d.ts.map +0 -1
- package/lib/components/Assignments/Assignments.js +0 -20
- package/lib/components/Assignments/Assignments.js.map +0 -1
- package/lib/components/Assignments/Assignments.styles.d.ts +0 -8
- package/lib/components/Assignments/Assignments.styles.d.ts.map +0 -1
- package/lib/components/Assignments/Assignments.styles.js +0 -41
- package/lib/components/Assignments/Assignments.styles.js.map +0 -1
- package/lib/components/Assignments/index.d.ts +0 -2
- package/lib/components/Assignments/index.d.ts.map +0 -1
- package/lib/components/Assignments/index.js +0 -2
- package/lib/components/Assignments/index.js.map +0 -1
- package/lib/components/CasePreview/CasePreview.d.ts +0 -27
- package/lib/components/CasePreview/CasePreview.d.ts.map +0 -1
- package/lib/components/CasePreview/CasePreview.js +0 -82
- package/lib/components/CasePreview/CasePreview.js.map +0 -1
- package/lib/components/CasePreview/CasePreview.test-ids.d.ts +0 -2
- package/lib/components/CasePreview/CasePreview.test-ids.d.ts.map +0 -1
- package/lib/components/CasePreview/CasePreview.test-ids.js +0 -3
- package/lib/components/CasePreview/CasePreview.test-ids.js.map +0 -1
- package/lib/components/CasePreview/index.d.ts +0 -3
- package/lib/components/CasePreview/index.d.ts.map +0 -1
- package/lib/components/CasePreview/index.js +0 -2
- package/lib/components/CasePreview/index.js.map +0 -1
- package/lib/components/CaseView/CaseHeader/CaseHeader.d.ts +0 -4
- package/lib/components/CaseView/CaseHeader/CaseHeader.d.ts.map +0 -1
- package/lib/components/CaseView/CaseHeader/CaseHeader.js +0 -127
- package/lib/components/CaseView/CaseHeader/CaseHeader.js.map +0 -1
- package/lib/components/CaseView/CaseHeader/Summary.d.ts +0 -6
- package/lib/components/CaseView/CaseHeader/Summary.d.ts.map +0 -1
- package/lib/components/CaseView/CaseHeader/Summary.js +0 -182
- package/lib/components/CaseView/CaseHeader/Summary.js.map +0 -1
- package/lib/components/CaseView/CaseSummary.d.ts +0 -4
- package/lib/components/CaseView/CaseSummary.d.ts.map +0 -1
- package/lib/components/CaseView/CaseSummary.js +0 -18
- package/lib/components/CaseView/CaseSummary.js.map +0 -1
- package/lib/components/CaseView/CaseSummaryFields.d.ts +0 -6
- package/lib/components/CaseView/CaseSummaryFields.d.ts.map +0 -1
- package/lib/components/CaseView/CaseSummaryFields.js +0 -18
- package/lib/components/CaseView/CaseSummaryFields.js.map +0 -1
- package/lib/components/CaseView/CaseView.context.d.ts +0 -5
- package/lib/components/CaseView/CaseView.context.d.ts.map +0 -1
- package/lib/components/CaseView/CaseView.context.js +0 -5
- package/lib/components/CaseView/CaseView.context.js.map +0 -1
- package/lib/components/CaseView/CaseView.d.ts +0 -8
- package/lib/components/CaseView/CaseView.d.ts.map +0 -1
- package/lib/components/CaseView/CaseView.js +0 -421
- package/lib/components/CaseView/CaseView.js.map +0 -1
- package/lib/components/CaseView/CaseView.styles.d.ts +0 -45
- package/lib/components/CaseView/CaseView.styles.d.ts.map +0 -1
- package/lib/components/CaseView/CaseView.styles.js +0 -559
- package/lib/components/CaseView/CaseView.styles.js.map +0 -1
- package/lib/components/CaseView/CaseView.test-ids.d.ts +0 -2
- package/lib/components/CaseView/CaseView.test-ids.d.ts.map +0 -1
- package/lib/components/CaseView/CaseView.test-ids.js +0 -18
- package/lib/components/CaseView/CaseView.test-ids.js.map +0 -1
- package/lib/components/CaseView/CaseView.types.d.ts +0 -98
- package/lib/components/CaseView/CaseView.types.d.ts.map +0 -1
- package/lib/components/CaseView/CaseView.types.js +0 -2
- package/lib/components/CaseView/CaseView.types.js.map +0 -1
- package/lib/components/CaseView/UtilitiesSummary.d.ts +0 -9
- package/lib/components/CaseView/UtilitiesSummary.d.ts.map +0 -1
- package/lib/components/CaseView/UtilitiesSummary.js +0 -53
- package/lib/components/CaseView/UtilitiesSummary.js.map +0 -1
- package/lib/components/CaseView/UtilitySummaryItemDialog.d.ts +0 -9
- package/lib/components/CaseView/UtilitySummaryItemDialog.d.ts.map +0 -1
- package/lib/components/CaseView/UtilitySummaryItemDialog.js +0 -29
- package/lib/components/CaseView/UtilitySummaryItemDialog.js.map +0 -1
- package/lib/components/CaseView/index.d.ts +0 -5
- package/lib/components/CaseView/index.d.ts.map +0 -1
- package/lib/components/CaseView/index.js +0 -4
- package/lib/components/CaseView/index.js.map +0 -1
- package/lib/components/ConfigurableLayout/ConfigurableLayout.d.ts +0 -4
- package/lib/components/ConfigurableLayout/ConfigurableLayout.d.ts.map +0 -1
- package/lib/components/ConfigurableLayout/ConfigurableLayout.js +0 -86
- package/lib/components/ConfigurableLayout/ConfigurableLayout.js.map +0 -1
- package/lib/components/ConfigurableLayout/ConfigurableLayout.types.d.ts +0 -41
- package/lib/components/ConfigurableLayout/ConfigurableLayout.types.d.ts.map +0 -1
- package/lib/components/ConfigurableLayout/ConfigurableLayout.types.js +0 -2
- package/lib/components/ConfigurableLayout/ConfigurableLayout.types.js.map +0 -1
- package/lib/components/ConfigurableLayout/LayoutCell.d.ts +0 -6
- package/lib/components/ConfigurableLayout/LayoutCell.d.ts.map +0 -1
- package/lib/components/ConfigurableLayout/LayoutCell.js +0 -64
- package/lib/components/ConfigurableLayout/LayoutCell.js.map +0 -1
- package/lib/components/ConfigurableLayout/defaults.d.ts +0 -4
- package/lib/components/ConfigurableLayout/defaults.d.ts.map +0 -1
- package/lib/components/ConfigurableLayout/defaults.js +0 -4
- package/lib/components/ConfigurableLayout/defaults.js.map +0 -1
- package/lib/components/ConfigurableLayout/index.d.ts +0 -4
- package/lib/components/ConfigurableLayout/index.d.ts.map +0 -1
- package/lib/components/ConfigurableLayout/index.js +0 -3
- package/lib/components/ConfigurableLayout/index.js.map +0 -1
- package/lib/components/ConfigurableLayout/options.d.ts +0 -10
- package/lib/components/ConfigurableLayout/options.d.ts.map +0 -1
- package/lib/components/ConfigurableLayout/options.js +0 -10
- package/lib/components/ConfigurableLayout/options.js.map +0 -1
- package/lib/components/ConfigurableLayout/useTrackWrappedRegions.d.ts +0 -7
- package/lib/components/ConfigurableLayout/useTrackWrappedRegions.d.ts.map +0 -1
- package/lib/components/ConfigurableLayout/useTrackWrappedRegions.js +0 -37
- package/lib/components/ConfigurableLayout/useTrackWrappedRegions.js.map +0 -1
- package/lib/components/Confirmation/Confirmation.d.ts +0 -19
- package/lib/components/Confirmation/Confirmation.d.ts.map +0 -1
- package/lib/components/Confirmation/Confirmation.js +0 -29
- package/lib/components/Confirmation/Confirmation.js.map +0 -1
- package/lib/components/Confirmation/index.d.ts +0 -3
- package/lib/components/Confirmation/index.d.ts.map +0 -1
- package/lib/components/Confirmation/index.js +0 -2
- package/lib/components/Confirmation/index.js.map +0 -1
- package/lib/components/Details/Details.d.ts +0 -38
- package/lib/components/Details/Details.d.ts.map +0 -1
- package/lib/components/Details/Details.js +0 -92
- package/lib/components/Details/Details.js.map +0 -1
- package/lib/components/Details/Details.styles.d.ts +0 -50
- package/lib/components/Details/Details.styles.d.ts.map +0 -1
- package/lib/components/Details/Details.styles.js +0 -204
- package/lib/components/Details/Details.styles.js.map +0 -1
- package/lib/components/Details/Details.test-ids.d.ts +0 -2
- package/lib/components/Details/Details.test-ids.d.ts.map +0 -1
- package/lib/components/Details/Details.test-ids.js +0 -9
- package/lib/components/Details/Details.test-ids.js.map +0 -1
- package/lib/components/Details/DetailsContext.d.ts +0 -9
- package/lib/components/Details/DetailsContext.d.ts.map +0 -1
- package/lib/components/Details/DetailsContext.js +0 -9
- package/lib/components/Details/DetailsContext.js.map +0 -1
- package/lib/components/Details/index.d.ts +0 -4
- package/lib/components/Details/index.d.ts.map +0 -1
- package/lib/components/Details/index.js +0 -4
- package/lib/components/Details/index.js.map +0 -1
- package/lib/components/Glimpse/Glimpse.d.ts +0 -20
- package/lib/components/Glimpse/Glimpse.d.ts.map +0 -1
- package/lib/components/Glimpse/Glimpse.js +0 -12
- package/lib/components/Glimpse/Glimpse.js.map +0 -1
- package/lib/components/Glimpse/index.d.ts +0 -3
- package/lib/components/Glimpse/index.d.ts.map +0 -1
- package/lib/components/Glimpse/index.js +0 -2
- package/lib/components/Glimpse/index.js.map +0 -1
- package/lib/components/IntelligentGuidance/IntelligentGuidance.d.ts +0 -6
- package/lib/components/IntelligentGuidance/IntelligentGuidance.d.ts.map +0 -1
- package/lib/components/IntelligentGuidance/IntelligentGuidance.js +0 -83
- package/lib/components/IntelligentGuidance/IntelligentGuidance.js.map +0 -1
- package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.d.ts +0 -9
- package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.d.ts.map +0 -1
- package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.js +0 -199
- package/lib/components/IntelligentGuidance/IntelligentGuidance.styles.js.map +0 -1
- package/lib/components/IntelligentGuidance/IntelligentGuidance.types.d.ts +0 -35
- package/lib/components/IntelligentGuidance/IntelligentGuidance.types.d.ts.map +0 -1
- package/lib/components/IntelligentGuidance/IntelligentGuidance.types.js +0 -2
- package/lib/components/IntelligentGuidance/IntelligentGuidance.types.js.map +0 -1
- package/lib/components/IntelligentGuidance/index.d.ts +0 -3
- package/lib/components/IntelligentGuidance/index.d.ts.map +0 -1
- package/lib/components/IntelligentGuidance/index.js +0 -2
- package/lib/components/IntelligentGuidance/index.js.map +0 -1
- package/lib/components/Predictions/Predictions.d.ts +0 -6
- package/lib/components/Predictions/Predictions.d.ts.map +0 -1
- package/lib/components/Predictions/Predictions.js +0 -68
- package/lib/components/Predictions/Predictions.js.map +0 -1
- package/lib/components/Predictions/Predictions.types.d.ts +0 -23
- package/lib/components/Predictions/Predictions.types.d.ts.map +0 -1
- package/lib/components/Predictions/Predictions.types.js +0 -2
- package/lib/components/Predictions/Predictions.types.js.map +0 -1
- package/lib/components/Predictions/index.d.ts +0 -3
- package/lib/components/Predictions/index.d.ts.map +0 -1
- package/lib/components/Predictions/index.js +0 -2
- package/lib/components/Predictions/index.js.map +0 -1
- package/lib/components/SearchResults/Filter.d.ts +0 -8
- package/lib/components/SearchResults/Filter.d.ts.map +0 -1
- package/lib/components/SearchResults/Filter.js +0 -45
- package/lib/components/SearchResults/Filter.js.map +0 -1
- package/lib/components/SearchResults/SearchResult.d.ts +0 -4
- package/lib/components/SearchResults/SearchResult.d.ts.map +0 -1
- package/lib/components/SearchResults/SearchResult.js +0 -27
- package/lib/components/SearchResults/SearchResult.js.map +0 -1
- package/lib/components/SearchResults/SearchResults.d.ts +0 -6
- package/lib/components/SearchResults/SearchResults.d.ts.map +0 -1
- package/lib/components/SearchResults/SearchResults.js +0 -121
- package/lib/components/SearchResults/SearchResults.js.map +0 -1
- package/lib/components/SearchResults/SearchResults.styles.d.ts +0 -11
- package/lib/components/SearchResults/SearchResults.styles.d.ts.map +0 -1
- package/lib/components/SearchResults/SearchResults.styles.js +0 -88
- package/lib/components/SearchResults/SearchResults.styles.js.map +0 -1
- package/lib/components/SearchResults/SearchResults.types.d.ts +0 -100
- package/lib/components/SearchResults/SearchResults.types.d.ts.map +0 -1
- package/lib/components/SearchResults/SearchResults.types.js +0 -2
- package/lib/components/SearchResults/SearchResults.types.js.map +0 -1
- package/lib/components/SearchResults/index.d.ts +0 -3
- package/lib/components/SearchResults/index.d.ts.map +0 -1
- package/lib/components/SearchResults/index.js +0 -2
- package/lib/components/SearchResults/index.js.map +0 -1
- package/lib/components/Stages/StageGlimpse.d.ts +0 -8
- package/lib/components/Stages/StageGlimpse.d.ts.map +0 -1
- package/lib/components/Stages/StageGlimpse.js +0 -11
- package/lib/components/Stages/StageGlimpse.js.map +0 -1
- package/lib/components/Stages/Stages.d.ts +0 -6
- package/lib/components/Stages/Stages.d.ts.map +0 -1
- package/lib/components/Stages/Stages.js +0 -107
- package/lib/components/Stages/Stages.js.map +0 -1
- package/lib/components/Stages/Stages.styles.d.ts +0 -14
- package/lib/components/Stages/Stages.styles.d.ts.map +0 -1
- package/lib/components/Stages/Stages.styles.js +0 -270
- package/lib/components/Stages/Stages.styles.js.map +0 -1
- package/lib/components/Stages/Stages.types.d.ts +0 -38
- package/lib/components/Stages/Stages.types.d.ts.map +0 -1
- package/lib/components/Stages/Stages.types.js +0 -2
- package/lib/components/Stages/Stages.types.js.map +0 -1
- package/lib/components/Stages/index.d.ts +0 -3
- package/lib/components/Stages/index.d.ts.map +0 -1
- package/lib/components/Stages/index.js +0 -2
- package/lib/components/Stages/index.js.map +0 -1
- package/lib/components/Stakeholders/StakeholderForm.d.ts +0 -7
- package/lib/components/Stakeholders/StakeholderForm.d.ts.map +0 -1
- package/lib/components/Stakeholders/StakeholderForm.js +0 -49
- package/lib/components/Stakeholders/StakeholderForm.js.map +0 -1
- package/lib/components/Stakeholders/Stakeholders.d.ts +0 -6
- package/lib/components/Stakeholders/Stakeholders.d.ts.map +0 -1
- package/lib/components/Stakeholders/Stakeholders.js +0 -220
- package/lib/components/Stakeholders/Stakeholders.js.map +0 -1
- package/lib/components/Stakeholders/Stakeholders.types.d.ts +0 -75
- package/lib/components/Stakeholders/Stakeholders.types.d.ts.map +0 -1
- package/lib/components/Stakeholders/Stakeholders.types.js +0 -2
- package/lib/components/Stakeholders/Stakeholders.types.js.map +0 -1
- package/lib/components/Stakeholders/index.d.ts +0 -3
- package/lib/components/Stakeholders/index.d.ts.map +0 -1
- package/lib/components/Stakeholders/index.js +0 -2
- package/lib/components/Stakeholders/index.js.map +0 -1
- package/lib/components/Tags/Tags.d.ts +0 -34
- package/lib/components/Tags/Tags.d.ts.map +0 -1
- package/lib/components/Tags/Tags.js +0 -230
- package/lib/components/Tags/Tags.js.map +0 -1
- package/lib/components/Tags/index.d.ts +0 -3
- package/lib/components/Tags/index.d.ts.map +0 -1
- package/lib/components/Tags/index.js +0 -2
- package/lib/components/Tags/index.js.map +0 -1
- package/lib/components/Tasks/TaskList.d.ts +0 -39
- package/lib/components/Tasks/TaskList.d.ts.map +0 -1
- package/lib/components/Tasks/TaskList.js +0 -71
- package/lib/components/Tasks/TaskList.js.map +0 -1
- package/lib/components/Tasks/Tasks.d.ts +0 -29
- package/lib/components/Tasks/Tasks.d.ts.map +0 -1
- package/lib/components/Tasks/Tasks.js +0 -52
- package/lib/components/Tasks/Tasks.js.map +0 -1
- package/lib/components/Tasks/Tasks.test-ids.d.ts +0 -4
- package/lib/components/Tasks/Tasks.test-ids.d.ts.map +0 -1
- package/lib/components/Tasks/Tasks.test-ids.js +0 -5
- package/lib/components/Tasks/Tasks.test-ids.js.map +0 -1
- package/lib/components/Tasks/index.d.ts +0 -4
- package/lib/components/Tasks/index.d.ts.map +0 -1
- package/lib/components/Tasks/index.js +0 -4
- package/lib/components/Tasks/index.js.map +0 -1
- package/lib/components/Timeline/Timeline.d.ts +0 -6
- package/lib/components/Timeline/Timeline.d.ts.map +0 -1
- package/lib/components/Timeline/Timeline.js +0 -26
- package/lib/components/Timeline/Timeline.js.map +0 -1
- package/lib/components/Timeline/Timeline.styles.d.ts +0 -21
- package/lib/components/Timeline/Timeline.styles.d.ts.map +0 -1
- package/lib/components/Timeline/Timeline.styles.js +0 -165
- package/lib/components/Timeline/Timeline.styles.js.map +0 -1
- package/lib/components/Timeline/Timeline.types.d.ts +0 -66
- package/lib/components/Timeline/Timeline.types.d.ts.map +0 -1
- package/lib/components/Timeline/Timeline.types.js +0 -2
- package/lib/components/Timeline/Timeline.types.js.map +0 -1
- package/lib/components/Timeline/TimelineItem.d.ts +0 -13
- package/lib/components/Timeline/TimelineItem.d.ts.map +0 -1
- package/lib/components/Timeline/TimelineItem.js +0 -33
- package/lib/components/Timeline/TimelineItem.js.map +0 -1
- package/lib/components/Timeline/TimelineToolbar.d.ts +0 -6
- package/lib/components/Timeline/TimelineToolbar.d.ts.map +0 -1
- package/lib/components/Timeline/TimelineToolbar.js +0 -68
- package/lib/components/Timeline/TimelineToolbar.js.map +0 -1
- package/lib/components/Timeline/index.d.ts +0 -4
- package/lib/components/Timeline/index.d.ts.map +0 -1
- package/lib/components/Timeline/index.js +0 -3
- package/lib/components/Timeline/index.js.map +0 -1
- package/lib/components/Timeline/utils.d.ts +0 -15
- package/lib/components/Timeline/utils.d.ts.map +0 -1
- package/lib/components/Timeline/utils.js +0 -75
- package/lib/components/Timeline/utils.js.map +0 -1
- package/lib/index.d.ts +0 -37
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -38
- package/lib/index.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CaseView.js","sourceRoot":"","sources":["../../../src/components/CaseView/CaseView.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAElF,OAAO,EACL,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,cAAc,EACd,UAAU,EAEV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,gBAAgB,EAChB,UAAU,EACV,WAAW,EACZ,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,kBAAkB,MAAM,yEAAyE,CAAC;AAC9G,OAAO,KAA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AAC,gBAAgB,IAAC,KAAK,EAAE,qBAAqB,GAAI,CACnD,IACE,CACR,IACI,GACkB,EAC1B,mBAAmB,IACnB,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAC","sourcesContent":["import { FC, useEffect, useMemo, useRef, useLayoutEffect, useState } from 'react';\n\nimport {\n Flex,\n Grid,\n Icon,\n registerIcon,\n TabPanel,\n useBreakpoint,\n useScrollStick,\n useElement,\n ForwardProps,\n Card,\n Drawer,\n useI18n,\n useDirection,\n Tabs,\n useAfterInitialEffect,\n windowIsAvailable,\n focusHeadingOrContainer,\n useConfiguration,\n useTestIds,\n withTestIds\n} from '@pega/cosmos-react-core';\nimport { ScrollStickOptions } from '@pega/cosmos-react-core/lib/hooks/useScrollStick';\nimport * as moveRightSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/move-right-solid.icon';\nimport * as moveLeftSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/move-left-solid.icon';\n\nimport CaseSummary from './CaseSummary';\nimport UtilitiesSummary from './UtilitiesSummary';\nimport {\n StyledCaseDrawer,\n StyledCaseDrawerContent,\n StyledCaseView,\n StyledWorkArea,\n StyledPersistentUtility,\n StyledSummary,\n StyledSummaryTabContent,\n StyledUtilities,\n StyledExpandCollapseUtilitiesButton,\n StyledUtilitiesHeading\n} from './CaseView.styles';\nimport { CaseViewContextValue, CaseViewProps } from './CaseView.types';\nimport CaseViewContext from './CaseView.context';\nimport CaseSummaryFields from './CaseSummaryFields';\nimport { getCaseViewTestIds } from './CaseView.test-ids';\n\nregisterIcon(moveRightSolidIcon, moveLeftSolidIcon);\n\n// This function is responsible for auto sizing table height in case tab panels.\nconst resizeTable = (tabPanelEl: HTMLDivElement, workAreaEl: HTMLDivElement) => {\n tabPanelEl.style.removeProperty('--content-height-in-view');\n\n // .rs-wrapper is currently the class used by the table component which needs to be targeted.\n const tables = Array.from(tabPanelEl.querySelectorAll('.rs-wrapper')).filter(\n table => table.getBoundingClientRect().width !== 0\n );\n\n // Only perform this logic when there is a single table in a tab's panel.\n if (tables.length !== 1) return;\n\n // This selector finds the table's root element as they are always wrapped in a Card.\n const table = tables[0].closest('article');\n\n if (!table) return;\n\n const tabPanelRect = tabPanelEl.getBoundingClientRect();\n const tableRect = table.getBoundingClientRect();\n const vpHeight = document.documentElement.clientHeight;\n const tableRectOffsetTop = tableRect.top + window.scrollY;\n const workAreaPaddingBlockEnd =\n // px unit are required for proper CSS calc calculation.\n window.getComputedStyle(workAreaEl).getPropertyValue('padding-block-end') || '0px';\n\n // Accounts for content rendered after the table.\n const tableBottomToTabPanelBottom = tabPanelRect.bottom - tableRect.bottom;\n\n // Sets a CSS variable for available height based on screen size and view state.\n // Defines an available minimum height of ~600px.\n tabPanelEl.style.setProperty(\n '--content-height-in-view',\n `max(calc(${\n vpHeight - tableRectOffsetTop - tableBottomToTabPanelBottom\n }px - ${workAreaPaddingBlockEnd}), 37.5rem)`\n );\n};\n\nconst CaseView: FC<CaseViewProps & ForwardProps> = ({\n testId,\n\n // Case data mostly visually related to the case header\n caseId,\n heading,\n subheading,\n caseLink,\n parentCases,\n icon,\n followed,\n onFollowedChange,\n onEdit,\n actions,\n promotedActions,\n\n // Summary content and state props\n summaryFields,\n summaryExpanded: summaryExpandedProp = true,\n onToggleSummary,\n\n // Case tabs\n tabs: { currentTabId, items: tabItemsProp, onClick: onTabClick },\n\n // Workarea related content props\n banners,\n stages,\n tasks,\n tabContent: tabContentProp = [],\n\n // Utilities content and state props\n utilities,\n utilitiesSummaryItems,\n utilitiesExpanded: utilitiesExpandedProp = true,\n onToggleUtilities,\n\n // Etc...\n persistentUtility,\n intelligentGuidance,\n isPreview = false,\n ...restProps\n}: CaseViewProps) => {\n const testIds = useTestIds(testId, getCaseViewTestIds);\n\n // General util hooks\n const t = useI18n();\n const direction = useDirection();\n const { loadedRef } = useConfiguration();\n\n // Element refs\n const caseViewRef = useRef<HTMLDivElement>(null);\n const summaryRef = useRef<HTMLDivElement>(null);\n // undefined used to allow ref to be mutable. Element set below in ref callback for scroll stick.\n const workAreaRef = useRef<HTMLDivElement | undefined>();\n const toggleButtonRef = useRef<HTMLButtonElement>(null);\n const isToggleButtonFocused = useRef(false);\n\n // Tab content\n const [tabContentEl, setTabContentEl] = useElement<HTMLElement>(null);\n\n // Breakpoint booleans\n const smOrAbove = useBreakpoint('sm');\n const mdOrAbove = useBreakpoint('md', { breakpointRef: caseViewRef });\n const lgOrAbove = useBreakpoint('lg', { breakpointRef: caseViewRef });\n const xlOrAbove = useBreakpoint('xl', { breakpointRef: caseViewRef });\n\n // DOM ids\n const initialTabId = tabItemsProp[0]?.id;\n const summaryTabId = `summary-${caseId}`;\n const utilitiesTabId = `utilities-${caseId}`;\n const persistentUtilityTabId = `persistent-utility-${caseId}`;\n\n // Summary state handling\n let summaryExpanded = !isPreview && !!summaryExpandedProp;\n\n if (persistentUtility) {\n summaryExpanded = xlOrAbove;\n }\n\n // Focus heading on initial mount\n useEffect(() => {\n if (!caseViewRef.current) return;\n\n if (loadedRef.current) {\n focusHeadingOrContainer(caseViewRef.current, heading);\n } else {\n loadedRef.current = true;\n }\n }, [caseId]);\n\n // Utilities state handling\n\n // Used in coordination with a layoutEffect below to determine the utilities state on initial render.\n // Attempted with a ref but it did not work. Using state and enforcing a render in addition to the change render for lgOrAbove seems to fix...\n const [obeyUtilitiesExpandedProp, setObeyUtilitiesExpandedProp] = useState(lgOrAbove);\n\n // Allow the utilitiesExpandedProp to drive the utilities' state after the initial render\n useLayoutEffect(() => {\n if (lgOrAbove) setObeyUtilitiesExpandedProp(true);\n }, [lgOrAbove]);\n\n // Tracks whether a resize forced the onToggleUtilities to close the utilities when it's a drawer\n const utilitiesToggledByResize = useRef(false);\n\n // If the initial render is within the MD size, where the utility drawer renders, it must begin collapsed\n const utilitiesExpanded = obeyUtilitiesExpandedProp ? utilitiesExpandedProp : false;\n\n // Handles utilities state based on breakpoint changes.\n useAfterInitialEffect(() => {\n // If we change into the MD breakpoint range and the utilities state is expanded call the toggle prop to collapse it with controlled state\n if (mdOrAbove && !lgOrAbove && utilitiesExpandedProp) {\n onToggleUtilities?.();\n utilitiesToggledByResize.current = true;\n }\n\n if (lgOrAbove) {\n if (utilitiesToggledByResize.current && !utilitiesExpandedProp) {\n onToggleUtilities?.();\n }\n\n utilitiesToggledByResize.current = false;\n }\n // Purposely not listing utilitiesExpanded as a dependency as it is not a trigger and will be captured when BPs change\n }, [mdOrAbove, lgOrAbove]);\n\n // Handles focus of toggle button when toggled in drawer mode and when browser is resized\n useEffect(() => {\n if (isToggleButtonFocused.current) {\n toggleButtonRef.current?.focus();\n }\n\n if (!toggleButtonRef.current) {\n // Toggle button is not on DOM.\n isToggleButtonFocused.current = false;\n }\n }, [utilitiesExpanded, mdOrAbove, lgOrAbove]);\n\n // Prepare tabs\n const [tabItems, tabContent] = useMemo(() => {\n const summaryTab = { id: summaryTabId, name: t('summary') };\n const summaryTabContent = {\n id: summaryTabId,\n content: (\n <Card>\n <StyledSummaryTabContent>\n <CaseSummaryFields {...summaryFields} />\n </StyledSummaryTabContent>\n </Card>\n )\n };\n\n let items = tabItemsProp;\n let content = tabContentProp;\n\n if (mdOrAbove) {\n if (!summaryExpanded || (persistentUtility && !xlOrAbove)) {\n items = [summaryTab, ...tabItemsProp];\n content = [summaryTabContent, ...tabContentProp];\n }\n\n return [items, content];\n }\n\n const utilityTabsItems = [];\n const utilityTabsContent = [];\n\n if (utilities) {\n utilityTabsItems.push({ id: utilitiesTabId, name: t('utilities') });\n utilityTabsContent.push({\n id: utilitiesTabId,\n content: <Flex container={{ direction: 'column', gap: 2 }}>{utilities}</Flex>\n });\n }\n\n if (persistentUtility) {\n utilityTabsItems.push({ id: persistentUtilityTabId, name: persistentUtility.title });\n utilityTabsContent.push({ id: persistentUtilityTabId, content: persistentUtility?.content });\n }\n\n items = [summaryTab, ...tabItemsProp, ...utilityTabsItems];\n content = [summaryTabContent, ...tabContentProp, ...utilityTabsContent];\n\n return [items, content];\n }, [\n tabItemsProp,\n summaryTabId,\n mdOrAbove,\n summaryExpanded,\n persistentUtility,\n xlOrAbove,\n tabContentProp,\n utilities,\n utilitiesTabId,\n persistentUtilityTabId\n ]);\n\n // Grid layout props\n let caseViewGridContainer = {\n cols: 'minmax(0, 1fr)',\n colGap: 0,\n rows: 'minmax(0, max-content) auto',\n areas: `\n \"summary\"\n \"work-area\"\n `\n };\n\n const sharedGridProps = {\n colGap: 2,\n rows: caseViewGridContainer.rows\n };\n\n if (persistentUtility) {\n if (xlOrAbove) {\n caseViewGridContainer = {\n ...sharedGridProps,\n cols: 'minmax(0, max-content) minmax(0, 1fr) repeat(2, minmax(0, max-content))',\n areas: '\"summary work-area persistentUtility utilities\"'\n };\n } else if (mdOrAbove) {\n caseViewGridContainer = {\n ...sharedGridProps,\n cols: 'minmax(0, 1fr) repeat(2, minmax(0, max-content))',\n areas: `\n \"summary summary summary\"\n \"work-area persistentUtility utilities\"\n `\n };\n }\n } else if (summaryExpanded) {\n if (mdOrAbove) {\n caseViewGridContainer = {\n ...sharedGridProps,\n cols: 'minmax(0, max-content) minmax(0, 1fr) minmax(0, max-content)',\n areas: '\"summary work-area utilities\"'\n };\n }\n } else if (mdOrAbove) {\n caseViewGridContainer = {\n ...sharedGridProps,\n cols: 'minmax(0, 1fr) minmax(0, max-content)',\n areas: `\n \"summary summary\"\n \"work-area utilities\"\n `\n };\n }\n\n // Apply sticky columns\n const scrollStickOptions = useRef<ScrollStickOptions & { elements: HTMLElement[] }>({\n elements: []\n });\n\n const stickOffset = useMemo(() => {\n if (windowIsAvailable && caseViewRef.current) {\n return parseFloat(\n window.getComputedStyle(caseViewRef.current).getPropertyValue('--appshell-offset')\n );\n }\n\n return 0;\n }, [caseViewRef.current]);\n\n useScrollStick(\n // isMediumOrAbove means side by side columns | | |\n mdOrAbove ? { ...scrollStickOptions.current, offset: stickOffset } : undefined\n );\n\n // Preview set summary tab active\n useEffect(() => {\n if (isPreview) {\n onTabClick(summaryTabId);\n }\n }, []);\n\n // Initial tab selection\n useEffect(() => {\n if (\n mdOrAbove &&\n summaryExpanded &&\n !persistentUtility &&\n (currentTabId === summaryTabId || currentTabId === utilitiesTabId)\n ) {\n onTabClick(tabItemsProp[0]?.id);\n }\n // Toggle utilities tab selection\n if (mdOrAbove && [utilitiesTabId, persistentUtilityTabId].includes(currentTabId)) {\n onTabClick(initialTabId);\n }\n }, [mdOrAbove]);\n\n // Initial / summary tab selection\n useEffect(() => {\n if (!smOrAbove && currentTabId === initialTabId) {\n onTabClick(summaryTabId);\n } else if (smOrAbove && currentTabId === summaryTabId) {\n onTabClick(initialTabId);\n }\n }, [smOrAbove]);\n\n // Summary tab selection\n useEffect(() => {\n if (isPreview) {\n onTabClick(summaryTabId);\n }\n }, [isPreview]);\n\n // Initial tab selection\n useEffect(() => {\n if (summaryExpanded && currentTabId === summaryTabId) {\n onTabClick(initialTabId);\n }\n }, [summaryExpanded]);\n\n // Handles scrolling to tab content for newly clicked tab\n useEffect(() => {\n if (!tabContentEl) return;\n const scrollPos = window.scrollY;\n const windowHeight = document.documentElement.clientHeight;\n const bottomPos = scrollPos + windowHeight * 0.8;\n const tabContentPos = tabContentEl.offsetTop;\n if (tabContentPos > bottomPos) {\n const top = tabContentPos - windowHeight * 0.2;\n window.scrollTo({ top, behavior: 'smooth' });\n }\n }, [currentTabId]);\n\n // We need a css variable for the height of the case summary when it is collapsed into a header like layout\n useLayoutEffect(() => {\n if (!caseViewRef.current || !summaryRef.current) return;\n\n caseViewRef.current.style.setProperty(\n '--summary-height',\n `${!summaryExpanded ? summaryRef.current.offsetHeight : 0}px`\n );\n }, [summaryExpanded]);\n\n // CaseView context value\n // Choosing not to memo for now due to extent of deps and how often they change. Optimize as needed.\n // eslint-disable-next-line react/jsx-no-constructed-context-values\n const ctxValue: CaseViewContextValue = {\n testIds,\n caseId,\n heading,\n subheading,\n caseLink,\n parentCases,\n icon,\n followed,\n onFollowedChange,\n actions,\n promotedActions,\n onEdit,\n summaryFields,\n tabs: {\n items: tabItems,\n onClick: onTabClick,\n currentTabId\n },\n stages,\n tasks,\n persistentUtility,\n intelligentGuidance,\n summaryExpanded,\n utilitiesExpanded,\n onToggleSummary,\n isPreview,\n aboveSM: smOrAbove,\n aboveMD: mdOrAbove,\n aboveLG: lgOrAbove,\n aboveXL: xlOrAbove\n };\n\n const currentTabPanelRef = useRef<HTMLDivElement>(null);\n\n // The following effects are dedicated to resizeTable handling.\n useLayoutEffect(() => {\n if (!currentTabPanelRef.current || !workAreaRef.current) return;\n\n const currentTabPanelEl = currentTabPanelRef.current;\n const workAreaEl = workAreaRef.current;\n\n resizeTable(currentTabPanelEl, workAreaEl);\n\n const onTabChange = () => {\n resizeTable(currentTabPanelEl, workAreaEl);\n };\n\n // TODO: optimize\n const mo = new MutationObserver(() => {\n resizeTable(currentTabPanelEl, workAreaEl);\n });\n\n mo.observe(currentTabPanelEl, { childList: true, subtree: true });\n\n currentTabPanelEl.addEventListener('cosmos-tab-changed', onTabChange);\n\n return () => {\n mo.disconnect();\n currentTabPanelEl.removeEventListener('cosmos-tab-changed', onTabChange);\n };\n });\n\n const [bannersStagesTasksEl, setBannersStagesTasksEl] = useElement<HTMLDivElement>(null);\n\n useEffect(() => {\n if (!bannersStagesTasksEl) return;\n\n const observer = new ResizeObserver(() => {\n if (!currentTabPanelRef.current || !workAreaRef.current) return;\n\n resizeTable(currentTabPanelRef.current, workAreaRef.current);\n });\n\n observer.observe(bannersStagesTasksEl);\n\n return () => {\n observer.disconnect();\n };\n }, [bannersStagesTasksEl]);\n\n useEffect(() => {\n const onResize = () => {\n if (!currentTabPanelRef.current || !workAreaRef.current) return;\n\n resizeTable(currentTabPanelRef.current, workAreaRef.current);\n };\n\n window.addEventListener('resize', onResize);\n\n return () => {\n window.removeEventListener('resize', onResize);\n };\n }, []);\n\n const utilitiesHeading = (\n <StyledUtilitiesHeading variant='h2'>{t('utilities')}</StyledUtilitiesHeading>\n );\n\n const utilitiesToggleButton = (\n <StyledExpandCollapseUtilitiesButton\n compact\n icon\n label={t(utilitiesExpanded ? 'collapse' : 'expand')}\n aria-label={t(utilitiesExpanded ? 'collapse_utilities_panel' : 'expand_utilities_panel')}\n onClick={() => {\n if (!obeyUtilitiesExpandedProp && utilitiesExpandedProp) {\n setObeyUtilitiesExpandedProp(true);\n } else {\n onToggleUtilities?.();\n }\n }}\n onFocus={() => {\n isToggleButtonFocused.current = true;\n }}\n onBlur={() => {\n isToggleButtonFocused.current = false;\n }}\n ref={toggleButtonRef}\n >\n <Icon name='arrow-micro-left' />\n </StyledExpandCollapseUtilitiesButton>\n );\n\n // Here we go...\n return (\n <>\n <CaseViewContext.Provider value={ctxValue}>\n {/* Root element */}\n <Grid\n data-testid={testIds.root}\n {...restProps}\n as={StyledCaseView}\n ref={caseViewRef}\n container={caseViewGridContainer}\n item={{ area: 'case-view' }}\n >\n {/* Summary */}\n <Grid\n as={StyledSummary}\n item={{ area: 'summary' }}\n desktop={mdOrAbove && (!persistentUtility || xlOrAbove) && !summaryExpanded}\n isLargeOrAbove={lgOrAbove}\n ref={summaryRef}\n >\n <CaseSummary />\n </Grid>\n\n {/* Work area */}\n <Flex\n container={{\n direction: 'column',\n alignContent: 'start',\n rowGap: 2\n }}\n as={StyledWorkArea}\n persistentUtility={Boolean(persistentUtility)}\n ref={(el: HTMLDivElement) => {\n workAreaRef.current = el;\n if (el) scrollStickOptions.current?.elements.push(el);\n }}\n >\n {(banners || stages || tasks) && (\n <Flex\n container={{\n direction: 'column',\n alignContent: 'start',\n rowGap: 2\n }}\n ref={setBannersStagesTasksEl}\n >\n {banners && <div data-testid={testIds.banners}>{banners}</div>}\n {stages && <div data-testid={testIds.stages}>{stages}</div>}\n {tasks && <div data-testid={testIds.tasks}>{tasks}</div>}\n </Flex>\n )}\n\n {(!mdOrAbove || (persistentUtility && !xlOrAbove) || !summaryExpanded) && (\n <Tabs\n data-testid={testIds.tabs}\n tabs={tabItems}\n onTabClick={onTabClick}\n currentTabId={currentTabId}\n />\n )}\n\n <div ref={setTabContentEl}>\n {tabContent?.map(({ id, content }) => (\n <TabPanel\n data-testid={currentTabId === id ? testIds.tabContent : undefined}\n currentTabId={currentTabId}\n tabId={id}\n key={id}\n ref={currentTabId === id ? currentTabPanelRef : undefined}\n >\n {content}\n </TabPanel>\n ))}\n </div>\n </Flex>\n\n {/* Persistent utility column */}\n {persistentUtility && mdOrAbove && (\n <Grid as={StyledPersistentUtility} item={{ area: 'persistentUtility' }} data-app-region>\n {persistentUtility.content}\n </Grid>\n )}\n\n {/* Utility drawer */}\n {utilities && mdOrAbove && !lgOrAbove && utilitiesExpanded && (\n <Drawer\n as={StyledCaseDrawer}\n open={utilitiesExpanded}\n position='fixed'\n placement={direction.end}\n shadow\n nullWhenClosed\n hasPersistentUtility={!!persistentUtility}\n >\n <Flex\n as={StyledCaseDrawerContent}\n container={{ direction: 'column', gap: 2 }}\n data-app-region\n >\n <Flex container={{ alignItems: 'center', justify: 'between' }}>\n {utilitiesHeading}\n {utilitiesToggleButton}\n </Flex>\n\n {utilities}\n </Flex>\n </Drawer>\n )}\n\n {/* Utilities */}\n {utilities && mdOrAbove && (\n <Grid\n data-testid={testIds.utilities}\n ref={(el: HTMLDivElement) => {\n if (el) scrollStickOptions.current?.elements.push(el);\n }}\n as={StyledUtilities}\n container={{\n cols: 'minmax(0, 1fr)',\n rowGap: 2\n }}\n item={{\n area: 'utilities'\n }}\n data-app-region={lgOrAbove || !utilitiesExpanded || undefined}\n aria-label={t('utilities_label')}\n >\n <Flex\n container={{\n alignItems: 'center',\n justify: utilitiesExpanded ? 'between' : 'center'\n }}\n >\n {utilitiesHeading}\n {!lgOrAbove && utilitiesExpanded ? null : utilitiesToggleButton}\n </Flex>\n\n {utilitiesExpanded && lgOrAbove && utilities}\n\n {(!utilitiesExpanded || (mdOrAbove && !lgOrAbove)) &&\n utilitiesSummaryItems &&\n utilitiesSummaryItems.length > 0 && (\n <UtilitiesSummary items={utilitiesSummaryItems} />\n )}\n </Grid>\n )}\n </Grid>\n </CaseViewContext.Provider>\n {intelligentGuidance}\n </>\n );\n};\n\nexport default withTestIds(CaseView, getCaseViewTestIds);\n"]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { DefaultTheme } from 'styled-components';
|
|
2
|
-
export declare const StyledCaseSummaryFields: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
3
|
-
export declare const StyledSummaryPrimaryList: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core").FieldValueListProps & import("@pega/cosmos-react-core").ForwardProps> & {
|
|
4
|
-
getTestIds: (testIdProp?: string | undefined) => import("@pega/cosmos-react-core").TestIdsRecord<readonly []>;
|
|
5
|
-
}, DefaultTheme, {
|
|
6
|
-
wrapped?: boolean | undefined;
|
|
7
|
-
}, never>;
|
|
8
|
-
export declare const StyledSummarySecondaryList: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core").FieldValueListProps & import("@pega/cosmos-react-core").ForwardProps> & {
|
|
9
|
-
getTestIds: (testIdProp?: string | undefined) => import("@pega/cosmos-react-core").TestIdsRecord<readonly []>;
|
|
10
|
-
}, DefaultTheme, {}, never>;
|
|
11
|
-
export declare const StyledSummaryTabContent: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core").CardContentProps & import("@pega/cosmos-react-core").ForwardProps>, DefaultTheme, {}, never>;
|
|
12
|
-
export declare const StyledCaseHeader: import("styled-components").StyledComponent<"header", DefaultTheme, {}, never>;
|
|
13
|
-
export declare const StyledFollowIconWrap: import("styled-components").StyledComponent<"label", DefaultTheme, {}, never>;
|
|
14
|
-
export declare const StyledSubheading: import("styled-components").StyledComponent<"p", DefaultTheme, {}, never>;
|
|
15
|
-
export declare const StyledHeaderActions: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
16
|
-
offsetEnd: boolean;
|
|
17
|
-
}, never>;
|
|
18
|
-
export declare const StyledCaseHeaderText: import("styled-components").StyledComponent<"hgroup", DefaultTheme, {}, never>;
|
|
19
|
-
export declare const StyledCaseHeaderPromotedAction: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core").ButtonProps & import("@pega/cosmos-react-core").ForwardProps>, DefaultTheme, {}, never>;
|
|
20
|
-
export declare const StyledHeaderSummaryBlock: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
21
|
-
hasItems: boolean;
|
|
22
|
-
}, never>;
|
|
23
|
-
export declare const StyledHeaderSummary: import("styled-components").StyledComponent<"dl", DefaultTheme, {}, never>;
|
|
24
|
-
export declare const StyledHeaderSummaryValue: import("styled-components").StyledComponent<"dd", DefaultTheme, {
|
|
25
|
-
bold?: boolean | undefined;
|
|
26
|
-
truncate?: boolean | undefined;
|
|
27
|
-
theme: DefaultTheme;
|
|
28
|
-
}, never>;
|
|
29
|
-
export declare const StyledCaseSummaryInfo: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
30
|
-
export declare const StyledCaseSummaryContainer: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
31
|
-
export declare const StyledExpandCollapseButton: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core").ButtonProps & import("@pega/cosmos-react-core").ForwardProps>, DefaultTheme, {}, never>;
|
|
32
|
-
export declare const StyledExpandCollapseSummaryButton: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core").ButtonProps & import("@pega/cosmos-react-core").ForwardProps>, DefaultTheme, {}, never>;
|
|
33
|
-
export declare const StyledCaseSummary: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
34
|
-
export declare const StyledWorkArea: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
35
|
-
export declare const StyledUtilitiesHeading: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core").TextProps & import("@pega/cosmos-react-core").ForwardProps>, DefaultTheme, {}, never>;
|
|
36
|
-
export declare const StyledExpandCollapseUtilitiesButton: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core").ButtonProps & import("@pega/cosmos-react-core").ForwardProps>, DefaultTheme, {}, never>;
|
|
37
|
-
export declare const StyledUtilities: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
38
|
-
export declare const StyledSummary: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
39
|
-
export declare const StyledCaseDrawer: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
40
|
-
export declare const StyledCaseDrawerContent: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
41
|
-
export declare const StyledPersistentUtility: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
42
|
-
export declare const ScrollStick: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
43
|
-
export declare const StyledCaseView: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
44
|
-
export declare const StyledUtilitiesHeader: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core").TextProps & import("@pega/cosmos-react-core").ForwardProps>, DefaultTheme, {}, never>;
|
|
45
|
-
//# sourceMappingURL=CaseView.styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CaseView.styles.d.ts","sourceRoot":"","sources":["../../../src/components/CaseView/CaseView.styles.ts"],"names":[],"mappings":"AAAA,OAAe,EAAO,YAAY,EAAE,MAAM,mBAAmB,CAAC;AA4C9D,eAAO,MAAM,uBAAuB,6EAAe,CAAC;AAIpD,eAAO,MAAM,wBAAwB;;;;SAmBpC,CAAC;AAIF,eAAO,MAAM,0BAA0B;;2BAMrC,CAAC;AAEH,eAAO,MAAM,uBAAuB,8MAkBlC,CAAC;AAIH,eAAO,MAAM,gBAAgB,gFAmB3B,CAAC;AAIH,eAAO,MAAM,oBAAoB,+EAShC,CAAC;AAIF,eAAO,MAAM,gBAAgB,2EAAa,CAAC;AAI3C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