@replicated/portal-components 0.0.21 → 0.0.22
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/change-team.js +39 -0
- 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 +40 -0
- 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 +39 -0
- package/dist/actions/install-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 +39 -0
- 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 +39 -0
- 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 +39 -0
- package/dist/actions/team-settings.js.map +1 -1
- package/dist/actions/trial-signup.js +39 -0
- 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 +39 -0
- 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/airgap-instances.js +3 -2
- package/dist/airgap-instances.js.map +1 -1
- package/dist/esm/actions/change-team.js +39 -0
- package/dist/esm/actions/change-team.js.map +1 -1
- package/dist/esm/actions/index.js +40 -1
- package/dist/esm/actions/index.js.map +1 -1
- package/dist/esm/actions/install-actions.js +39 -0
- package/dist/esm/actions/install-actions.js.map +1 -1
- package/dist/esm/actions/service-account.js +39 -0
- package/dist/esm/actions/service-account.js.map +1 -1
- package/dist/esm/actions/support-bundles.js +39 -0
- package/dist/esm/actions/support-bundles.js.map +1 -1
- package/dist/esm/actions/team-settings.js +39 -0
- package/dist/esm/actions/team-settings.js.map +1 -1
- package/dist/esm/actions/trial-signup.js +39 -0
- package/dist/esm/actions/trial-signup.js.map +1 -1
- package/dist/esm/actions/user-settings.js +39 -0
- package/dist/esm/actions/user-settings.js.map +1 -1
- package/dist/esm/airgap-instances.js +3 -2
- package/dist/esm/airgap-instances.js.map +1 -1
- package/dist/esm/helm-install-wizard.js +414 -189
- package/dist/esm/helm-install-wizard.js.map +1 -1
- package/dist/esm/index.js +89 -64
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/install-actions.js +39 -0
- package/dist/esm/install-actions.js.map +1 -1
- package/dist/esm/instance-card.js +2 -1
- package/dist/esm/instance-card.js.map +1 -1
- package/dist/esm/license-details.js +39 -0
- package/dist/esm/license-details.js.map +1 -1
- package/dist/esm/linux-install-wizard.js +310 -166
- package/dist/esm/linux-install-wizard.js.map +1 -1
- package/dist/esm/logout-action.js +187 -0
- package/dist/esm/logout-action.js.map +1 -0
- package/dist/esm/logout-button.js +32 -0
- package/dist/esm/logout-button.js.map +1 -0
- package/dist/esm/markdown-renderer.js +16 -0
- package/dist/esm/markdown-renderer.js.map +1 -0
- package/dist/esm/middleware.js +3 -3
- package/dist/esm/middleware.js.map +1 -1
- package/dist/esm/online-instance-list.js +3 -2
- package/dist/esm/online-instance-list.js.map +1 -1
- package/dist/esm/saml-callback-client.js +5 -2
- package/dist/esm/saml-callback-client.js.map +1 -1
- package/dist/esm/saml-handlers.js +104 -0
- package/dist/esm/saml-handlers.js.map +1 -1
- package/dist/esm/support-bundle-collection-card.js +3 -2
- package/dist/esm/support-bundle-collection-card.js.map +1 -1
- package/dist/esm/support-bundles-card.js +2 -2
- package/dist/esm/support-bundles-card.js.map +1 -1
- package/dist/esm/support-card.js +39 -0
- package/dist/esm/support-card.js.map +1 -1
- package/dist/esm/top-nav-menu-close.js +46 -0
- package/dist/esm/top-nav-menu-close.js.map +1 -0
- package/dist/esm/top-nav.js +149 -59
- package/dist/esm/top-nav.js.map +1 -1
- package/dist/esm/trial-signup.js +6 -3
- package/dist/esm/trial-signup.js.map +1 -1
- package/dist/esm/update-layout.js +149 -59
- package/dist/esm/update-layout.js.map +1 -1
- package/dist/esm/upload-support-bundle-modal.js +2 -2
- package/dist/esm/upload-support-bundle-modal.js.map +1 -1
- package/dist/esm/user-menu-dropdown.js +52 -0
- package/dist/esm/user-menu-dropdown.js.map +1 -0
- package/dist/esm/user-settings.js +5 -5
- package/dist/esm/user-settings.js.map +1 -1
- package/dist/esm/utils/index.js +39 -0
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/helm-install-wizard.d.mts +18 -7
- package/dist/helm-install-wizard.d.ts +18 -7
- package/dist/helm-install-wizard.js +418 -189
- package/dist/helm-install-wizard.js.map +1 -1
- package/dist/{index-sMbq94M7.d.ts → index-DXy7RxOX.d.ts} +18 -1
- package/dist/{index-DyzJ0yKD.d.mts → index-JX9-CIMA.d.mts} +18 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +89 -64
- 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 +39 -0
- 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/instance-card.js +2 -1
- package/dist/instance-card.js.map +1 -1
- package/dist/license-details.js +39 -0
- package/dist/license-details.js.map +1 -1
- package/dist/linux-install-wizard.d.mts +17 -7
- package/dist/linux-install-wizard.d.ts +17 -7
- package/dist/linux-install-wizard.js +314 -166
- package/dist/linux-install-wizard.js.map +1 -1
- package/dist/logout-action.d.mts +7 -0
- package/dist/logout-action.d.ts +7 -0
- package/dist/logout-action.js +189 -0
- package/dist/logout-action.js.map +1 -0
- package/dist/logout-button.d.mts +16 -0
- package/dist/logout-button.d.ts +16 -0
- package/dist/logout-button.js +34 -0
- package/dist/logout-button.js.map +1 -0
- package/dist/markdown-renderer.d.mts +12 -0
- package/dist/markdown-renderer.d.ts +12 -0
- package/dist/markdown-renderer.js +22 -0
- package/dist/markdown-renderer.js.map +1 -0
- package/dist/middleware.js +3 -3
- package/dist/middleware.js.map +1 -1
- package/dist/online-instance-list.d.mts +1 -1
- package/dist/online-instance-list.d.ts +1 -1
- package/dist/online-instance-list.js +3 -2
- package/dist/online-instance-list.js.map +1 -1
- package/dist/pending-installations.d.mts +1 -1
- package/dist/pending-installations.d.ts +1 -1
- package/dist/saml-callback-client.js +5 -2
- package/dist/saml-callback-client.js.map +1 -1
- package/dist/saml-handlers.js +104 -0
- package/dist/saml-handlers.js.map +1 -1
- package/dist/security-card.d.mts +1 -1
- package/dist/security-card.d.ts +1 -1
- package/dist/styles.css +39 -0
- package/dist/support-bundle-collection-card.js +3 -2
- package/dist/support-bundle-collection-card.js.map +1 -1
- package/dist/support-bundles-card.d.mts +2 -2
- package/dist/support-bundles-card.d.ts +2 -2
- package/dist/support-bundles-card.js +2 -2
- package/dist/support-bundles-card.js.map +1 -1
- package/dist/support-card.js +39 -0
- package/dist/support-card.js.map +1 -1
- package/dist/top-nav-menu-close.d.mts +10 -0
- package/dist/top-nav-menu-close.d.ts +10 -0
- package/dist/top-nav-menu-close.js +48 -0
- package/dist/top-nav-menu-close.js.map +1 -0
- package/dist/top-nav.js +149 -59
- package/dist/top-nav.js.map +1 -1
- package/dist/trial-signup.js +6 -3
- package/dist/trial-signup.js.map +1 -1
- package/dist/update-layout.js +149 -59
- package/dist/update-layout.js.map +1 -1
- package/dist/upload-support-bundle-modal.js +2 -2
- package/dist/upload-support-bundle-modal.js.map +1 -1
- package/dist/user-menu-dropdown.d.mts +25 -0
- package/dist/user-menu-dropdown.d.ts +25 -0
- package/dist/user-menu-dropdown.js +59 -0
- package/dist/user-menu-dropdown.js.map +1 -0
- package/dist/user-settings.js +5 -5
- package/dist/user-settings.js.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +39 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +29 -2
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 { ch as AcceptInviteError, cf as AcceptInviteInput, cg as AcceptInviteResult, ba as AppFeatures, C as ChannelRelease, h as CreateServiceAccountInput, a as CreateServiceAccountResult, Z as CustomBrandingResponse, bx as Customer, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, bO as DeleteUserInput, bP as DeleteUserResult, c2 as DeprovisionSamlInput, c3 as DeprovisionSamlResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, bw as FetchCustomersInput, by as FetchCustomersResult, bG as FetchDashboardInstancesInput, bH as FetchDashboardInstancesResult, bW as FetchInstancesInput, bX as FetchInstancesResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, bY as FetchSamlConfigInput, bZ as FetchSamlConfigResult, bQ as FetchServiceAccountsInput, bR as FetchServiceAccountsResult, bD as FetchTeamStatsInput, bF as FetchTeamStatsResult, bK as FetchTeamUsersInput, bL 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, bM as InviteUserInput, bN as InviteUserResult, aM as KubernetesDistribution, bo 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, cj as RefreshInviteInput, ck as RefreshInviteResult, aL as RegistryAvailability, a0 as ReleaseHelmChart, bS as RevokeServiceAccountInput, bT as RevokeServiceAccountResult, bU as RotateServiceAccountTokenInput, bV 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, bE as ServiceAccountSummary, bm as SupportBundleActionResult, aa as SupportBundleInsight, q as SupportBundleSummary, bz as SwitchCustomerInput, bA as SwitchCustomerResult, bk as TeamForUserSettings, bf as TeamUser, c0 as ToggleSamlEnabledInput, c1 as ToggleSamlEnabledResult, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, b_ as UpdateSamlConfigInput, b$ as UpdateSamlConfigResult, av as UpdateUserInput, aw as UpdateUserResult, bn as UploadSupportBundleActionResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, bu as UploadSupportBundleInput, bv as UploadSupportBundleResult,
|
|
2
|
+
export { ch as AcceptInviteError, cf as AcceptInviteInput, cg as AcceptInviteResult, ba as AppFeatures, C as ChannelRelease, h as CreateServiceAccountInput, a as CreateServiceAccountResult, Z as CustomBrandingResponse, bx as Customer, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, bO as DeleteUserInput, bP as DeleteUserResult, c2 as DeprovisionSamlInput, c3 as DeprovisionSamlResult, cm as DocumentationResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, bw as FetchCustomersInput, by as FetchCustomersResult, bG as FetchDashboardInstancesInput, bH as FetchDashboardInstancesResult, bW as FetchInstancesInput, bX as FetchInstancesResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, bY as FetchSamlConfigInput, bZ as FetchSamlConfigResult, bQ as FetchServiceAccountsInput, bR as FetchServiceAccountsResult, bD as FetchTeamStatsInput, bF as FetchTeamStatsResult, bK as FetchTeamUsersInput, bL 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, bM as InviteUserInput, bN as InviteUserResult, aM as KubernetesDistribution, bo 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, cj as RefreshInviteInput, ck as RefreshInviteResult, aL as RegistryAvailability, a0 as ReleaseHelmChart, bS as RevokeServiceAccountInput, bT as RevokeServiceAccountResult, bU as RotateServiceAccountTokenInput, bV 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, bE as ServiceAccountSummary, bm as SupportBundleActionResult, aa as SupportBundleInsight, q as SupportBundleSummary, bz as SwitchCustomerInput, bA as SwitchCustomerResult, bk as TeamForUserSettings, bf as TeamUser, c0 as ToggleSamlEnabledInput, c1 as ToggleSamlEnabledResult, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, b_ as UpdateSamlConfigInput, b$ as UpdateSamlConfigResult, av as UpdateUserInput, aw as UpdateUserResult, bn as UploadSupportBundleActionResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, bu as UploadSupportBundleInput, bv as UploadSupportBundleResult, cr as UserContext, cs as UserPermissions, au as UserProfile, cq as UserResult, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, ci as acceptInvite, aV as createInstallOptionsAction, g as createServiceAccount, aZ as createServiceAccountAction, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, bq as deleteSupportBundleAction, c6 as deleteUser, b0 as deleteUserAction, ce as deprovisionSaml, b9 as deprovisionSamlAction, aY as discardInstallationAction, O as downloadSecuritySBOM, x as downloadSupportBundle, bp as downloadSupportBundleAction, bb as fetchAppFeatures, co as fetchAppInfo, aU as fetchChannelReleasesAction, Q as fetchCurrentUser, bg as fetchCurrentUserAction, s as fetchCustomBranding, bB as fetchCustomers, J as fetchDashboardComposite, bJ as fetchDashboardInstances, cn as fetchDocumentation, ca as fetchInstances, b5 as fetchInstancesAction, T as fetchNotifications, bi as fetchNotificationsAction, aT as fetchPendingInstallationsAction, cb as fetchSamlConfig, b6 as fetchSamlConfigAction, c7 as fetchServiceAccounts, b1 as fetchServiceAccountsAction, bI as fetchTeamStats, c4 as fetchTeamUsers, a_ as fetchTeamUsersAction, bl as fetchTeamsForUserSettings, cp as fetchUser, bt as getApiOrigin, E as getCustomerIdFromToken, aW as getInstallOptionsAction, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, c5 as inviteUser, a$ as inviteUserAction, t as listReleases, w as listSupportBundles, bs as listSupportBundlesAction, cl as refreshInvite, c8 as revokeServiceAccount, b3 as revokeServiceAccountAction, c9 as rotateServiceAccountToken, b4 as rotateServiceAccountTokenAction, bC as switchCustomer, cd as toggleSamlEnabled, b8 as toggleSamlEnabledAction, aX as updateInstallOptionsAction, V as updateNotifications, bj as updateNotificationsAction, cc as updateSamlConfig, b7 as updateSamlConfigAction, R as updateUser, bh as updateUserAction, z as uploadSupportBundle, br as uploadSupportBundleAction, H as verifyMagicLink } from '../index-JX9-CIMA.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 { ch as AcceptInviteError, cf as AcceptInviteInput, cg as AcceptInviteResult, ba as AppFeatures, C as ChannelRelease, h as CreateServiceAccountInput, a as CreateServiceAccountResult, Z as CustomBrandingResponse, bx as Customer, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, bO as DeleteUserInput, bP as DeleteUserResult, c2 as DeprovisionSamlInput, c3 as DeprovisionSamlResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, bw as FetchCustomersInput, by as FetchCustomersResult, bG as FetchDashboardInstancesInput, bH as FetchDashboardInstancesResult, bW as FetchInstancesInput, bX as FetchInstancesResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, bY as FetchSamlConfigInput, bZ as FetchSamlConfigResult, bQ as FetchServiceAccountsInput, bR as FetchServiceAccountsResult, bD as FetchTeamStatsInput, bF as FetchTeamStatsResult, bK as FetchTeamUsersInput, bL 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, bM as InviteUserInput, bN as InviteUserResult, aM as KubernetesDistribution, bo 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, cj as RefreshInviteInput, ck as RefreshInviteResult, aL as RegistryAvailability, a0 as ReleaseHelmChart, bS as RevokeServiceAccountInput, bT as RevokeServiceAccountResult, bU as RotateServiceAccountTokenInput, bV 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, bE as ServiceAccountSummary, bm as SupportBundleActionResult, aa as SupportBundleInsight, q as SupportBundleSummary, bz as SwitchCustomerInput, bA as SwitchCustomerResult, bk as TeamForUserSettings, bf as TeamUser, c0 as ToggleSamlEnabledInput, c1 as ToggleSamlEnabledResult, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, b_ as UpdateSamlConfigInput, b$ as UpdateSamlConfigResult, av as UpdateUserInput, aw as UpdateUserResult, bn as UploadSupportBundleActionResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, bu as UploadSupportBundleInput, bv as UploadSupportBundleResult,
|
|
2
|
+
export { ch as AcceptInviteError, cf as AcceptInviteInput, cg as AcceptInviteResult, ba as AppFeatures, C as ChannelRelease, h as CreateServiceAccountInput, a as CreateServiceAccountResult, Z as CustomBrandingResponse, bx as Customer, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, bO as DeleteUserInput, bP as DeleteUserResult, c2 as DeprovisionSamlInput, c3 as DeprovisionSamlResult, cm as DocumentationResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, bw as FetchCustomersInput, by as FetchCustomersResult, bG as FetchDashboardInstancesInput, bH as FetchDashboardInstancesResult, bW as FetchInstancesInput, bX as FetchInstancesResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, bY as FetchSamlConfigInput, bZ as FetchSamlConfigResult, bQ as FetchServiceAccountsInput, bR as FetchServiceAccountsResult, bD as FetchTeamStatsInput, bF as FetchTeamStatsResult, bK as FetchTeamUsersInput, bL 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, bM as InviteUserInput, bN as InviteUserResult, aM as KubernetesDistribution, bo 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, cj as RefreshInviteInput, ck as RefreshInviteResult, aL as RegistryAvailability, a0 as ReleaseHelmChart, bS as RevokeServiceAccountInput, bT as RevokeServiceAccountResult, bU as RotateServiceAccountTokenInput, bV 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, bE as ServiceAccountSummary, bm as SupportBundleActionResult, aa as SupportBundleInsight, q as SupportBundleSummary, bz as SwitchCustomerInput, bA as SwitchCustomerResult, bk as TeamForUserSettings, bf as TeamUser, c0 as ToggleSamlEnabledInput, c1 as ToggleSamlEnabledResult, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, b_ as UpdateSamlConfigInput, b$ as UpdateSamlConfigResult, av as UpdateUserInput, aw as UpdateUserResult, bn as UploadSupportBundleActionResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, bu as UploadSupportBundleInput, bv as UploadSupportBundleResult, cr as UserContext, cs as UserPermissions, au as UserProfile, cq as UserResult, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, ci as acceptInvite, aV as createInstallOptionsAction, g as createServiceAccount, aZ as createServiceAccountAction, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, bq as deleteSupportBundleAction, c6 as deleteUser, b0 as deleteUserAction, ce as deprovisionSaml, b9 as deprovisionSamlAction, aY as discardInstallationAction, O as downloadSecuritySBOM, x as downloadSupportBundle, bp as downloadSupportBundleAction, bb as fetchAppFeatures, co as fetchAppInfo, aU as fetchChannelReleasesAction, Q as fetchCurrentUser, bg as fetchCurrentUserAction, s as fetchCustomBranding, bB as fetchCustomers, J as fetchDashboardComposite, bJ as fetchDashboardInstances, cn as fetchDocumentation, ca as fetchInstances, b5 as fetchInstancesAction, T as fetchNotifications, bi as fetchNotificationsAction, aT as fetchPendingInstallationsAction, cb as fetchSamlConfig, b6 as fetchSamlConfigAction, c7 as fetchServiceAccounts, b1 as fetchServiceAccountsAction, bI as fetchTeamStats, c4 as fetchTeamUsers, a_ as fetchTeamUsersAction, bl as fetchTeamsForUserSettings, cp as fetchUser, bt as getApiOrigin, E as getCustomerIdFromToken, aW as getInstallOptionsAction, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, c5 as inviteUser, a$ as inviteUserAction, t as listReleases, w as listSupportBundles, bs as listSupportBundlesAction, cl as refreshInvite, c8 as revokeServiceAccount, b3 as revokeServiceAccountAction, c9 as rotateServiceAccountToken, b4 as rotateServiceAccountTokenAction, bC as switchCustomer, cd as toggleSamlEnabled, b8 as toggleSamlEnabledAction, aX as updateInstallOptionsAction, V as updateNotifications, bj as updateNotificationsAction, cc as updateSamlConfig, b7 as updateSamlConfigAction, R as updateUser, bh as updateUserAction, z as uploadSupportBundle, br as uploadSupportBundleAction, H as verifyMagicLink } from '../index-DXy7RxOX.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
|
@@ -2747,6 +2747,45 @@ var refreshInvite = defineServerAction({
|
|
|
2747
2747
|
return { success: true };
|
|
2748
2748
|
}
|
|
2749
2749
|
});
|
|
2750
|
+
var fetchDocumentationImpl = async () => {
|
|
2751
|
+
const { cookies: cookies9 } = await import('next/headers');
|
|
2752
|
+
const sessionStore = await cookies9();
|
|
2753
|
+
const session = sessionStore.get("portal_session");
|
|
2754
|
+
const token = session?.value;
|
|
2755
|
+
if (!token) {
|
|
2756
|
+
throw new Error("Authentication required");
|
|
2757
|
+
}
|
|
2758
|
+
const url = `${getApiOrigin()}/enterprise-portal/documentation`;
|
|
2759
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2760
|
+
console.debug(
|
|
2761
|
+
"[portal-components] fetching documentation via %s (Enterprise Portal API)",
|
|
2762
|
+
url
|
|
2763
|
+
);
|
|
2764
|
+
}
|
|
2765
|
+
const response = await authenticatedFetch(url, {
|
|
2766
|
+
method: "GET",
|
|
2767
|
+
token,
|
|
2768
|
+
headers: {
|
|
2769
|
+
accept: "application/json"
|
|
2770
|
+
}
|
|
2771
|
+
});
|
|
2772
|
+
if (!response.ok) {
|
|
2773
|
+
throw new Error(
|
|
2774
|
+
`Documentation request failed (${response.status} ${response.statusText})`
|
|
2775
|
+
);
|
|
2776
|
+
}
|
|
2777
|
+
const data = await response.json();
|
|
2778
|
+
return {
|
|
2779
|
+
helmPreInstall: data.helmPreInstall || "",
|
|
2780
|
+
helmPostInstall: data.helmPostInstall || "",
|
|
2781
|
+
embeddedClusterPreInstall: data.embeddedClusterPreInstall || "",
|
|
2782
|
+
embeddedClusterPostInstall: data.embeddedClusterPostInstall || "",
|
|
2783
|
+
helmInstallUrl: data.helmInstallUrl || "",
|
|
2784
|
+
embeddedClusterInstallUrl: data.embeddedClusterInstallUrl || "",
|
|
2785
|
+
valuesOverrideUrl: data.valuesOverrideUrl || ""
|
|
2786
|
+
};
|
|
2787
|
+
};
|
|
2788
|
+
var fetchDocumentation = react.cache(fetchDocumentationImpl);
|
|
2750
2789
|
|
|
2751
2790
|
exports.acceptInvite = acceptInvite;
|
|
2752
2791
|
exports.changeTeamAction = changeTeamAction;
|
|
@@ -2775,6 +2814,7 @@ exports.fetchCustomers = fetchCustomers;
|
|
|
2775
2814
|
exports.fetchCustomersForMenu = fetchCustomersForMenu;
|
|
2776
2815
|
exports.fetchDashboardComposite = fetchDashboardComposite;
|
|
2777
2816
|
exports.fetchDashboardInstances = fetchDashboardInstances;
|
|
2817
|
+
exports.fetchDocumentation = fetchDocumentation;
|
|
2778
2818
|
exports.fetchInstances = fetchInstances;
|
|
2779
2819
|
exports.fetchInstancesAction = fetchInstancesAction;
|
|
2780
2820
|
exports.fetchLicense = fetchLicense;
|