@burdenoff/microfe-devportal 2026.1107.3 → 2026.1108.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/utils/renderWithProviders.d.ts +0 -2
- package/dist/_virtual/_rolldown/runtime.js +4 -5
- package/dist/dev/main.d.ts +0 -1
- package/dist/devportal/AdminDevportalRoot.d.ts +0 -2
- package/dist/devportal/AdminDevportalRoot.js +9 -6
- package/dist/devportal/AdminDevportalRoot.js.map +1 -1
- package/dist/devportal/AdminDevportalRoutes.d.ts +1 -2
- package/dist/devportal/AdminDevportalRoutes.js +1 -2
- package/dist/devportal/AdminDevportalRoutes.js.map +1 -1
- package/dist/devportal/DevportalRoot.d.ts +0 -2
- package/dist/devportal/DevportalRoot.js +13 -10
- package/dist/devportal/DevportalRoot.js.map +1 -1
- package/dist/devportal/DevportalRoutes.d.ts +1 -2
- package/dist/devportal/DevportalRoutes.js +46 -40
- package/dist/devportal/DevportalRoutes.js.map +1 -1
- package/dist/devportal/components/AppCard.d.ts +0 -2
- package/dist/devportal/components/AppCard.js +21 -22
- package/dist/devportal/components/AppCard.js.map +1 -1
- package/dist/devportal/components/ConfirmDialog.d.ts +0 -2
- package/dist/devportal/components/ConfirmDialog.js +9 -10
- package/dist/devportal/components/ConfirmDialog.js.map +1 -1
- package/dist/devportal/components/DataTable.d.ts +1 -3
- package/dist/devportal/components/DataTable.js +20 -21
- package/dist/devportal/components/DataTable.js.map +1 -1
- package/dist/devportal/components/EmptyState.d.ts +0 -2
- package/dist/devportal/components/EmptyState.js +1 -2
- package/dist/devportal/components/EmptyState.js.map +1 -1
- package/dist/devportal/components/FeatureFlaggedRoute.d.ts +0 -2
- package/dist/devportal/components/FeatureFlaggedRoute.js +1 -2
- package/dist/devportal/components/FeatureFlaggedRoute.js.map +1 -1
- package/dist/devportal/components/FormField.d.ts +0 -2
- package/dist/devportal/components/FormField.js +23 -24
- package/dist/devportal/components/FormField.js.map +1 -1
- package/dist/devportal/components/GrantDelegationModal.d.ts +0 -2
- package/dist/devportal/components/GrantDelegationModal.js +1 -2
- package/dist/devportal/components/GrantDelegationModal.js.map +1 -1
- package/dist/devportal/components/ImageUploadField.d.ts +0 -2
- package/dist/devportal/components/ImageUploadField.js +1 -2
- package/dist/devportal/components/ImageUploadField.js.map +1 -1
- package/dist/devportal/components/LoadingState.d.ts +0 -2
- package/dist/devportal/components/LoadingState.js +6 -7
- package/dist/devportal/components/LoadingState.js.map +1 -1
- package/dist/devportal/components/ManifestViewer.d.ts +0 -2
- package/dist/devportal/components/ManifestViewer.js +1 -2
- package/dist/devportal/components/ManifestViewer.js.map +1 -1
- package/dist/devportal/components/MarkdownEditor.d.ts +0 -2
- package/dist/devportal/components/MarkdownEditor.js +1 -2
- package/dist/devportal/components/MarkdownEditor.js.map +1 -1
- package/dist/devportal/components/MultiSelectCombobox.d.ts +1 -2
- package/dist/devportal/components/MultiSelectCombobox.js +1 -2
- package/dist/devportal/components/MultiSelectCombobox.js.map +1 -1
- package/dist/devportal/components/NodeSmokePanel.d.ts +0 -2
- package/dist/devportal/components/NodeSmokePanel.js +17 -18
- package/dist/devportal/components/NodeSmokePanel.js.map +1 -1
- package/dist/devportal/components/OnboardingChecklist.d.ts +0 -2
- package/dist/devportal/components/OnboardingChecklist.js +15 -16
- package/dist/devportal/components/OnboardingChecklist.js.map +1 -1
- package/dist/devportal/components/PackageValidationPanel.d.ts +0 -2
- package/dist/devportal/components/PackageValidationPanel.js +12 -13
- package/dist/devportal/components/PackageValidationPanel.js.map +1 -1
- package/dist/devportal/components/PageLayout.d.ts +0 -2
- package/dist/devportal/components/PageLayout.js +16 -17
- package/dist/devportal/components/PageLayout.js.map +1 -1
- package/dist/devportal/components/PermissionGuard.d.ts +0 -2
- package/dist/devportal/components/PermissionGuard.js +5 -6
- package/dist/devportal/components/PermissionGuard.js.map +1 -1
- package/dist/devportal/components/RegisterPickupLocationModal.d.ts +0 -2
- package/dist/devportal/components/RegisterPickupLocationModal.js +13 -14
- package/dist/devportal/components/RegisterPickupLocationModal.js.map +1 -1
- package/dist/devportal/components/ReportOrderIssueModal.d.ts +0 -2
- package/dist/devportal/components/ReportOrderIssueModal.js +1 -2
- package/dist/devportal/components/ReportOrderIssueModal.js.map +1 -1
- package/dist/devportal/components/SecretDisplay.d.ts +0 -2
- package/dist/devportal/components/SecretDisplay.js +8 -9
- package/dist/devportal/components/SecretDisplay.js.map +1 -1
- package/dist/devportal/components/SectionNav.d.ts +0 -2
- package/dist/devportal/components/SectionNav.js +11 -12
- package/dist/devportal/components/SectionNav.js.map +1 -1
- package/dist/devportal/components/SelectionCheckbox.d.ts +1 -2
- package/dist/devportal/components/SelectionCheckbox.js +1 -2
- package/dist/devportal/components/SelectionCheckbox.js.map +1 -1
- package/dist/devportal/components/StatCard.d.ts +0 -2
- package/dist/devportal/components/StatCard.js +1 -2
- package/dist/devportal/components/StatCard.js.map +1 -1
- package/dist/devportal/components/StatusBadge.d.ts +0 -2
- package/dist/devportal/components/StatusBadge.js +18 -19
- package/dist/devportal/components/StatusBadge.js.map +1 -1
- package/dist/devportal/components/TelemetryErrorBoundary.d.ts +0 -2
- package/dist/devportal/components/TelemetryErrorBoundary.js +1 -2
- package/dist/devportal/components/TelemetryErrorBoundary.js.map +1 -1
- package/dist/devportal/components/index.d.ts +0 -1
- package/dist/devportal/components/index.js +22 -21
- package/dist/devportal/constants/appCategories.d.ts +0 -1
- package/dist/devportal/constants/appCategories.js +1 -2
- package/dist/devportal/constants/appCategories.js.map +1 -1
- package/dist/devportal/constants/developerLinks.d.ts +0 -1
- package/dist/devportal/constants/developerLinks.js +23 -23
- package/dist/devportal/constants/developerLinks.js.map +1 -1
- package/dist/devportal/constants/permissions.d.ts +0 -1
- package/dist/devportal/constants/permissions.js +1 -2
- package/dist/devportal/constants/permissions.js.map +1 -1
- package/dist/devportal/events/index.d.ts +0 -1
- package/dist/devportal/events/index.js +1 -2
- package/dist/devportal/events/index.js.map +1 -1
- package/dist/devportal/hooks/DevPortalProvider.d.ts +1 -3
- package/dist/devportal/hooks/DevPortalProvider.js +2 -3
- package/dist/devportal/hooks/DevPortalProvider.js.map +1 -1
- package/dist/devportal/hooks/index.d.ts +0 -1
- package/dist/devportal/hooks/index.js +6 -5
- package/dist/devportal/hooks/useCarrierPickupLocations.d.ts +0 -1
- package/dist/devportal/hooks/useCarrierPickupLocations.js +1 -2
- package/dist/devportal/hooks/useCarrierPickupLocations.js.map +1 -1
- package/dist/devportal/hooks/useGraphQL.d.ts +0 -2
- package/dist/devportal/hooks/useGraphQL.js +42 -53
- package/dist/devportal/hooks/useGraphQL.js.map +1 -1
- package/dist/devportal/hooks/useIsSellerSection.d.ts +0 -1
- package/dist/devportal/hooks/useIsSellerSection.js +1 -2
- package/dist/devportal/hooks/useIsSellerSection.js.map +1 -1
- package/dist/devportal/hooks/useOrganizationPickupAddresses.d.ts +0 -1
- package/dist/devportal/hooks/useOrganizationPickupAddresses.js +3 -8
- package/dist/devportal/hooks/useOrganizationPickupAddresses.js.map +1 -1
- package/dist/devportal/hooks/usePackageUpload.d.ts +0 -1
- package/dist/devportal/hooks/usePackageUpload.js +4 -4
- package/dist/devportal/hooks/usePackageUpload.js.map +1 -1
- package/dist/devportal/hooks/usePermission.d.ts +0 -2
- package/dist/devportal/hooks/usePermission.js +2 -3
- package/dist/devportal/hooks/usePermission.js.map +1 -1
- package/dist/devportal/hooks/useProducts.d.ts +0 -1
- package/dist/devportal/hooks/useProducts.js +1 -2
- package/dist/devportal/hooks/useProducts.js.map +1 -1
- package/dist/devportal/hooks/useSellerOrganization.d.ts +0 -1
- package/dist/devportal/hooks/useSellerOrganization.js +1 -2
- package/dist/devportal/hooks/useSellerOrganization.js.map +1 -1
- package/dist/devportal/index.d.ts +0 -1
- package/dist/devportal/index.js +13 -12
- package/dist/devportal/pages/AdminOrganizationVerificationPage.d.ts +0 -2
- package/dist/devportal/pages/AdminOrganizationVerificationPage.js +13 -13
- package/dist/devportal/pages/AdminOrganizationVerificationPage.js.map +1 -1
- package/dist/devportal/pages/AdminReviewPage.d.ts +0 -2
- package/dist/devportal/pages/AdminReviewPage.js +134 -135
- package/dist/devportal/pages/AdminReviewPage.js.map +1 -1
- package/dist/devportal/pages/AnalyticsDashboardPage.d.ts +0 -2
- package/dist/devportal/pages/AnalyticsDashboardPage.js +66 -67
- package/dist/devportal/pages/AnalyticsDashboardPage.js.map +1 -1
- package/dist/devportal/pages/ApiKeysPage.d.ts +0 -2
- package/dist/devportal/pages/ApiKeysPage.js +127 -128
- package/dist/devportal/pages/ApiKeysPage.js.map +1 -1
- package/dist/devportal/pages/AppLogsPage.d.ts +0 -2
- package/dist/devportal/pages/AppLogsPage.js +18 -19
- package/dist/devportal/pages/AppLogsPage.js.map +1 -1
- package/dist/devportal/pages/ApplicationDetailPage.d.ts +0 -2
- package/dist/devportal/pages/ApplicationDetailPage.js +779 -778
- package/dist/devportal/pages/ApplicationDetailPage.js.map +1 -1
- package/dist/devportal/pages/ApplicationVersionsPage.d.ts +0 -2
- package/dist/devportal/pages/ApplicationVersionsPage.js +482 -483
- package/dist/devportal/pages/ApplicationVersionsPage.js.map +1 -1
- package/dist/devportal/pages/ApplicationsPage.d.ts +0 -2
- package/dist/devportal/pages/ApplicationsPage.js +35 -36
- package/dist/devportal/pages/ApplicationsPage.js.map +1 -1
- package/dist/devportal/pages/CreateApiKeyPage.d.ts +0 -2
- package/dist/devportal/pages/CreateApiKeyPage.js +39 -39
- package/dist/devportal/pages/CreateApiKeyPage.js.map +1 -1
- package/dist/devportal/pages/CreateApplicationPage.d.ts +0 -2
- package/dist/devportal/pages/CreateApplicationPage.js +136 -137
- package/dist/devportal/pages/CreateApplicationPage.js.map +1 -1
- package/dist/devportal/pages/CreateOAuthClientPage.d.ts +0 -2
- package/dist/devportal/pages/CreateOAuthClientPage.js +25 -24
- package/dist/devportal/pages/CreateOAuthClientPage.js.map +1 -1
- package/dist/devportal/pages/CreateOrganizationPage.d.ts +0 -2
- package/dist/devportal/pages/CreateOrganizationPage.js +32 -39
- package/dist/devportal/pages/CreateOrganizationPage.js.map +1 -1
- package/dist/devportal/pages/CreatePhysicalItemPage.d.ts +0 -2
- package/dist/devportal/pages/CreatePhysicalItemPage.js +102 -103
- package/dist/devportal/pages/CreatePhysicalItemPage.js.map +1 -1
- package/dist/devportal/pages/CreateWebhookPage.d.ts +0 -2
- package/dist/devportal/pages/CreateWebhookPage.js +31 -32
- package/dist/devportal/pages/CreateWebhookPage.js.map +1 -1
- package/dist/devportal/pages/DashboardPage.d.ts +0 -2
- package/dist/devportal/pages/DashboardPage.js +21 -22
- package/dist/devportal/pages/DashboardPage.js.map +1 -1
- package/dist/devportal/pages/DelegationsPage.d.ts +0 -2
- package/dist/devportal/pages/DelegationsPage.js +83 -84
- package/dist/devportal/pages/DelegationsPage.js.map +1 -1
- package/dist/devportal/pages/DocumentationPage.d.ts +0 -2
- package/dist/devportal/pages/DocumentationPage.js +1 -2
- package/dist/devportal/pages/DocumentationPage.js.map +1 -1
- package/dist/devportal/pages/EditApplicationPage.d.ts +0 -2
- package/dist/devportal/pages/EditApplicationPage.js +69 -70
- package/dist/devportal/pages/EditApplicationPage.js.map +1 -1
- package/dist/devportal/pages/EditPhysicalItemPage.d.ts +0 -2
- package/dist/devportal/pages/EditPhysicalItemPage.js +334 -335
- package/dist/devportal/pages/EditPhysicalItemPage.js.map +1 -1
- package/dist/devportal/pages/InvitationDecisionPage.d.ts +0 -2
- package/dist/devportal/pages/InvitationDecisionPage.js +16 -17
- package/dist/devportal/pages/InvitationDecisionPage.js.map +1 -1
- package/dist/devportal/pages/ListingPreviewPage.d.ts +0 -2
- package/dist/devportal/pages/ListingPreviewPage.js +14 -15
- package/dist/devportal/pages/ListingPreviewPage.js.map +1 -1
- package/dist/devportal/pages/NodeLifecyclePage.d.ts +0 -2
- package/dist/devportal/pages/NodeLifecyclePage.js +216 -221
- package/dist/devportal/pages/NodeLifecyclePage.js.map +1 -1
- package/dist/devportal/pages/OAuthCallbackPage.d.ts +0 -2
- package/dist/devportal/pages/OAuthCallbackPage.js +4 -5
- package/dist/devportal/pages/OAuthCallbackPage.js.map +1 -1
- package/dist/devportal/pages/OAuthClientDetailPage.d.ts +0 -2
- package/dist/devportal/pages/OAuthClientDetailPage.js +17 -16
- package/dist/devportal/pages/OAuthClientDetailPage.js.map +1 -1
- package/dist/devportal/pages/OAuthClientsPage.d.ts +0 -2
- package/dist/devportal/pages/OAuthClientsPage.js +18 -19
- package/dist/devportal/pages/OAuthClientsPage.js.map +1 -1
- package/dist/devportal/pages/OrganizationDetailPage.d.ts +0 -2
- package/dist/devportal/pages/OrganizationDetailPage.js +444 -450
- package/dist/devportal/pages/OrganizationDetailPage.js.map +1 -1
- package/dist/devportal/pages/OrganizationMembersPage.d.ts +0 -2
- package/dist/devportal/pages/OrganizationMembersPage.js +240 -241
- package/dist/devportal/pages/OrganizationMembersPage.js.map +1 -1
- package/dist/devportal/pages/OrganizationsPage.d.ts +0 -2
- package/dist/devportal/pages/OrganizationsPage.js +34 -35
- package/dist/devportal/pages/OrganizationsPage.js.map +1 -1
- package/dist/devportal/pages/PublishPage.d.ts +0 -2
- package/dist/devportal/pages/PublishPage.js +90 -91
- package/dist/devportal/pages/PublishPage.js.map +1 -1
- package/dist/devportal/pages/PublisherPayoutsPage.d.ts +19 -0
- package/dist/devportal/pages/PublisherPayoutsPage.js +650 -0
- package/dist/devportal/pages/PublisherPayoutsPage.js.map +1 -0
- package/dist/devportal/pages/PublisherProfilePage.d.ts +0 -2
- package/dist/devportal/pages/PublisherProfilePage.js +175 -163
- package/dist/devportal/pages/PublisherProfilePage.js.map +1 -1
- package/dist/devportal/pages/ResourcesPage.d.ts +0 -2
- package/dist/devportal/pages/ResourcesPage.js +17 -18
- package/dist/devportal/pages/ResourcesPage.js.map +1 -1
- package/dist/devportal/pages/RevenueDashboardPage.d.ts +0 -2
- package/dist/devportal/pages/RevenueDashboardPage.js +308 -308
- package/dist/devportal/pages/RevenueDashboardPage.js.map +1 -1
- package/dist/devportal/pages/RevenueRedirectPage.d.ts +0 -2
- package/dist/devportal/pages/SellerDashboardPage.d.ts +0 -2
- package/dist/devportal/pages/SellerDashboardPage.js +14 -15
- package/dist/devportal/pages/SellerDashboardPage.js.map +1 -1
- package/dist/devportal/pages/SellerItemsPage.d.ts +0 -2
- package/dist/devportal/pages/SellerItemsPage.js +8 -9
- package/dist/devportal/pages/SellerItemsPage.js.map +1 -1
- package/dist/devportal/pages/SellerOrdersPage.d.ts +0 -2
- package/dist/devportal/pages/SellerOrdersPage.js +10 -14
- package/dist/devportal/pages/SellerOrdersPage.js.map +1 -1
- package/dist/devportal/pages/SettingsPage.d.ts +0 -2
- package/dist/devportal/pages/SettingsPage.js +20 -21
- package/dist/devportal/pages/SettingsPage.js.map +1 -1
- package/dist/devportal/pages/SetupPage.d.ts +0 -2
- package/dist/devportal/pages/SetupPage.js +276 -277
- package/dist/devportal/pages/SetupPage.js.map +1 -1
- package/dist/devportal/pages/StoreSubmissionPage.d.ts +0 -2
- package/dist/devportal/pages/StoreSubmissionPage.js +4 -5
- package/dist/devportal/pages/StoreSubmissionPage.js.map +1 -1
- package/dist/devportal/pages/WebhookDetailPage.d.ts +0 -2
- package/dist/devportal/pages/WebhookDetailPage.js +62 -67
- package/dist/devportal/pages/WebhookDetailPage.js.map +1 -1
- package/dist/devportal/pages/WebhooksPage.d.ts +0 -2
- package/dist/devportal/pages/WebhooksPage.js +130 -131
- package/dist/devportal/pages/WebhooksPage.js.map +1 -1
- package/dist/devportal/providers/DevportalProvider.d.ts +0 -2
- package/dist/devportal/providers/DevportalProvider.js +2 -3
- package/dist/devportal/providers/DevportalProvider.js.map +1 -1
- package/dist/devportal/store/devportalStore.d.ts +0 -2
- package/dist/devportal/store/devportalStore.js +1 -2
- package/dist/devportal/store/devportalStore.js.map +1 -1
- package/dist/devportal/types/index.d.ts +0 -2
- package/dist/devportal/types/index.js +1 -2
- package/dist/devportal/types/index.js.map +1 -1
- package/dist/devportal/utils/cn.d.ts +0 -2
- package/dist/devportal/utils/cn.js +2 -3
- package/dist/devportal/utils/cn.js.map +1 -1
- package/dist/devportal/utils/constants.d.ts +0 -1
- package/dist/devportal/utils/constants.js +1 -2
- package/dist/devportal/utils/constants.js.map +1 -1
- package/dist/devportal/utils/currency.d.ts +0 -1
- package/dist/devportal/utils/currency.js +1 -2
- package/dist/devportal/utils/currency.js.map +1 -1
- package/dist/devportal/utils/developerOnboarding.d.ts +0 -1
- package/dist/devportal/utils/developerOnboarding.js +4 -5
- package/dist/devportal/utils/developerOnboarding.js.map +1 -1
- package/dist/devportal/utils/graphqlEndpoint.d.ts +0 -1
- package/dist/devportal/utils/graphqlEndpoint.js +1 -2
- package/dist/devportal/utils/graphqlEndpoint.js.map +1 -1
- package/dist/devportal/utils/i18n.d.ts +0 -1
- package/dist/devportal/utils/i18n.js +1 -2
- package/dist/devportal/utils/i18n.js.map +1 -1
- package/dist/devportal/utils/nodeLifecycle.d.ts +0 -2
- package/dist/devportal/utils/nodeLifecycle.js +6 -7
- package/dist/devportal/utils/nodeLifecycle.js.map +1 -1
- package/dist/devportal/utils/publisherPayouts.d.ts +136 -0
- package/dist/devportal/utils/publisherPayouts.js +166 -0
- package/dist/devportal/utils/publisherPayouts.js.map +1 -0
- package/dist/devportal/utils/recaptcha.d.ts +0 -1
- package/dist/devportal/utils/recaptcha.js +1 -2
- package/dist/devportal/utils/recaptcha.js.map +1 -1
- package/dist/devportal/utils/submitForReview.d.ts +0 -1
- package/dist/devportal/utils/submitForReview.js +15 -14
- package/dist/devportal/utils/submitForReview.js.map +1 -1
- package/dist/devportal/utils/uploadErrors.d.ts +0 -1
- package/dist/devportal/utils/uploadErrors.js +30 -30
- package/dist/devportal/utils/uploadErrors.js.map +1 -1
- package/dist/generated/global-operations.d.ts +2614 -2317
- package/dist/generated/global-operations.js +412 -272
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +2288 -339
- package/dist/generated/global-types.js +4 -3
- package/dist/generated/global-types.js.map +1 -1
- package/dist/generated/wspace-operations.d.ts +31 -8
- package/dist/generated/wspace-operations.js +2 -3
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +4 -24
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +1 -2
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -1
- package/dist/node_modules/@apollo/client/errors/ServerError.js +1 -2
- package/dist/node_modules/@apollo/client/errors/ServerError.js.map +1 -1
- package/dist/node_modules/@apollo/client/errors/utils.js +1 -2
- package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -1
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +7 -8
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -1
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js +16 -17
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -1
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js +5 -6
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +0 -1
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js +4 -5
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +2 -3
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +1 -2
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -1
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js +2 -3
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -1
- package/dist/node_modules/@apollo/client/version.js +2 -3
- package/dist/node_modules/@apollo/client/version.js.map +1 -1
- package/dist/node_modules/@wry/caches/lib/weak.js +1 -2
- package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -1
- package/dist/node_modules/@wry/trie/lib/index.js +2 -3
- package/dist/node_modules/@wry/trie/lib/index.js.map +1 -1
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
- package/dist/node_modules/d3-array/dist/d3-array.js +204 -0
- package/dist/node_modules/d3-array/dist/d3-array.js.map +1 -0
- package/dist/node_modules/d3-color/dist/d3-color.js +388 -0
- package/dist/node_modules/d3-color/dist/d3-color.js.map +1 -0
- package/dist/node_modules/d3-format/dist/d3-format.js +186 -0
- package/dist/node_modules/d3-format/dist/d3-format.js.map +1 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +185 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js.map +1 -0
- package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +39 -14
- package/dist/node_modules/d3-path/dist/d3-path.js.map +1 -0
- package/dist/node_modules/d3-scale/dist/d3-scale.js +622 -0
- package/dist/node_modules/d3-scale/dist/d3-scale.js.map +1 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js +901 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js.map +1 -0
- package/dist/node_modules/d3-time/dist/d3-time.js +241 -0
- package/dist/node_modules/d3-time/dist/d3-time.js.map +1 -0
- package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +229 -174
- package/dist/node_modules/d3-time-format/dist/d3-time-format.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +1 -2
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +1 -2
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/format/formatters.js +29 -22
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +3 -4
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +2 -5
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +2 -3
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +1 -2
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +1 -1
- package/dist/node_modules/date-fns/constants.js +5 -5
- package/dist/node_modules/date-fns/constants.js.map +1 -1
- package/dist/node_modules/date-fns/constructFrom.js +2 -3
- package/dist/node_modules/date-fns/constructFrom.js.map +1 -1
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +2 -3
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +1 -1
- package/dist/node_modules/date-fns/format.js +15 -16
- package/dist/node_modules/date-fns/format.js.map +1 -1
- package/dist/node_modules/date-fns/getDayOfYear.js +7 -8
- package/dist/node_modules/date-fns/getDayOfYear.js.map +1 -1
- package/dist/node_modules/date-fns/getISOWeek.js +8 -9
- package/dist/node_modules/date-fns/getISOWeek.js.map +1 -1
- package/dist/node_modules/date-fns/getISOWeekYear.js +8 -9
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/getWeek.js +8 -9
- package/dist/node_modules/date-fns/getWeek.js.map +1 -1
- package/dist/node_modules/date-fns/getWeekYear.js +9 -10
- package/dist/node_modules/date-fns/getWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/isDate.js +2 -3
- package/dist/node_modules/date-fns/isDate.js.map +1 -1
- package/dist/node_modules/date-fns/isValid.js +6 -7
- package/dist/node_modules/date-fns/isValid.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +1 -2
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +1 -2
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +1 -2
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +1 -2
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +1 -2
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +1 -2
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US.js +2 -3
- package/dist/node_modules/date-fns/locale/en-US.js.map +1 -1
- package/dist/node_modules/date-fns/startOfDay.js +2 -3
- package/dist/node_modules/date-fns/startOfDay.js.map +1 -1
- package/dist/node_modules/date-fns/startOfISOWeek.js +2 -3
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -1
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +5 -6
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/startOfWeek.js +2 -3
- package/dist/node_modules/date-fns/startOfWeek.js.map +1 -1
- package/dist/node_modules/date-fns/startOfWeekYear.js +6 -7
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/startOfYear.js +3 -4
- package/dist/node_modules/date-fns/startOfYear.js.map +1 -1
- package/dist/node_modules/date-fns/toDate.js +2 -3
- package/dist/node_modules/date-fns/toDate.js.map +1 -1
- package/dist/node_modules/decimal.js-light/decimal.js +33 -30
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
- package/dist/node_modules/eventemitter3/index.js +2 -3
- package/dist/node_modules/eventemitter3/index.js.map +1 -1
- package/dist/node_modules/fast-equals/dist/es/index.js +109 -79
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
- package/dist/node_modules/graphql-ws/dist/client.js +76 -69
- package/dist/node_modules/graphql-ws/dist/client.js.map +1 -1
- package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js +2 -3
- package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -1
- package/dist/node_modules/lodash/_DataView.js +4 -5
- package/dist/node_modules/lodash/_DataView.js.map +1 -1
- package/dist/node_modules/lodash/_Hash.js +1 -2
- package/dist/node_modules/lodash/_Hash.js.map +1 -1
- package/dist/node_modules/lodash/_ListCache.js +1 -2
- package/dist/node_modules/lodash/_ListCache.js.map +1 -1
- package/dist/node_modules/lodash/_Map.js +4 -5
- package/dist/node_modules/lodash/_Map.js.map +1 -1
- package/dist/node_modules/lodash/_MapCache.js +1 -2
- package/dist/node_modules/lodash/_MapCache.js.map +1 -1
- package/dist/node_modules/lodash/_Promise.js +4 -5
- package/dist/node_modules/lodash/_Promise.js.map +1 -1
- package/dist/node_modules/lodash/_Set.js +4 -5
- package/dist/node_modules/lodash/_Set.js.map +1 -1
- package/dist/node_modules/lodash/_SetCache.js +1 -2
- package/dist/node_modules/lodash/_SetCache.js.map +1 -1
- package/dist/node_modules/lodash/_Stack.js +3 -3
- package/dist/node_modules/lodash/_Stack.js.map +1 -1
- package/dist/node_modules/lodash/_Symbol.js +1 -2
- package/dist/node_modules/lodash/_Symbol.js.map +1 -1
- package/dist/node_modules/lodash/_Uint8Array.js +1 -2
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
- package/dist/node_modules/lodash/_WeakMap.js +4 -5
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
- package/dist/node_modules/lodash/_apply.js +1 -2
- package/dist/node_modules/lodash/_apply.js.map +1 -1
- package/dist/node_modules/lodash/_arrayEvery.js +1 -2
- package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
- package/dist/node_modules/lodash/_arrayFilter.js +1 -2
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
- package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
- package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
- package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
- package/dist/node_modules/lodash/_arrayMap.js +1 -2
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
- package/dist/node_modules/lodash/_arrayPush.js +1 -2
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
- package/dist/node_modules/lodash/_arraySome.js +1 -2
- package/dist/node_modules/lodash/_arraySome.js.map +1 -1
- package/dist/node_modules/lodash/_asciiToArray.js +1 -2
- package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
- package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
- package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
- package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
- package/dist/node_modules/lodash/_baseEach.js +1 -2
- package/dist/node_modules/lodash/_baseEach.js.map +1 -1
- package/dist/node_modules/lodash/_baseEvery.js +1 -2
- package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
- package/dist/node_modules/lodash/_baseExtremum.js +1 -2
- package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
- package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
- package/dist/node_modules/lodash/_baseFlatten.js +1 -2
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
- package/dist/node_modules/lodash/_baseFor.js +1 -2
- package/dist/node_modules/lodash/_baseFor.js.map +1 -1
- package/dist/node_modules/lodash/_baseForOwn.js +4 -5
- package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
- package/dist/node_modules/lodash/_baseGet.js +1 -2
- package/dist/node_modules/lodash/_baseGet.js.map +1 -1
- package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
- package/dist/node_modules/lodash/_baseGetTag.js +1 -2
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
- package/dist/node_modules/lodash/_baseGt.js +1 -2
- package/dist/node_modules/lodash/_baseGt.js.map +1 -1
- package/dist/node_modules/lodash/_baseHasIn.js +1 -2
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
- package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsNative.js +5 -6
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
- package/dist/node_modules/lodash/_baseIteratee.js +6 -7
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
- package/dist/node_modules/lodash/_baseKeys.js +1 -2
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
- package/dist/node_modules/lodash/_baseLt.js +1 -2
- package/dist/node_modules/lodash/_baseLt.js.map +1 -1
- package/dist/node_modules/lodash/_baseMap.js +4 -5
- package/dist/node_modules/lodash/_baseMap.js.map +1 -1
- package/dist/node_modules/lodash/_baseMatches.js +1 -2
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
- package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
- package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
- package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
- package/dist/node_modules/lodash/_baseProperty.js +1 -2
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
- package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
- package/dist/node_modules/lodash/_baseRange.js +1 -2
- package/dist/node_modules/lodash/_baseRange.js.map +1 -1
- package/dist/node_modules/lodash/_baseRest.js +1 -2
- package/dist/node_modules/lodash/_baseRest.js.map +1 -1
- package/dist/node_modules/lodash/_baseSetToString.js +5 -6
- package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
- package/dist/node_modules/lodash/_baseSlice.js +1 -2
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
- package/dist/node_modules/lodash/_baseSome.js +1 -2
- package/dist/node_modules/lodash/_baseSome.js.map +1 -1
- package/dist/node_modules/lodash/_baseSortBy.js +1 -2
- package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
- package/dist/node_modules/lodash/_baseTimes.js +1 -2
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
- package/dist/node_modules/lodash/_baseToString.js +6 -7
- package/dist/node_modules/lodash/_baseToString.js.map +1 -1
- package/dist/node_modules/lodash/_baseTrim.js +1 -2
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
- package/dist/node_modules/lodash/_baseUnary.js +1 -2
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
- package/dist/node_modules/lodash/_baseUniq.js +7 -8
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
- package/dist/node_modules/lodash/_cacheHas.js +1 -2
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_castPath.js +1 -2
- package/dist/node_modules/lodash/_castPath.js.map +1 -1
- package/dist/node_modules/lodash/_castSlice.js +1 -2
- package/dist/node_modules/lodash/_castSlice.js.map +1 -1
- package/dist/node_modules/lodash/_compareAscending.js +1 -2
- package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
- package/dist/node_modules/lodash/_compareMultiple.js +1 -2
- package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
- package/dist/node_modules/lodash/_coreJsData.js +1 -2
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
- package/dist/node_modules/lodash/_createBaseEach.js +1 -2
- package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
- package/dist/node_modules/lodash/_createBaseFor.js +1 -2
- package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
- package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
- package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
- package/dist/node_modules/lodash/_createFind.js +5 -6
- package/dist/node_modules/lodash/_createFind.js.map +1 -1
- package/dist/node_modules/lodash/_createRange.js +4 -5
- package/dist/node_modules/lodash/_createRange.js.map +1 -1
- package/dist/node_modules/lodash/_createSet.js +6 -7
- package/dist/node_modules/lodash/_createSet.js.map +1 -1
- package/dist/node_modules/lodash/_defineProperty.js +1 -2
- package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
- package/dist/node_modules/lodash/_equalArrays.js +1 -2
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
- package/dist/node_modules/lodash/_equalByTag.js +5 -6
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
- package/dist/node_modules/lodash/_equalObjects.js +1 -2
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
- package/dist/node_modules/lodash/_freeGlobal.js +1 -2
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
- package/dist/node_modules/lodash/_getAllKeys.js +1 -2
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
- package/dist/node_modules/lodash/_getMapData.js +1 -2
- package/dist/node_modules/lodash/_getMapData.js.map +1 -1
- package/dist/node_modules/lodash/_getMatchData.js +4 -5
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
- package/dist/node_modules/lodash/_getNative.js +1 -2
- package/dist/node_modules/lodash/_getNative.js.map +1 -1
- package/dist/node_modules/lodash/_getPrototype.js +1 -2
- package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
- package/dist/node_modules/lodash/_getRawTag.js +1 -2
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
- package/dist/node_modules/lodash/_getSymbols.js +1 -2
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
- package/dist/node_modules/lodash/_getTag.js +9 -10
- package/dist/node_modules/lodash/_getTag.js.map +1 -1
- package/dist/node_modules/lodash/_getValue.js +1 -2
- package/dist/node_modules/lodash/_getValue.js.map +1 -1
- package/dist/node_modules/lodash/_hasPath.js +8 -9
- package/dist/node_modules/lodash/_hasPath.js.map +1 -1
- package/dist/node_modules/lodash/_hasUnicode.js +1 -2
- package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
- package/dist/node_modules/lodash/_hashClear.js +1 -2
- package/dist/node_modules/lodash/_hashClear.js.map +1 -1
- package/dist/node_modules/lodash/_hashDelete.js +1 -2
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
- package/dist/node_modules/lodash/_hashGet.js +1 -2
- package/dist/node_modules/lodash/_hashGet.js.map +1 -1
- package/dist/node_modules/lodash/_hashHas.js +1 -2
- package/dist/node_modules/lodash/_hashHas.js.map +1 -1
- package/dist/node_modules/lodash/_hashSet.js +1 -2
- package/dist/node_modules/lodash/_hashSet.js.map +1 -1
- package/dist/node_modules/lodash/_isFlattenable.js +5 -6
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
- package/dist/node_modules/lodash/_isIndex.js +6 -7
- package/dist/node_modules/lodash/_isIndex.js.map +1 -1
- package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
- package/dist/node_modules/lodash/_isKey.js +1 -2
- package/dist/node_modules/lodash/_isKey.js.map +1 -1
- package/dist/node_modules/lodash/_isKeyable.js +1 -2
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
- package/dist/node_modules/lodash/_isMasked.js +1 -2
- package/dist/node_modules/lodash/_isMasked.js.map +1 -1
- package/dist/node_modules/lodash/_isPrototype.js +1 -2
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
- package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheClear.js +1 -2
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheGet.js +1 -2
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheHas.js +1 -2
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheSet.js +1 -2
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
- package/dist/node_modules/lodash/_mapToArray.js +1 -2
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
- package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
- package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
- package/dist/node_modules/lodash/_nativeCreate.js +1 -2
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
- package/dist/node_modules/lodash/_nativeKeys.js +1 -2
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
- package/dist/node_modules/lodash/_nodeUtil.js +1 -2
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
- package/dist/node_modules/lodash/_objectToString.js +1 -2
- package/dist/node_modules/lodash/_objectToString.js.map +1 -1
- package/dist/node_modules/lodash/_overArg.js +1 -2
- package/dist/node_modules/lodash/_overArg.js.map +1 -1
- package/dist/node_modules/lodash/_overRest.js +1 -2
- package/dist/node_modules/lodash/_overRest.js.map +1 -1
- package/dist/node_modules/lodash/_root.js +1 -2
- package/dist/node_modules/lodash/_root.js.map +1 -1
- package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
- package/dist/node_modules/lodash/_setCacheHas.js +1 -2
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_setToArray.js +1 -2
- package/dist/node_modules/lodash/_setToArray.js.map +1 -1
- package/dist/node_modules/lodash/_setToString.js +1 -2
- package/dist/node_modules/lodash/_setToString.js.map +1 -1
- package/dist/node_modules/lodash/_shortOut.js +8 -9
- package/dist/node_modules/lodash/_shortOut.js.map +1 -1
- package/dist/node_modules/lodash/_stackClear.js +1 -2
- package/dist/node_modules/lodash/_stackClear.js.map +1 -1
- package/dist/node_modules/lodash/_stackDelete.js +1 -2
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
- package/dist/node_modules/lodash/_stackGet.js +1 -2
- package/dist/node_modules/lodash/_stackGet.js.map +1 -1
- package/dist/node_modules/lodash/_stackHas.js +1 -2
- package/dist/node_modules/lodash/_stackHas.js.map +1 -1
- package/dist/node_modules/lodash/_stackSet.js +1 -2
- package/dist/node_modules/lodash/_stackSet.js.map +1 -1
- package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
- package/dist/node_modules/lodash/_stringToArray.js +4 -5
- package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
- package/dist/node_modules/lodash/_stringToPath.js +1 -2
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
- package/dist/node_modules/lodash/_toKey.js +2 -3
- package/dist/node_modules/lodash/_toKey.js.map +1 -1
- package/dist/node_modules/lodash/_toSource.js +1 -2
- package/dist/node_modules/lodash/_toSource.js.map +1 -1
- package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
- package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
- package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
- package/dist/node_modules/lodash/constant.js +1 -2
- package/dist/node_modules/lodash/constant.js.map +1 -1
- package/dist/node_modules/lodash/debounce.js +1 -2
- package/dist/node_modules/lodash/debounce.js.map +1 -1
- package/dist/node_modules/lodash/eq.js +1 -2
- package/dist/node_modules/lodash/eq.js.map +1 -1
- package/dist/node_modules/lodash/every.js +7 -8
- package/dist/node_modules/lodash/every.js.map +1 -1
- package/dist/node_modules/lodash/find.js +1 -2
- package/dist/node_modules/lodash/find.js.map +1 -1
- package/dist/node_modules/lodash/findIndex.js +4 -5
- package/dist/node_modules/lodash/findIndex.js.map +1 -1
- package/dist/node_modules/lodash/flatMap.js +1 -2
- package/dist/node_modules/lodash/flatMap.js.map +1 -1
- package/dist/node_modules/lodash/get.js +1 -2
- package/dist/node_modules/lodash/get.js.map +1 -1
- package/dist/node_modules/lodash/hasIn.js +1 -2
- package/dist/node_modules/lodash/hasIn.js.map +1 -1
- package/dist/node_modules/lodash/identity.js +1 -2
- package/dist/node_modules/lodash/identity.js.map +1 -1
- package/dist/node_modules/lodash/isArguments.js +4 -5
- package/dist/node_modules/lodash/isArguments.js.map +1 -1
- package/dist/node_modules/lodash/isArray.js +1 -2
- package/dist/node_modules/lodash/isArray.js.map +1 -1
- package/dist/node_modules/lodash/isArrayLike.js +1 -2
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
- package/dist/node_modules/lodash/isBoolean.js +1 -2
- package/dist/node_modules/lodash/isBoolean.js.map +1 -1
- package/dist/node_modules/lodash/isBuffer.js +1 -2
- package/dist/node_modules/lodash/isBuffer.js.map +1 -1
- package/dist/node_modules/lodash/isEqual.js +1 -2
- package/dist/node_modules/lodash/isEqual.js.map +1 -1
- package/dist/node_modules/lodash/isFunction.js +1 -2
- package/dist/node_modules/lodash/isFunction.js.map +1 -1
- package/dist/node_modules/lodash/isLength.js +4 -6
- package/dist/node_modules/lodash/isLength.js.map +1 -1
- package/dist/node_modules/lodash/isNaN.js +1 -2
- package/dist/node_modules/lodash/isNaN.js.map +1 -1
- package/dist/node_modules/lodash/isNil.js +1 -2
- package/dist/node_modules/lodash/isNil.js.map +1 -1
- package/dist/node_modules/lodash/isNumber.js +1 -2
- package/dist/node_modules/lodash/isNumber.js.map +1 -1
- package/dist/node_modules/lodash/isObject.js +1 -2
- package/dist/node_modules/lodash/isObject.js.map +1 -1
- package/dist/node_modules/lodash/isObjectLike.js +1 -2
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
- package/dist/node_modules/lodash/isPlainObject.js +4 -5
- package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
- package/dist/node_modules/lodash/isString.js +4 -5
- package/dist/node_modules/lodash/isString.js.map +1 -1
- package/dist/node_modules/lodash/isSymbol.js +1 -2
- package/dist/node_modules/lodash/isSymbol.js.map +1 -1
- package/dist/node_modules/lodash/isTypedArray.js +1 -2
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
- package/dist/node_modules/lodash/keys.js +1 -2
- package/dist/node_modules/lodash/keys.js.map +1 -1
- package/dist/node_modules/lodash/last.js +1 -2
- package/dist/node_modules/lodash/last.js.map +1 -1
- package/dist/node_modules/lodash/map.js +6 -7
- package/dist/node_modules/lodash/map.js.map +1 -1
- package/dist/node_modules/lodash/mapValues.js +4 -5
- package/dist/node_modules/lodash/mapValues.js.map +1 -1
- package/dist/node_modules/lodash/max.js +5 -6
- package/dist/node_modules/lodash/max.js.map +1 -1
- package/dist/node_modules/lodash/memoize.js +1 -2
- package/dist/node_modules/lodash/memoize.js.map +1 -1
- package/dist/node_modules/lodash/min.js +5 -6
- package/dist/node_modules/lodash/min.js.map +1 -1
- package/dist/node_modules/lodash/noop.js +1 -2
- package/dist/node_modules/lodash/noop.js.map +1 -1
- package/dist/node_modules/lodash/now.js +1 -2
- package/dist/node_modules/lodash/now.js.map +1 -1
- package/dist/node_modules/lodash/property.js +6 -7
- package/dist/node_modules/lodash/property.js.map +1 -1
- package/dist/node_modules/lodash/range.js +1 -2
- package/dist/node_modules/lodash/range.js.map +1 -1
- package/dist/node_modules/lodash/some.js +7 -8
- package/dist/node_modules/lodash/some.js.map +1 -1
- package/dist/node_modules/lodash/sortBy.js +1 -2
- package/dist/node_modules/lodash/sortBy.js.map +1 -1
- package/dist/node_modules/lodash/stubArray.js +1 -2
- package/dist/node_modules/lodash/stubArray.js.map +1 -1
- package/dist/node_modules/lodash/stubFalse.js +1 -2
- package/dist/node_modules/lodash/stubFalse.js.map +1 -1
- package/dist/node_modules/lodash/throttle.js +4 -5
- package/dist/node_modules/lodash/throttle.js.map +1 -1
- package/dist/node_modules/lodash/toFinite.js +2 -3
- package/dist/node_modules/lodash/toFinite.js.map +1 -1
- package/dist/node_modules/lodash/toInteger.js +1 -2
- package/dist/node_modules/lodash/toInteger.js.map +1 -1
- package/dist/node_modules/lodash/toNumber.js +4 -5
- package/dist/node_modules/lodash/toNumber.js.map +1 -1
- package/dist/node_modules/lodash/toString.js +1 -2
- package/dist/node_modules/lodash/toString.js.map +1 -1
- package/dist/node_modules/lodash/uniqBy.js +1 -2
- package/dist/node_modules/lodash/uniqBy.js.map +1 -1
- package/dist/node_modules/lodash/upperFirst.js +1 -2
- package/dist/node_modules/lodash/upperFirst.js.map +1 -1
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/object-assign/index.js.map +1 -1
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/prop-types/index.js.map +1 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
- package/dist/node_modules/prop-types/lib/has.js +1 -2
- package/dist/node_modules/prop-types/lib/has.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
- package/dist/node_modules/react-is/cjs/react-is.development.js +31 -32
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
- package/dist/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-is/index.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/Animate.js +33 -41
- package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/easing.js +1 -2
- package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/index.js +1 -2
- package/dist/node_modules/react-smooth/es6/index.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/util.js +17 -16
- package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +103 -104
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +35 -36
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +60 -67
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +45 -46
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +20 -21
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Line.js +79 -80
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +29 -30
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +23 -24
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +31 -32
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +2 -5
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/LineChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Cursor.js +17 -18
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +35 -36
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +16 -17
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Label.js +85 -86
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/LabelList.js +20 -21
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Legend.js +26 -23
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +16 -17
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Text.js +18 -21
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +3 -4
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
- package/dist/node_modules/recharts/es6/container/Layer.js +5 -6
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
- package/dist/node_modules/recharts/es6/container/Surface.js +5 -6
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +21 -21
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Cross.js +4 -5
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Dot.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +24 -25
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +33 -34
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/Events.js +0 -1
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +4 -5
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +11 -12
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +5 -6
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/types.js +2 -3
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
- package/dist/node_modules/recharts-scale/es6/index.js +1 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
- package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +2 -3
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +41 -42
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +14 -15
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +21 -18
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +2 -3
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +1 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +229 -167
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
- package/dist/node_modules/{rxjs/node_modules/tslib → tslib}/tslib.es6.js +1 -2
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -1
- package/dist/test/happydom.d.ts +1 -0
- package/dist/translations/en.d.ts +91 -1
- package/dist/translations/en.js +92 -2
- package/dist/translations/en.js.map +1 -1
- package/dist/utils/nativeBridge.d.ts +0 -1
- package/dist/utils/nativeBridge.js +1 -2
- package/package.json +76 -60
- package/dist/__tests__/setup.d.ts +0 -2
- package/dist/__tests__/setup.d.ts.map +0 -1
- package/dist/__tests__/utils/renderWithProviders.d.ts.map +0 -1
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/devportal/AdminDevportalRoot.d.ts.map +0 -1
- package/dist/devportal/AdminDevportalRoutes.d.ts.map +0 -1
- package/dist/devportal/DevportalRoot.d.ts.map +0 -1
- package/dist/devportal/DevportalRoutes.d.ts.map +0 -1
- package/dist/devportal/components/AppCard.d.ts.map +0 -1
- package/dist/devportal/components/ConfirmDialog.d.ts.map +0 -1
- package/dist/devportal/components/DataTable.d.ts.map +0 -1
- package/dist/devportal/components/EmptyState.d.ts.map +0 -1
- package/dist/devportal/components/FeatureFlaggedRoute.d.ts.map +0 -1
- package/dist/devportal/components/FormField.d.ts.map +0 -1
- package/dist/devportal/components/GrantDelegationModal.d.ts.map +0 -1
- package/dist/devportal/components/ImageUploadField.d.ts.map +0 -1
- package/dist/devportal/components/LoadingState.d.ts.map +0 -1
- package/dist/devportal/components/ManifestViewer.d.ts.map +0 -1
- package/dist/devportal/components/MarkdownEditor.d.ts.map +0 -1
- package/dist/devportal/components/MultiSelectCombobox.d.ts.map +0 -1
- package/dist/devportal/components/NodeSmokePanel.d.ts.map +0 -1
- package/dist/devportal/components/OnboardingChecklist.d.ts.map +0 -1
- package/dist/devportal/components/PackageValidationPanel.d.ts.map +0 -1
- package/dist/devportal/components/PageLayout.d.ts.map +0 -1
- package/dist/devportal/components/PermissionGuard.d.ts.map +0 -1
- package/dist/devportal/components/RegisterPickupLocationModal.d.ts.map +0 -1
- package/dist/devportal/components/ReportOrderIssueModal.d.ts.map +0 -1
- package/dist/devportal/components/SecretDisplay.d.ts.map +0 -1
- package/dist/devportal/components/SectionNav.d.ts.map +0 -1
- package/dist/devportal/components/SelectionCheckbox.d.ts.map +0 -1
- package/dist/devportal/components/StatCard.d.ts.map +0 -1
- package/dist/devportal/components/StatusBadge.d.ts.map +0 -1
- package/dist/devportal/components/TelemetryErrorBoundary.d.ts.map +0 -1
- package/dist/devportal/components/index.d.ts.map +0 -1
- package/dist/devportal/constants/appCategories.d.ts.map +0 -1
- package/dist/devportal/constants/developerLinks.d.ts.map +0 -1
- package/dist/devportal/constants/permissions.d.ts.map +0 -1
- package/dist/devportal/events/index.d.ts.map +0 -1
- package/dist/devportal/hooks/DevPortalProvider.d.ts.map +0 -1
- package/dist/devportal/hooks/index.d.ts.map +0 -1
- package/dist/devportal/hooks/useCarrierPickupLocations.d.ts.map +0 -1
- package/dist/devportal/hooks/useGraphQL.d.ts.map +0 -1
- package/dist/devportal/hooks/useIsSellerSection.d.ts.map +0 -1
- package/dist/devportal/hooks/useOrganizationPickupAddresses.d.ts.map +0 -1
- package/dist/devportal/hooks/usePackageUpload.d.ts.map +0 -1
- package/dist/devportal/hooks/usePermission.d.ts.map +0 -1
- package/dist/devportal/hooks/useProducts.d.ts.map +0 -1
- package/dist/devportal/hooks/useSellerOrganization.d.ts.map +0 -1
- package/dist/devportal/index.d.ts.map +0 -1
- package/dist/devportal/pages/AdminOrganizationVerificationPage.d.ts.map +0 -1
- package/dist/devportal/pages/AdminReviewPage.d.ts.map +0 -1
- package/dist/devportal/pages/AnalyticsDashboardPage.d.ts.map +0 -1
- package/dist/devportal/pages/ApiKeysPage.d.ts.map +0 -1
- package/dist/devportal/pages/AppLogsPage.d.ts.map +0 -1
- package/dist/devportal/pages/ApplicationDetailPage.d.ts.map +0 -1
- package/dist/devportal/pages/ApplicationVersionsPage.d.ts.map +0 -1
- package/dist/devportal/pages/ApplicationsPage.d.ts.map +0 -1
- package/dist/devportal/pages/CreateApiKeyPage.d.ts.map +0 -1
- package/dist/devportal/pages/CreateApplicationPage.d.ts.map +0 -1
- package/dist/devportal/pages/CreateOAuthClientPage.d.ts.map +0 -1
- package/dist/devportal/pages/CreateOrganizationPage.d.ts.map +0 -1
- package/dist/devportal/pages/CreatePhysicalItemPage.d.ts.map +0 -1
- package/dist/devportal/pages/CreateWebhookPage.d.ts.map +0 -1
- package/dist/devportal/pages/DashboardPage.d.ts.map +0 -1
- package/dist/devportal/pages/DelegationsPage.d.ts.map +0 -1
- package/dist/devportal/pages/DocumentationPage.d.ts.map +0 -1
- package/dist/devportal/pages/EditApplicationPage.d.ts.map +0 -1
- package/dist/devportal/pages/EditPhysicalItemPage.d.ts.map +0 -1
- package/dist/devportal/pages/InvitationDecisionPage.d.ts.map +0 -1
- package/dist/devportal/pages/ListingPreviewPage.d.ts.map +0 -1
- package/dist/devportal/pages/NodeLifecyclePage.d.ts.map +0 -1
- package/dist/devportal/pages/OAuthCallbackPage.d.ts.map +0 -1
- package/dist/devportal/pages/OAuthClientDetailPage.d.ts.map +0 -1
- package/dist/devportal/pages/OAuthClientsPage.d.ts.map +0 -1
- package/dist/devportal/pages/OrganizationDetailPage.d.ts.map +0 -1
- package/dist/devportal/pages/OrganizationMembersPage.d.ts.map +0 -1
- package/dist/devportal/pages/OrganizationsPage.d.ts.map +0 -1
- package/dist/devportal/pages/PublishPage.d.ts.map +0 -1
- package/dist/devportal/pages/PublisherProfilePage.d.ts.map +0 -1
- package/dist/devportal/pages/ResourcesPage.d.ts.map +0 -1
- package/dist/devportal/pages/RevenueDashboardPage.d.ts.map +0 -1
- package/dist/devportal/pages/RevenueRedirectPage.d.ts.map +0 -1
- package/dist/devportal/pages/SellerDashboardPage.d.ts.map +0 -1
- package/dist/devportal/pages/SellerItemsPage.d.ts.map +0 -1
- package/dist/devportal/pages/SellerOrdersPage.d.ts.map +0 -1
- package/dist/devportal/pages/SettingsPage.d.ts.map +0 -1
- package/dist/devportal/pages/SetupPage.d.ts.map +0 -1
- package/dist/devportal/pages/StoreSubmissionPage.d.ts.map +0 -1
- package/dist/devportal/pages/WebhookDetailPage.d.ts.map +0 -1
- package/dist/devportal/pages/WebhooksPage.d.ts.map +0 -1
- package/dist/devportal/providers/DevportalProvider.d.ts.map +0 -1
- package/dist/devportal/store/devportalStore.d.ts.map +0 -1
- package/dist/devportal/types/index.d.ts.map +0 -1
- package/dist/devportal/utils/cn.d.ts.map +0 -1
- package/dist/devportal/utils/constants.d.ts.map +0 -1
- package/dist/devportal/utils/currency.d.ts.map +0 -1
- package/dist/devportal/utils/developerOnboarding.d.ts.map +0 -1
- package/dist/devportal/utils/graphqlEndpoint.d.ts.map +0 -1
- package/dist/devportal/utils/i18n.d.ts.map +0 -1
- package/dist/devportal/utils/nodeLifecycle.d.ts.map +0 -1
- package/dist/devportal/utils/recaptcha.d.ts.map +0 -1
- package/dist/devportal/utils/submitForReview.d.ts.map +0 -1
- package/dist/devportal/utils/uploadErrors.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/node_modules/d3-array/src/ascending.js +0 -8
- package/dist/node_modules/d3-array/src/ascending.js.map +0 -1
- package/dist/node_modules/d3-array/src/bisect.js +0 -10
- package/dist/node_modules/d3-array/src/bisect.js.map +0 -1
- package/dist/node_modules/d3-array/src/bisector.js +0 -43
- package/dist/node_modules/d3-array/src/bisector.js.map +0 -1
- package/dist/node_modules/d3-array/src/descending.js +0 -8
- package/dist/node_modules/d3-array/src/descending.js.map +0 -1
- package/dist/node_modules/d3-array/src/max.js +0 -14
- package/dist/node_modules/d3-array/src/max.js.map +0 -1
- package/dist/node_modules/d3-array/src/min.js +0 -14
- package/dist/node_modules/d3-array/src/min.js.map +0 -1
- package/dist/node_modules/d3-array/src/number.js +0 -15
- package/dist/node_modules/d3-array/src/number.js.map +0 -1
- package/dist/node_modules/d3-array/src/quantile.js +0 -25
- package/dist/node_modules/d3-array/src/quantile.js.map +0 -1
- package/dist/node_modules/d3-array/src/quickselect.js +0 -26
- package/dist/node_modules/d3-array/src/quickselect.js.map +0 -1
- package/dist/node_modules/d3-array/src/range.js +0 -10
- package/dist/node_modules/d3-array/src/range.js.map +0 -1
- package/dist/node_modules/d3-array/src/sort.js +0 -17
- package/dist/node_modules/d3-array/src/sort.js.map +0 -1
- package/dist/node_modules/d3-array/src/ticks.js +0 -34
- package/dist/node_modules/d3-array/src/ticks.js.map +0 -1
- package/dist/node_modules/d3-color/src/color.js +0 -291
- package/dist/node_modules/d3-color/src/color.js.map +0 -1
- package/dist/node_modules/d3-color/src/define.js +0 -13
- package/dist/node_modules/d3-color/src/define.js.map +0 -1
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -15
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +0 -1
- package/dist/node_modules/d3-format/src/exponent.js +0 -9
- package/dist/node_modules/d3-format/src/exponent.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -13
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -11
- package/dist/node_modules/d3-format/src/formatGroup.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -12
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -13
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -12
- package/dist/node_modules/d3-format/src/formatRounded.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -29
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -20
- package/dist/node_modules/d3-format/src/formatTrim.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -23
- package/dist/node_modules/d3-format/src/formatTypes.js.map +0 -1
- package/dist/node_modules/d3-format/src/identity.js +0 -8
- package/dist/node_modules/d3-format/src/identity.js.map +0 -1
- package/dist/node_modules/d3-format/src/locale.js +0 -86
- package/dist/node_modules/d3-format/src/locale.js.map +0 -1
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -9
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +0 -1
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -9
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +0 -1
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -9
- package/dist/node_modules/d3-format/src/precisionRound.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/array.js +0 -15
- package/dist/node_modules/d3-interpolate/src/array.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/basis.js +0 -16
- package/dist/node_modules/d3-interpolate/src/basis.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -13
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/color.js +0 -25
- package/dist/node_modules/d3-interpolate/src/color.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -6
- package/dist/node_modules/d3-interpolate/src/constant.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/date.js +0 -11
- package/dist/node_modules/d3-interpolate/src/date.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/number.js +0 -10
- package/dist/node_modules/d3-interpolate/src/number.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -16
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/object.js +0 -14
- package/dist/node_modules/d3-interpolate/src/object.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -14
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -19
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/round.js +0 -10
- package/dist/node_modules/d3-interpolate/src/round.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/string.js +0 -28
- package/dist/node_modules/d3-interpolate/src/string.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/value.js +0 -18
- package/dist/node_modules/d3-interpolate/src/value.js.map +0 -1
- package/dist/node_modules/d3-path/src/path.js.map +0 -1
- package/dist/node_modules/d3-scale/src/band.js +0 -52
- package/dist/node_modules/d3-scale/src/band.js.map +0 -1
- package/dist/node_modules/d3-scale/src/constant.js +0 -10
- package/dist/node_modules/d3-scale/src/constant.js.map +0 -1
- package/dist/node_modules/d3-scale/src/continuous.js +0 -73
- package/dist/node_modules/d3-scale/src/continuous.js.map +0 -1
- package/dist/node_modules/d3-scale/src/diverging.js +0 -82
- package/dist/node_modules/d3-scale/src/diverging.js.map +0 -1
- package/dist/node_modules/d3-scale/src/identity.js +0 -20
- package/dist/node_modules/d3-scale/src/identity.js.map +0 -1
- package/dist/node_modules/d3-scale/src/init.js +0 -29
- package/dist/node_modules/d3-scale/src/init.js.map +0 -1
- package/dist/node_modules/d3-scale/src/linear.js +0 -36
- package/dist/node_modules/d3-scale/src/linear.js.map +0 -1
- package/dist/node_modules/d3-scale/src/log.js +0 -77
- package/dist/node_modules/d3-scale/src/log.js.map +0 -1
- package/dist/node_modules/d3-scale/src/nice.js +0 -10
- package/dist/node_modules/d3-scale/src/nice.js.map +0 -1
- package/dist/node_modules/d3-scale/src/number.js +0 -8
- package/dist/node_modules/d3-scale/src/number.js.map +0 -1
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -31
- package/dist/node_modules/d3-scale/src/ordinal.js.map +0 -1
- package/dist/node_modules/d3-scale/src/pow.js +0 -37
- package/dist/node_modules/d3-scale/src/pow.js.map +0 -1
- package/dist/node_modules/d3-scale/src/quantile.js +0 -37
- package/dist/node_modules/d3-scale/src/quantile.js.map +0 -1
- package/dist/node_modules/d3-scale/src/quantize.js +0 -33
- package/dist/node_modules/d3-scale/src/quantize.js.map +0 -1
- package/dist/node_modules/d3-scale/src/radial.js +0 -39
- package/dist/node_modules/d3-scale/src/radial.js.map +0 -1
- package/dist/node_modules/d3-scale/src/sequential.js +0 -67
- package/dist/node_modules/d3-scale/src/sequential.js.map +0 -1
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -30
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +0 -1
- package/dist/node_modules/d3-scale/src/symlog.js +0 -30
- package/dist/node_modules/d3-scale/src/symlog.js.map +0 -1
- package/dist/node_modules/d3-scale/src/threshold.js +0 -25
- package/dist/node_modules/d3-scale/src/threshold.js.map +0 -1
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -31
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +0 -1
- package/dist/node_modules/d3-scale/src/time.js +0 -47
- package/dist/node_modules/d3-scale/src/time.js.map +0 -1
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -19
- package/dist/node_modules/d3-scale/src/utcTime.js.map +0 -1
- package/dist/node_modules/d3-shape/src/area.js +0 -55
- package/dist/node_modules/d3-shape/src/area.js.map +0 -1
- package/dist/node_modules/d3-shape/src/array.js +0 -8
- package/dist/node_modules/d3-shape/src/array.js.map +0 -1
- package/dist/node_modules/d3-shape/src/constant.js +0 -10
- package/dist/node_modules/d3-shape/src/constant.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -49
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -50
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -46
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/bump.js +0 -40
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -36
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -25
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -94
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -39
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -47
- package/dist/node_modules/d3-shape/src/curve/step.js.map +0 -1
- package/dist/node_modules/d3-shape/src/line.js +0 -30
- package/dist/node_modules/d3-shape/src/line.js.map +0 -1
- package/dist/node_modules/d3-shape/src/math.js +0 -8
- package/dist/node_modules/d3-shape/src/math.js.map +0 -1
- package/dist/node_modules/d3-shape/src/noop.js +0 -6
- package/dist/node_modules/d3-shape/src/noop.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/expand.js +0 -15
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/none.js +0 -8
- package/dist/node_modules/d3-shape/src/offset/none.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -15
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -21
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +0 -1
- package/dist/node_modules/d3-shape/src/order/none.js +0 -9
- package/dist/node_modules/d3-shape/src/order/none.js.map +0 -1
- package/dist/node_modules/d3-shape/src/path.js +0 -19
- package/dist/node_modules/d3-shape/src/path.js.map +0 -1
- package/dist/node_modules/d3-shape/src/point.js +0 -11
- package/dist/node_modules/d3-shape/src/point.js.map +0 -1
- package/dist/node_modules/d3-shape/src/stack.js +0 -34
- package/dist/node_modules/d3-shape/src/stack.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -15
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol.js +0 -23
- package/dist/node_modules/d3-shape/src/symbol.js.map +0 -1
- package/dist/node_modules/d3-time/src/day.js +0 -21
- package/dist/node_modules/d3-time/src/day.js.map +0 -1
- package/dist/node_modules/d3-time/src/duration.js +0 -6
- package/dist/node_modules/d3-time/src/duration.js.map +0 -1
- package/dist/node_modules/d3-time/src/hour.js +0 -19
- package/dist/node_modules/d3-time/src/hour.js.map +0 -1
- package/dist/node_modules/d3-time/src/interval.js +0 -28
- package/dist/node_modules/d3-time/src/interval.js.map +0 -1
- package/dist/node_modules/d3-time/src/millisecond.js +0 -14
- package/dist/node_modules/d3-time/src/millisecond.js.map +0 -1
- package/dist/node_modules/d3-time/src/minute.js +0 -19
- package/dist/node_modules/d3-time/src/minute.js.map +0 -1
- package/dist/node_modules/d3-time/src/month.js +0 -18
- package/dist/node_modules/d3-time/src/month.js.map +0 -1
- package/dist/node_modules/d3-time/src/second.js +0 -13
- package/dist/node_modules/d3-time/src/second.js.map +0 -1
- package/dist/node_modules/d3-time/src/ticks.js +0 -125
- package/dist/node_modules/d3-time/src/ticks.js.map +0 -1
- package/dist/node_modules/d3-time/src/week.js +0 -25
- package/dist/node_modules/d3-time/src/week.js.map +0 -1
- package/dist/node_modules/d3-time/src/year.js +0 -26
- package/dist/node_modules/d3-time/src/year.js.map +0 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -62
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +0 -1
- package/dist/node_modules/d3-time-format/src/locale.js.map +0 -1
- package/dist/node_modules/internmap/src/index.js +0 -40
- package/dist/node_modules/internmap/src/index.js.map +0 -1
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/translations/en.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","names":[],"sources":["../../../src/devportal/utils/constants.ts"],"sourcesContent":["/**\n * Developer Portal Constants\n */\n\n// API Endpoints\nexport const API_ENDPOINTS = {\n GRAPHQL: \"/graphql\",\n} as const;\n\n// App Status Colors\nexport const APP_STATUS_COLORS: Record<string, string> = {\n DRAFT: \"bg-bg-sunken text-text-primary\",\n SUBMITTED: \"bg-status-info-bg-subtle text-status-info-text\",\n IN_REVIEW: \"bg-status-warning-bg-subtle text-status-warning-text\",\n APPROVED: \"bg-status-success-bg-subtle text-status-success-text\",\n PUBLISHED: \"bg-status-success-bg-subtle text-status-success-text\",\n REJECTED: \"bg-status-error-bg-subtle text-status-error-text\",\n SUSPENDED: \"bg-accent-orange-subtle text-accent-orange\",\n DEPRECATED: \"bg-bg-sunken text-text-secondary\",\n ACTIVE: \"bg-status-success-bg-subtle text-status-success-text\",\n INACTIVE: \"bg-bg-sunken text-text-secondary\",\n REVOKED: \"bg-status-error-bg-subtle text-status-error-text\",\n};\n\n// Webhook Status Colors\nexport const WEBHOOK_STATUS_COLORS: Record<string, string> = {\n ACTIVE: \"bg-status-success-bg-subtle text-status-success-text\",\n PAUSED: \"bg-status-warning-bg-subtle text-status-warning-text\",\n FAILED: \"bg-status-error-bg-subtle text-status-error-text\",\n DISABLED: \"bg-bg-sunken text-text-secondary\",\n};\n\n// Delivery Status Colors\nexport const DELIVERY_STATUS_COLORS: Record<string, string> = {\n PENDING: \"bg-bg-sunken text-text-primary\",\n DELIVERING: \"bg-status-info-bg-subtle text-status-info-text\",\n DELIVERED: \"bg-status-success-bg-subtle text-status-success-text\",\n FAILED: \"bg-status-error-bg-subtle text-status-error-text\",\n RETRYING: \"bg-status-warning-bg-subtle text-status-warning-text\",\n};\n\n// Invitation Status Colors\nexport const INVITATION_STATUS_COLORS: Record<string, string> = {\n PENDING: \"bg-status-warning-bg-subtle text-status-warning-text\",\n ACCEPTED: \"bg-status-success-bg-subtle text-status-success-text\",\n REJECTED: \"bg-status-error-bg-subtle text-status-error-text\",\n EXPIRED: \"bg-bg-sunken text-text-secondary\",\n CANCELLED: \"bg-bg-sunken text-text-secondary\",\n};\n\n// Organization Tier Colors\nexport const ORG_TIER_COLORS: Record<string, string> = {\n FREE: \"bg-bg-sunken text-text-primary\",\n DEVELOPER: \"bg-status-info-bg-subtle text-status-info-text\",\n PROFESSIONAL: \"bg-accent-purple-subtle text-accent-purple\",\n ENTERPRISE: \"bg-status-warning-bg-subtle text-status-warning-text\",\n};\n\n// Partner Tier Colors\nexport const PARTNER_TIER_COLORS: Record<string, string> = {\n REGISTERED: \"bg-bg-sunken text-text-primary\",\n SELECT: \"bg-status-info-bg-subtle text-status-info-text\",\n PREMIER: \"bg-status-warning-bg-subtle text-status-warning-text\",\n};\n\n// App Type Labels\nexport const APP_TYPE_LABELS: Record<string, string> = {\n WEB_APP: \"Web Application\",\n MOBILE_APP: \"Mobile App\",\n DESKTOP_APP: \"Desktop App\",\n CLI_TOOL: \"CLI Tool\",\n API_INTEGRATION: \"API Integration\",\n WORKFLOW: \"Workflow\",\n WIDGET: \"Widget\",\n BOT: \"Bot\",\n SERVICE: \"Service\",\n INTEGRATION: \"Integration\",\n ANALYST: \"Analyst\",\n ASSISTANT: \"Assistant\",\n AUTOMATION: \"Automation\",\n SPECIALIST: \"Specialist\",\n PARSER: \"Parser\",\n DASHBOARD: \"Dashboard Template\",\n};\n\n// OAuth Grant Type Labels\nexport const GRANT_TYPE_LABELS: Record<string, string> = {\n AUTHORIZATION_CODE: \"Authorization Code\",\n REFRESH_TOKEN: \"Refresh Token\",\n CLIENT_CREDENTIALS: \"Client Credentials\",\n IMPLICIT: \"Implicit (Legacy)\",\n PASSWORD: \"Password (Legacy)\",\n};\n\n// API Key Type Labels\nexport const API_KEY_TYPE_LABELS: Record<string, string> = {\n PUBLISHABLE: \"Publishable Key\",\n SECRET: \"Secret Key\",\n RESTRICTED: \"Restricted Key\",\n};\n\n// Organization Role Labels\nexport const ORG_ROLE_LABELS: Record<string, string> = {\n OWNER: \"Owner\",\n ADMIN: \"Admin\",\n DEVELOPER: \"Developer\",\n VIEWER: \"Viewer\",\n};\n\n// Pagination defaults\nexport const DEFAULT_PAGE_SIZE = 10;\nexport const PAGE_SIZE_OPTIONS = [10, 25, 50, 100];\n\n// Date format\nexport const DATE_FORMAT = \"MMM d, yyyy\";\nexport const DATETIME_FORMAT = \"MMM d, yyyy HH:mm\";\n\n// Documentation links\nexport const DOCS_LINKS = {\n GETTING_STARTED:\n \"https://docs.burdenoff.com/developer-portal/getting-started\",\n API_REFERENCE: \"https://docs.burdenoff.com/api-reference\",\n OAUTH2: \"https://docs.burdenoff.com/developer-portal/oauth2\",\n WEBHOOKS: \"https://docs.burdenoff.com/developer-portal/webhooks\",\n SDK_NODE: \"https://docs.burdenoff.com/sdks/nodejs\",\n SDK_PYTHON: \"https://docs.burdenoff.com/sdks/python\",\n BEST_PRACTICES: \"https://docs.burdenoff.com/developer-portal/best-practices\",\n CHANGELOG: \"https://docs.burdenoff.com/changelog\",\n};\n\n// Feature flags (for progressive rollout)\nexport const FEATURE_FLAGS = {\n SHOW_ANALYTICS: true,\n SHOW_REVENUE: true,\n SHOW_STORE_INTEGRATION: true,\n SHOW_AUDIT_LOGS: true,\n ENABLE_DARK_MODE: true,\n};\n\n// Available OAuth/API scopes\nexport const AVAILABLE_SCOPES = [\n // User scopes\n {\n scope: \"user:read\",\n description: \"Read user profile information\",\n category: \"User\",\n },\n {\n scope: \"user:write\",\n description: \"Modify user profile information\",\n category: \"User\",\n },\n {\n scope: \"user:email\",\n description: \"Access user email address\",\n category: \"User\",\n },\n // Workspace scopes\n {\n scope: \"workspace:read\",\n description: \"Read workspace information\",\n category: \"Workspace\",\n },\n {\n scope: \"workspace:write\",\n description: \"Create and modify workspaces\",\n category: \"Workspace\",\n },\n {\n scope: \"workspace:delete\",\n description: \"Delete workspaces\",\n category: \"Workspace\",\n },\n {\n scope: \"workspace:members\",\n description: \"Manage workspace members\",\n category: \"Workspace\",\n },\n // Project scopes\n {\n scope: \"project:read\",\n description: \"Read project information\",\n category: \"Project\",\n },\n {\n scope: \"project:write\",\n description: \"Create and modify projects\",\n category: \"Project\",\n },\n {\n scope: \"project:delete\",\n description: \"Delete projects\",\n category: \"Project\",\n },\n // Task scopes\n { scope: \"task:read\", description: \"Read tasks\", category: \"Task\" },\n {\n scope: \"task:write\",\n description: \"Create and modify tasks\",\n category: \"Task\",\n },\n { scope: \"task:delete\", description: \"Delete tasks\", category: \"Task\" },\n // File scopes\n { scope: \"file:read\", description: \"Read files\", category: \"File\" },\n {\n scope: \"file:write\",\n description: \"Upload and modify files\",\n category: \"File\",\n },\n { scope: \"file:delete\", description: \"Delete files\", category: \"File\" },\n // Offline access\n {\n scope: \"offline_access\",\n description: \"Access data while user is offline\",\n category: \"Access\",\n },\n] as const;\n"],"mappings":";AAUA,
|
|
1
|
+
{"version":3,"file":"constants.js","names":["APP_STATUS_COLORS","WEBHOOK_STATUS_COLORS","DELIVERY_STATUS_COLORS","INVITATION_STATUS_COLORS","ORG_TIER_COLORS","PARTNER_TIER_COLORS","APP_TYPE_LABELS","ORG_ROLE_LABELS"],"sources":["../../../src/devportal/utils/constants.ts"],"sourcesContent":["/**\n * Developer Portal Constants\n */\n\n// API Endpoints\nexport const API_ENDPOINTS = {\n GRAPHQL: \"/graphql\",\n} as const;\n\n// App Status Colors\nexport const APP_STATUS_COLORS: Record<string, string> = {\n DRAFT: \"bg-bg-sunken text-text-primary\",\n SUBMITTED: \"bg-status-info-bg-subtle text-status-info-text\",\n IN_REVIEW: \"bg-status-warning-bg-subtle text-status-warning-text\",\n APPROVED: \"bg-status-success-bg-subtle text-status-success-text\",\n PUBLISHED: \"bg-status-success-bg-subtle text-status-success-text\",\n REJECTED: \"bg-status-error-bg-subtle text-status-error-text\",\n SUSPENDED: \"bg-accent-orange-subtle text-accent-orange\",\n DEPRECATED: \"bg-bg-sunken text-text-secondary\",\n ACTIVE: \"bg-status-success-bg-subtle text-status-success-text\",\n INACTIVE: \"bg-bg-sunken text-text-secondary\",\n REVOKED: \"bg-status-error-bg-subtle text-status-error-text\",\n};\n\n// Webhook Status Colors\nexport const WEBHOOK_STATUS_COLORS: Record<string, string> = {\n ACTIVE: \"bg-status-success-bg-subtle text-status-success-text\",\n PAUSED: \"bg-status-warning-bg-subtle text-status-warning-text\",\n FAILED: \"bg-status-error-bg-subtle text-status-error-text\",\n DISABLED: \"bg-bg-sunken text-text-secondary\",\n};\n\n// Delivery Status Colors\nexport const DELIVERY_STATUS_COLORS: Record<string, string> = {\n PENDING: \"bg-bg-sunken text-text-primary\",\n DELIVERING: \"bg-status-info-bg-subtle text-status-info-text\",\n DELIVERED: \"bg-status-success-bg-subtle text-status-success-text\",\n FAILED: \"bg-status-error-bg-subtle text-status-error-text\",\n RETRYING: \"bg-status-warning-bg-subtle text-status-warning-text\",\n};\n\n// Invitation Status Colors\nexport const INVITATION_STATUS_COLORS: Record<string, string> = {\n PENDING: \"bg-status-warning-bg-subtle text-status-warning-text\",\n ACCEPTED: \"bg-status-success-bg-subtle text-status-success-text\",\n REJECTED: \"bg-status-error-bg-subtle text-status-error-text\",\n EXPIRED: \"bg-bg-sunken text-text-secondary\",\n CANCELLED: \"bg-bg-sunken text-text-secondary\",\n};\n\n// Organization Tier Colors\nexport const ORG_TIER_COLORS: Record<string, string> = {\n FREE: \"bg-bg-sunken text-text-primary\",\n DEVELOPER: \"bg-status-info-bg-subtle text-status-info-text\",\n PROFESSIONAL: \"bg-accent-purple-subtle text-accent-purple\",\n ENTERPRISE: \"bg-status-warning-bg-subtle text-status-warning-text\",\n};\n\n// Partner Tier Colors\nexport const PARTNER_TIER_COLORS: Record<string, string> = {\n REGISTERED: \"bg-bg-sunken text-text-primary\",\n SELECT: \"bg-status-info-bg-subtle text-status-info-text\",\n PREMIER: \"bg-status-warning-bg-subtle text-status-warning-text\",\n};\n\n// App Type Labels\nexport const APP_TYPE_LABELS: Record<string, string> = {\n WEB_APP: \"Web Application\",\n MOBILE_APP: \"Mobile App\",\n DESKTOP_APP: \"Desktop App\",\n CLI_TOOL: \"CLI Tool\",\n API_INTEGRATION: \"API Integration\",\n WORKFLOW: \"Workflow\",\n WIDGET: \"Widget\",\n BOT: \"Bot\",\n SERVICE: \"Service\",\n INTEGRATION: \"Integration\",\n ANALYST: \"Analyst\",\n ASSISTANT: \"Assistant\",\n AUTOMATION: \"Automation\",\n SPECIALIST: \"Specialist\",\n PARSER: \"Parser\",\n DASHBOARD: \"Dashboard Template\",\n};\n\n// OAuth Grant Type Labels\nexport const GRANT_TYPE_LABELS: Record<string, string> = {\n AUTHORIZATION_CODE: \"Authorization Code\",\n REFRESH_TOKEN: \"Refresh Token\",\n CLIENT_CREDENTIALS: \"Client Credentials\",\n IMPLICIT: \"Implicit (Legacy)\",\n PASSWORD: \"Password (Legacy)\",\n};\n\n// API Key Type Labels\nexport const API_KEY_TYPE_LABELS: Record<string, string> = {\n PUBLISHABLE: \"Publishable Key\",\n SECRET: \"Secret Key\",\n RESTRICTED: \"Restricted Key\",\n};\n\n// Organization Role Labels\nexport const ORG_ROLE_LABELS: Record<string, string> = {\n OWNER: \"Owner\",\n ADMIN: \"Admin\",\n DEVELOPER: \"Developer\",\n VIEWER: \"Viewer\",\n};\n\n// Pagination defaults\nexport const DEFAULT_PAGE_SIZE = 10;\nexport const PAGE_SIZE_OPTIONS = [10, 25, 50, 100];\n\n// Date format\nexport const DATE_FORMAT = \"MMM d, yyyy\";\nexport const DATETIME_FORMAT = \"MMM d, yyyy HH:mm\";\n\n// Documentation links\nexport const DOCS_LINKS = {\n GETTING_STARTED:\n \"https://docs.burdenoff.com/developer-portal/getting-started\",\n API_REFERENCE: \"https://docs.burdenoff.com/api-reference\",\n OAUTH2: \"https://docs.burdenoff.com/developer-portal/oauth2\",\n WEBHOOKS: \"https://docs.burdenoff.com/developer-portal/webhooks\",\n SDK_NODE: \"https://docs.burdenoff.com/sdks/nodejs\",\n SDK_PYTHON: \"https://docs.burdenoff.com/sdks/python\",\n BEST_PRACTICES: \"https://docs.burdenoff.com/developer-portal/best-practices\",\n CHANGELOG: \"https://docs.burdenoff.com/changelog\",\n};\n\n// Feature flags (for progressive rollout)\nexport const FEATURE_FLAGS = {\n SHOW_ANALYTICS: true,\n SHOW_REVENUE: true,\n SHOW_STORE_INTEGRATION: true,\n SHOW_AUDIT_LOGS: true,\n ENABLE_DARK_MODE: true,\n};\n\n// Available OAuth/API scopes\nexport const AVAILABLE_SCOPES = [\n // User scopes\n {\n scope: \"user:read\",\n description: \"Read user profile information\",\n category: \"User\",\n },\n {\n scope: \"user:write\",\n description: \"Modify user profile information\",\n category: \"User\",\n },\n {\n scope: \"user:email\",\n description: \"Access user email address\",\n category: \"User\",\n },\n // Workspace scopes\n {\n scope: \"workspace:read\",\n description: \"Read workspace information\",\n category: \"Workspace\",\n },\n {\n scope: \"workspace:write\",\n description: \"Create and modify workspaces\",\n category: \"Workspace\",\n },\n {\n scope: \"workspace:delete\",\n description: \"Delete workspaces\",\n category: \"Workspace\",\n },\n {\n scope: \"workspace:members\",\n description: \"Manage workspace members\",\n category: \"Workspace\",\n },\n // Project scopes\n {\n scope: \"project:read\",\n description: \"Read project information\",\n category: \"Project\",\n },\n {\n scope: \"project:write\",\n description: \"Create and modify projects\",\n category: \"Project\",\n },\n {\n scope: \"project:delete\",\n description: \"Delete projects\",\n category: \"Project\",\n },\n // Task scopes\n { scope: \"task:read\", description: \"Read tasks\", category: \"Task\" },\n {\n scope: \"task:write\",\n description: \"Create and modify tasks\",\n category: \"Task\",\n },\n { scope: \"task:delete\", description: \"Delete tasks\", category: \"Task\" },\n // File scopes\n { scope: \"file:read\", description: \"Read files\", category: \"File\" },\n {\n scope: \"file:write\",\n description: \"Upload and modify files\",\n category: \"File\",\n },\n { scope: \"file:delete\", description: \"Delete files\", category: \"File\" },\n // Offline access\n {\n scope: \"offline_access\",\n description: \"Access data while user is offline\",\n category: \"Access\",\n },\n] as const;\n"],"mappings":";AAUA,IAAaA,IAA4C;CACvD,OAAO;CACP,WAAW;CACX,WAAW;CACX,UAAU;CACV,WAAW;CACX,UAAU;CACV,WAAW;CACX,YAAY;CACZ,QAAQ;CACR,UAAU;CACV,SAAS;AACX,GAGaC,IAAgD;CAC3D,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,UAAU;AACZ,GAGaC,IAAiD;CAC5D,SAAS;CACT,YAAY;CACZ,WAAW;CACX,QAAQ;CACR,UAAU;AACZ,GAGaC,IAAmD;CAC9D,SAAS;CACT,UAAU;CACV,UAAU;CACV,SAAS;CACT,WAAW;AACb,GAGaC,IAA0C;CACrD,MAAM;CACN,WAAW;CACX,cAAc;CACd,YAAY;AACd,GAGaC,IAA8C;CACzD,YAAY;CACZ,QAAQ;CACR,SAAS;AACX,GAGaC,IAA0C;CACrD,SAAS;CACT,YAAY;CACZ,aAAa;CACb,UAAU;CACV,iBAAiB;CACjB,UAAU;CACV,QAAQ;CACR,KAAK;CACL,SAAS;CACT,aAAa;CACb,SAAS;CACT,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,QAAQ;CACR,WAAW;AACb,GAmBaC,IAA0C;CACrD,OAAO;CACP,OAAO;CACP,WAAW;CACX,QAAQ;AACV"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/devportal/utils/currency.ts
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
return new Intl.NumberFormat("en-US", {
|
|
4
4
|
style: "currency",
|
|
@@ -6,7 +6,6 @@ function e(e, t) {
|
|
|
6
6
|
minimumFractionDigits: 2
|
|
7
7
|
}).format(e);
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
9
|
export { e as formatCurrency };
|
|
11
10
|
|
|
12
11
|
//# sourceMappingURL=currency.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"currency.js","names":[],"sources":["../../../src/devportal/utils/currency.ts"],"sourcesContent":["export function formatCurrency(amount: number, currency: string): string {\n return new Intl.NumberFormat(\"en-US\", {\n style: \"currency\",\n currency: currency || \"USD\",\n minimumFractionDigits: 2,\n }).format(amount);\n}\n"],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"currency.js","names":["formatCurrency","currency","amount"],"sources":["../../../src/devportal/utils/currency.ts"],"sourcesContent":["export function formatCurrency(amount: number, currency: string): string {\n return new Intl.NumberFormat(\"en-US\", {\n style: \"currency\",\n currency: currency || \"USD\",\n minimumFractionDigits: 2,\n }).format(amount);\n}\n"],"mappings":";AAAA,SAAgBA,EAAe,GAAgB,GAA0B;CACvE,OAAO,IAAI,KAAK,aAAa,SAAS;EACpC,OAAO;EACP,UAAUC,KAAY;EACtB,uBAAuB;CACzB,CAAC,CAAC,CAAC,OAAOC,CAAM;AAClB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
var e = new Set([
|
|
1
|
+
// src/devportal/utils/developerOnboarding.ts
|
|
2
|
+
var e = /* @__PURE__ */ new Set([
|
|
3
3
|
"SUBMITTED",
|
|
4
4
|
"IN_REVIEW",
|
|
5
5
|
"APPROVED",
|
|
@@ -7,7 +7,7 @@ var e = new Set([
|
|
|
7
7
|
"ACTIVE",
|
|
8
8
|
"UNLISTED",
|
|
9
9
|
"DEPRECATED"
|
|
10
|
-
]), t = new Set([
|
|
10
|
+
]), t = /* @__PURE__ */ new Set([
|
|
11
11
|
"NODE",
|
|
12
12
|
"WORKFLOW",
|
|
13
13
|
"PARSER",
|
|
@@ -98,7 +98,6 @@ var a = [
|
|
|
98
98
|
text: "Every submission is reviewed before it is listed. Free and private apps need nothing more; paid listings also need publisher verification (legal details, tax and payouts) before they go live."
|
|
99
99
|
}
|
|
100
100
|
];
|
|
101
|
-
|
|
102
|
-
export { a as ELIGIBILITY_RULES, i as computeOnboardingState, r as reviewRequirementsFor };
|
|
101
|
+
export { a as ELIGIBILITY_RULES, t as PACKAGE_APP_TYPES, e as SUBMITTED_APP_STATUSES, i as computeOnboardingState, n as isSubmittedStatus, r as reviewRequirementsFor };
|
|
103
102
|
|
|
104
103
|
//# sourceMappingURL=developerOnboarding.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"developerOnboarding.js","names":[],"sources":["../../../src/devportal/utils/developerOnboarding.ts"],"sourcesContent":["/**\n * Developer onboarding model (BOFF-10636).\n *\n * The public \"Build on Workspaces\" journey ends at a submitted devportal\n * application. This module turns what the backend already knows about the\n * signed-in developer (profile, organizations, applications) into the\n * four-step checklist the dashboard and setup wizard show, and holds the\n * eligibility rules a developer accepts before registering.\n *\n * Pure functions only: the components feed in query results, so the rules\n * are unit-tested without rendering anything.\n */\n\n/** Application statuses that mean the developer has submitted for review. */\nexport const SUBMITTED_APP_STATUSES: ReadonlySet<string> = new Set([\n \"SUBMITTED\",\n \"IN_REVIEW\",\n \"APPROVED\",\n \"PUBLISHED\",\n \"ACTIVE\",\n \"UNLISTED\",\n \"DEPRECATED\",\n]);\n\n/**\n * App types that are reviewed from an uploaded package. Mirrors\n * `PACKAGE_REQUIRED_APP_TYPES` in global-devportal-svc\n * (resolvers/application.ts) and `isPackageApp` in ApplicationDetailPage.\n */\nexport const PACKAGE_APP_TYPES: ReadonlySet<string> = new Set([\n \"NODE\",\n \"WORKFLOW\",\n \"PARSER\",\n \"WIDGET\",\n \"DASHBOARD\",\n]);\n\nexport type OnboardingStepId = \"profile\" | \"organization\" | \"app\" | \"submit\";\n\nexport interface OnboardingStep {\n id: OnboardingStepId;\n done: boolean;\n /** Devportal-relative path (prefix with basePath) that completes the step. */\n path: string;\n}\n\nexport interface OnboardingInput {\n hasProfile: boolean;\n /** Organization kinds the developer belongs to (DIGITAL / PHYSICAL). */\n organizationKinds: ReadonlyArray<string | null | undefined>;\n applications: ReadonlyArray<{\n id: string;\n status?: string | null;\n }>;\n /**\n * Total number of applications the backend reports. When it is larger than\n * the page that was fetched, the developer is well past onboarding, so the\n * submit step counts as done even if the fetched page holds no submission.\n */\n totalApplications: number;\n}\n\nexport interface OnboardingState {\n steps: OnboardingStep[];\n completedCount: number;\n isComplete: boolean;\n /** First step that is not done yet, or null when everything is done. */\n nextStep: OnboardingStep | null;\n}\n\n/** Whether an application status counts as submitted for review. */\nexport function isSubmittedStatus(status: string | null | undefined): boolean {\n return !!status && SUBMITTED_APP_STATUSES.has(status.toUpperCase());\n}\n\nexport interface ReviewRequirement {\n id: \"listing\" | \"visibility\" | \"version\" | \"pricing\";\n /** i18n key under `devportal.onboarding.requirements`. */\n key: string;\n text: string;\n}\n\n/**\n * What the app page asks for before \"Submit for Review\" is enabled, in the\n * order it asks. Mirrors the readiness rule in ApplicationDetailPage\n * (description, category and icon; Public or Unlisted visibility; a version\n * for package and API-integration apps; pricing chosen). Category is set by\n * the setup wizard already, so it is not repeated here.\n */\nexport function reviewRequirementsFor(\n appType: string | null | undefined,\n): ReviewRequirement[] {\n const type = (appType ?? \"\").toUpperCase();\n const needsPackage = PACKAGE_APP_TYPES.has(type);\n const needsVersion = needsPackage || type === \"API_INTEGRATION\";\n const items: ReviewRequirement[] = [\n {\n id: \"listing\",\n key: \"devportal.onboarding.requirements.listing\",\n text: \"A full description and an app icon on the Store Listing tab.\",\n },\n {\n id: \"visibility\",\n key: \"devportal.onboarding.requirements.visibility\",\n text: \"Visibility set to Public (marketplace) or Unlisted (shared by link). Private apps cannot be submitted.\",\n },\n ];\n if (needsVersion) {\n items.push(\n needsPackage\n ? {\n id: \"version\",\n key: \"devportal.onboarding.requirements.package\",\n text: \"A first version with its uploaded package on the Versions tab.\",\n }\n : {\n id: \"version\",\n key: \"devportal.onboarding.requirements.version\",\n text: \"A first version on the Versions tab.\",\n },\n );\n }\n items.push({\n id: \"pricing\",\n key: \"devportal.onboarding.requirements.pricing\",\n text: \"Pricing chosen on the Pricing tab: Free, or a credit price (paid apps also link a billing account).\",\n });\n return items;\n}\n\n/**\n * Build the checklist. Only DIGITAL (or legacy kind-less) organizations\n * count: a PHYSICAL seller organization cannot own an application, so it does\n * not move a developer forward on this journey.\n */\nexport function computeOnboardingState(\n input: OnboardingInput,\n): OnboardingState {\n const hasDigitalOrg = input.organizationKinds.some(\n (kind) => (kind ?? \"DIGITAL\").toUpperCase() !== \"PHYSICAL\",\n );\n const hasApp = input.totalApplications > 0 || input.applications.length > 0;\n const firstUnsubmitted = input.applications.find(\n (app) => !isSubmittedStatus(app.status),\n );\n const hasSubmitted =\n input.applications.some((app) => isSubmittedStatus(app.status)) ||\n input.totalApplications > input.applications.length;\n\n const steps: OnboardingStep[] = [\n { id: \"profile\", done: input.hasProfile, path: \"/profile\" },\n {\n id: \"organization\",\n done: hasDigitalOrg,\n path: hasDigitalOrg ? \"/organizations\" : \"/setup\",\n },\n {\n id: \"app\",\n done: hasApp,\n path: hasDigitalOrg ? \"/apps/new\" : \"/setup\",\n },\n {\n id: \"submit\",\n done: hasSubmitted,\n path: firstUnsubmitted ? `/apps/${firstUnsubmitted.id}` : \"/apps\",\n },\n ];\n\n const completedCount = steps.filter((step) => step.done).length;\n return {\n steps,\n completedCount,\n isComplete: completedCount === steps.length,\n nextStep: steps.find((step) => !step.done) ?? null,\n };\n}\n\nexport interface EligibilityRule {\n id: string;\n /** i18n key under `devportal.onboarding.eligibility`. */\n key: string;\n /** Canonical English copy; also the i18n fallback. */\n text: string;\n}\n\n/**\n * Who can register as a developer. Kept in one place so the setup wizard,\n * the dashboard checklist and the unit tests agree, and mirrored in the\n * public docs page (workspaces-docs: developers/build/register-as-a-developer).\n */\nexport const ELIGIBILITY_RULES: ReadonlyArray<EligibilityRule> = [\n {\n id: \"account\",\n key: \"devportal.onboarding.eligibility.account\",\n text: \"A Burdenoff account with a verified email address. Any plan works, including Free; you do not need to be a paying Workspaces customer.\",\n },\n {\n id: \"capacity\",\n key: \"devportal.onboarding.eligibility.capacity\",\n text: \"You have reached the age of majority where you live, or you register on behalf of a company and have the authority to bind it.\",\n },\n {\n id: \"agreement\",\n key: \"devportal.onboarding.eligibility.agreement\",\n text: \"You accept the Marketplace & Developer Agreement and the Acceptable Use Policy for everything you build and submit.\",\n },\n {\n id: \"sanctions\",\n key: \"devportal.onboarding.eligibility.sanctions\",\n text: \"You are not barred from receiving software or services under applicable export-control or sanctions laws.\",\n },\n {\n id: \"review\",\n key: \"devportal.onboarding.eligibility.review\",\n text: \"Every submission is reviewed before it is listed. Free and private apps need nothing more; paid listings also need publisher verification (legal details, tax and payouts) before they go live.\",\n },\n];\n"],"mappings":";AAcA,
|
|
1
|
+
{"version":3,"file":"developerOnboarding.js","names":["SUBMITTED_APP_STATUSES","PACKAGE_APP_TYPES","isSubmittedStatus","status","reviewRequirementsFor","type","appType","needsPackage","needsVersion","items","computeOnboardingState","hasDigitalOrg","input","kind","hasApp","firstUnsubmitted","app","hasSubmitted","steps","completedCount","step","ELIGIBILITY_RULES"],"sources":["../../../src/devportal/utils/developerOnboarding.ts"],"sourcesContent":["/**\n * Developer onboarding model (BOFF-10636).\n *\n * The public \"Build on Workspaces\" journey ends at a submitted devportal\n * application. This module turns what the backend already knows about the\n * signed-in developer (profile, organizations, applications) into the\n * four-step checklist the dashboard and setup wizard show, and holds the\n * eligibility rules a developer accepts before registering.\n *\n * Pure functions only: the components feed in query results, so the rules\n * are unit-tested without rendering anything.\n */\n\n/** Application statuses that mean the developer has submitted for review. */\nexport const SUBMITTED_APP_STATUSES: ReadonlySet<string> = new Set([\n \"SUBMITTED\",\n \"IN_REVIEW\",\n \"APPROVED\",\n \"PUBLISHED\",\n \"ACTIVE\",\n \"UNLISTED\",\n \"DEPRECATED\",\n]);\n\n/**\n * App types that are reviewed from an uploaded package. Mirrors\n * `PACKAGE_REQUIRED_APP_TYPES` in global-devportal-svc\n * (resolvers/application.ts) and `isPackageApp` in ApplicationDetailPage.\n */\nexport const PACKAGE_APP_TYPES: ReadonlySet<string> = new Set([\n \"NODE\",\n \"WORKFLOW\",\n \"PARSER\",\n \"WIDGET\",\n \"DASHBOARD\",\n]);\n\nexport type OnboardingStepId = \"profile\" | \"organization\" | \"app\" | \"submit\";\n\nexport interface OnboardingStep {\n id: OnboardingStepId;\n done: boolean;\n /** Devportal-relative path (prefix with basePath) that completes the step. */\n path: string;\n}\n\nexport interface OnboardingInput {\n hasProfile: boolean;\n /** Organization kinds the developer belongs to (DIGITAL / PHYSICAL). */\n organizationKinds: ReadonlyArray<string | null | undefined>;\n applications: ReadonlyArray<{\n id: string;\n status?: string | null;\n }>;\n /**\n * Total number of applications the backend reports. When it is larger than\n * the page that was fetched, the developer is well past onboarding, so the\n * submit step counts as done even if the fetched page holds no submission.\n */\n totalApplications: number;\n}\n\nexport interface OnboardingState {\n steps: OnboardingStep[];\n completedCount: number;\n isComplete: boolean;\n /** First step that is not done yet, or null when everything is done. */\n nextStep: OnboardingStep | null;\n}\n\n/** Whether an application status counts as submitted for review. */\nexport function isSubmittedStatus(status: string | null | undefined): boolean {\n return !!status && SUBMITTED_APP_STATUSES.has(status.toUpperCase());\n}\n\nexport interface ReviewRequirement {\n id: \"listing\" | \"visibility\" | \"version\" | \"pricing\";\n /** i18n key under `devportal.onboarding.requirements`. */\n key: string;\n text: string;\n}\n\n/**\n * What the app page asks for before \"Submit for Review\" is enabled, in the\n * order it asks. Mirrors the readiness rule in ApplicationDetailPage\n * (description, category and icon; Public or Unlisted visibility; a version\n * for package and API-integration apps; pricing chosen). Category is set by\n * the setup wizard already, so it is not repeated here.\n */\nexport function reviewRequirementsFor(\n appType: string | null | undefined,\n): ReviewRequirement[] {\n const type = (appType ?? \"\").toUpperCase();\n const needsPackage = PACKAGE_APP_TYPES.has(type);\n const needsVersion = needsPackage || type === \"API_INTEGRATION\";\n const items: ReviewRequirement[] = [\n {\n id: \"listing\",\n key: \"devportal.onboarding.requirements.listing\",\n text: \"A full description and an app icon on the Store Listing tab.\",\n },\n {\n id: \"visibility\",\n key: \"devportal.onboarding.requirements.visibility\",\n text: \"Visibility set to Public (marketplace) or Unlisted (shared by link). Private apps cannot be submitted.\",\n },\n ];\n if (needsVersion) {\n items.push(\n needsPackage\n ? {\n id: \"version\",\n key: \"devportal.onboarding.requirements.package\",\n text: \"A first version with its uploaded package on the Versions tab.\",\n }\n : {\n id: \"version\",\n key: \"devportal.onboarding.requirements.version\",\n text: \"A first version on the Versions tab.\",\n },\n );\n }\n items.push({\n id: \"pricing\",\n key: \"devportal.onboarding.requirements.pricing\",\n text: \"Pricing chosen on the Pricing tab: Free, or a credit price (paid apps also link a billing account).\",\n });\n return items;\n}\n\n/**\n * Build the checklist. Only DIGITAL (or legacy kind-less) organizations\n * count: a PHYSICAL seller organization cannot own an application, so it does\n * not move a developer forward on this journey.\n */\nexport function computeOnboardingState(\n input: OnboardingInput,\n): OnboardingState {\n const hasDigitalOrg = input.organizationKinds.some(\n (kind) => (kind ?? \"DIGITAL\").toUpperCase() !== \"PHYSICAL\",\n );\n const hasApp = input.totalApplications > 0 || input.applications.length > 0;\n const firstUnsubmitted = input.applications.find(\n (app) => !isSubmittedStatus(app.status),\n );\n const hasSubmitted =\n input.applications.some((app) => isSubmittedStatus(app.status)) ||\n input.totalApplications > input.applications.length;\n\n const steps: OnboardingStep[] = [\n { id: \"profile\", done: input.hasProfile, path: \"/profile\" },\n {\n id: \"organization\",\n done: hasDigitalOrg,\n path: hasDigitalOrg ? \"/organizations\" : \"/setup\",\n },\n {\n id: \"app\",\n done: hasApp,\n path: hasDigitalOrg ? \"/apps/new\" : \"/setup\",\n },\n {\n id: \"submit\",\n done: hasSubmitted,\n path: firstUnsubmitted ? `/apps/${firstUnsubmitted.id}` : \"/apps\",\n },\n ];\n\n const completedCount = steps.filter((step) => step.done).length;\n return {\n steps,\n completedCount,\n isComplete: completedCount === steps.length,\n nextStep: steps.find((step) => !step.done) ?? null,\n };\n}\n\nexport interface EligibilityRule {\n id: string;\n /** i18n key under `devportal.onboarding.eligibility`. */\n key: string;\n /** Canonical English copy; also the i18n fallback. */\n text: string;\n}\n\n/**\n * Who can register as a developer. Kept in one place so the setup wizard,\n * the dashboard checklist and the unit tests agree, and mirrored in the\n * public docs page (workspaces-docs: developers/build/register-as-a-developer).\n */\nexport const ELIGIBILITY_RULES: ReadonlyArray<EligibilityRule> = [\n {\n id: \"account\",\n key: \"devportal.onboarding.eligibility.account\",\n text: \"A Burdenoff account with a verified email address. Any plan works, including Free; you do not need to be a paying Workspaces customer.\",\n },\n {\n id: \"capacity\",\n key: \"devportal.onboarding.eligibility.capacity\",\n text: \"You have reached the age of majority where you live, or you register on behalf of a company and have the authority to bind it.\",\n },\n {\n id: \"agreement\",\n key: \"devportal.onboarding.eligibility.agreement\",\n text: \"You accept the Marketplace & Developer Agreement and the Acceptable Use Policy for everything you build and submit.\",\n },\n {\n id: \"sanctions\",\n key: \"devportal.onboarding.eligibility.sanctions\",\n text: \"You are not barred from receiving software or services under applicable export-control or sanctions laws.\",\n },\n {\n id: \"review\",\n key: \"devportal.onboarding.eligibility.review\",\n text: \"Every submission is reviewed before it is listed. Free and private apps need nothing more; paid listings also need publisher verification (legal details, tax and payouts) before they go live.\",\n },\n];\n"],"mappings":";AAcA,IAAaA,oBAA8C,IAAI,IAAI;CACjE;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC,GAOYC,oBAAyC,IAAI,IAAI;CAC5D;CACA;CACA;CACA;CACA;AACF,CAAC;AAoCD,SAAgBC,EAAkB,GAA4C;CAC5E,OAAO,CAAC,CAACC,KAAUH,EAAuB,IAAIG,EAAO,YAAY,CAAC;AACpE;AAgBA,SAAgBC,EACd,GACqB;CACrB,IAAMC,KAAQC,KAAW,GAAA,CAAI,YAAY,GACnCC,IAAeN,EAAkB,IAAII,CAAI,GACzCG,IAAeD,KAAgBF,MAAS,mBACxCI,IAA6B,CACjC;EACE,IAAI;EACJ,KAAK;EACL,MAAM;CACR,GACA;EACE,IAAI;EACJ,KAAK;EACL,MAAM;CACR,CACF;CAqBA,OApBID,KACFC,EAAM,KACJF,IACI;EACE,IAAI;EACJ,KAAK;EACL,MAAM;CACR,IACA;EACE,IAAI;EACJ,KAAK;EACL,MAAM;CACR,CACN,GAEFE,EAAM,KAAK;EACT,IAAI;EACJ,KAAK;EACL,MAAM;CACR,CAAC,GACMA;AACT;AAOA,SAAgBC,EACd,GACiB;CACjB,IAAMC,IAAgBC,EAAM,kBAAkB,MAC3C,OAAUC,KAAQ,UAAA,CAAW,YAAY,MAAM,UAClD,GACMC,IAASF,EAAM,oBAAoB,KAAKA,EAAM,aAAa,SAAS,GACpEG,IAAmBH,EAAM,aAAa,MACzC,MAAQ,CAACV,EAAkBc,EAAI,MAAM,CACxC,GACMC,IACJL,EAAM,aAAa,MAAM,MAAQV,EAAkBc,EAAI,MAAM,CAAC,KAC9DJ,EAAM,oBAAoBA,EAAM,aAAa,QAEzCM,IAA0B;EAC9B;GAAE,IAAI;GAAW,MAAMN,EAAM;GAAY,MAAM;EAAW;EAC1D;GACE,IAAI;GACJ,MAAMD;GACN,MAAMA,IAAgB,mBAAmB;EAC3C;EACA;GACE,IAAI;GACJ,MAAMG;GACN,MAAMH,IAAgB,cAAc;EACtC;EACA;GACE,IAAI;GACJ,MAAMM;GACN,MAAMF,IAAmB,SAASA,EAAiB,OAAO;EAC5D;CACF,GAEMI,IAAiBD,EAAM,QAAQ,MAASE,EAAK,IAAI,CAAC,CAAC;CACzD,OAAO;EACL;EACA;EACA,YAAYD,MAAmBD,EAAM;EACrC,UAAUA,EAAM,MAAM,MAAS,CAACE,EAAK,IAAI,KAAK;CAChD;AACF;AAeA,IAAaC,IAAoD;CAC/D;EACE,IAAI;EACJ,KAAK;EACL,MAAM;CACR;CACA;EACE,IAAI;EACJ,KAAK;EACL,MAAM;CACR;CACA;EACE,IAAI;EACJ,KAAK;EACL,MAAM;CACR;CACA;EACE,IAAI;EACJ,KAAK;EACL,MAAM;CACR;CACA;EACE,IAAI;EACJ,KAAK;EACL,MAAM;CACR;AACF"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
// src/devportal/utils/graphqlEndpoint.ts
|
|
2
2
|
function e(e) {
|
|
3
3
|
let t = e?.replace(/\/+$/, "");
|
|
4
4
|
return t?.endsWith("/global/graphql") ? t : `${t || ""}/global/graphql`;
|
|
5
5
|
}
|
|
6
|
-
//#endregion
|
|
7
6
|
export { e as resolveGlobalGraphqlEndpoint };
|
|
8
7
|
|
|
9
8
|
//# sourceMappingURL=graphqlEndpoint.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlEndpoint.js","names":[],"sources":["../../../src/devportal/utils/graphqlEndpoint.ts"],"sourcesContent":["/**\n * Resolve the global GraphQL endpoint from the gateway base URL supplied by\n * the host shell.\n */\nexport function resolveGlobalGraphqlEndpoint(apiGatewayUrl?: string): string {\n const baseUrl = apiGatewayUrl?.replace(/\\/+$/, \"\");\n if (baseUrl?.endsWith(\"/global/graphql\")) return baseUrl;\n return `${baseUrl || \"\"}/global/graphql`;\n}\n"],"mappings":";AAIA,
|
|
1
|
+
{"version":3,"file":"graphqlEndpoint.js","names":["resolveGlobalGraphqlEndpoint","baseUrl","apiGatewayUrl"],"sources":["../../../src/devportal/utils/graphqlEndpoint.ts"],"sourcesContent":["/**\n * Resolve the global GraphQL endpoint from the gateway base URL supplied by\n * the host shell.\n */\nexport function resolveGlobalGraphqlEndpoint(apiGatewayUrl?: string): string {\n const baseUrl = apiGatewayUrl?.replace(/\\/+$/, \"\");\n if (baseUrl?.endsWith(\"/global/graphql\")) return baseUrl;\n return `${baseUrl || \"\"}/global/graphql`;\n}\n"],"mappings":";AAIA,SAAgBA,EAA6B,GAAgC;CAC3E,IAAMC,IAAUC,GAAe,QAAQ,QAAQ,EAAE;CAEjD,OADID,GAAS,SAAS,iBAAiB,IAAUA,IAC1C,GAAGA,KAAW,GAAG;AAC1B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback as e } from "react";
|
|
2
2
|
import { useI18n as t } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
3
|
-
|
|
3
|
+
// src/devportal/utils/i18n.ts
|
|
4
4
|
function n() {
|
|
5
5
|
let { t: n } = t();
|
|
6
6
|
return e((e, t, r) => {
|
|
@@ -14,7 +14,6 @@ function n() {
|
|
|
14
14
|
return r ? Object.entries(r).reduce((e, [t, n]) => e.replace(RegExp(`\\{\\{${t}\\}\\}`, "g"), String(n)), i) : i;
|
|
15
15
|
}, [n]);
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
export { n as useTr };
|
|
19
18
|
|
|
20
19
|
//# sourceMappingURL=i18n.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","names":[],"sources":["../../../src/devportal/utils/i18n.ts"],"sourcesContent":["import { useCallback } from \"react\";\nimport { useI18n } from \"@burdenoff/fe-libs/shared/providers/shell/I18nProvider\";\n\n/**\n * Translation helper hook for the devportal MFE.\n *\n * Wraps `useI18n().t(key)` with an inline-fallback signature\n * `tr(key, fallback, params?)` so missing keys (or a missing I18nProvider in\n * standalone mode) render readable English instead of the raw key.\n *\n * Supports optional interpolation params using `{{key}}` placeholders.\n *\n * Convention: keys are namespaced as `devportal.<scope>.<name>` and\n * the fallback is the canonical English copy. Locale seed scripts\n * (`seed-devportal-{hi,ta}.ts`) source from the same key set.\n *\n * @example\n * const tr = useTr();\n * return <h1>{tr(\"devportal.dashboard.title\", \"Dashboard\")}</h1>;\n * return <p>{tr(\"devportal.selectedCount\", \"{{count}} selected\", { count: 5 })}</p>;\n */\nexport function useTr(): (\n key: string,\n fallback: string,\n params?: Record<string, string | number>,\n) => string {\n const { t } = useI18n();\n return useCallback(\n (\n key: string,\n fallback: string,\n params?: Record<string, string | number>,\n ): string => {\n let raw: string;\n try {\n const value = t(key);\n raw = value === key || value === undefined ? fallback : value;\n } catch {\n raw = fallback;\n }\n if (!params) return raw;\n return Object.entries(params).reduce(\n (str, [k, v]) =>\n str.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, \"g\"), String(v)),\n raw,\n );\n },\n [t],\n );\n}\n"],"mappings":";;;AAqBA,
|
|
1
|
+
{"version":3,"file":"i18n.js","names":["useTr","useI18n","useCallback","raw","value","t","key","fallback","params","k","v","str"],"sources":["../../../src/devportal/utils/i18n.ts"],"sourcesContent":["import { useCallback } from \"react\";\nimport { useI18n } from \"@burdenoff/fe-libs/shared/providers/shell/I18nProvider\";\n\n/**\n * Translation helper hook for the devportal MFE.\n *\n * Wraps `useI18n().t(key)` with an inline-fallback signature\n * `tr(key, fallback, params?)` so missing keys (or a missing I18nProvider in\n * standalone mode) render readable English instead of the raw key.\n *\n * Supports optional interpolation params using `{{key}}` placeholders.\n *\n * Convention: keys are namespaced as `devportal.<scope>.<name>` and\n * the fallback is the canonical English copy. Locale seed scripts\n * (`seed-devportal-{hi,ta}.ts`) source from the same key set.\n *\n * @example\n * const tr = useTr();\n * return <h1>{tr(\"devportal.dashboard.title\", \"Dashboard\")}</h1>;\n * return <p>{tr(\"devportal.selectedCount\", \"{{count}} selected\", { count: 5 })}</p>;\n */\nexport function useTr(): (\n key: string,\n fallback: string,\n params?: Record<string, string | number>,\n) => string {\n const { t } = useI18n();\n return useCallback(\n (\n key: string,\n fallback: string,\n params?: Record<string, string | number>,\n ): string => {\n let raw: string;\n try {\n const value = t(key);\n raw = value === key || value === undefined ? fallback : value;\n } catch {\n raw = fallback;\n }\n if (!params) return raw;\n return Object.entries(params).reduce(\n (str, [k, v]) =>\n str.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, \"g\"), String(v)),\n raw,\n );\n },\n [t],\n );\n}\n"],"mappings":";;;AAqBA,SAAgBA,IAIJ;CACV,IAAM,EAAE,SAAMC,EAAQ;CACtB,OAAOC,GAEH,GACA,GACA,MACW;EACX,IAAIC;EACJ,IAAI;GACF,IAAMC,IAAQC,EAAEC,CAAG;GACnB,IAAMF,MAAUE,KAAOF,MAAU,KAAA,IAAYG,IAAWH;EAC1D,QAAQ;GACN,IAAMG;EACR;EAEA,OADKC,IACE,OAAO,QAAQA,CAAM,CAAC,CAAC,QAC3B,GAAK,CAACC,GAAGC,OACRC,EAAI,QAAY,OAAO,SAASF,EAAE,SAAS,GAAG,GAAG,OAAOC,CAAC,CAAC,GAC5DP,CACF,IALoBA;CAMtB,GACA,CAACE,CAAC,CACJ;AACF"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PackageValidationIssue, PackageValidationState } from '../components/PackageValidationPanel';
|
|
2
2
|
import { NodeSmokeState } from '../components/NodeSmokePanel';
|
|
3
|
-
|
|
4
3
|
export type LifecycleStepId = "upload" | "validate" | "test" | "approval" | "deploy";
|
|
5
4
|
/**
|
|
6
5
|
* complete — the stage is done.
|
|
@@ -78,4 +77,3 @@ export interface DeployReadinessInput {
|
|
|
78
77
|
export declare function deployBlocker(input: DeployReadinessInput): DeployBlocker | null;
|
|
79
78
|
/** The visibility a NODE application's versions are published with. */
|
|
80
79
|
export declare function visibilityForApp(appVisibility: string | null | undefined): NodeVisibility;
|
|
81
|
-
//# sourceMappingURL=nodeLifecycle.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
var n = new Set([
|
|
1
|
+
import { readPackageValidationState as e } from "../components/PackageValidationPanel.js";
|
|
2
|
+
import { readNodeSmokeState as t } from "../components/NodeSmokePanel.js";
|
|
3
|
+
// src/devportal/utils/nodeLifecycle.ts
|
|
4
|
+
var n = /* @__PURE__ */ new Set([
|
|
5
5
|
"PENDING",
|
|
6
6
|
"READY",
|
|
7
7
|
"FAILED",
|
|
@@ -238,7 +238,7 @@ function h(e, t, n) {
|
|
|
238
238
|
};
|
|
239
239
|
}
|
|
240
240
|
function g(n, r) {
|
|
241
|
-
let s = n.metadata, g = !!n.packageUrl, _ =
|
|
241
|
+
let s = n.metadata, g = !!n.packageUrl, _ = e(s), v = t(s), y = i(s), b = a(s), x = o(s), S = d(g), C = f(g, _), w = p(C, y, v), T = m(w, n, r, x), E = [
|
|
242
242
|
S,
|
|
243
243
|
C,
|
|
244
244
|
w,
|
|
@@ -274,7 +274,6 @@ function _(e) {
|
|
|
274
274
|
function v(e) {
|
|
275
275
|
return (e ?? "").toUpperCase() === "PRIVATE" ? "private" : "store";
|
|
276
276
|
}
|
|
277
|
-
|
|
278
|
-
export { _ as deployBlocker, g as deriveNodeLifecycle, v as visibilityForApp };
|
|
277
|
+
export { s as checkForIssueCode, _ as deployBlocker, g as deriveNodeLifecycle, o as isOrganizationPublished, a as readSandboxBuildError, i as readSandboxBuildStatus, v as visibilityForApp };
|
|
279
278
|
|
|
280
279
|
//# sourceMappingURL=nodeLifecycle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeLifecycle.js","names":[],"sources":["../../../src/devportal/utils/nodeLifecycle.ts"],"sourcesContent":["/**\n * Custom-node lifecycle model (BOFF-4076).\n *\n * A custom node moves through five stages before workspaces can use it:\n *\n * 1. Upload ZIP — the version carries a package (`packageUrl`).\n * 2. Validate manifest — global-devportal-svc validates the package and its\n * manifest and records `metadata.packageValidation`\n * (BOFF-4315).\n * 3. Run tests — the package is built into a sandbox image\n * (`metadata.sandboxBuildStatus`) and every manifest\n * operation is smoke-tested in a sandbox\n * (`metadata.packageSmoke`, BOFF-9656).\n * 4. Approval — a workspace-private node is approved by its own\n * organization when it is published to it\n * (`metadata.organizationPublish`, BOFF-9657); a store\n * node is reviewed by a platform admin\n * (`status` pending_review → published | rejected).\n * 5. Deploy — the version is published and installable.\n *\n * Everything here is derived from the ApplicationVersion the service already\n * returns, so the lifecycle page never invents a state the backend does not\n * hold. The functions are pure so the page stays a thin view over them.\n */\nimport {\n readPackageValidationState,\n type PackageValidationIssue,\n type PackageValidationState,\n} from \"../components/PackageValidationPanel\";\nimport {\n readNodeSmokeState,\n type NodeSmokeState,\n} from \"../components/NodeSmokePanel\";\n\nexport type LifecycleStepId =\n | \"upload\"\n | \"validate\"\n | \"test\"\n | \"approval\"\n | \"deploy\";\n\n/**\n * complete — the stage is done.\n * in_progress — the platform is working on it (validation, build, tests,\n * platform review); the page polls while any stage is here.\n * action — waiting for the developer (upload, fix, submit, deploy).\n * failed — the stage failed and blocks everything after it.\n * pending — not reached yet.\n */\nexport type LifecycleStepStatus =\n | \"complete\"\n | \"in_progress\"\n | \"action\"\n | \"failed\"\n | \"pending\";\n\nexport interface LifecycleStep {\n id: LifecycleStepId;\n status: LifecycleStepStatus;\n /** Short machine-friendly reason; the page maps it to translated copy. */\n reason: string;\n}\n\nexport type CheckStatus = \"pass\" | \"warn\" | \"fail\" | \"running\" | \"not_run\";\n\nexport type LifecycleCheckId =\n | \"structure\"\n | \"manifest\"\n | \"security\"\n | \"build\"\n | \"tests\";\n\nexport interface LifecycleCheck {\n id: LifecycleCheckId;\n status: CheckStatus;\n issues: PackageValidationIssue[];\n /** Free-form detail such as \"12 / 12 passing\" inputs or a build error. */\n detail: string | null;\n}\n\nexport type NodeVisibility = \"private\" | \"store\";\n\nexport type SandboxBuildStatus =\n | \"PENDING\"\n | \"READY\"\n | \"FAILED\"\n | \"DISPATCH_FAILED\"\n | \"UNSUPPORTED\";\n\n/** The ApplicationVersion fields the lifecycle reads. */\nexport interface LifecycleVersion {\n id: string;\n version: string;\n status: string;\n packageUrl?: string | null;\n metadata?: unknown;\n reviewNotes?: string | null;\n}\n\nexport interface NodeLifecycle {\n steps: LifecycleStep[];\n /** Index of the first step that is not complete; steps.length when all are. */\n currentIndex: number;\n checks: LifecycleCheck[];\n validation: PackageValidationState;\n smoke: NodeSmokeState;\n buildStatus: SandboxBuildStatus | null;\n buildError: string | null;\n organizationPublished: boolean;\n /** True while the platform is still working, so the page should poll. */\n busy: boolean;\n}\n\nconst BUILD_STATUSES: ReadonlySet<string> = new Set([\n \"PENDING\",\n \"READY\",\n \"FAILED\",\n \"DISPATCH_FAILED\",\n \"UNSUPPORTED\",\n]);\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n\nexport function readSandboxBuildStatus(\n metadata: unknown,\n): SandboxBuildStatus | null {\n if (!isRecord(metadata)) return null;\n const status = metadata.sandboxBuildStatus;\n return typeof status === \"string\" && BUILD_STATUSES.has(status)\n ? (status as SandboxBuildStatus)\n : null;\n}\n\nexport function readSandboxBuildError(metadata: unknown): string | null {\n if (!isRecord(metadata)) return null;\n const error = metadata.sandboxBuildError;\n return typeof error === \"string\" && error.trim() ? error : null;\n}\n\n/** BOFF-9657: the version was published to its organization (no platform review). */\nexport function isOrganizationPublished(metadata: unknown): boolean {\n return isRecord(metadata) && isRecord(metadata.organizationPublish);\n}\n\n/** Group a validation issue code into the check it belongs to. */\nexport function checkForIssueCode(code: string): LifecycleCheckId {\n if (code.startsWith(\"blocked.\") || code.startsWith(\"review.\")) {\n return \"security\";\n }\n if (code.startsWith(\"manifest.\") || code.startsWith(\"operation.\")) {\n return \"manifest\";\n }\n return \"structure\";\n}\n\nfunction validationCheck(\n id: \"structure\" | \"manifest\" | \"security\",\n validation: PackageValidationState,\n hasPackage: boolean,\n): LifecycleCheck {\n if (validation.kind === \"pending\") {\n return { id, status: \"running\", issues: [], detail: null };\n }\n if (validation.kind === \"none\") {\n return {\n id,\n status: \"not_run\",\n issues: [],\n detail: hasPackage ? \"notValidated\" : null,\n };\n }\n const issues = [...validation.errors, ...validation.warnings].filter(\n (issue) => checkForIssueCode(issue.code) === id,\n );\n const hasError = issues.some((issue) => issue.severity === \"error\");\n const hasWarning = issues.some((issue) => issue.severity === \"warning\");\n let status: CheckStatus = \"pass\";\n if (hasError) status = \"fail\";\n else if (hasWarning) status = \"warn\";\n else if (validation.kind === \"failed\" && id === \"structure\") {\n // A failed report whose errors all landed in other groups must not make\n // the structure check look green when there is nothing else to show.\n status = validation.errors.length > 0 ? \"pass\" : \"fail\";\n }\n return { id, status, issues, detail: null };\n}\n\nfunction buildCheck(\n buildStatus: SandboxBuildStatus | null,\n buildError: string | null,\n validation: PackageValidationState,\n): LifecycleCheck {\n if (buildStatus === \"READY\") {\n return { id: \"build\", status: \"pass\", issues: [], detail: null };\n }\n if (buildStatus === \"PENDING\") {\n return { id: \"build\", status: \"running\", issues: [], detail: null };\n }\n if (buildStatus) {\n return {\n id: \"build\",\n status: \"fail\",\n issues: [],\n detail: buildError ?? buildStatus,\n };\n }\n // No build recorded. A package that failed validation is never built.\n return {\n id: \"build\",\n status: \"not_run\",\n issues: [],\n detail: validation.kind === \"failed\" ? \"blockedByValidation\" : null,\n };\n}\n\nfunction testsCheck(smoke: NodeSmokeState): LifecycleCheck {\n switch (smoke.kind) {\n case \"running\":\n return { id: \"tests\", status: \"running\", issues: [], detail: null };\n case \"passed\":\n return {\n id: \"tests\",\n status: \"pass\",\n issues: [],\n detail: `${smoke.passed}/${smoke.operations.length}`,\n };\n case \"failed\":\n return {\n id: \"tests\",\n status: \"fail\",\n issues: [],\n detail: smoke.error ?? `${smoke.failed}/${smoke.operations.length}`,\n };\n case \"skipped\":\n return {\n id: \"tests\",\n status: \"warn\",\n issues: [],\n detail: smoke.error,\n };\n default:\n return { id: \"tests\", status: \"not_run\", issues: [], detail: null };\n }\n}\n\nfunction uploadStep(hasPackage: boolean): LifecycleStep {\n return hasPackage\n ? { id: \"upload\", status: \"complete\", reason: \"uploaded\" }\n : { id: \"upload\", status: \"action\", reason: \"noPackage\" };\n}\n\nfunction validateStep(\n hasPackage: boolean,\n validation: PackageValidationState,\n): LifecycleStep {\n if (!hasPackage) {\n return { id: \"validate\", status: \"pending\", reason: \"waitingForPackage\" };\n }\n switch (validation.kind) {\n case \"passed\":\n return { id: \"validate\", status: \"complete\", reason: \"passed\" };\n case \"failed\":\n return { id: \"validate\", status: \"failed\", reason: \"failed\" };\n case \"pending\":\n return { id: \"validate\", status: \"in_progress\", reason: \"validating\" };\n default:\n // A package uploaded before validation existed. The service refuses to\n // publish it, so the developer has to upload it again.\n return { id: \"validate\", status: \"action\", reason: \"notValidated\" };\n }\n}\n\nfunction testStep(\n validationStep: LifecycleStep,\n buildStatus: SandboxBuildStatus | null,\n smoke: NodeSmokeState,\n): LifecycleStep {\n if (validationStep.status !== \"complete\") {\n return { id: \"test\", status: \"pending\", reason: \"waitingForValidation\" };\n }\n if (buildStatus === null || buildStatus === \"PENDING\") {\n return { id: \"test\", status: \"in_progress\", reason: \"building\" };\n }\n if (buildStatus !== \"READY\") {\n return { id: \"test\", status: \"failed\", reason: \"buildFailed\" };\n }\n switch (smoke.kind) {\n case \"running\":\n return { id: \"test\", status: \"in_progress\", reason: \"testing\" };\n case \"failed\":\n return { id: \"test\", status: \"failed\", reason: \"testsFailed\" };\n case \"skipped\":\n return { id: \"test\", status: \"complete\", reason: \"testsSkipped\" };\n case \"passed\":\n return { id: \"test\", status: \"complete\", reason: \"testsPassed\" };\n default:\n // READY with no smoke record: built before operation smoke tests\n // existed; the service accepts it.\n return { id: \"test\", status: \"complete\", reason: \"built\" };\n }\n}\n\nfunction approvalStep(\n previous: LifecycleStep,\n version: LifecycleVersion,\n visibility: NodeVisibility,\n organizationPublished: boolean,\n): LifecycleStep {\n const status = version.status.toLowerCase();\n if (organizationPublished) {\n return { id: \"approval\", status: \"complete\", reason: \"organization\" };\n }\n if (status === \"published\" || status === \"deprecated\") {\n return { id: \"approval\", status: \"complete\", reason: \"approved\" };\n }\n if (status === \"pending_review\") {\n return { id: \"approval\", status: \"in_progress\", reason: \"inReview\" };\n }\n if (status === \"rejected\") {\n return { id: \"approval\", status: \"failed\", reason: \"rejected\" };\n }\n if (previous.status !== \"complete\") {\n return { id: \"approval\", status: \"pending\", reason: \"waitingForTests\" };\n }\n return {\n id: \"approval\",\n status: \"action\",\n reason: visibility === \"private\" ? \"readyForOrganization\" : \"readyToSubmit\",\n };\n}\n\nfunction deployStep(\n version: LifecycleVersion,\n approval: LifecycleStep,\n organizationPublished: boolean,\n): LifecycleStep {\n const status = version.status.toLowerCase();\n if (status === \"deprecated\") {\n return { id: \"deploy\", status: \"complete\", reason: \"deprecated\" };\n }\n if (status === \"published\") {\n return {\n id: \"deploy\",\n status: \"complete\",\n reason: organizationPublished ? \"deployedToOrganization\" : \"store\",\n };\n }\n if (approval.status === \"action\") {\n return { id: \"deploy\", status: \"action\", reason: \"ready\" };\n }\n return { id: \"deploy\", status: \"pending\", reason: \"waitingForApproval\" };\n}\n\n/** Derive the full lifecycle view of one NODE application version. */\nexport function deriveNodeLifecycle(\n version: LifecycleVersion,\n visibility: NodeVisibility,\n): NodeLifecycle {\n const metadata = version.metadata;\n const hasPackage = Boolean(version.packageUrl);\n const validation = readPackageValidationState(metadata);\n const smoke = readNodeSmokeState(metadata);\n const buildStatus = readSandboxBuildStatus(metadata);\n const buildError = readSandboxBuildError(metadata);\n const organizationPublished = isOrganizationPublished(metadata);\n\n const upload = uploadStep(hasPackage);\n const validate = validateStep(hasPackage, validation);\n const test = testStep(validate, buildStatus, smoke);\n const approval = approvalStep(\n test,\n version,\n visibility,\n organizationPublished,\n );\n const deploy = deployStep(version, approval, organizationPublished);\n const steps = [upload, validate, test, approval, deploy];\n\n const firstOpen = steps.findIndex((step) => step.status !== \"complete\");\n const currentIndex = firstOpen === -1 ? steps.length : firstOpen;\n\n const checks: LifecycleCheck[] = [\n validationCheck(\"structure\", validation, hasPackage),\n validationCheck(\"manifest\", validation, hasPackage),\n validationCheck(\"security\", validation, hasPackage),\n buildCheck(buildStatus, buildError, validation),\n testsCheck(smoke),\n ];\n\n // Approval in review is a human step that can take days; the page still\n // polls so the stepper flips the moment an admin decides.\n const busy = steps.some((step) => step.status === \"in_progress\");\n\n return {\n steps,\n currentIndex,\n checks,\n validation,\n smoke,\n buildStatus,\n buildError,\n organizationPublished,\n busy,\n };\n}\n\nexport type DeployBlocker =\n | \"notDraft\"\n | \"noPackage\"\n | \"validationNotPassed\"\n | \"buildNotReady\"\n | \"testsNotPassed\"\n | \"visibilityMismatch\"\n | \"noWorkspace\"\n | \"pendingVersion\"\n | \"noPermission\";\n\nexport interface DeployReadinessInput {\n lifecycle: NodeLifecycle;\n version: LifecycleVersion;\n visibility: NodeVisibility;\n /** The application's own visibility (PRIVATE, PUBLIC, UNLISTED…). */\n appVisibility: string | null | undefined;\n workspaceId: string | null | undefined;\n /** Another version of the application is already in platform review. */\n otherVersionPending: boolean;\n canPublish: boolean;\n}\n\n/**\n * Whether the Deploy action can run, and if not the first reason why. These\n * mirror the service's own gates (privateNodes.ts and the review submission),\n * so the button is disabled exactly when the service would refuse.\n */\nexport function deployBlocker(\n input: DeployReadinessInput,\n): DeployBlocker | null {\n const { lifecycle, version, visibility } = input;\n if (!input.canPublish) return \"noPermission\";\n const status = version.status.toLowerCase();\n if (status !== \"draft\" && status !== \"rejected\") return \"notDraft\";\n const appIsPrivate = (input.appVisibility ?? \"\").toUpperCase() === \"PRIVATE\";\n if ((visibility === \"private\") !== appIsPrivate) return \"visibilityMismatch\";\n if (!version.packageUrl) return \"noPackage\";\n if (lifecycle.validation.kind !== \"passed\") return \"validationNotPassed\";\n if (lifecycle.buildStatus !== \"READY\") return \"buildNotReady\";\n if (lifecycle.smoke.kind === \"running\" || lifecycle.smoke.kind === \"failed\") {\n return \"testsNotPassed\";\n }\n if (visibility === \"private\" && !input.workspaceId) return \"noWorkspace\";\n if (visibility === \"store\" && input.otherVersionPending) {\n return \"pendingVersion\";\n }\n return null;\n}\n\n/** The visibility a NODE application's versions are published with. */\nexport function visibilityForApp(\n appVisibility: string | null | undefined,\n): NodeVisibility {\n return (appVisibility ?? \"\").toUpperCase() === \"PRIVATE\"\n ? \"private\"\n : \"store\";\n}\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"nodeLifecycle.js","names":["BUILD_STATUSES","isRecord","value","readSandboxBuildStatus","metadata","status","readSandboxBuildError","error","isOrganizationPublished","checkForIssueCode","code","validationCheck","validation","hasPackage","issues","issue","id","hasError","hasWarning","buildCheck","buildStatus","buildError","testsCheck","smoke","uploadStep","validateStep","testStep","validationStep","approvalStep","version","organizationPublished","previous","visibility","deployStep","approval","deriveNodeLifecycle","readPackageValidationState","readNodeSmokeState","upload","validate","test","steps","firstOpen","step","deployBlocker","input","appIsPrivate","lifecycle","visibilityForApp","appVisibility"],"sources":["../../../src/devportal/utils/nodeLifecycle.ts"],"sourcesContent":["/**\n * Custom-node lifecycle model (BOFF-4076).\n *\n * A custom node moves through five stages before workspaces can use it:\n *\n * 1. Upload ZIP — the version carries a package (`packageUrl`).\n * 2. Validate manifest — global-devportal-svc validates the package and its\n * manifest and records `metadata.packageValidation`\n * (BOFF-4315).\n * 3. Run tests — the package is built into a sandbox image\n * (`metadata.sandboxBuildStatus`) and every manifest\n * operation is smoke-tested in a sandbox\n * (`metadata.packageSmoke`, BOFF-9656).\n * 4. Approval — a workspace-private node is approved by its own\n * organization when it is published to it\n * (`metadata.organizationPublish`, BOFF-9657); a store\n * node is reviewed by a platform admin\n * (`status` pending_review → published | rejected).\n * 5. Deploy — the version is published and installable.\n *\n * Everything here is derived from the ApplicationVersion the service already\n * returns, so the lifecycle page never invents a state the backend does not\n * hold. The functions are pure so the page stays a thin view over them.\n */\nimport {\n readPackageValidationState,\n type PackageValidationIssue,\n type PackageValidationState,\n} from \"../components/PackageValidationPanel\";\nimport {\n readNodeSmokeState,\n type NodeSmokeState,\n} from \"../components/NodeSmokePanel\";\n\nexport type LifecycleStepId =\n \"upload\" | \"validate\" | \"test\" | \"approval\" | \"deploy\";\n\n/**\n * complete — the stage is done.\n * in_progress — the platform is working on it (validation, build, tests,\n * platform review); the page polls while any stage is here.\n * action — waiting for the developer (upload, fix, submit, deploy).\n * failed — the stage failed and blocks everything after it.\n * pending — not reached yet.\n */\nexport type LifecycleStepStatus =\n \"complete\" | \"in_progress\" | \"action\" | \"failed\" | \"pending\";\n\nexport interface LifecycleStep {\n id: LifecycleStepId;\n status: LifecycleStepStatus;\n /** Short machine-friendly reason; the page maps it to translated copy. */\n reason: string;\n}\n\nexport type CheckStatus = \"pass\" | \"warn\" | \"fail\" | \"running\" | \"not_run\";\n\nexport type LifecycleCheckId =\n \"structure\" | \"manifest\" | \"security\" | \"build\" | \"tests\";\n\nexport interface LifecycleCheck {\n id: LifecycleCheckId;\n status: CheckStatus;\n issues: PackageValidationIssue[];\n /** Free-form detail such as \"12 / 12 passing\" inputs or a build error. */\n detail: string | null;\n}\n\nexport type NodeVisibility = \"private\" | \"store\";\n\nexport type SandboxBuildStatus =\n \"PENDING\" | \"READY\" | \"FAILED\" | \"DISPATCH_FAILED\" | \"UNSUPPORTED\";\n\n/** The ApplicationVersion fields the lifecycle reads. */\nexport interface LifecycleVersion {\n id: string;\n version: string;\n status: string;\n packageUrl?: string | null;\n metadata?: unknown;\n reviewNotes?: string | null;\n}\n\nexport interface NodeLifecycle {\n steps: LifecycleStep[];\n /** Index of the first step that is not complete; steps.length when all are. */\n currentIndex: number;\n checks: LifecycleCheck[];\n validation: PackageValidationState;\n smoke: NodeSmokeState;\n buildStatus: SandboxBuildStatus | null;\n buildError: string | null;\n organizationPublished: boolean;\n /** True while the platform is still working, so the page should poll. */\n busy: boolean;\n}\n\nconst BUILD_STATUSES: ReadonlySet<string> = new Set([\n \"PENDING\",\n \"READY\",\n \"FAILED\",\n \"DISPATCH_FAILED\",\n \"UNSUPPORTED\",\n]);\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n\nexport function readSandboxBuildStatus(\n metadata: unknown,\n): SandboxBuildStatus | null {\n if (!isRecord(metadata)) return null;\n const status = metadata.sandboxBuildStatus;\n return typeof status === \"string\" && BUILD_STATUSES.has(status)\n ? (status as SandboxBuildStatus)\n : null;\n}\n\nexport function readSandboxBuildError(metadata: unknown): string | null {\n if (!isRecord(metadata)) return null;\n const error = metadata.sandboxBuildError;\n return typeof error === \"string\" && error.trim() ? error : null;\n}\n\n/** BOFF-9657: the version was published to its organization (no platform review). */\nexport function isOrganizationPublished(metadata: unknown): boolean {\n return isRecord(metadata) && isRecord(metadata.organizationPublish);\n}\n\n/** Group a validation issue code into the check it belongs to. */\nexport function checkForIssueCode(code: string): LifecycleCheckId {\n if (code.startsWith(\"blocked.\") || code.startsWith(\"review.\")) {\n return \"security\";\n }\n if (code.startsWith(\"manifest.\") || code.startsWith(\"operation.\")) {\n return \"manifest\";\n }\n return \"structure\";\n}\n\nfunction validationCheck(\n id: \"structure\" | \"manifest\" | \"security\",\n validation: PackageValidationState,\n hasPackage: boolean,\n): LifecycleCheck {\n if (validation.kind === \"pending\") {\n return { id, status: \"running\", issues: [], detail: null };\n }\n if (validation.kind === \"none\") {\n return {\n id,\n status: \"not_run\",\n issues: [],\n detail: hasPackage ? \"notValidated\" : null,\n };\n }\n const issues = [...validation.errors, ...validation.warnings].filter(\n (issue) => checkForIssueCode(issue.code) === id,\n );\n const hasError = issues.some((issue) => issue.severity === \"error\");\n const hasWarning = issues.some((issue) => issue.severity === \"warning\");\n let status: CheckStatus = \"pass\";\n if (hasError) status = \"fail\";\n else if (hasWarning) status = \"warn\";\n else if (validation.kind === \"failed\" && id === \"structure\") {\n // A failed report whose errors all landed in other groups must not make\n // the structure check look green when there is nothing else to show.\n status = validation.errors.length > 0 ? \"pass\" : \"fail\";\n }\n return { id, status, issues, detail: null };\n}\n\nfunction buildCheck(\n buildStatus: SandboxBuildStatus | null,\n buildError: string | null,\n validation: PackageValidationState,\n): LifecycleCheck {\n if (buildStatus === \"READY\") {\n return { id: \"build\", status: \"pass\", issues: [], detail: null };\n }\n if (buildStatus === \"PENDING\") {\n return { id: \"build\", status: \"running\", issues: [], detail: null };\n }\n if (buildStatus) {\n return {\n id: \"build\",\n status: \"fail\",\n issues: [],\n detail: buildError ?? buildStatus,\n };\n }\n // No build recorded. A package that failed validation is never built.\n return {\n id: \"build\",\n status: \"not_run\",\n issues: [],\n detail: validation.kind === \"failed\" ? \"blockedByValidation\" : null,\n };\n}\n\nfunction testsCheck(smoke: NodeSmokeState): LifecycleCheck {\n switch (smoke.kind) {\n case \"running\":\n return { id: \"tests\", status: \"running\", issues: [], detail: null };\n case \"passed\":\n return {\n id: \"tests\",\n status: \"pass\",\n issues: [],\n detail: `${smoke.passed}/${smoke.operations.length}`,\n };\n case \"failed\":\n return {\n id: \"tests\",\n status: \"fail\",\n issues: [],\n detail: smoke.error ?? `${smoke.failed}/${smoke.operations.length}`,\n };\n case \"skipped\":\n return {\n id: \"tests\",\n status: \"warn\",\n issues: [],\n detail: smoke.error,\n };\n default:\n return { id: \"tests\", status: \"not_run\", issues: [], detail: null };\n }\n}\n\nfunction uploadStep(hasPackage: boolean): LifecycleStep {\n return hasPackage\n ? { id: \"upload\", status: \"complete\", reason: \"uploaded\" }\n : { id: \"upload\", status: \"action\", reason: \"noPackage\" };\n}\n\nfunction validateStep(\n hasPackage: boolean,\n validation: PackageValidationState,\n): LifecycleStep {\n if (!hasPackage) {\n return { id: \"validate\", status: \"pending\", reason: \"waitingForPackage\" };\n }\n switch (validation.kind) {\n case \"passed\":\n return { id: \"validate\", status: \"complete\", reason: \"passed\" };\n case \"failed\":\n return { id: \"validate\", status: \"failed\", reason: \"failed\" };\n case \"pending\":\n return { id: \"validate\", status: \"in_progress\", reason: \"validating\" };\n default:\n // A package uploaded before validation existed. The service refuses to\n // publish it, so the developer has to upload it again.\n return { id: \"validate\", status: \"action\", reason: \"notValidated\" };\n }\n}\n\nfunction testStep(\n validationStep: LifecycleStep,\n buildStatus: SandboxBuildStatus | null,\n smoke: NodeSmokeState,\n): LifecycleStep {\n if (validationStep.status !== \"complete\") {\n return { id: \"test\", status: \"pending\", reason: \"waitingForValidation\" };\n }\n if (buildStatus === null || buildStatus === \"PENDING\") {\n return { id: \"test\", status: \"in_progress\", reason: \"building\" };\n }\n if (buildStatus !== \"READY\") {\n return { id: \"test\", status: \"failed\", reason: \"buildFailed\" };\n }\n switch (smoke.kind) {\n case \"running\":\n return { id: \"test\", status: \"in_progress\", reason: \"testing\" };\n case \"failed\":\n return { id: \"test\", status: \"failed\", reason: \"testsFailed\" };\n case \"skipped\":\n return { id: \"test\", status: \"complete\", reason: \"testsSkipped\" };\n case \"passed\":\n return { id: \"test\", status: \"complete\", reason: \"testsPassed\" };\n default:\n // READY with no smoke record: built before operation smoke tests\n // existed; the service accepts it.\n return { id: \"test\", status: \"complete\", reason: \"built\" };\n }\n}\n\nfunction approvalStep(\n previous: LifecycleStep,\n version: LifecycleVersion,\n visibility: NodeVisibility,\n organizationPublished: boolean,\n): LifecycleStep {\n const status = version.status.toLowerCase();\n if (organizationPublished) {\n return { id: \"approval\", status: \"complete\", reason: \"organization\" };\n }\n if (status === \"published\" || status === \"deprecated\") {\n return { id: \"approval\", status: \"complete\", reason: \"approved\" };\n }\n if (status === \"pending_review\") {\n return { id: \"approval\", status: \"in_progress\", reason: \"inReview\" };\n }\n if (status === \"rejected\") {\n return { id: \"approval\", status: \"failed\", reason: \"rejected\" };\n }\n if (previous.status !== \"complete\") {\n return { id: \"approval\", status: \"pending\", reason: \"waitingForTests\" };\n }\n return {\n id: \"approval\",\n status: \"action\",\n reason: visibility === \"private\" ? \"readyForOrganization\" : \"readyToSubmit\",\n };\n}\n\nfunction deployStep(\n version: LifecycleVersion,\n approval: LifecycleStep,\n organizationPublished: boolean,\n): LifecycleStep {\n const status = version.status.toLowerCase();\n if (status === \"deprecated\") {\n return { id: \"deploy\", status: \"complete\", reason: \"deprecated\" };\n }\n if (status === \"published\") {\n return {\n id: \"deploy\",\n status: \"complete\",\n reason: organizationPublished ? \"deployedToOrganization\" : \"store\",\n };\n }\n if (approval.status === \"action\") {\n return { id: \"deploy\", status: \"action\", reason: \"ready\" };\n }\n return { id: \"deploy\", status: \"pending\", reason: \"waitingForApproval\" };\n}\n\n/** Derive the full lifecycle view of one NODE application version. */\nexport function deriveNodeLifecycle(\n version: LifecycleVersion,\n visibility: NodeVisibility,\n): NodeLifecycle {\n const metadata = version.metadata;\n const hasPackage = Boolean(version.packageUrl);\n const validation = readPackageValidationState(metadata);\n const smoke = readNodeSmokeState(metadata);\n const buildStatus = readSandboxBuildStatus(metadata);\n const buildError = readSandboxBuildError(metadata);\n const organizationPublished = isOrganizationPublished(metadata);\n\n const upload = uploadStep(hasPackage);\n const validate = validateStep(hasPackage, validation);\n const test = testStep(validate, buildStatus, smoke);\n const approval = approvalStep(\n test,\n version,\n visibility,\n organizationPublished,\n );\n const deploy = deployStep(version, approval, organizationPublished);\n const steps = [upload, validate, test, approval, deploy];\n\n const firstOpen = steps.findIndex((step) => step.status !== \"complete\");\n const currentIndex = firstOpen === -1 ? steps.length : firstOpen;\n\n const checks: LifecycleCheck[] = [\n validationCheck(\"structure\", validation, hasPackage),\n validationCheck(\"manifest\", validation, hasPackage),\n validationCheck(\"security\", validation, hasPackage),\n buildCheck(buildStatus, buildError, validation),\n testsCheck(smoke),\n ];\n\n // Approval in review is a human step that can take days; the page still\n // polls so the stepper flips the moment an admin decides.\n const busy = steps.some((step) => step.status === \"in_progress\");\n\n return {\n steps,\n currentIndex,\n checks,\n validation,\n smoke,\n buildStatus,\n buildError,\n organizationPublished,\n busy,\n };\n}\n\nexport type DeployBlocker =\n | \"notDraft\"\n | \"noPackage\"\n | \"validationNotPassed\"\n | \"buildNotReady\"\n | \"testsNotPassed\"\n | \"visibilityMismatch\"\n | \"noWorkspace\"\n | \"pendingVersion\"\n | \"noPermission\";\n\nexport interface DeployReadinessInput {\n lifecycle: NodeLifecycle;\n version: LifecycleVersion;\n visibility: NodeVisibility;\n /** The application's own visibility (PRIVATE, PUBLIC, UNLISTED…). */\n appVisibility: string | null | undefined;\n workspaceId: string | null | undefined;\n /** Another version of the application is already in platform review. */\n otherVersionPending: boolean;\n canPublish: boolean;\n}\n\n/**\n * Whether the Deploy action can run, and if not the first reason why. These\n * mirror the service's own gates (privateNodes.ts and the review submission),\n * so the button is disabled exactly when the service would refuse.\n */\nexport function deployBlocker(\n input: DeployReadinessInput,\n): DeployBlocker | null {\n const { lifecycle, version, visibility } = input;\n if (!input.canPublish) return \"noPermission\";\n const status = version.status.toLowerCase();\n if (status !== \"draft\" && status !== \"rejected\") return \"notDraft\";\n const appIsPrivate = (input.appVisibility ?? \"\").toUpperCase() === \"PRIVATE\";\n if ((visibility === \"private\") !== appIsPrivate) return \"visibilityMismatch\";\n if (!version.packageUrl) return \"noPackage\";\n if (lifecycle.validation.kind !== \"passed\") return \"validationNotPassed\";\n if (lifecycle.buildStatus !== \"READY\") return \"buildNotReady\";\n if (lifecycle.smoke.kind === \"running\" || lifecycle.smoke.kind === \"failed\") {\n return \"testsNotPassed\";\n }\n if (visibility === \"private\" && !input.workspaceId) return \"noWorkspace\";\n if (visibility === \"store\" && input.otherVersionPending) {\n return \"pendingVersion\";\n }\n return null;\n}\n\n/** The visibility a NODE application's versions are published with. */\nexport function visibilityForApp(\n appVisibility: string | null | undefined,\n): NodeVisibility {\n return (appVisibility ?? \"\").toUpperCase() === \"PRIVATE\"\n ? \"private\"\n : \"store\";\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Publisher payout methods and automatic processor onboarding (BOFF-10953).
|
|
3
|
+
*
|
|
4
|
+
* Pure helpers behind the Payouts page: which payout method types a country
|
|
5
|
+
* can use, what state a method is in from the publisher's point of view,
|
|
6
|
+
* client-side checks that mirror the store's validation (the store stays
|
|
7
|
+
* authoritative and re-validates everything), and the mapping from store
|
|
8
|
+
* error codes to messages a publisher can act on.
|
|
9
|
+
*
|
|
10
|
+
* Backend contract: global-store-svc `myPublisherPayoutMethods`,
|
|
11
|
+
* `addMyPublisherPayoutMethod`, `startMyPublisherPayoutOnboarding` and
|
|
12
|
+
* `refreshMyPublisherPayoutOnboarding` (BOFF-10634, BOFF-10895).
|
|
13
|
+
*/
|
|
14
|
+
export type PayoutMethodTypeValue = "BANK_TRANSFER" | "PAYPAL" | "RAZORPAY_X" | "STRIPE_CONNECT";
|
|
15
|
+
/** Method types offered for India (RazorpayX payouts in INR). */
|
|
16
|
+
export declare const INDIA_METHOD_TYPES: readonly PayoutMethodTypeValue[];
|
|
17
|
+
/** Method types offered everywhere else (Stripe Connect in USD). */
|
|
18
|
+
export declare const INTERNATIONAL_METHOD_TYPES: readonly PayoutMethodTypeValue[];
|
|
19
|
+
export interface PayoutRouteLike {
|
|
20
|
+
country?: string | null;
|
|
21
|
+
currency: string;
|
|
22
|
+
processor: string;
|
|
23
|
+
methodTypes: readonly string[];
|
|
24
|
+
}
|
|
25
|
+
export interface PayoutMethodLike {
|
|
26
|
+
id: string;
|
|
27
|
+
type: string;
|
|
28
|
+
status: string;
|
|
29
|
+
processorStatus?: string | null;
|
|
30
|
+
processorFailureReason?: string | null;
|
|
31
|
+
rejectionReason?: string | null;
|
|
32
|
+
}
|
|
33
|
+
/** Normalise a country to an upper-case ISO 3166-1 alpha-2 code, or "". */
|
|
34
|
+
export declare function normalizeCountry(value: string | null | undefined): string;
|
|
35
|
+
/**
|
|
36
|
+
* The payout method types to offer for the country the publisher entered.
|
|
37
|
+
* The store's payoutRoute is used as-is when it is for that same country (or
|
|
38
|
+
* no country is known yet); otherwise the same India / rest-of-world rule the
|
|
39
|
+
* store applies decides. PAYPAL is never offered.
|
|
40
|
+
*/
|
|
41
|
+
export declare function methodTypesForCountry(country: string | null | undefined, route: PayoutRouteLike | null | undefined): PayoutMethodTypeValue[];
|
|
42
|
+
/** Default payout currency for a country (INR for India, USD elsewhere). */
|
|
43
|
+
export declare function defaultCurrencyForCountry(country: string | null | undefined): string;
|
|
44
|
+
/** True for the method types that collect bank details when added. */
|
|
45
|
+
export declare function needsBankDetails(type: string): boolean;
|
|
46
|
+
/** True for the method types that support automatic processor onboarding. */
|
|
47
|
+
export declare function supportsAutomaticOnboarding(type: string): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Where a payout method stands, from the publisher's point of view.
|
|
50
|
+
*
|
|
51
|
+
* - VERIFIED: payouts can be sent to it.
|
|
52
|
+
* - NOT_STARTED: pending, automatic verification has not been started.
|
|
53
|
+
* - IN_PROGRESS: the processor is still checking the account.
|
|
54
|
+
* - AWAITING_KYC: the processor confirmed the account; the method turns
|
|
55
|
+
* VERIFIED once the publisher's own verification passes.
|
|
56
|
+
* - FAILED: the processor could not verify the account; start again.
|
|
57
|
+
* - MANUAL_REVIEW: a bank transfer the marketplace team verifies by hand.
|
|
58
|
+
* - REJECTED / SUSPENDED / CLOSED: final states set by the marketplace.
|
|
59
|
+
*/
|
|
60
|
+
export type PayoutMethodPhase = "VERIFIED" | "NOT_STARTED" | "IN_PROGRESS" | "AWAITING_KYC" | "FAILED" | "MANUAL_REVIEW" | "REJECTED" | "SUSPENDED" | "CLOSED";
|
|
61
|
+
export declare function payoutMethodPhase(method: PayoutMethodLike): PayoutMethodPhase;
|
|
62
|
+
/** The publisher may (re)start automatic onboarding for this method. */
|
|
63
|
+
export declare function canStartOnboarding(method: PayoutMethodLike): boolean;
|
|
64
|
+
/** Methods whose processor state is worth re-reading while the page is open. */
|
|
65
|
+
export declare function methodsToPoll<T extends PayoutMethodLike>(methods: readonly T[]): T[];
|
|
66
|
+
/** Stripe onboarding hands the publisher back with ?onboarding=return|refresh. */
|
|
67
|
+
export type OnboardingRedirect = "return" | "refresh" | null;
|
|
68
|
+
export declare function readOnboardingRedirect(search: string): OnboardingRedirect;
|
|
69
|
+
/** Pending Stripe methods that already have a processor account. */
|
|
70
|
+
export declare function stripeMethodsInOnboarding<T extends PayoutMethodLike>(methods: readonly T[]): T[];
|
|
71
|
+
/**
|
|
72
|
+
* Send the browser to the processor's hosted onboarding page. Kept here so
|
|
73
|
+
* the page's redirect can be replaced in tests.
|
|
74
|
+
*/
|
|
75
|
+
export declare function redirectToOnboarding(url: string): void;
|
|
76
|
+
/** The redirect URL returned by the store, accepted only over https. */
|
|
77
|
+
export declare function safeOnboardingUrl(url: string | null | undefined): string | null;
|
|
78
|
+
export declare function isValidBankCode(code: string, country: string): boolean;
|
|
79
|
+
export declare function isValidEmail(value: string): boolean;
|
|
80
|
+
export declare function normalizePhone(value: string): string;
|
|
81
|
+
export interface AddPayoutMethodForm {
|
|
82
|
+
type: string;
|
|
83
|
+
country: string;
|
|
84
|
+
accountHolderName: string;
|
|
85
|
+
accountNumberLast4: string;
|
|
86
|
+
bankCode: string;
|
|
87
|
+
bankName: string;
|
|
88
|
+
isDefault: boolean;
|
|
89
|
+
}
|
|
90
|
+
export type AddPayoutMethodField = "type" | "country" | "accountHolderName" | "accountNumberLast4" | "bankCode";
|
|
91
|
+
/** Field errors for the add form, as message keys with English fallbacks. */
|
|
92
|
+
export declare function validateAddPayoutMethod(form: AddPayoutMethodForm, route: PayoutRouteLike | null | undefined): Partial<Record<AddPayoutMethodField, string>>;
|
|
93
|
+
/** The addMyPublisherPayoutMethod input for a validated form. */
|
|
94
|
+
export declare function toAddPayoutMethodInput(form: AddPayoutMethodForm): {
|
|
95
|
+
type: PayoutMethodTypeValue;
|
|
96
|
+
country: string;
|
|
97
|
+
currency: string;
|
|
98
|
+
accountHolderName: string;
|
|
99
|
+
accountNumberLast4?: string;
|
|
100
|
+
bankCode?: string;
|
|
101
|
+
bankName?: string;
|
|
102
|
+
isDefault: boolean;
|
|
103
|
+
};
|
|
104
|
+
export interface OnboardingForm {
|
|
105
|
+
contactEmail: string;
|
|
106
|
+
contactPhone: string;
|
|
107
|
+
accountNumber: string;
|
|
108
|
+
}
|
|
109
|
+
export type OnboardingField = keyof OnboardingForm;
|
|
110
|
+
/**
|
|
111
|
+
* Field errors for the "Verify automatically" form. RazorpayX also needs the
|
|
112
|
+
* full account number once, which must end in the registered last four digits.
|
|
113
|
+
*/
|
|
114
|
+
export declare function validateOnboarding(type: string, form: OnboardingForm, accountLast4: string | null | undefined): Partial<Record<OnboardingField, string>>;
|
|
115
|
+
/** The startMyPublisherPayoutOnboarding input for a validated form. */
|
|
116
|
+
export declare function toOnboardingInput(type: string, form: OnboardingForm): {
|
|
117
|
+
contactEmail: string;
|
|
118
|
+
contactPhone?: string;
|
|
119
|
+
accountNumber?: string;
|
|
120
|
+
};
|
|
121
|
+
/** Last four digits recorded on a method, read from its masked details. */
|
|
122
|
+
export declare function accountLast4Of(maskedDetails: Record<string, unknown> | null | undefined): string | null;
|
|
123
|
+
export type PayoutAction = "agreement" | "add" | "remove" | "start" | "refresh";
|
|
124
|
+
export declare const PAYOUT_GENERIC_ERROR = "Something went wrong. Nothing was changed. Try again in a moment; if it keeps failing, contact support.";
|
|
125
|
+
interface ErrorEntry {
|
|
126
|
+
code: string | null;
|
|
127
|
+
message: string | null;
|
|
128
|
+
}
|
|
129
|
+
/** The first GraphQL error (code and message) carried by an Apollo error. */
|
|
130
|
+
export declare function firstGraphQLError(error: unknown): ErrorEntry;
|
|
131
|
+
/**
|
|
132
|
+
* A message the publisher can act on for a failed payout action. The store's
|
|
133
|
+
* own message is kept for input errors because it names the field at fault.
|
|
134
|
+
*/
|
|
135
|
+
export declare function payoutErrorMessage(error: unknown, action: PayoutAction): string;
|
|
136
|
+
export {};
|