@activecollab/components 2.0.484 → 2.0.485
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/presentation/reports/allReports.js +223 -0
- package/dist/cjs/presentation/reports/allReports.js.map +1 -0
- package/dist/cjs/presentation/reports/availability.js +685 -0
- package/dist/cjs/presentation/reports/availability.js.map +1 -0
- package/dist/cjs/presentation/reports/availabilityExport.js +117 -0
- package/dist/cjs/presentation/reports/availabilityExport.js.map +1 -0
- package/dist/cjs/presentation/reports/controls.js +236 -0
- package/dist/cjs/presentation/reports/controls.js.map +1 -0
- package/dist/cjs/presentation/reports/dashboards.js +434 -0
- package/dist/cjs/presentation/reports/dashboards.js.map +1 -0
- package/dist/cjs/presentation/reports/data.js +2309 -0
- package/dist/cjs/presentation/reports/data.js.map +1 -0
- package/dist/cjs/presentation/reports/payments.js +294 -0
- package/dist/cjs/presentation/reports/payments.js.map +1 -0
- package/dist/cjs/presentation/reports/uninvoiced.js +223 -0
- package/dist/cjs/presentation/reports/uninvoiced.js.map +1 -0
- package/dist/cjs/presentation/shared/PageStickyHeader.js +76 -0
- package/dist/cjs/presentation/shared/PageStickyHeader.js.map +1 -0
- package/dist/cjs/presentation/shared/PresentationShell.js +22 -14
- package/dist/cjs/presentation/shared/PresentationShell.js.map +1 -1
- package/dist/cjs/presentation/shared/UserDetailsDialog.js +18 -5
- package/dist/cjs/presentation/shared/UserDetailsDialog.js.map +1 -1
- package/dist/cjs/presentation/shared/dashboardWidgets.js +116 -71
- package/dist/cjs/presentation/shared/dashboardWidgets.js.map +1 -1
- package/dist/cjs/presentation/shared/headers.js +7 -2
- package/dist/cjs/presentation/shared/headers.js.map +1 -1
- package/dist/cjs/presentation/shared/index.js +22 -0
- package/dist/cjs/presentation/shared/index.js.map +1 -1
- package/dist/esm/presentation/reports/allReports.d.ts +3 -0
- package/dist/esm/presentation/reports/allReports.d.ts.map +1 -0
- package/dist/esm/presentation/reports/allReports.js +210 -0
- package/dist/esm/presentation/reports/allReports.js.map +1 -0
- package/dist/esm/presentation/reports/availability.d.ts +9 -0
- package/dist/esm/presentation/reports/availability.d.ts.map +1 -0
- package/dist/esm/presentation/reports/availability.js +532 -0
- package/dist/esm/presentation/reports/availability.js.map +1 -0
- package/dist/esm/presentation/reports/availabilityExport.d.ts +17 -0
- package/dist/esm/presentation/reports/availabilityExport.d.ts.map +1 -0
- package/dist/esm/presentation/reports/availabilityExport.js +97 -0
- package/dist/esm/presentation/reports/availabilityExport.js.map +1 -0
- package/dist/esm/presentation/reports/controls.d.ts +50 -0
- package/dist/esm/presentation/reports/controls.d.ts.map +1 -0
- package/dist/esm/presentation/reports/controls.js +205 -0
- package/dist/esm/presentation/reports/controls.js.map +1 -0
- package/dist/esm/presentation/reports/dashboards.d.ts +4 -0
- package/dist/esm/presentation/reports/dashboards.d.ts.map +1 -0
- package/dist/esm/presentation/reports/dashboards.js +390 -0
- package/dist/esm/presentation/reports/dashboards.js.map +1 -0
- package/dist/esm/presentation/reports/data.d.ts +171 -0
- package/dist/esm/presentation/reports/data.d.ts.map +1 -0
- package/dist/esm/presentation/reports/data.js +2303 -0
- package/dist/esm/presentation/reports/data.js.map +1 -0
- package/dist/esm/presentation/reports/payments.d.ts +3 -0
- package/dist/esm/presentation/reports/payments.d.ts.map +1 -0
- package/dist/esm/presentation/reports/payments.js +235 -0
- package/dist/esm/presentation/reports/payments.js.map +1 -0
- package/dist/esm/presentation/reports/uninvoiced.d.ts +3 -0
- package/dist/esm/presentation/reports/uninvoiced.d.ts.map +1 -0
- package/dist/esm/presentation/reports/uninvoiced.js +208 -0
- package/dist/esm/presentation/reports/uninvoiced.js.map +1 -0
- package/dist/esm/presentation/shared/PageStickyHeader.d.ts +10 -0
- package/dist/esm/presentation/shared/PageStickyHeader.d.ts.map +1 -0
- package/dist/esm/presentation/shared/PageStickyHeader.js +70 -0
- package/dist/esm/presentation/shared/PageStickyHeader.js.map +1 -0
- package/dist/esm/presentation/shared/PresentationShell.d.ts +2 -1
- package/dist/esm/presentation/shared/PresentationShell.d.ts.map +1 -1
- package/dist/esm/presentation/shared/PresentationShell.js +22 -14
- package/dist/esm/presentation/shared/PresentationShell.js.map +1 -1
- package/dist/esm/presentation/shared/UserDetailsDialog.d.ts +4 -1
- package/dist/esm/presentation/shared/UserDetailsDialog.d.ts.map +1 -1
- package/dist/esm/presentation/shared/UserDetailsDialog.js +18 -5
- package/dist/esm/presentation/shared/UserDetailsDialog.js.map +1 -1
- package/dist/esm/presentation/shared/dashboardWidgets.d.ts +14 -1
- package/dist/esm/presentation/shared/dashboardWidgets.d.ts.map +1 -1
- package/dist/esm/presentation/shared/dashboardWidgets.js +107 -68
- package/dist/esm/presentation/shared/dashboardWidgets.js.map +1 -1
- package/dist/esm/presentation/shared/headers.d.ts +2 -1
- package/dist/esm/presentation/shared/headers.d.ts.map +1 -1
- package/dist/esm/presentation/shared/headers.js +7 -2
- package/dist/esm/presentation/shared/headers.js.map +1 -1
- package/dist/esm/presentation/shared/index.d.ts +4 -2
- package/dist/esm/presentation/shared/index.d.ts.map +1 -1
- package/dist/esm/presentation/shared/index.js +2 -1
- package/dist/esm/presentation/shared/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_tokens","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_MainLogo","_RoundAvatar","_PresentationShell","_headers","_ProjectOptionsMenu","_PortfolioOptionsMenu","_dashboardWidgets","_FloatingControls","_StatusIndicator","_ToastHost","_MessageDialog","_MessageFeedback","_HelpAndSupportMenu","_LinkingCommandsButton","_LinkBranchOrPullRequestDialog","_ConnectRepositoryDialog","_WebhookLogsDialog","_SourceCodeSection","_SuggestSubtasksButton","_TaskOptionsMenu","_UserMenu","_UserDetailsDialog","_TwoFactorShield","_TwoFactorDialogs","_settings","_systemSettingsDialog","_selfHostedSettings","_selfHostedUpgrade","_FeatureAvailability","_portfolioDetails"],"sources":["../../../../src/presentation/shared/index.ts"],"sourcesContent":["/**\n * Shared building blocks for the Presentation mock-ups (`Presentation/*`\n * stories). The application shell, page headers, tab bar and small widgets are\n * defined once here and reused by the List view, Column view, Task sheet and\n * empty-page stories so the chrome stays identical and in one place.\n */\nexport * from \"./tokens\";\nexport { MainLogo } from \"./MainLogo\";\nexport { RoundAvatar } from \"./RoundAvatar\";\nexport { PresentationShell, StyledPagePaper } from \"./PresentationShell\";\nexport type { PresentationShellProps } from \"./PresentationShell\";\nexport { PageHeader, ProjectPageHeader, TabHeader } from \"./headers\";\nexport type {\n PageHeaderProps,\n ProjectPageHeaderProps,\n TabHeaderProps,\n} from \"./headers\";\nexport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nexport { PortfolioOptionsMenu } from \"./PortfolioOptionsMenu\";\nexport type { PortfolioOptionsMenuProps } from \"./PortfolioOptionsMenu\";\nexport {\n WidgetGrid,\n WidgetGroupBy,\n StatWidget,\n WidgetRankedList,\n OverviewWidget,\n AreaChartWidget,\n DailyDeltaChartWidget,\n LeaderboardWidget,\n StackedBarChartWidget,\n CHART_SERIES_COLORS,\n OVERVIEW_SECTION_COLORS,\n PERIOD_OPTIONS,\n PeriodPicker,\n} from \"./dashboardWidgets\";\nexport type {\n WidgetGroupByProps,\n StatWidgetProps,\n RankedListItem,\n OverviewSectionData,\n OverviewWidgetProps,\n AreaChartWidgetProps,\n DailyDeltaPoint,\n DailyDeltaChartWidgetProps,\n LeaderboardRowData,\n LeaderboardWidgetProps,\n StackedBarColumn,\n StackedBarChartWidgetProps,\n PeriodPickerProps,\n} from \"./dashboardWidgets\";\n\nexport type { ProjectOptionsMenuProps } from \"./ProjectOptionsMenu\";\nexport { FloatingControls } from \"./FloatingControls\";\nexport { StatusIndicator } from \"./StatusIndicator\";\nexport type { StatusIndicatorProps } from \"./StatusIndicator\";\nexport { ToastHost } from \"./ToastHost\";\nexport {\n MessageDialog,\n DocLinkContext,\n messageComponents,\n} from \"./MessageDialog\";\nexport type {\n MessageDialogProps,\n MessageDialogSize,\n OpenArticleHandler,\n} from \"./MessageDialog\";\nexport {\n MessageFeedback,\n POSITIVE_FEEDBACK_OPTIONS,\n NEGATIVE_FEEDBACK_OPTIONS,\n} from \"./MessageFeedback\";\nexport type {\n MessageFeedbackProps,\n MessageFeedbackResult,\n FeedbackOption,\n FeedbackSentiment,\n} from \"./MessageFeedback\";\nexport { HelpAndSupportMenu } from \"./HelpAndSupportMenu\";\nexport type { HelpAndSupportMenuProps } from \"./HelpAndSupportMenu\";\nexport { LinkingCommandsButton } from \"./LinkingCommandsButton\";\nexport { LinkBranchOrPullRequestDialog } from \"./LinkBranchOrPullRequestDialog\";\nexport type { LinkBranchOrPullRequestDialogProps } from \"./LinkBranchOrPullRequestDialog\";\nexport {\n ConnectRepositoryDialog,\n RepositorySelect,\n buildRepoOptions,\n CONNECTIONS,\n PROJECT_REPOSITORIES,\n CONNECTABLE_REPOSITORIES,\n} from \"./ConnectRepositoryDialog\";\nexport type {\n ConnectRepositoryDialogProps,\n RepositorySelectProps,\n Connection,\n ConnectionService,\n Repository,\n} from \"./ConnectRepositoryDialog\";\nexport {\n WebhookLogsDialog,\n WEBHOOK_CONNECTIONS,\n WEBHOOK_REPOSITORIES,\n} from \"./WebhookLogsDialog\";\nexport type {\n WebhookLogsDialogProps,\n WebhookConnection,\n WebhookRepository,\n WebhookLog,\n} from \"./WebhookLogsDialog\";\nexport {\n SourceCodeSection,\n IssueRow,\n CodeRow,\n Spine,\n HistoryDialog,\n CompletedHeader,\n} from \"./SourceCodeSection\";\nexport type {\n IssueEntry,\n CodeEntry,\n Stage,\n HistoryEvent,\n StageState,\n CodeStatus,\n SectionVariant,\n} from \"./SourceCodeSection\";\nexport { SuggestSubtasksButton } from \"./SuggestSubtasksButton\";\nexport { TaskOptionsMenu, TaskListOptionsMenu } from \"./TaskOptionsMenu\";\nexport type {\n TaskOptionsMenuProps,\n TaskListOptionsMenuProps,\n} from \"./TaskOptionsMenu\";\nexport { UserMenu } from \"./UserMenu\";\nexport type { UserMenuProps, UserMenuVariant } from \"./UserMenu\";\nexport {\n UserDetailsDialog,\n USER_DETAILS_AVATAR_SIZE,\n} from \"./UserDetailsDialog\";\nexport type {\n UserDetailsDialogProps,\n UserDetailsAvatar,\n} from \"./UserDetailsDialog\";\nexport { TwoFactorShield } from \"./TwoFactorShield\";\nexport type { TwoFactorShieldProps } from \"./TwoFactorShield\";\nexport { BackupCodesDialogs, CreateLoginCodeDialogs } from \"./TwoFactorDialogs\";\nexport type {\n BackupCodesDialogsProps,\n CreateLoginCodeDialogsProps,\n} from \"./TwoFactorDialogs\";\nexport {\n SettingsHeader,\n SettingsContent,\n SettingGroup,\n StyledSettingRow,\n RowText,\n SettingRow,\n SettingCount,\n SettingValue,\n} from \"./settings\";\nexport type {\n SettingsHeaderProps,\n SettingGroupProps,\n SettingRowProps,\n} from \"./settings\";\nexport {\n SystemSettingsDialog,\n SYSTEM_SETTINGS_GROUPS,\n} from \"./systemSettingsDialog\";\nexport type {\n SystemSettingsDialogProps,\n SystemSettingsSectionId,\n} from \"./systemSettingsDialog\";\nexport {\n SelfHostedSettingsDialog,\n ExpandableSettingRow,\n StatusDot,\n SettingExpandCard,\n CommandCode,\n OtherSectionRows,\n CronJobsBody,\n} from \"./selfHostedSettings\";\nexport type {\n SelfHostedSettingsDialogProps,\n ExpandableSettingRowProps,\n SettingStatus,\n OtherSectionRowsProps,\n SectionRowState,\n CronJobsBodyProps,\n} from \"./selfHostedSettings\";\nexport {\n CommandBlock,\n ReleaseNotesHtml,\n LogPanel,\n TokenSetupDialog,\n TokenMissingPanel,\n TokenStrip,\n UpToDatePanel,\n UpdateAvailablePanel,\n SupportExpiredPanel,\n CheckFailedPanel,\n PreflightGate,\n UpgradeConsole,\n SendToSupportDialog,\n MaintenanceScreen,\n formatDate,\n} from \"./selfHostedUpgrade\";\nexport type {\n TokenSource,\n TokenInfo,\n CheckErrorCode,\n CheckError,\n ReleaseNote,\n UpgradeStatus,\n PreflightStatus,\n PreflightCheck,\n PreflightResult,\n UpgradeDriver,\n RunStepKey,\n RunStatus,\n ProgressUnit,\n RunError,\n LogLevel,\n LogEntry,\n UpgradeRun,\n TokenSetupDialogProps,\n PreflightGateProps,\n UpdateAvailablePanelProps,\n TokenVerifyError,\n TokenVerifyState,\n UpgradeConsoleProps,\n SendToSupportDialogProps,\n SendToSupportState,\n MaintenanceScreenProps,\n} from \"./selfHostedUpgrade\";\nexport {\n FeatureAvailability,\n DEFAULT_FEATURE_AVAILABILITY,\n} from \"./FeatureAvailability\";\nexport type {\n FeatureAvailabilityProps,\n AvailabilityRow,\n AvailabilityMark,\n AvailabilityStatus,\n} from \"./FeatureAvailability\";\nexport {\n PORTFOLIO_TYPES,\n VISIBILITY_OPTIONS,\n DEFAULT_PORTFOLIO_FORM_VALUES,\n LEADERS_LIST,\n CATEGORIES,\n CLIENTS,\n contextFieldLabel,\n leaderShortName,\n defaultPortfolioName,\n isPortfolioDetailsValid,\n sampleProjectOptionIds,\n PortfolioDetailsFields,\n EditPortfolioDialog,\n ProjectsPicker,\n PICKER_PROJECTS,\n} from \"./portfolioDetails\";\nexport type {\n PortfolioKind,\n PortfolioVisibility,\n GroupBy,\n PortfolioFormValues,\n PickerLeader,\n PortfolioDetailsFieldsProps,\n EditPortfolioDialogProps,\n PickerProject,\n ProjectsPickerProps,\n} from \"./portfolioDetails\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAnB,OAAA;AAgCA,IAAAoB,iBAAA,GAAApB,OAAA;AACA,IAAAqB,gBAAA,GAAArB,OAAA;AAEA,IAAAsB,UAAA,GAAAtB,OAAA;AACA,IAAAuB,cAAA,GAAAvB,OAAA;AAUA,IAAAwB,gBAAA,GAAAxB,OAAA;AAWA,IAAAyB,mBAAA,GAAAzB,OAAA;AAEA,IAAA0B,sBAAA,GAAA1B,OAAA;AACA,IAAA2B,8BAAA,GAAA3B,OAAA;AAEA,IAAA4B,wBAAA,GAAA5B,OAAA;AAeA,IAAA6B,kBAAA,GAAA7B,OAAA;AAWA,IAAA8B,kBAAA,GAAA9B,OAAA;AAiBA,IAAA+B,sBAAA,GAAA/B,OAAA;AACA,IAAAgC,gBAAA,GAAAhC,OAAA;AAKA,IAAAiC,SAAA,GAAAjC,OAAA;AAEA,IAAAkC,kBAAA,GAAAlC,OAAA;AAQA,IAAAmC,gBAAA,GAAAnC,OAAA;AAEA,IAAAoC,iBAAA,GAAApC,OAAA;AAKA,IAAAqC,SAAA,GAAArC,OAAA;AAeA,IAAAsC,qBAAA,GAAAtC,OAAA;AAQA,IAAAuC,mBAAA,GAAAvC,OAAA;AAiBA,IAAAwC,kBAAA,GAAAxC,OAAA;AA6CA,IAAAyC,oBAAA,GAAAzC,OAAA;AAUA,IAAA0C,iBAAA,GAAA1C,OAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_tokens","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_MainLogo","_RoundAvatar","_PresentationShell","_headers","_PageStickyHeader","_ProjectOptionsMenu","_PortfolioOptionsMenu","_dashboardWidgets","_FloatingControls","_StatusIndicator","_ToastHost","_MessageDialog","_MessageFeedback","_HelpAndSupportMenu","_LinkingCommandsButton","_LinkBranchOrPullRequestDialog","_ConnectRepositoryDialog","_WebhookLogsDialog","_SourceCodeSection","_SuggestSubtasksButton","_TaskOptionsMenu","_UserMenu","_UserDetailsDialog","_TwoFactorShield","_TwoFactorDialogs","_settings","_systemSettingsDialog","_selfHostedSettings","_selfHostedUpgrade","_FeatureAvailability","_portfolioDetails"],"sources":["../../../../src/presentation/shared/index.ts"],"sourcesContent":["/**\n * Shared building blocks for the Presentation mock-ups (`Presentation/*`\n * stories). The application shell, page headers, tab bar and small widgets are\n * defined once here and reused by the List view, Column view, Task sheet and\n * empty-page stories so the chrome stays identical and in one place.\n */\nexport * from \"./tokens\";\nexport { MainLogo } from \"./MainLogo\";\nexport { RoundAvatar } from \"./RoundAvatar\";\nexport { PresentationShell, StyledPagePaper } from \"./PresentationShell\";\nexport type { PresentationShellProps } from \"./PresentationShell\";\nexport { PageHeader, ProjectPageHeader, TabHeader } from \"./headers\";\nexport { PageStickyHeader, usePageStickyCover } from \"./PageStickyHeader\";\nexport type { PageStickyHeaderProps } from \"./PageStickyHeader\";\nexport type {\n PageHeaderProps,\n ProjectPageHeaderProps,\n TabHeaderProps,\n} from \"./headers\";\nexport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nexport { PortfolioOptionsMenu } from \"./PortfolioOptionsMenu\";\nexport type { PortfolioOptionsMenuProps } from \"./PortfolioOptionsMenu\";\nexport {\n WidgetGrid,\n WidgetGroupBy,\n StatWidget,\n WidgetRankedList,\n OverviewWidget,\n AreaChartWidget,\n DailyDeltaChartWidget,\n LeaderboardWidget,\n StackedBarChartWidget,\n CHART_SERIES_COLORS,\n OVERVIEW_SECTION_COLORS,\n PERIOD_OPTIONS,\n PeriodPicker,\n CurrencyPicker,\n} from \"./dashboardWidgets\";\nexport type {\n WidgetGroupByProps,\n StatWidgetProps,\n RankedListItem,\n OverviewSectionData,\n OverviewWidgetProps,\n AreaChartWidgetProps,\n DailyDeltaPoint,\n DailyDeltaChartWidgetProps,\n LeaderboardRowData,\n LeaderboardWidgetProps,\n StackedBarColumn,\n StackedBarChartWidgetProps,\n PeriodPickerProps,\n CurrencyPickerProps,\n} from \"./dashboardWidgets\";\n\nexport type { ProjectOptionsMenuProps } from \"./ProjectOptionsMenu\";\nexport { FloatingControls } from \"./FloatingControls\";\nexport { StatusIndicator } from \"./StatusIndicator\";\nexport type { StatusIndicatorProps } from \"./StatusIndicator\";\nexport { ToastHost } from \"./ToastHost\";\nexport {\n MessageDialog,\n DocLinkContext,\n messageComponents,\n} from \"./MessageDialog\";\nexport type {\n MessageDialogProps,\n MessageDialogSize,\n OpenArticleHandler,\n} from \"./MessageDialog\";\nexport {\n MessageFeedback,\n POSITIVE_FEEDBACK_OPTIONS,\n NEGATIVE_FEEDBACK_OPTIONS,\n} from \"./MessageFeedback\";\nexport type {\n MessageFeedbackProps,\n MessageFeedbackResult,\n FeedbackOption,\n FeedbackSentiment,\n} from \"./MessageFeedback\";\nexport { HelpAndSupportMenu } from \"./HelpAndSupportMenu\";\nexport type { HelpAndSupportMenuProps } from \"./HelpAndSupportMenu\";\nexport { LinkingCommandsButton } from \"./LinkingCommandsButton\";\nexport { LinkBranchOrPullRequestDialog } from \"./LinkBranchOrPullRequestDialog\";\nexport type { LinkBranchOrPullRequestDialogProps } from \"./LinkBranchOrPullRequestDialog\";\nexport {\n ConnectRepositoryDialog,\n RepositorySelect,\n buildRepoOptions,\n CONNECTIONS,\n PROJECT_REPOSITORIES,\n CONNECTABLE_REPOSITORIES,\n} from \"./ConnectRepositoryDialog\";\nexport type {\n ConnectRepositoryDialogProps,\n RepositorySelectProps,\n Connection,\n ConnectionService,\n Repository,\n} from \"./ConnectRepositoryDialog\";\nexport {\n WebhookLogsDialog,\n WEBHOOK_CONNECTIONS,\n WEBHOOK_REPOSITORIES,\n} from \"./WebhookLogsDialog\";\nexport type {\n WebhookLogsDialogProps,\n WebhookConnection,\n WebhookRepository,\n WebhookLog,\n} from \"./WebhookLogsDialog\";\nexport {\n SourceCodeSection,\n IssueRow,\n CodeRow,\n Spine,\n HistoryDialog,\n CompletedHeader,\n} from \"./SourceCodeSection\";\nexport type {\n IssueEntry,\n CodeEntry,\n Stage,\n HistoryEvent,\n StageState,\n CodeStatus,\n SectionVariant,\n} from \"./SourceCodeSection\";\nexport { SuggestSubtasksButton } from \"./SuggestSubtasksButton\";\nexport { TaskOptionsMenu, TaskListOptionsMenu } from \"./TaskOptionsMenu\";\nexport type {\n TaskOptionsMenuProps,\n TaskListOptionsMenuProps,\n} from \"./TaskOptionsMenu\";\nexport { UserMenu } from \"./UserMenu\";\nexport type { UserMenuProps, UserMenuVariant } from \"./UserMenu\";\nexport {\n UserDetailsDialog,\n USER_DETAILS_AVATAR_SIZE,\n} from \"./UserDetailsDialog\";\nexport type {\n UserDetailsDialogProps,\n UserDetailsAvatar,\n} from \"./UserDetailsDialog\";\nexport { TwoFactorShield } from \"./TwoFactorShield\";\nexport type { TwoFactorShieldProps } from \"./TwoFactorShield\";\nexport { BackupCodesDialogs, CreateLoginCodeDialogs } from \"./TwoFactorDialogs\";\nexport type {\n BackupCodesDialogsProps,\n CreateLoginCodeDialogsProps,\n} from \"./TwoFactorDialogs\";\nexport {\n SettingsHeader,\n SettingsContent,\n SettingGroup,\n StyledSettingRow,\n RowText,\n SettingRow,\n SettingCount,\n SettingValue,\n} from \"./settings\";\nexport type {\n SettingsHeaderProps,\n SettingGroupProps,\n SettingRowProps,\n} from \"./settings\";\nexport {\n SystemSettingsDialog,\n SYSTEM_SETTINGS_GROUPS,\n} from \"./systemSettingsDialog\";\nexport type {\n SystemSettingsDialogProps,\n SystemSettingsSectionId,\n} from \"./systemSettingsDialog\";\nexport {\n SelfHostedSettingsDialog,\n ExpandableSettingRow,\n StatusDot,\n SettingExpandCard,\n CommandCode,\n OtherSectionRows,\n CronJobsBody,\n} from \"./selfHostedSettings\";\nexport type {\n SelfHostedSettingsDialogProps,\n ExpandableSettingRowProps,\n SettingStatus,\n OtherSectionRowsProps,\n SectionRowState,\n CronJobsBodyProps,\n} from \"./selfHostedSettings\";\nexport {\n CommandBlock,\n ReleaseNotesHtml,\n LogPanel,\n TokenSetupDialog,\n TokenMissingPanel,\n TokenStrip,\n UpToDatePanel,\n UpdateAvailablePanel,\n SupportExpiredPanel,\n CheckFailedPanel,\n PreflightGate,\n UpgradeConsole,\n SendToSupportDialog,\n MaintenanceScreen,\n formatDate,\n} from \"./selfHostedUpgrade\";\nexport type {\n TokenSource,\n TokenInfo,\n CheckErrorCode,\n CheckError,\n ReleaseNote,\n UpgradeStatus,\n PreflightStatus,\n PreflightCheck,\n PreflightResult,\n UpgradeDriver,\n RunStepKey,\n RunStatus,\n ProgressUnit,\n RunError,\n LogLevel,\n LogEntry,\n UpgradeRun,\n TokenSetupDialogProps,\n PreflightGateProps,\n UpdateAvailablePanelProps,\n TokenVerifyError,\n TokenVerifyState,\n UpgradeConsoleProps,\n SendToSupportDialogProps,\n SendToSupportState,\n MaintenanceScreenProps,\n} from \"./selfHostedUpgrade\";\nexport {\n FeatureAvailability,\n DEFAULT_FEATURE_AVAILABILITY,\n} from \"./FeatureAvailability\";\nexport type {\n FeatureAvailabilityProps,\n AvailabilityRow,\n AvailabilityMark,\n AvailabilityStatus,\n} from \"./FeatureAvailability\";\nexport {\n PORTFOLIO_TYPES,\n VISIBILITY_OPTIONS,\n DEFAULT_PORTFOLIO_FORM_VALUES,\n LEADERS_LIST,\n CATEGORIES,\n CLIENTS,\n contextFieldLabel,\n leaderShortName,\n defaultPortfolioName,\n isPortfolioDetailsValid,\n sampleProjectOptionIds,\n PortfolioDetailsFields,\n EditPortfolioDialog,\n ProjectsPicker,\n PICKER_PROJECTS,\n} from \"./portfolioDetails\";\nexport type {\n PortfolioKind,\n PortfolioVisibility,\n GroupBy,\n PortfolioFormValues,\n PickerLeader,\n PortfolioDetailsFieldsProps,\n EditPortfolioDialogProps,\n PickerProject,\n ProjectsPickerProps,\n} from \"./portfolioDetails\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AY,EAAa,MAAM,OAAO,CAAC;AAmWvD,eAAO,MAAM,iBAAiB,QAAO,YAoDpC,CAAC"}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import { PRESET_COUNTS } from "./data";
|
|
4
|
+
import { Button } from "../../components/Button";
|
|
5
|
+
import { Card } from "../../components/Card";
|
|
6
|
+
import { Chip } from "../../components/Chip";
|
|
7
|
+
import { ArrowRightIcon } from "../../components/Icons";
|
|
8
|
+
import { Select } from "../../components/Select";
|
|
9
|
+
import { Tooltip } from "../../components/Tooltip";
|
|
10
|
+
import { Body1, Body2 } from "../../components/Typography";
|
|
11
|
+
import { LG, SM } from "../shared";
|
|
12
|
+
const PRESETS = {
|
|
13
|
+
ProjectsFilter: ["Active Web & Product"],
|
|
14
|
+
AssignmentFilter: ["Overdue This Month", "Unassigned Work"],
|
|
15
|
+
TrackingFilter: ["Billable by Client", "Studio Internal Time"]
|
|
16
|
+
};
|
|
17
|
+
const StyledAllReports = styled.div.withConfig({
|
|
18
|
+
displayName: "allReports__StyledAllReports",
|
|
19
|
+
componentId: "sc-6jogdw-0"
|
|
20
|
+
})(["display:flex;flex-direction:column;margin-bottom:24px;.report-group{display:flex;flex-direction:column;justify-content:space-between;margin-bottom:16px;padding:16px;box-sizing:border-box;@media (min-width:", "){padding:16px 8px;}@media (min-width:", "){flex-direction:row;align-items:stretch;}}.report-group-column{display:flex;flex:1;flex-direction:column;padding:0;@media (min-width:", "){padding:0 12px;}}.report-group-column .report-entry{@media (min-width:", "){padding-left:0;padding-right:0;}}.report-entry{display:flex;flex:1;gap:16px;min-width:0;padding:12px 0;@media (min-width:", "){padding:12px;}}.report-image{display:none;flex-shrink:0;align-self:flex-start;width:80px;height:80px;@media (min-width:", "){display:block;}}.report-title{margin-bottom:4px;}.report-description{margin-bottom:8px;}.report-links{display:flex;align-items:center;gap:16px;}.report-link{display:inline-flex;cursor:pointer;text-decoration:none;}.report-link:hover{text-decoration:underline;text-decoration-color:var(--color-primary);}.report-link-text{line-height:24px;}.report-separator{display:none;width:1px;margin:0 16px;background-color:var(--color-theme-300);@media (min-width:", "){display:block;}}.preset-button{width:auto;padding-left:6px;padding-right:2px;}.preset-count{margin-left:6px;}.single-report{display:block;margin-bottom:16px;text-decoration:none;cursor:pointer;}.single-report-card{display:flex;align-items:center;justify-content:space-between;height:96px;padding:0 8px 0 16px;box-sizing:border-box;@media (min-width:", "){padding:0 24px 0 8px;}}.single-report-main{display:flex;align-items:center;gap:16px;min-width:0;max-width:100%;}.single-report-card .report-image{align-self:center;margin-left:12px;}.single-report-text{min-width:0;overflow:hidden;}.single-report-side{display:flex;align-items:center;gap:16px;height:100%;margin-left:4px;}.new-chip{height:32px;padding:0 8px;border:1px solid var(--color-primary-500);border-radius:4px;box-sizing:border-box;}.single-report-arrow{display:block;width:40px;height:40px;fill:var(--color-theme-700);}"], SM, LG, SM, SM, SM, SM, LG, SM);
|
|
21
|
+
const ReportLink = _ref => {
|
|
22
|
+
let text = _ref.text;
|
|
23
|
+
return /*#__PURE__*/React.createElement("a", {
|
|
24
|
+
className: "report-link"
|
|
25
|
+
}, /*#__PURE__*/React.createElement(Body2, {
|
|
26
|
+
color: "theme-primary",
|
|
27
|
+
weight: "medium",
|
|
28
|
+
className: "report-link-text"
|
|
29
|
+
}, text));
|
|
30
|
+
};
|
|
31
|
+
const PresetMenu = _ref2 => {
|
|
32
|
+
let presets = _ref2.presets;
|
|
33
|
+
const options = PRESETS[presets].map((name, index) => ({
|
|
34
|
+
id: index + 1,
|
|
35
|
+
name
|
|
36
|
+
}));
|
|
37
|
+
return /*#__PURE__*/React.createElement(Select, {
|
|
38
|
+
options: options,
|
|
39
|
+
disableSearch: options.length < 7,
|
|
40
|
+
forceCloseMenu: true,
|
|
41
|
+
target: /*#__PURE__*/React.createElement(Button, {
|
|
42
|
+
variant: "tertiary",
|
|
43
|
+
size: "small",
|
|
44
|
+
className: "preset-button"
|
|
45
|
+
}, "Open Preset", /*#__PURE__*/React.createElement(Chip, {
|
|
46
|
+
label: String(PRESET_COUNTS[presets]),
|
|
47
|
+
size: "small",
|
|
48
|
+
backgroundColor: "var(--color-theme-300)",
|
|
49
|
+
className: "preset-count",
|
|
50
|
+
typographyProps: {
|
|
51
|
+
variant: "Caption 1",
|
|
52
|
+
color: "secondary"
|
|
53
|
+
}
|
|
54
|
+
}))
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
const ReportEntry = _ref3 => {
|
|
58
|
+
let title = _ref3.title,
|
|
59
|
+
description = _ref3.description,
|
|
60
|
+
image = _ref3.image,
|
|
61
|
+
children = _ref3.children;
|
|
62
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
63
|
+
className: "report-entry"
|
|
64
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
65
|
+
src: image,
|
|
66
|
+
alt: title,
|
|
67
|
+
className: "report-image"
|
|
68
|
+
}), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Body1, {
|
|
69
|
+
weight: "bold",
|
|
70
|
+
overflow: "truncate",
|
|
71
|
+
whitespace: "no-wrap",
|
|
72
|
+
className: "report-title"
|
|
73
|
+
}, title), /*#__PURE__*/React.createElement(Body2, {
|
|
74
|
+
color: "tertiary",
|
|
75
|
+
className: "report-description"
|
|
76
|
+
}, description), /*#__PURE__*/React.createElement("div", {
|
|
77
|
+
className: "report-links"
|
|
78
|
+
}, children)));
|
|
79
|
+
};
|
|
80
|
+
/* mirrors: AllReportsPage `reportGroup` entries */
|
|
81
|
+
const SINGLE_REPORTS = [{
|
|
82
|
+
id: 6,
|
|
83
|
+
title: "Estimated vs. Tracked Time",
|
|
84
|
+
description: "Comparison of estimated vs. actual time spent on tasks",
|
|
85
|
+
imgSrc: "/assets/invoicing/images/layout/estimates_empty_page.png"
|
|
86
|
+
}, {
|
|
87
|
+
id: 11,
|
|
88
|
+
title: "Availability",
|
|
89
|
+
description: "Days off per person and type, for any period",
|
|
90
|
+
imgSrc: "/assets/system/images/availability/availability_blank_slate.png"
|
|
91
|
+
}, {
|
|
92
|
+
id: 7,
|
|
93
|
+
title: "Project Budget vs. Spent",
|
|
94
|
+
description: "Make sure your projects are running on budget",
|
|
95
|
+
imgSrc: "/assets/system/images/layout/budget.png"
|
|
96
|
+
}, {
|
|
97
|
+
id: 8,
|
|
98
|
+
title: "Uninvoiced",
|
|
99
|
+
description: "Create invoices from project time, expenses, or budgets",
|
|
100
|
+
imgSrc: "/assets/system/images/layout/expenses_empty_page.png",
|
|
101
|
+
newReport: true
|
|
102
|
+
}, {
|
|
103
|
+
id: 9,
|
|
104
|
+
title: "Invoices",
|
|
105
|
+
description: "Advanced invoice search and filtering",
|
|
106
|
+
imgSrc: "/assets/system/images/layout/expenses_empty_page.png",
|
|
107
|
+
newReport: true
|
|
108
|
+
}, {
|
|
109
|
+
id: 10,
|
|
110
|
+
title: "Payments",
|
|
111
|
+
description: "Overview of all recorded payments",
|
|
112
|
+
imgSrc: "/assets/system/images/layout/budget.png",
|
|
113
|
+
newReport: true
|
|
114
|
+
}];
|
|
115
|
+
const SingleReport = _ref4 => {
|
|
116
|
+
let report = _ref4.report;
|
|
117
|
+
return /*#__PURE__*/React.createElement("a", {
|
|
118
|
+
className: "single-report"
|
|
119
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
120
|
+
variant: "paper-2",
|
|
121
|
+
hoverable: true,
|
|
122
|
+
className: "single-report-card"
|
|
123
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
124
|
+
className: "single-report-main"
|
|
125
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
126
|
+
src: report.imgSrc,
|
|
127
|
+
alt: report.title,
|
|
128
|
+
className: "report-image"
|
|
129
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
130
|
+
className: "single-report-text"
|
|
131
|
+
}, /*#__PURE__*/React.createElement(Body1, {
|
|
132
|
+
weight: "bold",
|
|
133
|
+
overflow: "truncate",
|
|
134
|
+
whitespace: "no-wrap"
|
|
135
|
+
}, report.title), /*#__PURE__*/React.createElement(Body2, {
|
|
136
|
+
color: "tertiary",
|
|
137
|
+
overflow: "truncate",
|
|
138
|
+
whitespace: "no-wrap"
|
|
139
|
+
}, report.description))), /*#__PURE__*/React.createElement("div", {
|
|
140
|
+
className: "single-report-side"
|
|
141
|
+
}, report.newReport ? /*#__PURE__*/React.createElement(Tooltip, {
|
|
142
|
+
title: "Built for ActiveCollab 8"
|
|
143
|
+
}, /*#__PURE__*/React.createElement(Chip, {
|
|
144
|
+
label: "NEW",
|
|
145
|
+
backgroundColor: "var(--color-primary-300)",
|
|
146
|
+
className: "new-chip",
|
|
147
|
+
typographyProps: {
|
|
148
|
+
variant: "Body 2",
|
|
149
|
+
color: "secondary",
|
|
150
|
+
weight: "medium"
|
|
151
|
+
}
|
|
152
|
+
})) : null, /*#__PURE__*/React.createElement(ArrowRightIcon, {
|
|
153
|
+
className: "single-report-arrow"
|
|
154
|
+
}))));
|
|
155
|
+
};
|
|
156
|
+
export const AllReportsContent = () => /*#__PURE__*/React.createElement(StyledAllReports, null, /*#__PURE__*/React.createElement(Card, {
|
|
157
|
+
variant: "paper-2",
|
|
158
|
+
hoverable: true,
|
|
159
|
+
className: "report-group"
|
|
160
|
+
}, /*#__PURE__*/React.createElement(ReportEntry, {
|
|
161
|
+
title: "Assignments Dashboard",
|
|
162
|
+
description: "The Assignments Dashboard highlights open tasks, and ongoing projects, providing quick insights through interactive charts and filters. Clicking on items within the dashboard allows you to access the specific assignments or user task lists for detailed review and management.",
|
|
163
|
+
image: "/assets/system/images/charts/donutchart.png"
|
|
164
|
+
}, /*#__PURE__*/React.createElement(ReportLink, {
|
|
165
|
+
text: "Visit the Assignments Dashboard"
|
|
166
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
167
|
+
className: "report-separator"
|
|
168
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
169
|
+
className: "report-group-column"
|
|
170
|
+
}, /*#__PURE__*/React.createElement(ReportEntry, {
|
|
171
|
+
title: "Projects Report",
|
|
172
|
+
description: "Advanced project search and filtering",
|
|
173
|
+
image: "/assets/environment/images/layout/projects_empty_page.png"
|
|
174
|
+
}, /*#__PURE__*/React.createElement(ReportLink, {
|
|
175
|
+
text: "New Report"
|
|
176
|
+
}), /*#__PURE__*/React.createElement(PresetMenu, {
|
|
177
|
+
presets: "ProjectsFilter"
|
|
178
|
+
})), /*#__PURE__*/React.createElement(ReportEntry, {
|
|
179
|
+
title: "Tasks Report",
|
|
180
|
+
description: "Advanced task search and filtering",
|
|
181
|
+
image: "/assets/system/images/layout/tasks_archive_empty_page.png"
|
|
182
|
+
}, /*#__PURE__*/React.createElement(ReportLink, {
|
|
183
|
+
text: "New Report"
|
|
184
|
+
}), /*#__PURE__*/React.createElement(PresetMenu, {
|
|
185
|
+
presets: "AssignmentFilter"
|
|
186
|
+
})))), /*#__PURE__*/React.createElement(Card, {
|
|
187
|
+
variant: "paper-2",
|
|
188
|
+
hoverable: true,
|
|
189
|
+
className: "report-group"
|
|
190
|
+
}, /*#__PURE__*/React.createElement(ReportEntry, {
|
|
191
|
+
title: "Time Dashboard",
|
|
192
|
+
description: "Time Dashboard highlights key metrics and enables quick insights through interactive charts and filters. Click on links in widgets to access all time records that make up the numbers for further analysis and manipulation.",
|
|
193
|
+
image: "/assets/system/images/charts/chart.png"
|
|
194
|
+
}, /*#__PURE__*/React.createElement(ReportLink, {
|
|
195
|
+
text: "Visit the Time Dashboard"
|
|
196
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
197
|
+
className: "report-separator"
|
|
198
|
+
}), /*#__PURE__*/React.createElement(ReportEntry, {
|
|
199
|
+
title: "Time Report",
|
|
200
|
+
description: "Filter time records by client, project, job type, who tracked it, when, and whether it\u2019s billable, while also grouping and summarizing data for clear insights. You can export the report as a CSV file for further analysis in spreadsheet apps.",
|
|
201
|
+
image: "/assets/system/images/layout/time_empty_page.png"
|
|
202
|
+
}, /*#__PURE__*/React.createElement(ReportLink, {
|
|
203
|
+
text: "New Report"
|
|
204
|
+
}), /*#__PURE__*/React.createElement(PresetMenu, {
|
|
205
|
+
presets: "TrackingFilter"
|
|
206
|
+
}))), SINGLE_REPORTS.map(report => /*#__PURE__*/React.createElement(SingleReport, {
|
|
207
|
+
key: report.id,
|
|
208
|
+
report: report
|
|
209
|
+
})));
|
|
210
|
+
//# sourceMappingURL=allReports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allReports.js","names":["React","styled","PRESET_COUNTS","Button","Card","Chip","ArrowRightIcon","Select","Tooltip","Body1","Body2","LG","SM","PRESETS","ProjectsFilter","AssignmentFilter","TrackingFilter","StyledAllReports","div","withConfig","displayName","componentId","ReportLink","_ref","text","createElement","className","color","weight","PresetMenu","_ref2","presets","options","map","name","index","id","disableSearch","length","forceCloseMenu","target","variant","size","label","String","backgroundColor","typographyProps","ReportEntry","_ref3","title","description","image","children","src","alt","overflow","whitespace","SINGLE_REPORTS","imgSrc","newReport","SingleReport","_ref4","report","hoverable","AllReportsContent","key"],"sources":["../../../../src/presentation/reports/allReports.tsx"],"sourcesContent":["import React, { ReactElement, ReactNode } from \"react\";\n\nimport styled from \"styled-components\";\n\nimport { PRESET_COUNTS } from \"./data\";\nimport { Button } from \"../../components/Button\";\nimport { Card } from \"../../components/Card\";\nimport { Chip } from \"../../components/Chip\";\nimport { ArrowRightIcon } from \"../../components/Icons\";\nimport { Select } from \"../../components/Select\";\nimport { Tooltip } from \"../../components/Tooltip\";\nimport { Body1, Body2 } from \"../../components/Typography\";\nimport { LG, SM } from \"../shared\";\n\nconst PRESETS: Record<keyof typeof PRESET_COUNTS, string[]> = {\n ProjectsFilter: [\"Active Web & Product\"],\n AssignmentFilter: [\"Overdue This Month\", \"Unassigned Work\"],\n TrackingFilter: [\"Billable by Client\", \"Studio Internal Time\"],\n};\n\nconst StyledAllReports = styled.div`\n display: flex;\n flex-direction: column;\n margin-bottom: 24px;\n\n .report-group {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-bottom: 16px;\n padding: 16px;\n box-sizing: border-box;\n\n @media (min-width: ${SM}) {\n padding: 16px 8px;\n }\n\n @media (min-width: ${LG}) {\n flex-direction: row;\n align-items: stretch;\n }\n }\n\n .report-group-column {\n display: flex;\n flex: 1;\n flex-direction: column;\n padding: 0;\n\n @media (min-width: ${SM}) {\n padding: 0 12px;\n }\n }\n\n .report-group-column .report-entry {\n @media (min-width: ${SM}) {\n padding-left: 0;\n padding-right: 0;\n }\n }\n\n .report-entry {\n display: flex;\n flex: 1;\n gap: 16px;\n min-width: 0;\n padding: 12px 0;\n\n @media (min-width: ${SM}) {\n padding: 12px;\n }\n }\n\n .report-image {\n display: none;\n flex-shrink: 0;\n align-self: flex-start;\n width: 80px;\n height: 80px;\n\n @media (min-width: ${SM}) {\n display: block;\n }\n }\n\n .report-title {\n margin-bottom: 4px;\n }\n\n .report-description {\n margin-bottom: 8px;\n }\n\n .report-links {\n display: flex;\n align-items: center;\n gap: 16px;\n }\n\n .report-link {\n display: inline-flex;\n cursor: pointer;\n text-decoration: none;\n }\n\n .report-link:hover {\n text-decoration: underline;\n text-decoration-color: var(--color-primary);\n }\n\n .report-link-text {\n line-height: 24px;\n }\n\n .report-separator {\n display: none;\n width: 1px;\n margin: 0 16px;\n background-color: var(--color-theme-300);\n\n @media (min-width: ${LG}) {\n display: block;\n }\n }\n\n .preset-button {\n width: auto;\n padding-left: 6px;\n padding-right: 2px;\n }\n\n .preset-count {\n margin-left: 6px;\n }\n\n .single-report {\n display: block;\n margin-bottom: 16px;\n text-decoration: none;\n cursor: pointer;\n }\n\n .single-report-card {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 96px;\n padding: 0 8px 0 16px;\n box-sizing: border-box;\n\n @media (min-width: ${SM}) {\n padding: 0 24px 0 8px;\n }\n }\n\n .single-report-main {\n display: flex;\n align-items: center;\n gap: 16px;\n min-width: 0;\n max-width: 100%;\n }\n\n .single-report-card .report-image {\n align-self: center;\n margin-left: 12px;\n }\n\n .single-report-text {\n min-width: 0;\n overflow: hidden;\n }\n\n .single-report-side {\n display: flex;\n align-items: center;\n gap: 16px;\n height: 100%;\n margin-left: 4px;\n }\n\n .new-chip {\n height: 32px;\n padding: 0 8px;\n border: 1px solid var(--color-primary-500);\n border-radius: 4px;\n box-sizing: border-box;\n }\n\n .single-report-arrow {\n display: block;\n width: 40px;\n height: 40px;\n fill: var(--color-theme-700);\n }\n`;\n\nconst ReportLink = ({ text }: { text: string }): ReactElement => (\n <a className=\"report-link\">\n <Body2 color=\"theme-primary\" weight=\"medium\" className=\"report-link-text\">\n {text}\n </Body2>\n </a>\n);\n\nconst PresetMenu = ({\n presets,\n}: {\n presets: keyof typeof PRESET_COUNTS;\n}): ReactElement => {\n const options = PRESETS[presets].map((name, index) => ({\n id: index + 1,\n name,\n }));\n return (\n <Select\n options={options}\n disableSearch={options.length < 7}\n forceCloseMenu\n target={\n <Button variant=\"tertiary\" size=\"small\" className=\"preset-button\">\n Open Preset\n <Chip\n label={String(PRESET_COUNTS[presets])}\n size=\"small\"\n backgroundColor=\"var(--color-theme-300)\"\n className=\"preset-count\"\n typographyProps={{ variant: \"Caption 1\", color: \"secondary\" }}\n />\n </Button>\n }\n />\n );\n};\n\nconst ReportEntry = ({\n title,\n description,\n image,\n children,\n}: {\n title: string;\n description: string;\n image: string;\n children: ReactNode;\n}): ReactElement => (\n <div className=\"report-entry\">\n <img src={image} alt={title} className=\"report-image\" />\n <div>\n <Body1\n weight=\"bold\"\n overflow=\"truncate\"\n whitespace=\"no-wrap\"\n className=\"report-title\"\n >\n {title}\n </Body1>\n <Body2 color=\"tertiary\" className=\"report-description\">\n {description}\n </Body2>\n <div className=\"report-links\">{children}</div>\n </div>\n </div>\n);\n\ninterface SingleReportData {\n id: number;\n title: string;\n description: string;\n imgSrc: string;\n newReport?: boolean;\n}\n\n/* mirrors: AllReportsPage `reportGroup` entries */\nconst SINGLE_REPORTS: SingleReportData[] = [\n {\n id: 6,\n title: \"Estimated vs. Tracked Time\",\n description: \"Comparison of estimated vs. actual time spent on tasks\",\n imgSrc: \"/assets/invoicing/images/layout/estimates_empty_page.png\",\n },\n {\n id: 11,\n title: \"Availability\",\n description: \"Days off per person and type, for any period\",\n imgSrc: \"/assets/system/images/availability/availability_blank_slate.png\",\n },\n {\n id: 7,\n title: \"Project Budget vs. Spent\",\n description: \"Make sure your projects are running on budget\",\n imgSrc: \"/assets/system/images/layout/budget.png\",\n },\n {\n id: 8,\n title: \"Uninvoiced\",\n description: \"Create invoices from project time, expenses, or budgets\",\n imgSrc: \"/assets/system/images/layout/expenses_empty_page.png\",\n newReport: true,\n },\n {\n id: 9,\n title: \"Invoices\",\n description: \"Advanced invoice search and filtering\",\n imgSrc: \"/assets/system/images/layout/expenses_empty_page.png\",\n newReport: true,\n },\n {\n id: 10,\n title: \"Payments\",\n description: \"Overview of all recorded payments\",\n imgSrc: \"/assets/system/images/layout/budget.png\",\n newReport: true,\n },\n];\n\nconst SingleReport = ({\n report,\n}: {\n report: SingleReportData;\n}): ReactElement => (\n <a className=\"single-report\">\n <Card variant=\"paper-2\" hoverable className=\"single-report-card\">\n <div className=\"single-report-main\">\n <img src={report.imgSrc} alt={report.title} className=\"report-image\" />\n <div className=\"single-report-text\">\n <Body1 weight=\"bold\" overflow=\"truncate\" whitespace=\"no-wrap\">\n {report.title}\n </Body1>\n <Body2 color=\"tertiary\" overflow=\"truncate\" whitespace=\"no-wrap\">\n {report.description}\n </Body2>\n </div>\n </div>\n <div className=\"single-report-side\">\n {report.newReport ? (\n <Tooltip title=\"Built for ActiveCollab 8\">\n <Chip\n label=\"NEW\"\n backgroundColor=\"var(--color-primary-300)\"\n className=\"new-chip\"\n typographyProps={{\n variant: \"Body 2\",\n color: \"secondary\",\n weight: \"medium\",\n }}\n />\n </Tooltip>\n ) : null}\n <ArrowRightIcon className=\"single-report-arrow\" />\n </div>\n </Card>\n </a>\n);\n\nexport const AllReportsContent = (): ReactElement => (\n <StyledAllReports>\n <Card variant=\"paper-2\" hoverable className=\"report-group\">\n <ReportEntry\n title=\"Assignments Dashboard\"\n description=\"The Assignments Dashboard highlights open tasks, and ongoing projects, providing quick insights through interactive charts and filters. Clicking on items within the dashboard allows you to access the specific assignments or user task lists for detailed review and management.\"\n image=\"/assets/system/images/charts/donutchart.png\"\n >\n <ReportLink text=\"Visit the Assignments Dashboard\" />\n </ReportEntry>\n <span className=\"report-separator\" />\n <div className=\"report-group-column\">\n <ReportEntry\n title=\"Projects Report\"\n description=\"Advanced project search and filtering\"\n image=\"/assets/environment/images/layout/projects_empty_page.png\"\n >\n <ReportLink text=\"New Report\" />\n <PresetMenu presets=\"ProjectsFilter\" />\n </ReportEntry>\n <ReportEntry\n title=\"Tasks Report\"\n description=\"Advanced task search and filtering\"\n image=\"/assets/system/images/layout/tasks_archive_empty_page.png\"\n >\n <ReportLink text=\"New Report\" />\n <PresetMenu presets=\"AssignmentFilter\" />\n </ReportEntry>\n </div>\n </Card>\n <Card variant=\"paper-2\" hoverable className=\"report-group\">\n <ReportEntry\n title=\"Time Dashboard\"\n description=\"Time Dashboard highlights key metrics and enables quick insights through interactive charts and filters. Click on links in widgets to access all time records that make up the numbers for further analysis and manipulation.\"\n image=\"/assets/system/images/charts/chart.png\"\n >\n <ReportLink text=\"Visit the Time Dashboard\" />\n </ReportEntry>\n <span className=\"report-separator\" />\n <ReportEntry\n title=\"Time Report\"\n description=\"Filter time records by client, project, job type, who tracked it, when, and whether it’s billable, while also grouping and summarizing data for clear insights. You can export the report as a CSV file for further analysis in spreadsheet apps.\"\n image=\"/assets/system/images/layout/time_empty_page.png\"\n >\n <ReportLink text=\"New Report\" />\n <PresetMenu presets=\"TrackingFilter\" />\n </ReportEntry>\n </Card>\n {SINGLE_REPORTS.map((report) => (\n <SingleReport key={report.id} report={report} />\n ))}\n </StyledAllReports>\n);\n"],"mappings":"AAAA,OAAOA,KAAK,MAAmC,OAAO;AAEtD,OAAOC,MAAM,MAAM,mBAAmB;AAEtC,SAASC,aAAa,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C,CAAC,eACdxB,KAAA,CAAAyB,aAAA;EAAMC,SAAS,EAAC;AAAkB,CAAE,CAAC,eACrC1B,KAAA,CAAAyB,aAAA,CAACsB,WAAW;EACVE,KAAK,EAAC,aAAa;EACnBC,WAAW,EAAC,wPAAmP;EAC/PC,KAAK,EAAC;AAAkD,gBAExDnD,KAAA,CAAAyB,aAAA,CAACH,UAAU;EAACE,IAAI,EAAC;AAAY,CAAE,CAAC,eAChCxB,KAAA,CAAAyB,aAAA,CAACI,UAAU;EAACE,OAAO,EAAC;AAAgB,CAAE,CAC3B,CACT,CAAC,EACN0B,cAAc,CAACxB,GAAG,CAAE6B,MAAM,iBACzB9D,KAAA,CAAAyB,aAAA,CAACmC,YAAY;EAACK,GAAG,EAAEH,MAAM,CAAC1B,EAAG;EAAC0B,MAAM,EAAEA;AAAO,CAAE,CAChD,CACe,CACnB","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
2
|
+
import { AvailabilityReport } from "./data";
|
|
3
|
+
export declare const AvailabilityPage: ({ report, initialExpanded, initialExportOpen, exportFails, }: {
|
|
4
|
+
report: AvailabilityReport;
|
|
5
|
+
initialExpanded?: number[];
|
|
6
|
+
initialExportOpen?: boolean;
|
|
7
|
+
exportFails?: boolean;
|
|
8
|
+
}) => ReactElement;
|
|
9
|
+
//# sourceMappingURL=availability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"availability.d.ts","sourceRoot":"","sources":["../../../../src/presentation/reports/availability.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,YAAY,EAMb,MAAM,OAAO,CAAC;AAiBf,OAAO,EAML,kBAAkB,EAEnB,MAAM,QAAQ,CAAC;AAyjBhB,eAAO,MAAM,gBAAgB,GAAI,8DAK9B;IACD,MAAM,EAAE,kBAAkB,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,KAAG,YA6ZH,CAAC"}
|