@activecollab/components 2.0.477 → 2.0.479
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/shared/SourceCodeSection.js +166 -57
- package/dist/cjs/presentation/shared/SourceCodeSection.js.map +1 -1
- package/dist/cjs/presentation/shared/index.js +156 -0
- package/dist/cjs/presentation/shared/index.js.map +1 -1
- package/dist/cjs/presentation/shared/selfHostedSettings.js +277 -0
- package/dist/cjs/presentation/shared/selfHostedSettings.js.map +1 -0
- package/dist/cjs/presentation/shared/selfHostedUpgrade.js +1440 -0
- package/dist/cjs/presentation/shared/selfHostedUpgrade.js.map +1 -0
- package/dist/esm/presentation/shared/SourceCodeSection.d.ts +5 -0
- package/dist/esm/presentation/shared/SourceCodeSection.d.ts.map +1 -1
- package/dist/esm/presentation/shared/SourceCodeSection.js +165 -56
- package/dist/esm/presentation/shared/SourceCodeSection.js.map +1 -1
- package/dist/esm/presentation/shared/index.d.ts +4 -0
- package/dist/esm/presentation/shared/index.d.ts.map +1 -1
- package/dist/esm/presentation/shared/index.js +2 -0
- package/dist/esm/presentation/shared/index.js.map +1 -1
- package/dist/esm/presentation/shared/selfHostedSettings.d.ts +83 -0
- package/dist/esm/presentation/shared/selfHostedSettings.d.ts.map +1 -0
- package/dist/esm/presentation/shared/selfHostedSettings.js +253 -0
- package/dist/esm/presentation/shared/selfHostedSettings.js.map +1 -0
- package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts +235 -0
- package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts.map +1 -0
- package/dist/esm/presentation/shared/selfHostedUpgrade.js +1329 -0
- package/dist/esm/presentation/shared/selfHostedUpgrade.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,UAAU,CAAC;AACzB,O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AAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,aAAa,EACb,mBAAmB,EACnB,OAAO,EACP,mBAAmB,EACnB,YAAY,EACZ,2BAA2B,EAC3B,wBAAwB,EACxB,aAAa,EACb,mBAAmB,GACpB,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACzE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACrE,YAAY,EACV,eAAe,EACf,sBAAsB,EACtB,cAAc,GACf,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EACL,UAAU,EACV,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,cAAc,EACd,YAAY,GACb,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,0BAA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,EACf,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,aAAa,EACb,mBAAmB,EACnB,OAAO,EACP,mBAAmB,EACnB,YAAY,EACZ,2BAA2B,EAC3B,wBAAwB,EACxB,aAAa,EACb,mBAAmB,GACpB,MAAM,oBAAoB,CAAC"}
|
|
@@ -31,6 +31,8 @@ export { TwoFactorShield } from "./TwoFactorShield";
|
|
|
31
31
|
export { BackupCodesDialogs, CreateLoginCodeDialogs } from "./TwoFactorDialogs";
|
|
32
32
|
export { SettingsHeader, SettingsContent, SettingGroup, StyledSettingRow, RowText, SettingRow, SettingCount, SettingValue } from "./settings";
|
|
33
33
|
export { SystemSettingsDialog, SYSTEM_SETTINGS_GROUPS } from "./systemSettingsDialog";
|
|
34
|
+
export { SelfHostedSettingsDialog, ExpandableSettingRow, StatusDot, SettingExpandCard, CommandCode, OtherSectionRows, CronJobsBody } from "./selfHostedSettings";
|
|
35
|
+
export { CommandBlock, ReleaseNotesHtml, LogPanel, TokenSetupDialog, TokenMissingPanel, TokenStrip, UpToDatePanel, UpdateAvailablePanel, SupportExpiredPanel, CheckFailedPanel, PreflightGate, UpgradeConsole, SendToSupportDialog, MaintenanceScreen, formatDate } from "./selfHostedUpgrade";
|
|
34
36
|
export { FeatureAvailability, DEFAULT_FEATURE_AVAILABILITY } from "./FeatureAvailability";
|
|
35
37
|
export { PORTFOLIO_TYPES, VISIBILITY_OPTIONS, DEFAULT_PORTFOLIO_FORM_VALUES, LEADERS_LIST, CATEGORIES, CLIENTS, contextFieldLabel, leaderShortName, defaultPortfolioName, isPortfolioDetailsValid, sampleProjectOptionIds, PortfolioDetailsFields, EditPortfolioDialog, ProjectsPicker, PICKER_PROJECTS } from "./portfolioDetails";
|
|
36
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["MainLogo","RoundAvatar","PresentationShell","StyledPagePaper","PageHeader","ProjectPageHeader","TabHeader","ProjectOptionsMenu","PortfolioOptionsMenu","WidgetGrid","WidgetGroupBy","StatWidget","WidgetRankedList","OverviewWidget","AreaChartWidget","DailyDeltaChartWidget","LeaderboardWidget","StackedBarChartWidget","CHART_SERIES_COLORS","OVERVIEW_SECTION_COLORS","PERIOD_OPTIONS","PeriodPicker","FloatingControls","StatusIndicator","ToastHost","MessageDialog","DocLinkContext","messageComponents","MessageFeedback","POSITIVE_FEEDBACK_OPTIONS","NEGATIVE_FEEDBACK_OPTIONS","HelpAndSupportMenu","LinkingCommandsButton","LinkBranchOrPullRequestDialog","ConnectRepositoryDialog","RepositorySelect","buildRepoOptions","CONNECTIONS","PROJECT_REPOSITORIES","CONNECTABLE_REPOSITORIES","WebhookLogsDialog","WEBHOOK_CONNECTIONS","WEBHOOK_REPOSITORIES","SourceCodeSection","IssueRow","CodeRow","Spine","HistoryDialog","CompletedHeader","SuggestSubtasksButton","TaskOptionsMenu","TaskListOptionsMenu","UserMenu","UserDetailsDialog","USER_DETAILS_AVATAR_SIZE","TwoFactorShield","BackupCodesDialogs","CreateLoginCodeDialogs","SettingsHeader","SettingsContent","SettingGroup","StyledSettingRow","RowText","SettingRow","SettingCount","SettingValue","SystemSettingsDialog","SYSTEM_SETTINGS_GROUPS","FeatureAvailability","DEFAULT_FEATURE_AVAILABILITY","PORTFOLIO_TYPES","VISIBILITY_OPTIONS","DEFAULT_PORTFOLIO_FORM_VALUES","LEADERS_LIST","CATEGORIES","CLIENTS","contextFieldLabel","leaderShortName","defaultPortfolioName","isPortfolioDetailsValid","sampleProjectOptionIds","PortfolioDetailsFields","EditPortfolioDialog","ProjectsPicker","PICKER_PROJECTS"],"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 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":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,UAAU;AACxB,SAASA,QAAQ,QAAQ,YAAY;AACrC,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nD,SAASC,kBAAkB,EAAEC,sBAAsB,QAAQ,oBAAoB;AAK/E,SACEC,cAAc,EACdC,eAAe,EACfC,YAAY,EACZC,gBAAgB,EAChBC,OAAO,EACPC,UAAU,EACVC,YAAY,EACZC,YAAY,QACP,YAAY;AAMnB,SACEC,oBAAoB,EACpBC,sBAAsB,QACjB,wBAAwB;AAK/B,SACEC,mBAAmB,EACnBC,4BAA4B,QACvB,uBAAuB;AAO9B,SACEC,eAAe,EACfC,kBAAkB,EAClBC,6BAA6B,EAC7BC,YAAY,EACZC,UAAU,EACVC,OAAO,EACPC,iBAAiB,EACjBC,eAAe,EACfC,oBAAoB,EACpBC,uBAAuB,EACvBC,sBAAsB,EACtBC,sBAAsB,EACtBC,mBAAmB,EACnBC,cAAc,EACdC,eAAe,QACV,oBAAoB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["MainLogo","RoundAvatar","PresentationShell","StyledPagePaper","PageHeader","ProjectPageHeader","TabHeader","ProjectOptionsMenu","PortfolioOptionsMenu","WidgetGrid","WidgetGroupBy","StatWidget","WidgetRankedList","OverviewWidget","AreaChartWidget","DailyDeltaChartWidget","LeaderboardWidget","StackedBarChartWidget","CHART_SERIES_COLORS","OVERVIEW_SECTION_COLORS","PERIOD_OPTIONS","PeriodPicker","FloatingControls","StatusIndicator","ToastHost","MessageDialog","DocLinkContext","messageComponents","MessageFeedback","POSITIVE_FEEDBACK_OPTIONS","NEGATIVE_FEEDBACK_OPTIONS","HelpAndSupportMenu","LinkingCommandsButton","LinkBranchOrPullRequestDialog","ConnectRepositoryDialog","RepositorySelect","buildRepoOptions","CONNECTIONS","PROJECT_REPOSITORIES","CONNECTABLE_REPOSITORIES","WebhookLogsDialog","WEBHOOK_CONNECTIONS","WEBHOOK_REPOSITORIES","SourceCodeSection","IssueRow","CodeRow","Spine","HistoryDialog","CompletedHeader","SuggestSubtasksButton","TaskOptionsMenu","TaskListOptionsMenu","UserMenu","UserDetailsDialog","USER_DETAILS_AVATAR_SIZE","TwoFactorShield","BackupCodesDialogs","CreateLoginCodeDialogs","SettingsHeader","SettingsContent","SettingGroup","StyledSettingRow","RowText","SettingRow","SettingCount","SettingValue","SystemSettingsDialog","SYSTEM_SETTINGS_GROUPS","SelfHostedSettingsDialog","ExpandableSettingRow","StatusDot","SettingExpandCard","CommandCode","OtherSectionRows","CronJobsBody","CommandBlock","ReleaseNotesHtml","LogPanel","TokenSetupDialog","TokenMissingPanel","TokenStrip","UpToDatePanel","UpdateAvailablePanel","SupportExpiredPanel","CheckFailedPanel","PreflightGate","UpgradeConsole","SendToSupportDialog","MaintenanceScreen","formatDate","FeatureAvailability","DEFAULT_FEATURE_AVAILABILITY","PORTFOLIO_TYPES","VISIBILITY_OPTIONS","DEFAULT_PORTFOLIO_FORM_VALUES","LEADERS_LIST","CATEGORIES","CLIENTS","contextFieldLabel","leaderShortName","defaultPortfolioName","isPortfolioDetailsValid","sampleProjectOptionIds","PortfolioDetailsFields","EditPortfolioDialog","ProjectsPicker","PICKER_PROJECTS"],"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":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,UAAU;AACxB,SAASA,QAAQ,QAAQ,YAAY;AACrC,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,iBAAiB,EAAEC,eAAe,QAAQ,qBAAqB;AAExE,SAASC,UAAU,EAAEC,iBAAiB,EAAEC,SAAS,QAAQ,WAAW;AAMpE,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,oBAAoB,QAAQ,wBAAwB;AAE7D,SACEC,UAAU,EACVC,aAAa,EACbC,UAAU,EACVC,gBAAgB,EAChBC,cAAc,EACdC,eAAe,EACfC,qBAAqB,EACrBC,iBAAiB,EACjBC,qBAAqB,EACrBC,mBAAmB,EACnBC,uBAAuB,EACvBC,cAAc,EACdC,YAAY,QACP,oBAAoB;AAkB3B,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,eAAe,QAAQ,mBAAmB;AAEnD,SAASC,SAAS,QAAQ,aAAa;AACvC,SACEC,aAAa,EACbC,cAAc,EACdC,iBAAiB,QACZ,iBAAiB;AAMxB,SACEC,eAAe,EACfC,yBAAyB,EACzBC,yBAAyB,QACpB,mBAAmB;AAO1B,SAASC,kBAAkB,QAAQ,sBAAsB;AAEzD,SAASC,qBAAqB,QAAQ,yBAAyB;AAC/D,SAASC,6BAA6B,QAAQ,iCAAiC;AAE/E,SACEC,uBAAuB,EACvBC,gBAAgB,EAChBC,gBAAgB,EAChBC,WAAW,EACXC,oBAAoB,EACpBC,wBAAwB,QACnB,2BAA2B;AAQlC,SACEC,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@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared chrome for the Self-Hosted Settings presentation stories
|
|
3
|
+
* (`Presentation/Self-Hosted Settings`).
|
|
4
|
+
*
|
|
5
|
+
* Mirrors the app:
|
|
6
|
+
* - components/Settings/SelfHostedSettingsDialog.jsx — the `Dialog size="xxl"
|
|
7
|
+
* height="95%"` titled "Self-Hosted Settings" and the flat-card surface
|
|
8
|
+
* overrides (cards drop their shadow and take the body surface so they read
|
|
9
|
+
* as flat tiles on the dialog paper).
|
|
10
|
+
* - components/SelfHostedSettings/SelfHostedSettingsContent.jsx — the stack of
|
|
11
|
+
* expandable status rows (Version, Email, Document search, Pusher, Cron,
|
|
12
|
+
* Old Versions).
|
|
13
|
+
* - components/Settings/SettingRow.jsx + components/ExpandToggle — the row card
|
|
14
|
+
* (min-height 68px, pl-5 pr-4 py-3, paper-2) with a status `Dot` and a caret;
|
|
15
|
+
* expanding drops a bordered card below the row (top border theme-400,
|
|
16
|
+
* rounded-top-none, px-5 py-3).
|
|
17
|
+
*
|
|
18
|
+
* Structural colours are tokens. The status dot uses the two status tokens that
|
|
19
|
+
* already exist in GlobalStyle (`--color-sucess-green` = #64cd93 and
|
|
20
|
+
* `--red-alert` = #ed6161), which are the exact hexes the app hardcodes.
|
|
21
|
+
*/
|
|
22
|
+
import React, { ReactElement, ReactNode } from "react";
|
|
23
|
+
export interface SelfHostedSettingsDialogProps {
|
|
24
|
+
/** The rows (usually the section stack). */
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
/** Optional close handler; defaults to a no-op for the mock. */
|
|
27
|
+
onClose?: () => void;
|
|
28
|
+
}
|
|
29
|
+
export declare const SelfHostedSettingsDialog: ({ children, onClose, }: SelfHostedSettingsDialogProps) => ReactElement;
|
|
30
|
+
/**
|
|
31
|
+
* ok = green, info = blue (something to act on that isn't an error, e.g. an
|
|
32
|
+
* update is available), problem = red (errors only).
|
|
33
|
+
*/
|
|
34
|
+
export type SettingStatus = "ok" | "info" | "problem";
|
|
35
|
+
export declare const StatusDot: ({ status, }: {
|
|
36
|
+
status: SettingStatus;
|
|
37
|
+
}) => ReactElement;
|
|
38
|
+
/** The card that drops below an expanded row. Mirrors the app expand `Card`. */
|
|
39
|
+
export declare const SettingExpandCard: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & import("../..").ICardProps, "ref"> & React.RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
40
|
+
export interface ExpandableSettingRowProps {
|
|
41
|
+
/** Row label — a section name, or the version sentence. */
|
|
42
|
+
label: ReactNode;
|
|
43
|
+
/** Status dot on the right; omit for a row with no status (rare). */
|
|
44
|
+
status?: SettingStatus;
|
|
45
|
+
/** Extra control shown left of the dot, e.g. the Email Log button. */
|
|
46
|
+
right?: ReactNode;
|
|
47
|
+
/** Let the label wrap onto a second line (the version sentence does). */
|
|
48
|
+
wraps?: boolean;
|
|
49
|
+
/** Whether the row can expand. A latest-stable version row cannot. */
|
|
50
|
+
expandable?: boolean;
|
|
51
|
+
/** Start expanded (each story pins the state it wants to show). */
|
|
52
|
+
defaultExpanded?: boolean;
|
|
53
|
+
/** The expand content (rendered in a `SettingExpandCard`). */
|
|
54
|
+
children?: ReactNode;
|
|
55
|
+
}
|
|
56
|
+
export declare const ExpandableSettingRow: ({ label, status, right, wraps, expandable, defaultExpanded, children, }: ExpandableSettingRowProps) => ReactElement;
|
|
57
|
+
export declare const CommandCode: import("styled-components").StyledComponent<"code", any, {}, never>;
|
|
58
|
+
export interface CronJobsBodyProps {
|
|
59
|
+
/** mirrors: GET /system-status `cron_errors`. */
|
|
60
|
+
errors: string[];
|
|
61
|
+
/** Formatted "Executed …" text per job, or null for "Never executed". */
|
|
62
|
+
hourly: string | null;
|
|
63
|
+
frequently: string | null;
|
|
64
|
+
imap: string | null;
|
|
65
|
+
}
|
|
66
|
+
export declare const CronJobsBody: ({ errors, hourly, frequently, imap, }: CronJobsBodyProps) => ReactElement;
|
|
67
|
+
/** A row's status + optional expand content (and whether it starts open). */
|
|
68
|
+
export interface SectionRowState {
|
|
69
|
+
status: SettingStatus;
|
|
70
|
+
content?: ReactNode;
|
|
71
|
+
defaultExpanded?: boolean;
|
|
72
|
+
}
|
|
73
|
+
export interface OtherSectionRowsProps {
|
|
74
|
+
/**
|
|
75
|
+
* Old Versions status + optional expand content. Defaults to a healthy,
|
|
76
|
+
* collapsed row (the state every Phase B upgrade story assumes).
|
|
77
|
+
*/
|
|
78
|
+
oldVersions?: SectionRowState;
|
|
79
|
+
/** Cron jobs status + expand content; defaults to healthy and collapsed. */
|
|
80
|
+
cron?: SectionRowState;
|
|
81
|
+
}
|
|
82
|
+
export declare const OtherSectionRows: ({ oldVersions, cron, }: OtherSectionRowsProps) => ReactElement;
|
|
83
|
+
//# sourceMappingURL=selfHostedSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selfHostedSettings.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/selfHostedSettings.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAkCjE,MAAM,WAAW,6BAA6B;IAC5C,4CAA4C;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,wBAAwB,GAAI,wBAGtC,6BAA6B,KAAG,YAYlC,CAAC;AAMF;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;AAQtD,eAAO,MAAM,SAAS,GAAI,aAEvB;IACD,MAAM,EAAE,aAAa,CAAC;CACvB,KAAG,YAA8D,CAAC;AA6DnE,gFAAgF;AAChF,eAAO,MAAM,iBAAiB,oNAU7B,CAAC;AAeF,MAAM,WAAW,yBAAyB;IACxC,2DAA2D;IAC3D,KAAK,EAAE,SAAS,CAAC;IACjB,qEAAqE;IACrE,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,sEAAsE;IACtE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,yEAAyE;IACzE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sEAAsE;IACtE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mEAAmE;IACnE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,oBAAoB,GAAI,yEAQlC,yBAAyB,KAAG,YAgC9B,CAAC;AASF,eAAO,MAAM,WAAW,qEAUvB,CAAC;AAUF,MAAM,WAAW,iBAAiB;IAChC,iDAAiD;IACjD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,yEAAyE;IACzE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,GAAI,uCAK1B,iBAAiB,KAAG,YAyBtB,CAAC;AAqBF,6EAA6E;AAC7E,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,4EAA4E;IAC5E,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,GAAI,wBAG9B,qBAAqB,KAAG,YAwB1B,CAAC"}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
/**
|
|
3
|
+
* Shared chrome for the Self-Hosted Settings presentation stories
|
|
4
|
+
* (`Presentation/Self-Hosted Settings`).
|
|
5
|
+
*
|
|
6
|
+
* Mirrors the app:
|
|
7
|
+
* - components/Settings/SelfHostedSettingsDialog.jsx — the `Dialog size="xxl"
|
|
8
|
+
* height="95%"` titled "Self-Hosted Settings" and the flat-card surface
|
|
9
|
+
* overrides (cards drop their shadow and take the body surface so they read
|
|
10
|
+
* as flat tiles on the dialog paper).
|
|
11
|
+
* - components/SelfHostedSettings/SelfHostedSettingsContent.jsx — the stack of
|
|
12
|
+
* expandable status rows (Version, Email, Document search, Pusher, Cron,
|
|
13
|
+
* Old Versions).
|
|
14
|
+
* - components/Settings/SettingRow.jsx + components/ExpandToggle — the row card
|
|
15
|
+
* (min-height 68px, pl-5 pr-4 py-3, paper-2) with a status `Dot` and a caret;
|
|
16
|
+
* expanding drops a bordered card below the row (top border theme-400,
|
|
17
|
+
* rounded-top-none, px-5 py-3).
|
|
18
|
+
*
|
|
19
|
+
* Structural colours are tokens. The status dot uses the two status tokens that
|
|
20
|
+
* already exist in GlobalStyle (`--color-sucess-green` = #64cd93 and
|
|
21
|
+
* `--red-alert` = #ed6161), which are the exact hexes the app hardcodes.
|
|
22
|
+
*/
|
|
23
|
+
import React, { useState } from "react";
|
|
24
|
+
import styled from "styled-components";
|
|
25
|
+
import { MONO, SM } from "./tokens";
|
|
26
|
+
import { Card } from "../../components/Card";
|
|
27
|
+
import { Dialog } from "../../components/Dialog";
|
|
28
|
+
import { Dot } from "../../components/Dot";
|
|
29
|
+
import { CollapseExpandSingleIcon } from "../../components/Icons";
|
|
30
|
+
import { Link } from "../../components/Links";
|
|
31
|
+
import { Trigger } from "../../components/Trigger";
|
|
32
|
+
import { Body2 } from "../../components/Typography";
|
|
33
|
+
|
|
34
|
+
/* ------------------------------------------------------------------ */
|
|
35
|
+
/* The dialog */
|
|
36
|
+
/* ------------------------------------------------------------------ */
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* The scroll body inside the dialog. Cards and the dialog share
|
|
40
|
+
* `--page-paper-main`, so the rows would be invisible on the dialog paper; the
|
|
41
|
+
* app remaps the descendants' paper surface to the body surface and kills the
|
|
42
|
+
* card shadow, exactly like SelfHostedSettingsDialog's DIALOG_CONTENT. The rows
|
|
43
|
+
* then read as flat tiles separated by their rounding and the 8px gaps.
|
|
44
|
+
*/
|
|
45
|
+
const Stack = styled.div.withConfig({
|
|
46
|
+
displayName: "selfHostedSettings__Stack",
|
|
47
|
+
componentId: "sc-vpkkvn-0"
|
|
48
|
+
})(["display:flex;flex-direction:column;width:100%;--page-paper-main:var(--body-bg-main);--shadow-tertiary:none;--shadow-tertiary-hover:none;"]);
|
|
49
|
+
export const SelfHostedSettingsDialog = _ref => {
|
|
50
|
+
let children = _ref.children,
|
|
51
|
+
onClose = _ref.onClose;
|
|
52
|
+
const close = onClose != null ? onClose : () => undefined;
|
|
53
|
+
return /*#__PURE__*/React.createElement(Dialog, {
|
|
54
|
+
open: true,
|
|
55
|
+
size: "xxl",
|
|
56
|
+
height: "95%",
|
|
57
|
+
onClose: close,
|
|
58
|
+
enableBackgroundClick: true
|
|
59
|
+
}, /*#__PURE__*/React.createElement(Dialog.Title, {
|
|
60
|
+
onClose: close
|
|
61
|
+
}, "Self-Hosted Settings"), /*#__PURE__*/React.createElement(Dialog.ContentDivider, null), /*#__PURE__*/React.createElement(Dialog.Content, null, /*#__PURE__*/React.createElement(Stack, null, children)));
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/* ------------------------------------------------------------------ */
|
|
65
|
+
/* Status dot (mirrors the app `Dot color={ok ? green : red} size={12}`) */
|
|
66
|
+
/* ------------------------------------------------------------------ */
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* ok = green, info = blue (something to act on that isn't an error, e.g. an
|
|
70
|
+
* update is available), problem = red (errors only).
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
const STATUS_COLOR = {
|
|
74
|
+
ok: "var(--color-sucess-green)",
|
|
75
|
+
info: "var(--color-progress-blue)",
|
|
76
|
+
problem: "var(--red-alert)"
|
|
77
|
+
};
|
|
78
|
+
export const StatusDot = _ref2 => {
|
|
79
|
+
let status = _ref2.status;
|
|
80
|
+
return /*#__PURE__*/React.createElement(Dot, {
|
|
81
|
+
color: STATUS_COLOR[status],
|
|
82
|
+
size: 12
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/* ------------------------------------------------------------------ */
|
|
87
|
+
/* Expandable setting row */
|
|
88
|
+
/* ------------------------------------------------------------------ */
|
|
89
|
+
|
|
90
|
+
/** The clickable header card. Mirrors SettingRow.jsx's ROW_CLASS. */
|
|
91
|
+
const HeaderCard = styled(Card).withConfig({
|
|
92
|
+
displayName: "selfHostedSettings__HeaderCard",
|
|
93
|
+
componentId: "sc-vpkkvn-1"
|
|
94
|
+
})(["box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:68px;padding:12px 16px 12px 20px;cursor:", ";@media (min-width:", "){flex-direction:row;align-items:center;}", ""], _ref3 => {
|
|
95
|
+
let $clickable = _ref3.$clickable;
|
|
96
|
+
return $clickable ? "pointer" : "default";
|
|
97
|
+
}, SM, _ref4 => {
|
|
98
|
+
let $expanded = _ref4.$expanded;
|
|
99
|
+
return $expanded ? "\n box-shadow: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n " : "";
|
|
100
|
+
});
|
|
101
|
+
const LabelCol = styled.div.withConfig({
|
|
102
|
+
displayName: "selfHostedSettings__LabelCol",
|
|
103
|
+
componentId: "sc-vpkkvn-2"
|
|
104
|
+
})(["display:flex;flex:1 1 0%;min-width:0;padding-right:12px;", ""], _ref5 => {
|
|
105
|
+
let $wraps = _ref5.$wraps;
|
|
106
|
+
return $wraps ? "" : "\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ";
|
|
107
|
+
});
|
|
108
|
+
const Controls = styled.div.withConfig({
|
|
109
|
+
displayName: "selfHostedSettings__Controls",
|
|
110
|
+
componentId: "sc-vpkkvn-3"
|
|
111
|
+
})(["display:flex;align-items:center;gap:8px;flex-shrink:0;"]);
|
|
112
|
+
const Caret = styled.span.withConfig({
|
|
113
|
+
displayName: "selfHostedSettings__Caret",
|
|
114
|
+
componentId: "sc-vpkkvn-4"
|
|
115
|
+
})(["display:inline-flex;transition:transform 200ms ease;transform:rotate(", ");opacity:", ";"], _ref6 => {
|
|
116
|
+
let $expanded = _ref6.$expanded;
|
|
117
|
+
return $expanded ? "0deg" : "180deg";
|
|
118
|
+
}, _ref7 => {
|
|
119
|
+
let $dimmed = _ref7.$dimmed;
|
|
120
|
+
return $dimmed ? 0.5 : 1;
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
/** The card that drops below an expanded row. Mirrors the app expand `Card`. */
|
|
124
|
+
export const SettingExpandCard = styled(Card).withConfig({
|
|
125
|
+
displayName: "selfHostedSettings__SettingExpandCard",
|
|
126
|
+
componentId: "sc-vpkkvn-5"
|
|
127
|
+
})(["box-sizing:border-box;display:flex;flex-direction:column;min-height:48px;padding:12px 20px;border-top:1px solid var(--color-theme-400);border-top-left-radius:0;border-top-right-radius:0;box-shadow:none;"]);
|
|
128
|
+
const RowWrap = styled.div.withConfig({
|
|
129
|
+
displayName: "selfHostedSettings__RowWrap",
|
|
130
|
+
componentId: "sc-vpkkvn-6"
|
|
131
|
+
})(["display:flex;flex-direction:column;margin-bottom:8px;"]);
|
|
132
|
+
|
|
133
|
+
/** Full-width DS Trigger around the header, like the app's `tw-w-full`. */
|
|
134
|
+
const RowTrigger = styled(Trigger).withConfig({
|
|
135
|
+
displayName: "selfHostedSettings__RowTrigger",
|
|
136
|
+
componentId: "sc-vpkkvn-7"
|
|
137
|
+
})(["display:block;width:100%;text-align:left;"]);
|
|
138
|
+
export const ExpandableSettingRow = _ref8 => {
|
|
139
|
+
let label = _ref8.label,
|
|
140
|
+
status = _ref8.status,
|
|
141
|
+
right = _ref8.right,
|
|
142
|
+
_ref8$wraps = _ref8.wraps,
|
|
143
|
+
wraps = _ref8$wraps === void 0 ? false : _ref8$wraps,
|
|
144
|
+
_ref8$expandable = _ref8.expandable,
|
|
145
|
+
expandable = _ref8$expandable === void 0 ? true : _ref8$expandable,
|
|
146
|
+
_ref8$defaultExpanded = _ref8.defaultExpanded,
|
|
147
|
+
defaultExpanded = _ref8$defaultExpanded === void 0 ? false : _ref8$defaultExpanded,
|
|
148
|
+
children = _ref8.children;
|
|
149
|
+
const _useState = useState(expandable && defaultExpanded),
|
|
150
|
+
expanded = _useState[0],
|
|
151
|
+
setExpanded = _useState[1];
|
|
152
|
+
const open = expandable && expanded;
|
|
153
|
+
return /*#__PURE__*/React.createElement(RowWrap, null, /*#__PURE__*/React.createElement(RowTrigger, _extends({}, right ? {
|
|
154
|
+
forwardedAs: "div"
|
|
155
|
+
} : {}, {
|
|
156
|
+
disabled: !expandable,
|
|
157
|
+
onClick: () => setExpanded(prev => !prev)
|
|
158
|
+
}), /*#__PURE__*/React.createElement(HeaderCard, {
|
|
159
|
+
variant: "paper-2",
|
|
160
|
+
$expanded: open,
|
|
161
|
+
$clickable: expandable
|
|
162
|
+
}, /*#__PURE__*/React.createElement(LabelCol, {
|
|
163
|
+
$wraps: wraps
|
|
164
|
+
}, typeof label === "string" ? /*#__PURE__*/React.createElement(Body2, null, label) : label), /*#__PURE__*/React.createElement(Controls, null, right, status ? /*#__PURE__*/React.createElement(StatusDot, {
|
|
165
|
+
status: status
|
|
166
|
+
}) : null, /*#__PURE__*/React.createElement(Caret, {
|
|
167
|
+
$expanded: open,
|
|
168
|
+
$dimmed: !expandable
|
|
169
|
+
}, /*#__PURE__*/React.createElement(CollapseExpandSingleIcon, null))))), open ? /*#__PURE__*/React.createElement(SettingExpandCard, {
|
|
170
|
+
variant: "paper-2"
|
|
171
|
+
}, children) : null);
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
/* ------------------------------------------------------------------ */
|
|
175
|
+
/* Inline / block command (SSH + CLI fallback). Uses the shared MONO */
|
|
176
|
+
/* face; mirrors the app <pre> on --color-primary-300. */
|
|
177
|
+
/* ------------------------------------------------------------------ */
|
|
178
|
+
|
|
179
|
+
// ds-exception: monospace command text uses the shared MONO constant (AGENTS
|
|
180
|
+
// rule 4 — commands are code, not Typography prose).
|
|
181
|
+
export const CommandCode = styled.code.withConfig({
|
|
182
|
+
displayName: "selfHostedSettings__CommandCode",
|
|
183
|
+
componentId: "sc-vpkkvn-8"
|
|
184
|
+
})(["font-family:", ";font-size:13px;line-height:20px;background-color:var(--color-primary-300);color:var(--color-theme-900);padding:2px 6px;border-radius:var(--ac-br-4);white-space:pre-wrap;word-break:break-all;"], MONO);
|
|
185
|
+
|
|
186
|
+
/* ------------------------------------------------------------------ */
|
|
187
|
+
/* Cron jobs expand content (CronConfiguration.js: status + last runs) */
|
|
188
|
+
/* ------------------------------------------------------------------ */
|
|
189
|
+
|
|
190
|
+
const CronField = styled.div.withConfig({
|
|
191
|
+
displayName: "selfHostedSettings__CronField",
|
|
192
|
+
componentId: "sc-vpkkvn-9"
|
|
193
|
+
})(["margin-bottom:8px;"]);
|
|
194
|
+
export const CronJobsBody = _ref9 => {
|
|
195
|
+
let errors = _ref9.errors,
|
|
196
|
+
hourly = _ref9.hourly,
|
|
197
|
+
frequently = _ref9.frequently,
|
|
198
|
+
imap = _ref9.imap;
|
|
199
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CronField, null, /*#__PURE__*/React.createElement(Body2, null, "Status:"), /*#__PURE__*/React.createElement(Body2, {
|
|
200
|
+
color: errors.length > 0 ? "alert" : "tertiary"
|
|
201
|
+
}, errors.length > 0 ? errors.join(",\n") : "Configured and working properly")), [["Hourly Job", hourly], ["Frequently Job", frequently], ["IMAP Job", imap]].map(_ref0 => {
|
|
202
|
+
let label = _ref0[0],
|
|
203
|
+
value = _ref0[1];
|
|
204
|
+
return /*#__PURE__*/React.createElement(CronField, {
|
|
205
|
+
key: label
|
|
206
|
+
}, /*#__PURE__*/React.createElement(Body2, null, label, ":"), /*#__PURE__*/React.createElement(Body2, {
|
|
207
|
+
color: "tertiary"
|
|
208
|
+
}, value ? "Executed " + value : "Never executed"));
|
|
209
|
+
}));
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/* ------------------------------------------------------------------ */
|
|
213
|
+
/* The five non-version section rows, healthy. Shared by the baseline */
|
|
214
|
+
/* stack and every Phase B upgrade story so the chrome around the */
|
|
215
|
+
/* Version row is defined once (AGENTS rule 6). */
|
|
216
|
+
/* ------------------------------------------------------------------ */
|
|
217
|
+
|
|
218
|
+
/** The Email Log button that sits on the "Sending and receiving email" row. */
|
|
219
|
+
const EmailLogLink = () => /*#__PURE__*/React.createElement(Link, {
|
|
220
|
+
href: "#",
|
|
221
|
+
target: "_blank",
|
|
222
|
+
rel: "noreferrer",
|
|
223
|
+
variant: "outlined",
|
|
224
|
+
onClick: event => event.stopPropagation()
|
|
225
|
+
}, "Email Log");
|
|
226
|
+
|
|
227
|
+
/** A row's status + optional expand content (and whether it starts open). */
|
|
228
|
+
|
|
229
|
+
export const OtherSectionRows = _ref1 => {
|
|
230
|
+
var _cron$status, _oldVersions$status;
|
|
231
|
+
let oldVersions = _ref1.oldVersions,
|
|
232
|
+
cron = _ref1.cron;
|
|
233
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ExpandableSettingRow, {
|
|
234
|
+
label: "Sending and receiving email",
|
|
235
|
+
status: "ok",
|
|
236
|
+
right: /*#__PURE__*/React.createElement(EmailLogLink, null)
|
|
237
|
+
}), /*#__PURE__*/React.createElement(ExpandableSettingRow, {
|
|
238
|
+
label: "Document search",
|
|
239
|
+
status: "ok"
|
|
240
|
+
}), /*#__PURE__*/React.createElement(ExpandableSettingRow, {
|
|
241
|
+
label: "Pusher configuration",
|
|
242
|
+
status: "ok"
|
|
243
|
+
}), /*#__PURE__*/React.createElement(ExpandableSettingRow, {
|
|
244
|
+
label: "Cron jobs",
|
|
245
|
+
status: (_cron$status = cron == null ? void 0 : cron.status) != null ? _cron$status : "ok",
|
|
246
|
+
defaultExpanded: cron == null ? void 0 : cron.defaultExpanded
|
|
247
|
+
}, cron == null ? void 0 : cron.content), /*#__PURE__*/React.createElement(ExpandableSettingRow, {
|
|
248
|
+
label: "Old Versions",
|
|
249
|
+
status: (_oldVersions$status = oldVersions == null ? void 0 : oldVersions.status) != null ? _oldVersions$status : "ok",
|
|
250
|
+
defaultExpanded: oldVersions == null ? void 0 : oldVersions.defaultExpanded
|
|
251
|
+
}, oldVersions == null ? void 0 : oldVersions.content));
|
|
252
|
+
};
|
|
253
|
+
//# sourceMappingURL=selfHostedSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selfHostedSettings.js","names":["React","useState","styled","MONO","SM","Card","Dialog","Dot","CollapseExpandSingleIcon","Link","Trigger","Body2","Stack","div","withConfig","displayName","componentId","SelfHostedSettingsDialog","_ref","children","onClose","close","undefined","createElement","open","size","height","enableBackgroundClick","Title","ContentDivider","Content","STATUS_COLOR","ok","info","problem","StatusDot","_ref2","status","color","HeaderCard","_ref3","$clickable","_ref4","$expanded","LabelCol","_ref5","$wraps","Controls","Caret","span","_ref6","_ref7","$dimmed","SettingExpandCard","RowWrap","RowTrigger","ExpandableSettingRow","_ref8","label","right","_ref8$wraps","wraps","_ref8$expandable","expandable","_ref8$defaultExpanded","defaultExpanded","_useState","expanded","setExpanded","_extends","forwardedAs","disabled","onClick","prev","variant","CommandCode","code","CronField","CronJobsBody","_ref9","errors","hourly","frequently","imap","Fragment","length","join","map","_ref0","value","key","EmailLogLink","href","target","rel","event","stopPropagation","OtherSectionRows","_ref1","_cron$status","_oldVersions$status","oldVersions","cron","content"],"sources":["../../../../src/presentation/shared/selfHostedSettings.tsx"],"sourcesContent":["/**\n * Shared chrome for the Self-Hosted Settings presentation stories\n * (`Presentation/Self-Hosted Settings`).\n *\n * Mirrors the app:\n * - components/Settings/SelfHostedSettingsDialog.jsx — the `Dialog size=\"xxl\"\n * height=\"95%\"` titled \"Self-Hosted Settings\" and the flat-card surface\n * overrides (cards drop their shadow and take the body surface so they read\n * as flat tiles on the dialog paper).\n * - components/SelfHostedSettings/SelfHostedSettingsContent.jsx — the stack of\n * expandable status rows (Version, Email, Document search, Pusher, Cron,\n * Old Versions).\n * - components/Settings/SettingRow.jsx + components/ExpandToggle — the row card\n * (min-height 68px, pl-5 pr-4 py-3, paper-2) with a status `Dot` and a caret;\n * expanding drops a bordered card below the row (top border theme-400,\n * rounded-top-none, px-5 py-3).\n *\n * Structural colours are tokens. The status dot uses the two status tokens that\n * already exist in GlobalStyle (`--color-sucess-green` = #64cd93 and\n * `--red-alert` = #ed6161), which are the exact hexes the app hardcodes.\n */\nimport React, { ReactElement, ReactNode, useState } from \"react\";\n\nimport styled from \"styled-components\";\n\nimport { MONO, SM } from \"./tokens\";\nimport { Card } from \"../../components/Card\";\nimport { Dialog } from \"../../components/Dialog\";\nimport { Dot } from \"../../components/Dot\";\nimport { CollapseExpandSingleIcon } from \"../../components/Icons\";\nimport { Link } from \"../../components/Links\";\nimport { Trigger } from \"../../components/Trigger\";\nimport { Body2 } from \"../../components/Typography\";\n\n/* ------------------------------------------------------------------ */\n/* The dialog */\n/* ------------------------------------------------------------------ */\n\n/**\n * The scroll body inside the dialog. Cards and the dialog share\n * `--page-paper-main`, so the rows would be invisible on the dialog paper; the\n * app remaps the descendants' paper surface to the body surface and kills the\n * card shadow, exactly like SelfHostedSettingsDialog's DIALOG_CONTENT. The rows\n * then read as flat tiles separated by their rounding and the 8px gaps.\n */\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n width: 100%;\n\n --page-paper-main: var(--body-bg-main);\n --shadow-tertiary: none;\n --shadow-tertiary-hover: none;\n`;\n\nexport interface SelfHostedSettingsDialogProps {\n /** The rows (usually the section stack). */\n children: ReactNode;\n /** Optional close handler; defaults to a no-op for the mock. */\n onClose?: () => void;\n}\n\nexport const SelfHostedSettingsDialog = ({\n children,\n onClose,\n}: SelfHostedSettingsDialogProps): ReactElement => {\n const close = onClose ?? ((): void => undefined);\n\n return (\n <Dialog open size=\"xxl\" height=\"95%\" onClose={close} enableBackgroundClick>\n <Dialog.Title onClose={close}>Self-Hosted Settings</Dialog.Title>\n <Dialog.ContentDivider />\n <Dialog.Content>\n <Stack>{children}</Stack>\n </Dialog.Content>\n </Dialog>\n );\n};\n\n/* ------------------------------------------------------------------ */\n/* Status dot (mirrors the app `Dot color={ok ? green : red} size={12}`) */\n/* ------------------------------------------------------------------ */\n\n/**\n * ok = green, info = blue (something to act on that isn't an error, e.g. an\n * update is available), problem = red (errors only).\n */\nexport type SettingStatus = \"ok\" | \"info\" | \"problem\";\n\nconst STATUS_COLOR: Record<SettingStatus, string> = {\n ok: \"var(--color-sucess-green)\",\n info: \"var(--color-progress-blue)\",\n problem: \"var(--red-alert)\",\n};\n\nexport const StatusDot = ({\n status,\n}: {\n status: SettingStatus;\n}): ReactElement => <Dot color={STATUS_COLOR[status]} size={12} />;\n\n/* ------------------------------------------------------------------ */\n/* Expandable setting row */\n/* ------------------------------------------------------------------ */\n\n/** The clickable header card. Mirrors SettingRow.jsx's ROW_CLASS. */\nconst HeaderCard = styled(Card)<{ $expanded: boolean; $clickable: boolean }>`\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n min-height: 68px;\n padding: 12px 16px 12px 20px;\n cursor: ${({ $clickable }) => ($clickable ? \"pointer\" : \"default\")};\n\n @media (min-width: ${SM}) {\n flex-direction: row;\n align-items: center;\n }\n\n ${({ $expanded }) =>\n $expanded\n ? `\n box-shadow: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n `\n : \"\"}\n`;\n\nconst LabelCol = styled.div<{ $wraps: boolean }>`\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n padding-right: 12px;\n ${({ $wraps }) =>\n $wraps\n ? \"\"\n : `\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n `}\n`;\n\nconst Controls = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n flex-shrink: 0;\n`;\n\nconst Caret = styled.span<{ $expanded: boolean; $dimmed: boolean }>`\n display: inline-flex;\n transition: transform 200ms ease;\n transform: rotate(${({ $expanded }) => ($expanded ? \"0deg\" : \"180deg\")});\n opacity: ${({ $dimmed }) => ($dimmed ? 0.5 : 1)};\n`;\n\n/** The card that drops below an expanded row. Mirrors the app expand `Card`. */\nexport const SettingExpandCard = styled(Card)`\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n min-height: 48px;\n padding: 12px 20px;\n border-top: 1px solid var(--color-theme-400);\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n box-shadow: none;\n`;\n\nconst RowWrap = styled.div`\n display: flex;\n flex-direction: column;\n margin-bottom: 8px;\n`;\n\n/** Full-width DS Trigger around the header, like the app's `tw-w-full`. */\nconst RowTrigger = styled(Trigger)`\n display: block;\n width: 100%;\n text-align: left;\n`;\n\nexport interface ExpandableSettingRowProps {\n /** Row label — a section name, or the version sentence. */\n label: ReactNode;\n /** Status dot on the right; omit for a row with no status (rare). */\n status?: SettingStatus;\n /** Extra control shown left of the dot, e.g. the Email Log button. */\n right?: ReactNode;\n /** Let the label wrap onto a second line (the version sentence does). */\n wraps?: boolean;\n /** Whether the row can expand. A latest-stable version row cannot. */\n expandable?: boolean;\n /** Start expanded (each story pins the state it wants to show). */\n defaultExpanded?: boolean;\n /** The expand content (rendered in a `SettingExpandCard`). */\n children?: ReactNode;\n}\n\nexport const ExpandableSettingRow = ({\n label,\n status,\n right,\n wraps = false,\n expandable = true,\n defaultExpanded = false,\n children,\n}: ExpandableSettingRowProps): ReactElement => {\n const [expanded, setExpanded] = useState(expandable && defaultExpanded);\n const open = expandable && expanded;\n\n return (\n <RowWrap>\n {/* A row with its own control (Email Log) renders the Trigger as a div,\n like the app's `as=\"div\"`, so the link isn't nested in a button.\n Trigger's props type omits `as`, hence the cast. */}\n <RowTrigger\n {...((right ? { forwardedAs: \"div\" } : {}) as object)}\n disabled={!expandable}\n onClick={(): void => setExpanded((prev) => !prev)}\n >\n <HeaderCard variant=\"paper-2\" $expanded={open} $clickable={expandable}>\n <LabelCol $wraps={wraps}>\n {typeof label === \"string\" ? <Body2>{label}</Body2> : label}\n </LabelCol>\n <Controls>\n {right}\n {status ? <StatusDot status={status} /> : null}\n <Caret $expanded={open} $dimmed={!expandable}>\n <CollapseExpandSingleIcon />\n </Caret>\n </Controls>\n </HeaderCard>\n </RowTrigger>\n {open ? (\n <SettingExpandCard variant=\"paper-2\">{children}</SettingExpandCard>\n ) : null}\n </RowWrap>\n );\n};\n\n/* ------------------------------------------------------------------ */\n/* Inline / block command (SSH + CLI fallback). Uses the shared MONO */\n/* face; mirrors the app <pre> on --color-primary-300. */\n/* ------------------------------------------------------------------ */\n\n// ds-exception: monospace command text uses the shared MONO constant (AGENTS\n// rule 4 — commands are code, not Typography prose).\nexport const CommandCode = styled.code`\n font-family: ${MONO};\n font-size: 13px;\n line-height: 20px;\n background-color: var(--color-primary-300);\n color: var(--color-theme-900);\n padding: 2px 6px;\n border-radius: var(--ac-br-4);\n white-space: pre-wrap;\n word-break: break-all;\n`;\n\n/* ------------------------------------------------------------------ */\n/* Cron jobs expand content (CronConfiguration.js: status + last runs) */\n/* ------------------------------------------------------------------ */\n\nconst CronField = styled.div`\n margin-bottom: 8px;\n`;\n\nexport interface CronJobsBodyProps {\n /** mirrors: GET /system-status `cron_errors`. */\n errors: string[];\n /** Formatted \"Executed …\" text per job, or null for \"Never executed\". */\n hourly: string | null;\n frequently: string | null;\n imap: string | null;\n}\n\nexport const CronJobsBody = ({\n errors,\n hourly,\n frequently,\n imap,\n}: CronJobsBodyProps): ReactElement => (\n <>\n <CronField>\n <Body2>Status:</Body2>\n <Body2 color={errors.length > 0 ? \"alert\" : \"tertiary\"}>\n {errors.length > 0\n ? errors.join(\",\\n\")\n : \"Configured and working properly\"}\n </Body2>\n </CronField>\n {(\n [\n [\"Hourly Job\", hourly],\n [\"Frequently Job\", frequently],\n [\"IMAP Job\", imap],\n ] as const\n ).map(([label, value]) => (\n <CronField key={label}>\n <Body2>{label}:</Body2>\n <Body2 color=\"tertiary\">\n {value ? `Executed ${value}` : \"Never executed\"}\n </Body2>\n </CronField>\n ))}\n </>\n);\n\n/* ------------------------------------------------------------------ */\n/* The five non-version section rows, healthy. Shared by the baseline */\n/* stack and every Phase B upgrade story so the chrome around the */\n/* Version row is defined once (AGENTS rule 6). */\n/* ------------------------------------------------------------------ */\n\n/** The Email Log button that sits on the \"Sending and receiving email\" row. */\nconst EmailLogLink = (): ReactElement => (\n <Link\n href=\"#\"\n target=\"_blank\"\n rel=\"noreferrer\"\n variant=\"outlined\"\n onClick={(event): void => event.stopPropagation()}\n >\n Email Log\n </Link>\n);\n\n/** A row's status + optional expand content (and whether it starts open). */\nexport interface SectionRowState {\n status: SettingStatus;\n content?: ReactNode;\n defaultExpanded?: boolean;\n}\n\nexport interface OtherSectionRowsProps {\n /**\n * Old Versions status + optional expand content. Defaults to a healthy,\n * collapsed row (the state every Phase B upgrade story assumes).\n */\n oldVersions?: SectionRowState;\n /** Cron jobs status + expand content; defaults to healthy and collapsed. */\n cron?: SectionRowState;\n}\n\nexport const OtherSectionRows = ({\n oldVersions,\n cron,\n}: OtherSectionRowsProps): ReactElement => (\n <>\n <ExpandableSettingRow\n label=\"Sending and receiving email\"\n status=\"ok\"\n right={<EmailLogLink />}\n />\n <ExpandableSettingRow label=\"Document search\" status=\"ok\" />\n <ExpandableSettingRow label=\"Pusher configuration\" status=\"ok\" />\n <ExpandableSettingRow\n label=\"Cron jobs\"\n status={cron?.status ?? \"ok\"}\n defaultExpanded={cron?.defaultExpanded}\n >\n {cron?.content}\n </ExpandableSettingRow>\n <ExpandableSettingRow\n label=\"Old Versions\"\n status={oldVersions?.status ?? \"ok\"}\n defaultExpanded={oldVersions?.defaultExpanded}\n >\n {oldVersions?.content}\n </ExpandableSettingRow>\n </>\n);\n"],"mappings":";AAAA;AACA;AACA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