@camunda/ccma-saas-frontend 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +1 -1
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +24 -2
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +9 -0
- package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +9 -1
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +5 -5
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.js +3 -3
- package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.js +1 -11
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +1 -14
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.d.ts +1 -1
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +188 -71
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +52 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +1 -11
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.js +6 -13
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +1 -11
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.js +1 -18
- package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.js +1 -11
- package/lib/esm/components/c4-delete-account-modal/c4-delete-account-modal.d.ts +0 -7
- package/lib/esm/components/c4-delete-account-modal/c4-delete-account-modal.js +1 -24
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.js +1 -18
- package/lib/esm/components/c4-divider/c4-divider.js +12 -0
- package/lib/esm/components/c4-empty-state/c4-empty-state.d.ts +8 -0
- package/lib/esm/components/c4-empty-state/c4-empty-state.js +32 -8
- package/lib/esm/components/c4-file-uploader/c4-file-uploader.d.ts +36 -0
- package/lib/esm/components/c4-file-uploader/c4-file-uploader.js +43 -0
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +1 -11
- package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.js +1 -11
- package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.js +1 -11
- package/lib/esm/components/c4-segmented-control/c4-segmented-control.d.ts +46 -0
- package/lib/esm/components/c4-segmented-control/c4-segmented-control.js +117 -0
- package/lib/esm/externalUrls.const.d.ts +7 -0
- package/lib/esm/externalUrls.const.js +11 -1
- package/lib/esm/i18n/c4-console-i18n.js +3 -0
- package/lib/esm/i18n/en/modals/apiclients.json +2 -1
- package/lib/esm/i18n/en/modals/clusterclients.json +2 -1
- package/lib/esm/i18n/en/pages/clusterdetails.json +11 -1
- package/lib/esm/i18n/en/pages/createcluster.json +43 -0
- package/lib/esm/i18n/en/pages/orgmanagement.json +3 -0
- package/lib/esm/index.d.ts +2 -0
- package/lib/esm/index.js +2 -0
- package/lib/esm/runtime/cluster-duplication.d.ts +10 -0
- package/lib/esm/runtime/cluster-duplication.js +15 -0
- package/lib/esm/ui/c4-password-input.js +1 -1
- package/lib/esm/ui/index.d.ts +1 -0
- package/lib/esm/ui/index.js +16 -2
- package/lib/esm/utils/role-labels.d.ts +1 -2
- package/lib/esm/utils/role-labels.js +1 -13
- package/lib/esm/utils/safe-translate.d.ts +4 -2
- package/lib/esm/utils/safe-translate.js +9 -2
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +2 -12
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +34 -23
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +6 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +7 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +3 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-activity-tab.js +1 -19
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +1 -14
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +1 -18
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +77 -28
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +1 -6
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +1 -18
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +1 -19
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +1 -6
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +1 -16
- package/lib/esm/widgets/clusters/c4-clusters-page.js +72 -100
- package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +7 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.js +1 -9
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +1 -9
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.d.ts +88 -1
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +285 -45
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.types.d.ts +9 -0
- package/lib/esm/widgets/dashboard/c4-dashboard-app.js +1 -18
- package/lib/esm/widgets/environment/c4-cluster-connector-secrets-widget.js +1 -1
- package/lib/esm/widgets/group-details/c4-group-details-page.js +1 -9
- package/lib/esm/widgets/job-worker/c4-job-worker.helpers.d.ts +1 -0
- package/lib/esm/widgets/job-worker/c4-job-worker.helpers.js +4 -34
- package/lib/esm/widgets/management/c4-management-app.js +1 -20
- package/lib/esm/widgets/management/c4-management-page.js +1 -9
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +1 -13
- package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +1 -9
- package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +1 -13
- package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +1 -8
- package/lib/esm/widgets/management/tabs/c4-management-settings-tab.js +1 -24
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +1 -13
- package/lib/esm/widgets/user-account/c4-delete-account-widget.js +2 -1
- package/lib/esm/widgets/user-details/c4-user-details-page.js +1 -9
- package/package.json +3 -3
|
@@ -13,9 +13,11 @@ import { hasAvailableClusterReservation, isDeveloperBlockedFromClusterCreate, us
|
|
|
13
13
|
import { useC4ConsoleData } from '../../runtime/c4-console-data-context.js';
|
|
14
14
|
import { useC4ConsoleRuntime, useC4FeatureFlag, } from '../../runtime/c4-console-runtime-context.js';
|
|
15
15
|
import { CLUSTER_CREATION_BLOCKED_FLAG } from '../../runtime/cluster-creation-blocked.js';
|
|
16
|
+
import { CLUSTER_DUPLICATION_FLAG } from '../../runtime/cluster-duplication.js';
|
|
16
17
|
import { toApiConfig } from '../../runtime/to-api-config.js';
|
|
17
18
|
import { Checkbox, Modal, Stack, TextInput } from '../../ui/index.js';
|
|
18
19
|
import { useSelectFamily } from '../../ui/families.js';
|
|
20
|
+
import { safeTranslate } from '../../utils/safe-translate.js';
|
|
19
21
|
import { clusterHealthOverride } from '../cluster-health-override.js';
|
|
20
22
|
import { isClusterReconciliationPaused } from '../is-cluster-reconciliation-paused.js';
|
|
21
23
|
import { useExtendTrial } from '../use-extend-trial.js';
|
|
@@ -141,25 +143,7 @@ function mapClusterToListItem(rawCluster, index) {
|
|
|
141
143
|
};
|
|
142
144
|
}
|
|
143
145
|
function buildDefaultTranslations(t) {
|
|
144
|
-
const translate = (key, fallback) =>
|
|
145
|
-
try {
|
|
146
|
-
const translated = t?.(key);
|
|
147
|
-
// Guard against i18n implementations that strip the namespace prefix on
|
|
148
|
-
// a missing key (e.g. t('ns:a.b') → 'a.b') — same fix applied in safeT.
|
|
149
|
-
const keyWithoutNamespace = key.includes(':')
|
|
150
|
-
? key.split(':').slice(1).join(':')
|
|
151
|
-
: key;
|
|
152
|
-
if (!translated ||
|
|
153
|
-
translated === key ||
|
|
154
|
-
translated === keyWithoutNamespace) {
|
|
155
|
-
return fallback;
|
|
156
|
-
}
|
|
157
|
-
return translated;
|
|
158
|
-
}
|
|
159
|
-
catch {
|
|
160
|
-
return fallback;
|
|
161
|
-
}
|
|
162
|
-
};
|
|
146
|
+
const translate = (key, fallback) => safeTranslate(t, key, fallback);
|
|
163
147
|
return {
|
|
164
148
|
title: translate('c4console:clusters.list.title', 'Clusters'),
|
|
165
149
|
createButton: translate('c4console:clusters.list.createButton', 'Create new cluster'),
|
|
@@ -184,6 +168,8 @@ function buildDefaultTranslations(t) {
|
|
|
184
168
|
failover: translate('c4console:clusters.list.overflowMenu.failover', 'Failover'),
|
|
185
169
|
failoverSyncPending: translate('c4console:clusters.list.overflowMenu.failoverSyncPending', 'Failover (unavailable until backup data is synced to the secondary region)'),
|
|
186
170
|
failoverAlreadyFailedOver: translate('c4console:clusters.list.overflowMenu.failoverAlreadyFailedOver', 'Failover (unavailable — this cluster was already failed over)'),
|
|
171
|
+
duplicate: translate('c4console:clusters.list.overflowMenu.duplicate', 'Duplicate'),
|
|
172
|
+
duplicateUnavailableFailoverSource: translate('c4console:clusters.list.overflowMenu.duplicateUnavailableFailoverSource', 'Duplicate (unavailable — this cluster was failed over)'),
|
|
187
173
|
},
|
|
188
174
|
tags: {
|
|
189
175
|
addLabel: translate('c4console:clusters.tags.addLabel', 'Add tag'),
|
|
@@ -241,6 +227,7 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
241
227
|
const resolvedGettingStartedHref = useMemo(() => getC4ClustersGettingStartedHref(gettingStartedHref), [gettingStartedHref]);
|
|
242
228
|
const runtime = useC4ConsoleRuntime();
|
|
243
229
|
const clusterCreationBlocked = useC4FeatureFlag(CLUSTER_CREATION_BLOCKED_FLAG);
|
|
230
|
+
const clusterDuplicationEnabled = useC4FeatureFlag(CLUSTER_DUPLICATION_FLAG);
|
|
244
231
|
const data = useC4ConsoleData();
|
|
245
232
|
const authz = useC4ConsoleAuthz({ orgId });
|
|
246
233
|
const isOrgAdmin = useMemo(() => {
|
|
@@ -318,7 +305,9 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
318
305
|
const clusterCapacityMap = data.clusterCapacity[orgId] ?? new Map();
|
|
319
306
|
const orgInfo = data.getOrgInfo(orgId);
|
|
320
307
|
const rawClusters = (clustersCache?.data ?? []);
|
|
321
|
-
|
|
308
|
+
// A missing entry is "not fetched yet", not "fetched and empty": an effect
|
|
309
|
+
// starts the fetch, so it can begin after the first render.
|
|
310
|
+
const isLoading = clustersCache ? clustersCache.isLoading : true;
|
|
322
311
|
const error = clustersCache?.error;
|
|
323
312
|
const upgradableGenerationsCache = data.upgradableGenerations;
|
|
324
313
|
const generationToClusterId = useMemo(() => {
|
|
@@ -351,26 +340,7 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
351
340
|
const canUpgradeFromToken = (tokenClusters?.canUpgradeGeneration ?? false) ||
|
|
352
341
|
(tokenClusters?.canUpgradeGenerationYolo ?? false);
|
|
353
342
|
const canUpgradeGeneration = isOrgAdmin || canUpgradeFromToken;
|
|
354
|
-
const updateSuffix = (
|
|
355
|
-
const key = 'c4console:clusters.list.updateAvailableSuffix';
|
|
356
|
-
const fallback = ' - update available';
|
|
357
|
-
try {
|
|
358
|
-
const translated = runtime.i18n?.t(key);
|
|
359
|
-
if (!translated || translated === key) {
|
|
360
|
-
return fallback;
|
|
361
|
-
}
|
|
362
|
-
if (key.includes(':')) {
|
|
363
|
-
const withoutNamespace = key.split(':').slice(1).join(':');
|
|
364
|
-
if (translated === withoutNamespace) {
|
|
365
|
-
return fallback;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
return translated;
|
|
369
|
-
}
|
|
370
|
-
catch {
|
|
371
|
-
return fallback;
|
|
372
|
-
}
|
|
373
|
-
})();
|
|
343
|
+
const updateSuffix = safeTranslate(runtime.i18n?.t, 'c4console:clusters.list.updateAvailableSuffix', ' - update available');
|
|
374
344
|
return rawClusters
|
|
375
345
|
.map((rawCluster, index) => {
|
|
376
346
|
const item = mapClusterToListItem(rawCluster, index);
|
|
@@ -470,26 +440,10 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
470
440
|
cluster.encryption === ClusterEncryptionKey.EXTERNAL);
|
|
471
441
|
});
|
|
472
442
|
}, [rawClusters]);
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
return fallback;
|
|
478
|
-
}
|
|
479
|
-
// i18next can return the key *without* the namespace when the namespace is missing.
|
|
480
|
-
// Example: `c4console:clusters.list.trialExpired.title` -> `clusters.list.trialExpired.title`
|
|
481
|
-
if (key.includes(':')) {
|
|
482
|
-
const withoutNamespace = key.split(':').slice(1).join(':');
|
|
483
|
-
if (translated === withoutNamespace) {
|
|
484
|
-
return fallback;
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
return translated;
|
|
488
|
-
}
|
|
489
|
-
catch {
|
|
490
|
-
return fallback;
|
|
491
|
-
}
|
|
492
|
-
};
|
|
443
|
+
// Binds the `t` of the host, thus the call sites below name a key and its
|
|
444
|
+
// fallback alone. A different name than the import, because a `const` of
|
|
445
|
+
// that name would shadow it for the whole component.
|
|
446
|
+
const translateCopy = (key, fallback, options) => safeTranslate(runtime.i18n?.t, key, fallback, options);
|
|
493
447
|
const trialState = useMemo(() => {
|
|
494
448
|
if (!orgInfo || typeof orgInfo !== 'object') {
|
|
495
449
|
return {
|
|
@@ -549,19 +503,19 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
549
503
|
}
|
|
550
504
|
const days = trialState.countdownDays;
|
|
551
505
|
const title = days === 0
|
|
552
|
-
?
|
|
506
|
+
? translateCopy('c4console:navbar.banner.trialExpiresToday', 'Modeling is free, but your free process execution trial ends today')
|
|
553
507
|
: days === 1
|
|
554
|
-
?
|
|
555
|
-
:
|
|
556
|
-
return (_jsx(C4ClustersTrialNotification, { title: title, showUpgradeAction: isOrgAdmin, upgradeButtonLabel:
|
|
557
|
-
?
|
|
508
|
+
? translateCopy('c4console:navbar.banner.trialExpiresInOneDay', 'Modeling is free, but your free process execution trial ends tomorrow')
|
|
509
|
+
: translateCopy('c4console:navbar.banner.trialExpiresInMultipleDays', `Modeling is free, but your free process execution trial ends in ${days ?? ''} days`, { days: days ?? '' });
|
|
510
|
+
return (_jsx(C4ClustersTrialNotification, { title: title, showUpgradeAction: isOrgAdmin, upgradeButtonLabel: translateCopy('c4console:navbar.banner.upgradeButton', 'Contact us'), onUpgradeClick: () => openUrlInNewTab(contactUrl), extendTrialButtonLabel: trialState.canSelfExtendForBanner
|
|
511
|
+
? translateCopy('c4console:navbar.banner.extendTrial', 'Extend trial')
|
|
558
512
|
: undefined, onExtendTrialClick: trialState.canSelfExtendForBanner
|
|
559
513
|
? () => setIsExtendModalOpen(true)
|
|
560
514
|
: undefined }));
|
|
561
515
|
}, [
|
|
562
516
|
contactUrl,
|
|
563
517
|
isOrgAdmin,
|
|
564
|
-
|
|
518
|
+
translateCopy,
|
|
565
519
|
trialState.showClusterListBanner,
|
|
566
520
|
trialState.countdownDays,
|
|
567
521
|
trialState.canSelfExtendForBanner,
|
|
@@ -569,8 +523,8 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
569
523
|
const encryptionNotification = hasEncryptionWarning
|
|
570
524
|
? {
|
|
571
525
|
kind: 'warning',
|
|
572
|
-
title:
|
|
573
|
-
subtitle:
|
|
526
|
+
title: translateCopy('c4console:clusters.encryption.notification.title', 'Action Required'),
|
|
527
|
+
subtitle: translateCopy('c4console:clusters.encryption.notification.text', 'Complete the remaining steps to finalize the cluster creation.'),
|
|
574
528
|
lowContrast: true,
|
|
575
529
|
hideCloseButton: true,
|
|
576
530
|
}
|
|
@@ -603,6 +557,17 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
603
557
|
canSeeClusterLoad: clustersVisibility?.canSeeClusterLoad ?? false,
|
|
604
558
|
canWakeCluster: clustersVisibility?.canWake ?? false,
|
|
605
559
|
canFailoverCluster: (clustersVisibility?.canFailover ?? false) && orgFailoverLimitEnabled,
|
|
560
|
+
// A duplicate makes a cluster, thus it needs the create permission and
|
|
561
|
+
// no block. It does NOT need a free reservation: with none, the create
|
|
562
|
+
// page offers to delete the source cluster and give its reservation to
|
|
563
|
+
// the new one. That offer needs the delete permission, thus a customer
|
|
564
|
+
// who holds neither a reservation nor that permission sees no entry
|
|
565
|
+
// and reaches no form that cannot be sent.
|
|
566
|
+
canDuplicateCluster: (clustersVisibility?.canCreate ?? false) &&
|
|
567
|
+
!developerBlockedFromClusterCreate &&
|
|
568
|
+
clusterDuplicationEnabled &&
|
|
569
|
+
!clusterCreationBlocked &&
|
|
570
|
+
(reservationAvailable || (clustersVisibility?.canDelete ?? false)),
|
|
606
571
|
// The flag disables the button and keeps it visible. `canCreateCluster`
|
|
607
572
|
// hides it, thus the flag must not join that value.
|
|
608
573
|
createClusterButtonDisabled: !canCreate || clusterCreationBlocked,
|
|
@@ -615,6 +580,7 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
615
580
|
orgFailoverLimitEnabled,
|
|
616
581
|
permissionsOverride,
|
|
617
582
|
clusterCreationBlocked,
|
|
583
|
+
clusterDuplicationEnabled,
|
|
618
584
|
]);
|
|
619
585
|
const resolvedTranslations = useMemo(() => {
|
|
620
586
|
if (translations) {
|
|
@@ -648,41 +614,41 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
648
614
|
? () => setIsExtendModalOpen(true)
|
|
649
615
|
: undefined, texts: {
|
|
650
616
|
noClusters: {
|
|
651
|
-
heading:
|
|
652
|
-
description:
|
|
617
|
+
heading: translateCopy('c4console:clusters.emptyState.noClusters.heading', 'Processes run on clusters'),
|
|
618
|
+
description: translateCopy('c4console:clusters.emptyState.noClusters.description', 'Create a cluster to get started.'),
|
|
653
619
|
createButtonLabel: resolvedTranslations.createButton,
|
|
654
|
-
docsLinkLabel:
|
|
620
|
+
docsLinkLabel: translateCopy('c4console:clusters.emptyState.noClusters.docsLinkLabel', 'View The Getting Started Guide'),
|
|
655
621
|
},
|
|
656
622
|
trialExpired: {
|
|
657
|
-
heading:
|
|
658
|
-
adminDescription:
|
|
659
|
-
memberDescription:
|
|
660
|
-
upgradeButtonLabel:
|
|
661
|
-
extendTrialButtonLabel:
|
|
623
|
+
heading: translateCopy('c4console:clusters.list.trialExpired.title', 'Your trial has expired'),
|
|
624
|
+
adminDescription: translateCopy('c4console:clusters.list.trialExpired.admin.text', 'Upgrade your plan to continue using Camunda.'),
|
|
625
|
+
memberDescription: translateCopy('c4console:clusters.list.trialExpired.member.text', 'Contact your admin to upgrade your plan.'),
|
|
626
|
+
upgradeButtonLabel: translateCopy('c4console:clusters.list.trialExpired.admin.upgradeButton', 'Upgrade'),
|
|
627
|
+
extendTrialButtonLabel: translateCopy('c4console:clusters.emptyState.extendTrialButton', 'Extend trial'),
|
|
662
628
|
},
|
|
663
629
|
} }));
|
|
664
630
|
}
|
|
665
631
|
if (clusters.length !== 0) {
|
|
666
632
|
return undefined;
|
|
667
633
|
}
|
|
668
|
-
const createButtonLabel =
|
|
669
|
-
const descriptionPrefix =
|
|
670
|
-
const descriptionSuffix =
|
|
634
|
+
const createButtonLabel = translateCopy('c4console:clusters.emptyState.noClusters.createButtonLabel', 'Create new cluster');
|
|
635
|
+
const descriptionPrefix = translateCopy('c4console:clusters.emptyState.noClusters.descriptionPrefix', 'Click ');
|
|
636
|
+
const descriptionSuffix = translateCopy('c4console:clusters.emptyState.noClusters.descriptionSuffix', ' to have a place to execute your processes');
|
|
671
637
|
return (_jsx(C4ClustersEmptyState, { variant: 'noClusters', docsHref: resolvedGettingStartedHref, onCreateCluster: derivedPermissions.canCreateCluster
|
|
672
638
|
? () => handleNavigate(urls.createCluster)
|
|
673
639
|
: undefined, createClusterButtonDisabled: derivedPermissions.createClusterButtonDisabled, texts: {
|
|
674
640
|
noClusters: {
|
|
675
|
-
heading:
|
|
641
|
+
heading: translateCopy('c4console:clusters.emptyState.noClusters.heading', 'Processes run on clusters'),
|
|
676
642
|
description: (_jsxs("span", { children: [descriptionPrefix, _jsx("strong", { children: createButtonLabel }), descriptionSuffix] })),
|
|
677
643
|
createButtonLabel,
|
|
678
|
-
docsLinkLabel:
|
|
644
|
+
docsLinkLabel: translateCopy('c4console:clusters.emptyState.noClusters.docsLinkLabel', 'View The Getting Started Guide'),
|
|
679
645
|
},
|
|
680
646
|
trialExpired: {
|
|
681
|
-
heading:
|
|
682
|
-
adminDescription:
|
|
683
|
-
memberDescription:
|
|
684
|
-
upgradeButtonLabel:
|
|
685
|
-
extendTrialButtonLabel:
|
|
647
|
+
heading: translateCopy('c4console:clusters.list.trialExpired.title', 'Your trial has expired'),
|
|
648
|
+
adminDescription: translateCopy('c4console:clusters.list.trialExpired.admin.text', 'Upgrade your plan to continue using Camunda.'),
|
|
649
|
+
memberDescription: translateCopy('c4console:clusters.list.trialExpired.member.text', 'Contact your admin to upgrade your plan.'),
|
|
650
|
+
upgradeButtonLabel: translateCopy('c4console:clusters.list.trialExpired.admin.upgradeButton', 'Upgrade'),
|
|
651
|
+
extendTrialButtonLabel: translateCopy('c4console:clusters.emptyState.extendTrialButton', 'Extend trial'),
|
|
686
652
|
},
|
|
687
653
|
} }));
|
|
688
654
|
}, [
|
|
@@ -696,7 +662,7 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
696
662
|
isLoading,
|
|
697
663
|
isOrgAdmin,
|
|
698
664
|
resolvedTranslations.createButton,
|
|
699
|
-
|
|
665
|
+
translateCopy,
|
|
700
666
|
trialState.isTrial,
|
|
701
667
|
trialState.trialStateExpired,
|
|
702
668
|
trialState.canSelfExtend,
|
|
@@ -756,10 +722,10 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
756
722
|
});
|
|
757
723
|
addC4ConsoleNotification({
|
|
758
724
|
kind: 'error',
|
|
759
|
-
title:
|
|
725
|
+
title: translateCopy('c4console:clusters.notifications.wake.error.title', 'Failed to resume cluster'),
|
|
760
726
|
subtitle: error instanceof Error
|
|
761
727
|
? error.message
|
|
762
|
-
:
|
|
728
|
+
: translateCopy('c4console:clusters.notifications.wake.error.unknownError', 'Unknown error'),
|
|
763
729
|
});
|
|
764
730
|
}
|
|
765
731
|
finally {
|
|
@@ -768,6 +734,12 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
768
734
|
})();
|
|
769
735
|
}
|
|
770
736
|
};
|
|
737
|
+
// The duplicate form is the create page, thus this only navigates. The
|
|
738
|
+
// event goes straight to the host: the url codec above splits on a colon,
|
|
739
|
+
// and one more id in one url gives that codec a second thing to get wrong.
|
|
740
|
+
const handleDuplicateCluster = (clusterId) => {
|
|
741
|
+
onNavigate?.({ kind: 'duplicateCluster', orgId, clusterId });
|
|
742
|
+
};
|
|
771
743
|
const handleFailoverCluster = (clusterId) => {
|
|
772
744
|
onRequestFailoverCluster?.(clusterId);
|
|
773
745
|
if (!onRequestFailoverCluster) {
|
|
@@ -908,8 +880,8 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
908
880
|
orgId,
|
|
909
881
|
});
|
|
910
882
|
}, [error, orgId, runtime.telemetry]);
|
|
911
|
-
return (_jsxs(_Fragment, { children: [_jsx(C4ClusterList, { orgId: orgId, scope: scope, clusters: clusters, loading: isPageLoading, urls: urls, permissions: derivedPermissions, onNavigate: handleNavigate, onDeleteCluster: handleDeleteCluster, onAssignTag: handleAssignTag, onWakeCluster: handleWakeCluster, onFailoverCluster: handleFailoverCluster, trialNotification: derivedTrialNotification, encryptionNotification: encryptionNotification, clusterCapMessage: clusterCapMessage, emptyStateContent: derivedEmptyStateContent, translations: resolvedTranslations, isClusterPaused: isClusterPausedOverride ?? isClusterPausedFallback, isMultiRegionCluster: isMultiRegionClusterFallback, isFailoverSyncPending: isFailoverSyncPending, isFailoverSource: isFailoverSource, isOnRetiredAlphaGeneration: isOnRetiredAlphaGeneration, isRunningOnUnsupportedGeneration: isRunningOnUnsupportedGenerationOverride ??
|
|
912
|
-
isRunningOnUnsupportedGenerationFallback }), deleteTarget ? (_jsx(Modal, { open: deleteModalOpen, danger: true, modalHeading:
|
|
883
|
+
return (_jsxs(_Fragment, { children: [_jsx(C4ClusterList, { orgId: orgId, scope: scope, clusters: clusters, loading: isPageLoading, urls: urls, permissions: derivedPermissions, onNavigate: handleNavigate, onDeleteCluster: handleDeleteCluster, onAssignTag: handleAssignTag, onWakeCluster: handleWakeCluster, onFailoverCluster: handleFailoverCluster, onDuplicateCluster: handleDuplicateCluster, trialNotification: derivedTrialNotification, encryptionNotification: encryptionNotification, clusterCapMessage: clusterCapMessage, emptyStateContent: derivedEmptyStateContent, translations: resolvedTranslations, isClusterPaused: isClusterPausedOverride ?? isClusterPausedFallback, isMultiRegionCluster: isMultiRegionClusterFallback, isFailoverSyncPending: isFailoverSyncPending, isFailoverSource: isFailoverSource, isOnRetiredAlphaGeneration: isOnRetiredAlphaGeneration, isRunningOnUnsupportedGeneration: isRunningOnUnsupportedGenerationOverride ??
|
|
884
|
+
isRunningOnUnsupportedGenerationFallback }), deleteTarget ? (_jsx(Modal, { open: deleteModalOpen, danger: true, modalHeading: translateCopy('clustermodals:delete.heading', 'Delete cluster'), primaryButtonText: translateCopy('clustermodals:delete.buttons.primary', 'Delete'), secondaryButtonText: translateCopy('clustermodals:delete.buttons.secondary', 'Cancel'), primaryButtonDisabled: deleteBusy || deleteConfirmation.trim() !== 'DELETE', onRequestClose: () => {
|
|
913
885
|
if (deleteBusy)
|
|
914
886
|
return;
|
|
915
887
|
setDeleteModalOpen(false);
|
|
@@ -942,7 +914,7 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
942
914
|
finally {
|
|
943
915
|
setDeleteBusy(false);
|
|
944
916
|
}
|
|
945
|
-
}, children: _jsxs(Stack, { gap: 4, children: [deleteError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title:
|
|
917
|
+
}, children: _jsxs(Stack, { gap: 4, children: [deleteError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: translateCopy('clustermodals:delete.error.generic', 'Error deleting cluster'), subtitle: deleteError, hideCloseButton: true })) : null, _jsx("p", { children: translateCopy('clustermodals:delete.description', `This will permanently delete ${deleteTarget.clusterName}.`, { clusterName: deleteTarget.clusterName }) }), _jsx(TextInput, { id: 'c4-delete-cluster-confirmation', labelText: translateCopy('clustermodals:delete.confirm.label', 'Type the word DELETE to confirm'), value: deleteConfirmation, onChange: (e) => setDeleteConfirmation(e.target.value), disabled: deleteBusy })] }) })) : null, tagTarget ? (_jsx(Modal, { open: tagModalOpen, modalHeading: translateCopy('clustermodals:assignTag.heading', 'Assign cluster tag'), primaryButtonText: translateCopy('clustermodals:assignTag.buttons.primary', 'Assign'), secondaryButtonText: translateCopy('clustermodals:assignTag.buttons.secondary', 'Cancel'), primaryButtonDisabled: tagBusy || selectedTag === '', onRequestClose: () => {
|
|
946
918
|
if (tagBusy)
|
|
947
919
|
return;
|
|
948
920
|
setTagModalOpen(false);
|
|
@@ -980,10 +952,10 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
980
952
|
finally {
|
|
981
953
|
setTagBusy(false);
|
|
982
954
|
}
|
|
983
|
-
}, children: _jsxs(Stack, { gap: 4, children: [tagError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title:
|
|
955
|
+
}, children: _jsxs(Stack, { gap: 4, children: [tagError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: translateCopy('clustermodals:assignTag.errorMessage', 'Error assigning tag'), subtitle: tagError, hideCloseButton: true })) : null, _jsx("p", { children: translateCopy('clustermodals:assignTag.description', `Assign an environment tag to ${tagTarget.clusterName}.`) }), _jsxs(Select, { id: 'c4-assign-cluster-tag', labelText: translateCopy('clustermodals:assignTag.label', 'Tag'), value: selectedTag, disabled: tagBusy, onChange: (e) => {
|
|
984
956
|
const value = e.target.value;
|
|
985
957
|
setSelectedTag(value);
|
|
986
|
-
}, children: [_jsx(SelectItem, { value: '', text: 'Select a tag' }), _jsx(SelectItem, { value: 'dev', text: 'dev' }), _jsx(SelectItem, { value: 'test', text: 'test' }), _jsx(SelectItem, { value: 'stage', text: 'stage' }), _jsx(SelectItem, { value: 'prod', text: 'prod' })] })] }) })) : null, failoverTarget ? (_jsx(Modal, { open: failoverModalOpen, modalHeading:
|
|
958
|
+
}, children: [_jsx(SelectItem, { value: '', text: 'Select a tag' }), _jsx(SelectItem, { value: 'dev', text: 'dev' }), _jsx(SelectItem, { value: 'test', text: 'test' }), _jsx(SelectItem, { value: 'stage', text: 'stage' }), _jsx(SelectItem, { value: 'prod', text: 'prod' })] })] }) })) : null, failoverTarget ? (_jsx(Modal, { open: failoverModalOpen, modalHeading: translateCopy('clustermodals:failover.heading', 'Failover cluster'), primaryButtonText: translateCopy('clustermodals:failover.buttons.primary', 'Start failover'), secondaryButtonText: translateCopy('clustermodals:failover.buttons.secondary', 'Cancel'), primaryButtonDisabled: failoverBusy ||
|
|
987
959
|
failoverBackupsLoading ||
|
|
988
960
|
failoverBackupsError ||
|
|
989
961
|
selectedCloneIds.length === 0 ||
|
|
@@ -1050,7 +1022,7 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
1050
1022
|
finally {
|
|
1051
1023
|
setFailoverBusy(false);
|
|
1052
1024
|
}
|
|
1053
|
-
}, children: _jsxs(Stack, { gap: 4, children: [failoverBackupsError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title:
|
|
1025
|
+
}, children: _jsxs(Stack, { gap: 4, children: [failoverBackupsError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: translateCopy('clustermodals:failover.backup.error.title', 'Could not load backups'), subtitle: translateCopy('clustermodals:failover.backup.error.subtitle', 'Failed to fetch backups for this cluster. Check your connection and try again.'), hideCloseButton: true })) : null, failoverError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: translateCopy('clustermodals:failover.error.generic', 'Failover failed'), subtitle: failoverError, hideCloseButton: true })) : null, _jsx("p", { children: translateCopy('clustermodals:failover.description', `This will create a new cluster in the secondary region using a backup from ${failoverTarget.clusterName}. The original cluster will remain unchanged.`, { clusterName: failoverTarget.clusterName }) }), _jsxs("div", { children: [_jsx("p", { children: translateCopy('clustermodals:failover.clone.label', 'Select backups to make available on the new cluster') }), failoverBackupsLoading ? (_jsx("p", { children: translateCopy('clustermodals:failover.backup.loading', 'Loading backups…') })) : failoverBackups.length === 0 ? (_jsx("p", { children: translateCopy('clustermodals:failover.backup.none', 'No completed backups available') })) : (failoverBackups.map((backup) => (_jsx(Checkbox, { id: `c4-failover-clone-${backup.uuid}`, labelText: formatFailoverBackupLabel(backup), checked: selectedCloneIds.includes(backup.uuid), disabled: failoverBusy, onChange: (_event, { checked }) => {
|
|
1054
1026
|
setSelectedCloneIds((previous) => checked
|
|
1055
1027
|
? [...previous, backup.uuid]
|
|
1056
1028
|
: previous.filter((id) => id !== backup.uuid));
|
|
@@ -1058,13 +1030,13 @@ export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStart
|
|
|
1058
1030
|
if (!checked && selectedBackupId === backup.uuid) {
|
|
1059
1031
|
setSelectedBackupId('');
|
|
1060
1032
|
}
|
|
1061
|
-
} }, backup.uuid))))] }), _jsxs(Select, { id: 'c4-failover-backup-select', labelText:
|
|
1062
|
-
?
|
|
1033
|
+
} }, backup.uuid))))] }), _jsxs(Select, { id: 'c4-failover-backup-select', labelText: translateCopy('clustermodals:failover.backup.label', 'Select backup to restore from'), value: selectedBackupId, disabled: failoverBusy || failoverBackupsLoading, onChange: (e) => setSelectedBackupId(e.target.value), children: [_jsx(SelectItem, { value: '', text: failoverBackupsLoading
|
|
1034
|
+
? translateCopy('clustermodals:failover.backup.loading', 'Loading backups…')
|
|
1063
1035
|
: failoverBackupsError
|
|
1064
|
-
?
|
|
1036
|
+
? translateCopy('clustermodals:failover.backup.error.select', 'Backup list unavailable')
|
|
1065
1037
|
: selectedCloneIds.length === 0
|
|
1066
|
-
?
|
|
1067
|
-
:
|
|
1038
|
+
? translateCopy('clustermodals:failover.backup.noneSelected', 'Select backups above first')
|
|
1039
|
+
: translateCopy('clustermodals:failover.backup.placeholder', 'Select a backup') }), failoverBackups
|
|
1068
1040
|
.filter((backup) => selectedCloneIds.includes(backup.uuid))
|
|
1069
1041
|
.map((backup) => (_jsx(SelectItem, { value: backup.uuid, text: formatFailoverBackupLabel(backup) }, backup.uuid)))] })] }) })) : null, isExtendModalOpen && (_jsx(C4ExtendTrialModal, { isOpen: isExtendModalOpen, onClose: () => setIsExtendModalOpen(false), onSubmit: submitExtendTrial, isSubmitting: isExtendSubmitting, error: extendError }))] }));
|
|
1070
1042
|
});
|
|
@@ -7,6 +7,10 @@ export type C4ClustersNavigateEvent = {
|
|
|
7
7
|
} | {
|
|
8
8
|
kind: 'createCluster';
|
|
9
9
|
orgId: string;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'duplicateCluster';
|
|
12
|
+
orgId: string;
|
|
13
|
+
clusterId: string;
|
|
10
14
|
};
|
|
11
15
|
export interface C4ClustersPageTranslations {
|
|
12
16
|
title: string;
|
|
@@ -36,6 +40,9 @@ export interface C4ClustersPageTranslations {
|
|
|
36
40
|
failoverSyncPending?: string;
|
|
37
41
|
/** Shown as the action label for a cluster that was already failed over. */
|
|
38
42
|
failoverAlreadyFailedOver?: string;
|
|
43
|
+
duplicate?: string;
|
|
44
|
+
/** Shown as the action label for a cluster that was failed over, which cannot be duplicated. */
|
|
45
|
+
duplicateUnavailableFailoverSource?: string;
|
|
39
46
|
};
|
|
40
47
|
tags: {
|
|
41
48
|
addLabel: string;
|
|
@@ -11,16 +11,8 @@ import { observer } from 'mobx-react-lite';
|
|
|
11
11
|
import { useMemo } from 'react';
|
|
12
12
|
import { C4PageTemplate } from '../../components/c4-page-template/c4-page-template.js';
|
|
13
13
|
import { useC4ConsoleRuntime } from '../../runtime/c4-console-runtime-context.js';
|
|
14
|
+
import { safeTranslate } from '../../utils/safe-translate.js';
|
|
14
15
|
import { C4ConnectorManagementErrorBoundaryFallback, useConnectorManagementRuntime, } from './c4-connector-management.shared.js';
|
|
15
|
-
function safeTranslate(t, key, fallback) {
|
|
16
|
-
try {
|
|
17
|
-
const translated = t?.(key);
|
|
18
|
-
return translated && translated !== key ? translated : fallback;
|
|
19
|
-
}
|
|
20
|
-
catch {
|
|
21
|
-
return fallback;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
16
|
function sendNavigate(onNavigate, event) {
|
|
25
17
|
onNavigate?.(event);
|
|
26
18
|
}
|
|
@@ -13,18 +13,10 @@ import { C4EmptyState } from '../../components/c4-empty-state/c4-empty-state.js'
|
|
|
13
13
|
import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
|
|
14
14
|
import { useC4ConsoleData } from '../../runtime/c4-console-data-context.js';
|
|
15
15
|
import { useC4ConsoleRuntime, useC4DesignSystem, } from '../../runtime/c4-console-runtime-context.js';
|
|
16
|
+
import { safeTranslate } from '../../utils/safe-translate.js';
|
|
16
17
|
function isRecord(value) {
|
|
17
18
|
return Boolean(value) && typeof value === 'object';
|
|
18
19
|
}
|
|
19
|
-
function safeTranslate(t, key, fallback) {
|
|
20
|
-
try {
|
|
21
|
-
const translated = t?.(key);
|
|
22
|
-
return translated && translated !== key ? translated : fallback;
|
|
23
|
-
}
|
|
24
|
-
catch {
|
|
25
|
-
return fallback;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
20
|
export function useConnectorManagementRuntime(options) {
|
|
29
21
|
const { orgId, clusterId } = options;
|
|
30
22
|
const runtime = useC4ConsoleRuntime();
|
|
@@ -1,5 +1,92 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { C4CreateClusterPageProps } from './c4-create-cluster-page.types.js';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Every copy string of the page, resolved once. Exported for the test that
|
|
5
|
+
* holds each string against its key: a miss must give the English fallback and
|
|
6
|
+
* never the identifier.
|
|
7
|
+
*/
|
|
8
|
+
export declare function buildCreateClusterTranslations(t: ((key: string, options?: Record<string, unknown>) => string) | undefined): {
|
|
9
|
+
title: string;
|
|
10
|
+
breadcrumbsClusters: string;
|
|
11
|
+
bannerNoSlotsLeftTitle: string;
|
|
12
|
+
bannerNoSlotsLeftDescription: string;
|
|
13
|
+
nameTitle: string;
|
|
14
|
+
namePlaceholder: string;
|
|
15
|
+
nameValidationRequired: string;
|
|
16
|
+
nameValidationMaxLength: string;
|
|
17
|
+
descriptionTitle: string;
|
|
18
|
+
descriptionPlaceholder: string;
|
|
19
|
+
descriptionValidationMaxLength: string;
|
|
20
|
+
planTypeTitle: string;
|
|
21
|
+
hardwarePackagesTitle: string;
|
|
22
|
+
hardwarePackagesDescription: string;
|
|
23
|
+
hardwarePackagesBold: string;
|
|
24
|
+
hardwarePackagesLink: string;
|
|
25
|
+
regionTitle: string;
|
|
26
|
+
regionDescription: string;
|
|
27
|
+
regionTeaseForEnterprise: string;
|
|
28
|
+
regionValidationMessage: string;
|
|
29
|
+
backupRegionTitle: string;
|
|
30
|
+
backupRegionDescription: string;
|
|
31
|
+
generationTitle: string;
|
|
32
|
+
olderGenerationsLabel: string;
|
|
33
|
+
olderGenerationsHelperText: string;
|
|
34
|
+
orgUnlockedGenerationsHelperText: string;
|
|
35
|
+
autoUpdateTitle: string;
|
|
36
|
+
autoUpdateDescription: string;
|
|
37
|
+
autoUpdateDescriptionIfDisabled: string;
|
|
38
|
+
autoUpdateLabel: string;
|
|
39
|
+
stageLabelTitle: string;
|
|
40
|
+
stageLabelDescription: string;
|
|
41
|
+
stageLabelDescriptionSuspend: string;
|
|
42
|
+
stageLabelLinkLabel: string;
|
|
43
|
+
encryptionTitle: string;
|
|
44
|
+
encryptionDescriptionText: string;
|
|
45
|
+
encryptionDescriptionBold: string;
|
|
46
|
+
encryptionItemProvider: string;
|
|
47
|
+
encryptionItemSoftware: string;
|
|
48
|
+
encryptionItemHardware: string;
|
|
49
|
+
encryptionItemExternal: string;
|
|
50
|
+
encryptionLinkText: string;
|
|
51
|
+
ctaCreate: string;
|
|
52
|
+
ctaSubmitting: string;
|
|
53
|
+
ctaSuccess: string;
|
|
54
|
+
ctaError: string;
|
|
55
|
+
duplicateTitle: string;
|
|
56
|
+
duplicateNoticeTitle: string;
|
|
57
|
+
duplicateNoticeCopied: string;
|
|
58
|
+
duplicateNoticeNotCopied: string;
|
|
59
|
+
duplicateCta: string;
|
|
60
|
+
duplicateCtaSubmitting: string;
|
|
61
|
+
duplicateCtaSuccess: string;
|
|
62
|
+
duplicateCtaError: string;
|
|
63
|
+
duplicateReplaceLabel: string;
|
|
64
|
+
duplicateReplaceDescription: string;
|
|
65
|
+
duplicateReplaceConfirmHeading: string;
|
|
66
|
+
duplicateReplaceConfirmBody: string;
|
|
67
|
+
duplicateReplaceConfirmLabel: string;
|
|
68
|
+
duplicateReplaceConfirmPrimary: string;
|
|
69
|
+
duplicateReplaceConfirmSecondary: string;
|
|
70
|
+
duplicateCarryOverFailedTitle: string;
|
|
71
|
+
duplicateCarryOverFailedSubtitle: string;
|
|
72
|
+
duplicateCarryOverClusterClients: string;
|
|
73
|
+
duplicateCarryOverConnectorSecrets: string;
|
|
74
|
+
duplicateCarryOverAlerts: string;
|
|
75
|
+
duplicateCarryOverByom: string;
|
|
76
|
+
duplicateCarryOverByoidp: string;
|
|
77
|
+
duplicateCarryOverBackupSchedule: string;
|
|
78
|
+
duplicateSourceNotDeletedTitle: string;
|
|
79
|
+
duplicateSourceNotDeletedSubtitle: string;
|
|
80
|
+
ctaCancel: string;
|
|
81
|
+
ctaHelpPrefix: string;
|
|
82
|
+
ctaHelpLabel: string;
|
|
83
|
+
stageBoxDev: string;
|
|
84
|
+
stageBoxTest: string;
|
|
85
|
+
stageBoxStage: string;
|
|
86
|
+
stageBoxProd: string;
|
|
87
|
+
stageSleep8h: string;
|
|
88
|
+
stageSleepInactivity: string;
|
|
89
|
+
};
|
|
90
|
+
export declare const C4CreateClusterPage: (({ orgId, afterCreateModalUrl, talkToAnExpertUrl, externalLinks, onNavigate, duplicateOfClusterId, }: C4CreateClusterPageProps) => React.ReactElement) & {
|
|
4
91
|
displayName: string;
|
|
5
92
|
};
|