@replicated/portal-components 0.0.27 → 0.0.29
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/components/metadata/registry.json +2 -2
- package/components/metadata/registry.md +2 -2
- package/dist/actions/branding-actions.d.mts +1 -1
- package/dist/actions/branding-actions.d.ts +1 -1
- package/dist/actions/branding-actions.js +15 -5
- package/dist/actions/branding-actions.js.map +1 -1
- package/dist/actions/change-team.js +13 -3
- package/dist/actions/change-team.js.map +1 -1
- package/dist/actions/index.d.mts +1 -1
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +16 -15
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/install-actions.d.mts +1 -1
- package/dist/actions/install-actions.d.ts +1 -1
- package/dist/actions/install-actions.js +13 -3
- package/dist/actions/install-actions.js.map +1 -1
- package/dist/actions/invite-actions.js +13 -3
- package/dist/actions/invite-actions.js.map +1 -1
- package/dist/actions/magic-link-actions.d.mts +1 -1
- package/dist/actions/magic-link-actions.d.ts +1 -1
- package/dist/actions/magic-link-actions.js +15 -5
- package/dist/actions/magic-link-actions.js.map +1 -1
- package/dist/actions/service-account.d.mts +1 -1
- package/dist/actions/service-account.d.ts +1 -1
- package/dist/actions/service-account.js +13 -3
- package/dist/actions/service-account.js.map +1 -1
- package/dist/actions/support-bundles.d.mts +1 -1
- package/dist/actions/support-bundles.d.ts +1 -1
- package/dist/actions/support-bundles.js +13 -3
- package/dist/actions/support-bundles.js.map +1 -1
- package/dist/actions/team-settings.d.mts +1 -1
- package/dist/actions/team-settings.d.ts +1 -1
- package/dist/actions/team-settings.js +13 -3
- package/dist/actions/team-settings.js.map +1 -1
- package/dist/actions/trial-signup-actions.js +13 -3
- package/dist/actions/trial-signup-actions.js.map +1 -1
- package/dist/actions/trial-signup.js +13 -3
- package/dist/actions/trial-signup.js.map +1 -1
- package/dist/actions/user-settings.d.mts +1 -1
- package/dist/actions/user-settings.d.ts +1 -1
- package/dist/actions/user-settings.js +13 -3
- package/dist/actions/user-settings.js.map +1 -1
- package/dist/airgap-instances.d.mts +1 -1
- package/dist/airgap-instances.d.ts +1 -1
- package/dist/api/saml.js +13 -3
- package/dist/api/saml.js.map +1 -1
- package/dist/api/support-bundles.js +13 -3
- package/dist/api/support-bundles.js.map +1 -1
- package/dist/{branding-DmsrDTNE.d.mts → branding-C5H0L6Vi.d.mts} +13 -1
- package/dist/{branding-DmsrDTNE.d.ts → branding-C5H0L6Vi.d.ts} +13 -1
- package/dist/esm/actions/branding-actions.js +15 -5
- package/dist/esm/actions/branding-actions.js.map +1 -1
- package/dist/esm/actions/change-team.js +13 -3
- package/dist/esm/actions/change-team.js.map +1 -1
- package/dist/esm/actions/index.js +16 -15
- package/dist/esm/actions/index.js.map +1 -1
- package/dist/esm/actions/install-actions.js +13 -3
- package/dist/esm/actions/install-actions.js.map +1 -1
- package/dist/esm/actions/invite-actions.js +13 -3
- package/dist/esm/actions/invite-actions.js.map +1 -1
- package/dist/esm/actions/magic-link-actions.js +15 -5
- package/dist/esm/actions/magic-link-actions.js.map +1 -1
- package/dist/esm/actions/service-account.js +13 -3
- package/dist/esm/actions/service-account.js.map +1 -1
- package/dist/esm/actions/support-bundles.js +13 -3
- package/dist/esm/actions/support-bundles.js.map +1 -1
- package/dist/esm/actions/team-settings.js +13 -3
- package/dist/esm/actions/team-settings.js.map +1 -1
- package/dist/esm/actions/trial-signup-actions.js +13 -3
- package/dist/esm/actions/trial-signup-actions.js.map +1 -1
- package/dist/esm/actions/trial-signup.js +13 -3
- package/dist/esm/actions/trial-signup.js.map +1 -1
- package/dist/esm/actions/user-settings.js +13 -3
- package/dist/esm/actions/user-settings.js.map +1 -1
- package/dist/esm/api/saml.js +13 -3
- package/dist/esm/api/saml.js.map +1 -1
- package/dist/esm/api/support-bundles.js +13 -3
- package/dist/esm/api/support-bundles.js.map +1 -1
- package/dist/esm/helm-install-wizard.js +13 -3
- package/dist/esm/helm-install-wizard.js.map +1 -1
- package/dist/esm/index.js +51 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/install-actions.js +13 -3
- package/dist/esm/install-actions.js.map +1 -1
- package/dist/esm/license-details.js +13 -3
- package/dist/esm/license-details.js.map +1 -1
- package/dist/esm/linux-install-wizard.js +13 -3
- package/dist/esm/linux-install-wizard.js.map +1 -1
- package/dist/esm/support-card.js +13 -3
- package/dist/esm/support-card.js.map +1 -1
- package/dist/esm/top-nav.js +34 -7
- package/dist/esm/top-nav.js.map +1 -1
- package/dist/esm/update-layout.js +34 -7
- package/dist/esm/update-layout.js.map +1 -1
- package/dist/esm/use-verify-magic-link.js +4 -3
- package/dist/esm/use-verify-magic-link.js.map +1 -1
- package/dist/esm/user-menu-dropdown.js +6 -3
- package/dist/esm/user-menu-dropdown.js.map +1 -1
- package/dist/esm/utils/index.js +44 -5
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/helm-install-wizard.d.mts +2 -2
- package/dist/helm-install-wizard.d.ts +2 -2
- package/dist/helm-install-wizard.js +13 -3
- package/dist/helm-install-wizard.js.map +1 -1
- package/dist/{index-Bcp17Mf3.d.ts → index-7ibNULXY.d.ts} +3 -1
- package/dist/{index-DaH1bSuO.d.mts → index-CITwEYtK.d.mts} +3 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +51 -8
- package/dist/index.js.map +1 -1
- package/dist/install-actions.d.mts +2 -2
- package/dist/install-actions.d.ts +2 -2
- package/dist/install-actions.js +13 -3
- package/dist/install-actions.js.map +1 -1
- package/dist/instance-card.d.mts +1 -1
- package/dist/instance-card.d.ts +1 -1
- package/dist/license-details.js +13 -3
- package/dist/license-details.js.map +1 -1
- package/dist/linux-install-wizard.d.mts +2 -2
- package/dist/linux-install-wizard.d.ts +2 -2
- package/dist/linux-install-wizard.js +13 -3
- package/dist/linux-install-wizard.js.map +1 -1
- package/dist/online-instance-list.d.mts +1 -1
- package/dist/online-instance-list.d.ts +1 -1
- package/dist/pending-installations.d.mts +1 -1
- package/dist/pending-installations.d.ts +1 -1
- package/dist/security-card.d.mts +1 -1
- package/dist/security-card.d.ts +1 -1
- package/dist/styles.css +16 -0
- package/dist/support-bundles-card.d.mts +1 -1
- package/dist/support-bundles-card.d.ts +1 -1
- package/dist/support-card.js +13 -3
- package/dist/support-card.js.map +1 -1
- package/dist/{top-nav-8f2U69MF.d.ts → top-nav-B2FVC4rl.d.ts} +1 -1
- package/dist/{top-nav-B2yA3PC7.d.mts → top-nav-Cf8zMq1A.d.mts} +1 -1
- package/dist/top-nav.d.mts +2 -2
- package/dist/top-nav.d.ts +2 -2
- package/dist/top-nav.js +34 -7
- package/dist/top-nav.js.map +1 -1
- package/dist/update-layout.js +34 -7
- package/dist/update-layout.js.map +1 -1
- package/dist/use-verify-magic-link.d.mts +3 -2
- package/dist/use-verify-magic-link.d.ts +3 -2
- package/dist/use-verify-magic-link.js +4 -3
- package/dist/use-verify-magic-link.js.map +1 -1
- package/dist/user-menu-dropdown.d.mts +2 -1
- package/dist/user-menu-dropdown.d.ts +2 -1
- package/dist/user-menu-dropdown.js +6 -3
- package/dist/user-menu-dropdown.js.map +1 -1
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +44 -4
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
package/dist/actions/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { C as CustomHostnameOverrides, E as EntitlementField, b as EntitlementValue, L as License, a as LicenseChannel, P as PortalLicenseField, f as fetchLicense } from '../fetch-license-iTyF7_GY.mjs';
|
|
2
|
-
export { cd as AcceptInviteError, cb as AcceptInviteInput, cc as AcceptInviteResult, ba as AppFeatures, C as ChannelRelease, h as CreateServiceAccountInput, a as CreateServiceAccountResult, Z as CustomBrandingResponse, bt as Customer, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, bK as DeleteUserInput, bL as DeleteUserResult, b_ as DeprovisionSamlInput, b$ as DeprovisionSamlResult, ci as DocumentationResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, bs as FetchCustomersInput, bu as FetchCustomersResult, bC as FetchDashboardInstancesInput, bD as FetchDashboardInstancesResult, bS as FetchInstancesInput, bT as FetchInstancesResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, bU as FetchSamlConfigInput, bV as FetchSamlConfigResult, bM as FetchServiceAccountsInput, bN as FetchServiceAccountsResult, bz as FetchTeamStatsInput, bB as FetchTeamStatsResult, bG as FetchTeamUsersInput, bH as FetchTeamUsersResult, an as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ak as GetSecurityInfoInput, al as GetSecurityInfoResult, ap as GetSecurityInfoSBOMInput, aq as GetSecurityInfoSBOMResult, a3 as InitiateLoginInput, a4 as InitiateLoginResult, n as InstallInstructions, I as InstallOptions, o as InstallStep, aK as InstallType, be as Instance, bI as InviteUserInput, bJ as InviteUserResult, aM as KubernetesDistribution, bn as ListBundlesResult, a2 as ListReleasesResult, a8 as ListSupportBundlesInput, a9 as ListSupportBundlesResult, N as NetworkAvailability, ax as NotificationSetting, W as PortalActionContext, X as PortalActionVisibility, Y as PortalServerActionDefinition, cf as RefreshInviteInput, cg as RefreshInviteResult, aL as RegistryAvailability, a0 as ReleaseHelmChart, bO as RevokeServiceAccountInput, bP as RevokeServiceAccountResult, bQ as RotateServiceAccountTokenInput, bR as RotateServiceAccountTokenResult, bc as SAMLConfig, ao as SBOMMetadata, am as SecurityInfoDiff, ah as SecurityInstallType, S as SecurityReleaseImage, ai as SecurityScanSummary, aj as SecurityScanWrapper, bd as ServiceAccount, i as ServiceAccountData, bA as ServiceAccountSummary, bm as SupportBundleActionResult, aa as SupportBundleInsight, q as SupportBundleSummary, bv as SwitchCustomerInput, bw as SwitchCustomerResult, bk as TeamForUserSettings, bf as TeamUser, bY as ToggleSamlEnabledInput, bZ as ToggleSamlEnabledResult, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, bW as UpdateSamlConfigInput, bX as UpdateSamlConfigResult, av as UpdateUserInput, aw as UpdateUserResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, cn as UserContext, co as UserPermissions, au as UserProfile, cm as UserResult, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, ce as acceptInvite, aV as createInstallOptionsAction, g as createServiceAccount, aZ as createServiceAccountAction, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, bp as deleteSupportBundleAction, c2 as deleteUser, b0 as deleteUserAction, ca as deprovisionSaml, b9 as deprovisionSamlAction, aY as discardInstallationAction, O as downloadSecuritySBOM, x as downloadSupportBundle, bo as downloadSupportBundleAction, bb as fetchAppFeatures, ck as fetchAppInfo, aU as fetchChannelReleasesAction, Q as fetchCurrentUser, bg as fetchCurrentUserAction, s as fetchCustomBranding, bx as fetchCustomers, J as fetchDashboardComposite, bF as fetchDashboardInstances, cj as fetchDocumentation, c6 as fetchInstances, b5 as fetchInstancesAction, T as fetchNotifications, bi as fetchNotificationsAction, aT as fetchPendingInstallationsAction, c7 as fetchSamlConfig, b6 as fetchSamlConfigAction, c3 as fetchServiceAccounts, b1 as fetchServiceAccountsAction, bE as fetchTeamStats, c0 as fetchTeamUsers, a_ as fetchTeamUsersAction, bl as fetchTeamsForUserSettings, cl as fetchUser, br as getApiOrigin, E as getCustomerIdFromToken, aW as getInstallOptionsAction, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, c1 as inviteUser, a$ as inviteUserAction, t as listReleases, w as listSupportBundles, bq as listSupportBundlesAction, ch as refreshInvite, c4 as revokeServiceAccount, b3 as revokeServiceAccountAction, c5 as rotateServiceAccountToken, b4 as rotateServiceAccountTokenAction, by as switchCustomer, c9 as toggleSamlEnabled, b8 as toggleSamlEnabledAction, aX as updateInstallOptionsAction, V as updateNotifications, bj as updateNotificationsAction, c8 as updateSamlConfig, b7 as updateSamlConfigAction, R as updateUser, bh as updateUserAction, z as uploadSupportBundle, H as verifyMagicLink } from '../index-
|
|
2
|
+
export { cd as AcceptInviteError, cb as AcceptInviteInput, cc as AcceptInviteResult, ba as AppFeatures, C as ChannelRelease, h as CreateServiceAccountInput, a as CreateServiceAccountResult, Z as CustomBrandingResponse, bt as Customer, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, bK as DeleteUserInput, bL as DeleteUserResult, b_ as DeprovisionSamlInput, b$ as DeprovisionSamlResult, ci as DocumentationResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, bs as FetchCustomersInput, bu as FetchCustomersResult, bC as FetchDashboardInstancesInput, bD as FetchDashboardInstancesResult, bS as FetchInstancesInput, bT as FetchInstancesResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, bU as FetchSamlConfigInput, bV as FetchSamlConfigResult, bM as FetchServiceAccountsInput, bN as FetchServiceAccountsResult, bz as FetchTeamStatsInput, bB as FetchTeamStatsResult, bG as FetchTeamUsersInput, bH as FetchTeamUsersResult, an as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ak as GetSecurityInfoInput, al as GetSecurityInfoResult, ap as GetSecurityInfoSBOMInput, aq as GetSecurityInfoSBOMResult, a3 as InitiateLoginInput, a4 as InitiateLoginResult, n as InstallInstructions, I as InstallOptions, o as InstallStep, aK as InstallType, be as Instance, bI as InviteUserInput, bJ as InviteUserResult, aM as KubernetesDistribution, bn as ListBundlesResult, a2 as ListReleasesResult, a8 as ListSupportBundlesInput, a9 as ListSupportBundlesResult, N as NetworkAvailability, ax as NotificationSetting, W as PortalActionContext, X as PortalActionVisibility, Y as PortalServerActionDefinition, cf as RefreshInviteInput, cg as RefreshInviteResult, aL as RegistryAvailability, a0 as ReleaseHelmChart, bO as RevokeServiceAccountInput, bP as RevokeServiceAccountResult, bQ as RotateServiceAccountTokenInput, bR as RotateServiceAccountTokenResult, bc as SAMLConfig, ao as SBOMMetadata, am as SecurityInfoDiff, ah as SecurityInstallType, S as SecurityReleaseImage, ai as SecurityScanSummary, aj as SecurityScanWrapper, bd as ServiceAccount, i as ServiceAccountData, bA as ServiceAccountSummary, bm as SupportBundleActionResult, aa as SupportBundleInsight, q as SupportBundleSummary, bv as SwitchCustomerInput, bw as SwitchCustomerResult, bk as TeamForUserSettings, bf as TeamUser, bY as ToggleSamlEnabledInput, bZ as ToggleSamlEnabledResult, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, bW as UpdateSamlConfigInput, bX as UpdateSamlConfigResult, av as UpdateUserInput, aw as UpdateUserResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, cn as UserContext, co as UserPermissions, au as UserProfile, cm as UserResult, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, ce as acceptInvite, aV as createInstallOptionsAction, g as createServiceAccount, aZ as createServiceAccountAction, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, bp as deleteSupportBundleAction, c2 as deleteUser, b0 as deleteUserAction, ca as deprovisionSaml, b9 as deprovisionSamlAction, aY as discardInstallationAction, O as downloadSecuritySBOM, x as downloadSupportBundle, bo as downloadSupportBundleAction, bb as fetchAppFeatures, ck as fetchAppInfo, aU as fetchChannelReleasesAction, Q as fetchCurrentUser, bg as fetchCurrentUserAction, s as fetchCustomBranding, bx as fetchCustomers, J as fetchDashboardComposite, bF as fetchDashboardInstances, cj as fetchDocumentation, c6 as fetchInstances, b5 as fetchInstancesAction, T as fetchNotifications, bi as fetchNotificationsAction, aT as fetchPendingInstallationsAction, c7 as fetchSamlConfig, b6 as fetchSamlConfigAction, c3 as fetchServiceAccounts, b1 as fetchServiceAccountsAction, bE as fetchTeamStats, c0 as fetchTeamUsers, a_ as fetchTeamUsersAction, bl as fetchTeamsForUserSettings, cl as fetchUser, br as getApiOrigin, E as getCustomerIdFromToken, aW as getInstallOptionsAction, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, c1 as inviteUser, a$ as inviteUserAction, t as listReleases, w as listSupportBundles, bq as listSupportBundlesAction, ch as refreshInvite, c4 as revokeServiceAccount, b3 as revokeServiceAccountAction, c5 as rotateServiceAccountToken, b4 as rotateServiceAccountTokenAction, by as switchCustomer, c9 as toggleSamlEnabled, b8 as toggleSamlEnabledAction, aX as updateInstallOptionsAction, V as updateNotifications, bj as updateNotificationsAction, c8 as updateSamlConfig, b7 as updateSamlConfigAction, R as updateUser, bh as updateUserAction, z as uploadSupportBundle, H as verifyMagicLink } from '../index-CITwEYtK.mjs';
|
|
3
3
|
export { changeTeamAction, fetchCustomersForMenu } from './change-team.mjs';
|
|
4
4
|
export { TrialSignupPayload, TrialSignupResult, TrialSignupVerifyResult } from './trial-signup.mjs';
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { C as CustomHostnameOverrides, E as EntitlementField, b as EntitlementValue, L as License, a as LicenseChannel, P as PortalLicenseField, f as fetchLicense } from '../fetch-license-iTyF7_GY.js';
|
|
2
|
-
export { cd as AcceptInviteError, cb as AcceptInviteInput, cc as AcceptInviteResult, ba as AppFeatures, C as ChannelRelease, h as CreateServiceAccountInput, a as CreateServiceAccountResult, Z as CustomBrandingResponse, bt as Customer, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, bK as DeleteUserInput, bL as DeleteUserResult, b_ as DeprovisionSamlInput, b$ as DeprovisionSamlResult, ci as DocumentationResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, bs as FetchCustomersInput, bu as FetchCustomersResult, bC as FetchDashboardInstancesInput, bD as FetchDashboardInstancesResult, bS as FetchInstancesInput, bT as FetchInstancesResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, bU as FetchSamlConfigInput, bV as FetchSamlConfigResult, bM as FetchServiceAccountsInput, bN as FetchServiceAccountsResult, bz as FetchTeamStatsInput, bB as FetchTeamStatsResult, bG as FetchTeamUsersInput, bH as FetchTeamUsersResult, an as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ak as GetSecurityInfoInput, al as GetSecurityInfoResult, ap as GetSecurityInfoSBOMInput, aq as GetSecurityInfoSBOMResult, a3 as InitiateLoginInput, a4 as InitiateLoginResult, n as InstallInstructions, I as InstallOptions, o as InstallStep, aK as InstallType, be as Instance, bI as InviteUserInput, bJ as InviteUserResult, aM as KubernetesDistribution, bn as ListBundlesResult, a2 as ListReleasesResult, a8 as ListSupportBundlesInput, a9 as ListSupportBundlesResult, N as NetworkAvailability, ax as NotificationSetting, W as PortalActionContext, X as PortalActionVisibility, Y as PortalServerActionDefinition, cf as RefreshInviteInput, cg as RefreshInviteResult, aL as RegistryAvailability, a0 as ReleaseHelmChart, bO as RevokeServiceAccountInput, bP as RevokeServiceAccountResult, bQ as RotateServiceAccountTokenInput, bR as RotateServiceAccountTokenResult, bc as SAMLConfig, ao as SBOMMetadata, am as SecurityInfoDiff, ah as SecurityInstallType, S as SecurityReleaseImage, ai as SecurityScanSummary, aj as SecurityScanWrapper, bd as ServiceAccount, i as ServiceAccountData, bA as ServiceAccountSummary, bm as SupportBundleActionResult, aa as SupportBundleInsight, q as SupportBundleSummary, bv as SwitchCustomerInput, bw as SwitchCustomerResult, bk as TeamForUserSettings, bf as TeamUser, bY as ToggleSamlEnabledInput, bZ as ToggleSamlEnabledResult, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, bW as UpdateSamlConfigInput, bX as UpdateSamlConfigResult, av as UpdateUserInput, aw as UpdateUserResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, cn as UserContext, co as UserPermissions, au as UserProfile, cm as UserResult, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, ce as acceptInvite, aV as createInstallOptionsAction, g as createServiceAccount, aZ as createServiceAccountAction, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, bp as deleteSupportBundleAction, c2 as deleteUser, b0 as deleteUserAction, ca as deprovisionSaml, b9 as deprovisionSamlAction, aY as discardInstallationAction, O as downloadSecuritySBOM, x as downloadSupportBundle, bo as downloadSupportBundleAction, bb as fetchAppFeatures, ck as fetchAppInfo, aU as fetchChannelReleasesAction, Q as fetchCurrentUser, bg as fetchCurrentUserAction, s as fetchCustomBranding, bx as fetchCustomers, J as fetchDashboardComposite, bF as fetchDashboardInstances, cj as fetchDocumentation, c6 as fetchInstances, b5 as fetchInstancesAction, T as fetchNotifications, bi as fetchNotificationsAction, aT as fetchPendingInstallationsAction, c7 as fetchSamlConfig, b6 as fetchSamlConfigAction, c3 as fetchServiceAccounts, b1 as fetchServiceAccountsAction, bE as fetchTeamStats, c0 as fetchTeamUsers, a_ as fetchTeamUsersAction, bl as fetchTeamsForUserSettings, cl as fetchUser, br as getApiOrigin, E as getCustomerIdFromToken, aW as getInstallOptionsAction, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, c1 as inviteUser, a$ as inviteUserAction, t as listReleases, w as listSupportBundles, bq as listSupportBundlesAction, ch as refreshInvite, c4 as revokeServiceAccount, b3 as revokeServiceAccountAction, c5 as rotateServiceAccountToken, b4 as rotateServiceAccountTokenAction, by as switchCustomer, c9 as toggleSamlEnabled, b8 as toggleSamlEnabledAction, aX as updateInstallOptionsAction, V as updateNotifications, bj as updateNotificationsAction, c8 as updateSamlConfig, b7 as updateSamlConfigAction, R as updateUser, bh as updateUserAction, z as uploadSupportBundle, H as verifyMagicLink } from '../index-
|
|
2
|
+
export { cd as AcceptInviteError, cb as AcceptInviteInput, cc as AcceptInviteResult, ba as AppFeatures, C as ChannelRelease, h as CreateServiceAccountInput, a as CreateServiceAccountResult, Z as CustomBrandingResponse, bt as Customer, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, bK as DeleteUserInput, bL as DeleteUserResult, b_ as DeprovisionSamlInput, b$ as DeprovisionSamlResult, ci as DocumentationResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, bs as FetchCustomersInput, bu as FetchCustomersResult, bC as FetchDashboardInstancesInput, bD as FetchDashboardInstancesResult, bS as FetchInstancesInput, bT as FetchInstancesResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, bU as FetchSamlConfigInput, bV as FetchSamlConfigResult, bM as FetchServiceAccountsInput, bN as FetchServiceAccountsResult, bz as FetchTeamStatsInput, bB as FetchTeamStatsResult, bG as FetchTeamUsersInput, bH as FetchTeamUsersResult, an as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ak as GetSecurityInfoInput, al as GetSecurityInfoResult, ap as GetSecurityInfoSBOMInput, aq as GetSecurityInfoSBOMResult, a3 as InitiateLoginInput, a4 as InitiateLoginResult, n as InstallInstructions, I as InstallOptions, o as InstallStep, aK as InstallType, be as Instance, bI as InviteUserInput, bJ as InviteUserResult, aM as KubernetesDistribution, bn as ListBundlesResult, a2 as ListReleasesResult, a8 as ListSupportBundlesInput, a9 as ListSupportBundlesResult, N as NetworkAvailability, ax as NotificationSetting, W as PortalActionContext, X as PortalActionVisibility, Y as PortalServerActionDefinition, cf as RefreshInviteInput, cg as RefreshInviteResult, aL as RegistryAvailability, a0 as ReleaseHelmChart, bO as RevokeServiceAccountInput, bP as RevokeServiceAccountResult, bQ as RotateServiceAccountTokenInput, bR as RotateServiceAccountTokenResult, bc as SAMLConfig, ao as SBOMMetadata, am as SecurityInfoDiff, ah as SecurityInstallType, S as SecurityReleaseImage, ai as SecurityScanSummary, aj as SecurityScanWrapper, bd as ServiceAccount, i as ServiceAccountData, bA as ServiceAccountSummary, bm as SupportBundleActionResult, aa as SupportBundleInsight, q as SupportBundleSummary, bv as SwitchCustomerInput, bw as SwitchCustomerResult, bk as TeamForUserSettings, bf as TeamUser, bY as ToggleSamlEnabledInput, bZ as ToggleSamlEnabledResult, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, bW as UpdateSamlConfigInput, bX as UpdateSamlConfigResult, av as UpdateUserInput, aw as UpdateUserResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, cn as UserContext, co as UserPermissions, au as UserProfile, cm as UserResult, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, ce as acceptInvite, aV as createInstallOptionsAction, g as createServiceAccount, aZ as createServiceAccountAction, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, bp as deleteSupportBundleAction, c2 as deleteUser, b0 as deleteUserAction, ca as deprovisionSaml, b9 as deprovisionSamlAction, aY as discardInstallationAction, O as downloadSecuritySBOM, x as downloadSupportBundle, bo as downloadSupportBundleAction, bb as fetchAppFeatures, ck as fetchAppInfo, aU as fetchChannelReleasesAction, Q as fetchCurrentUser, bg as fetchCurrentUserAction, s as fetchCustomBranding, bx as fetchCustomers, J as fetchDashboardComposite, bF as fetchDashboardInstances, cj as fetchDocumentation, c6 as fetchInstances, b5 as fetchInstancesAction, T as fetchNotifications, bi as fetchNotificationsAction, aT as fetchPendingInstallationsAction, c7 as fetchSamlConfig, b6 as fetchSamlConfigAction, c3 as fetchServiceAccounts, b1 as fetchServiceAccountsAction, bE as fetchTeamStats, c0 as fetchTeamUsers, a_ as fetchTeamUsersAction, bl as fetchTeamsForUserSettings, cl as fetchUser, br as getApiOrigin, E as getCustomerIdFromToken, aW as getInstallOptionsAction, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, c1 as inviteUser, a$ as inviteUserAction, t as listReleases, w as listSupportBundles, bq as listSupportBundlesAction, ch as refreshInvite, c4 as revokeServiceAccount, b3 as revokeServiceAccountAction, c5 as rotateServiceAccountToken, b4 as rotateServiceAccountTokenAction, by as switchCustomer, c9 as toggleSamlEnabled, b8 as toggleSamlEnabledAction, aX as updateInstallOptionsAction, V as updateNotifications, bj as updateNotificationsAction, c8 as updateSamlConfig, b7 as updateSamlConfigAction, R as updateUser, bh as updateUserAction, z as uploadSupportBundle, H as verifyMagicLink } from '../index-7ibNULXY.js';
|
|
3
3
|
export { changeTeamAction, fetchCustomersForMenu } from './change-team.js';
|
|
4
4
|
export { TrialSignupPayload, TrialSignupResult, TrialSignupVerifyResult } from './trial-signup.js';
|
package/dist/actions/index.js
CHANGED
|
@@ -682,19 +682,10 @@ async function fetchAppInfoImpl() {
|
|
|
682
682
|
if (!token) {
|
|
683
683
|
return { appName, channelName };
|
|
684
684
|
}
|
|
685
|
-
try {
|
|
686
|
-
const branding = await fetchCustomBranding();
|
|
687
|
-
if (branding?.brandingData) {
|
|
688
|
-
const decoded = buffer.Buffer.from(branding.brandingData, "base64").toString("utf-8");
|
|
689
|
-
const brandingObj = JSON.parse(decoded);
|
|
690
|
-
if (brandingObj.title) {
|
|
691
|
-
appName = brandingObj.title;
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
} catch (error) {
|
|
695
|
-
console.error("[fetch-app-info] fetchCustomBranding failed", error);
|
|
696
|
-
}
|
|
697
685
|
const license = await fetchLicense();
|
|
686
|
+
if (license?.appName) {
|
|
687
|
+
appName = license.appName;
|
|
688
|
+
}
|
|
698
689
|
if (license?.releaseChannels && license.releaseChannels.length > 0) {
|
|
699
690
|
const channel = license.releaseChannels[0];
|
|
700
691
|
if (channel) {
|
|
@@ -1317,14 +1308,17 @@ var verifyMagicLink = defineServerAction({
|
|
|
1317
1308
|
return { token, raw: payload };
|
|
1318
1309
|
}
|
|
1319
1310
|
});
|
|
1320
|
-
var fetchCustomBrandingImpl = async () => {
|
|
1311
|
+
var fetchCustomBrandingImpl = async (version) => {
|
|
1321
1312
|
const appSlug = process.env.PORTAL_APP_SLUG;
|
|
1322
1313
|
if (!appSlug) {
|
|
1323
1314
|
throw new Error("PORTAL_APP_SLUG is not configured");
|
|
1324
1315
|
}
|
|
1325
|
-
|
|
1316
|
+
let url = `${getApiOrigin()}/enterprise-portal/public/branding?app_slug=${encodeURIComponent(
|
|
1326
1317
|
appSlug
|
|
1327
1318
|
)}`;
|
|
1319
|
+
if (version) {
|
|
1320
|
+
url += `&version=${encodeURIComponent(version)}`;
|
|
1321
|
+
}
|
|
1328
1322
|
if (process.env.NODE_ENV !== "production") {
|
|
1329
1323
|
console.debug(
|
|
1330
1324
|
"[portal-components] fetching custom branding via %s (Enterprise Portal API)",
|
|
@@ -1353,7 +1347,14 @@ var fetchCustomBrandingImpl = async () => {
|
|
|
1353
1347
|
background: payload.background,
|
|
1354
1348
|
backgroundImage: payload.backgroundImage,
|
|
1355
1349
|
customColor1: payload.customColor1,
|
|
1356
|
-
customColor2: payload.customColor2
|
|
1350
|
+
customColor2: payload.customColor2,
|
|
1351
|
+
headerColor: payload.headerColor,
|
|
1352
|
+
headerGradientEnd: payload.headerGradientEnd,
|
|
1353
|
+
sidebarColor: payload.sidebarColor,
|
|
1354
|
+
sidebarGradientEnd: payload.sidebarGradientEnd,
|
|
1355
|
+
contentBackgroundColor: payload.contentBackgroundColor,
|
|
1356
|
+
contentBackgroundGradientEnd: payload.contentBackgroundGradientEnd,
|
|
1357
|
+
customCSS: payload.customCSS
|
|
1357
1358
|
};
|
|
1358
1359
|
const brandingData = buffer.Buffer.from(JSON.stringify(brandingObject)).toString("base64");
|
|
1359
1360
|
return {
|