@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,33 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { useCallback as
|
|
24
|
-
import { Markdown as
|
|
25
|
-
import { AlertCircle as
|
|
1
|
+
import { PageLayout as e, PageSection as t } from "../components/PageLayout.js";
|
|
2
|
+
import { InputField as n, SelectField as r, TextareaField as i } from "../components/FormField.js";
|
|
3
|
+
import { MarkdownEditor as a } from "../components/MarkdownEditor.js";
|
|
4
|
+
import { ImageUploadField as o, ScreenshotGallery as s } from "../components/ImageUploadField.js";
|
|
5
|
+
import { FeaturedBadge as c, StatusBadge as l, VerifiedBadge as u } from "../components/StatusBadge.js";
|
|
6
|
+
import { DataTable as d, DetailList as f } from "../components/DataTable.js";
|
|
7
|
+
import { NewSecretAlert as p } from "../components/SecretDisplay.js";
|
|
8
|
+
import { EmptyState as m } from "../components/EmptyState.js";
|
|
9
|
+
import { LoadingState as h } from "../components/LoadingState.js";
|
|
10
|
+
import { ConfirmDialog as g } from "../components/ConfirmDialog.js";
|
|
11
|
+
import { SelectionCheckbox as _ } from "../components/SelectionCheckbox.js";
|
|
12
|
+
import { GrantDelegationModal as v } from "../components/GrantDelegationModal.js";
|
|
13
|
+
import { useDevportal as y } from "../providers/DevportalProvider.js";
|
|
14
|
+
import { usePackageUpload as b } from "../hooks/usePackageUpload.js";
|
|
15
|
+
import { nativeNotify as x } from "../../utils/nativeBridge.js";
|
|
16
|
+
import { submitForReview as S } from "../utils/submitForReview.js";
|
|
17
|
+
import { DEVPORTAL_PERMISSIONS as C } from "../constants/permissions.js";
|
|
18
|
+
import { DEVELOPER_LINKS as w } from "../constants/developerLinks.js";
|
|
19
|
+
import { useDevportalPermission as T } from "../hooks/usePermission.js";
|
|
20
|
+
import { cn as E } from "../utils/cn.js";
|
|
21
|
+
import { APP_TYPE_LABELS as D } from "../utils/constants.js";
|
|
22
|
+
import { useCurrentUserDelegationsQuery as O, useDeactivateApplicationMutation as ee, useGetApplicationAnalyticsQuery as te, useGetApplicationQuery as ne, useGetApplicationVersionsQuery as re, useGetOrganizationQuery as k, useGetWebhooksQuery as A, useGetWorkspaceInstallationQuery as ie, useInstallApplicationMutation as ae, usePublishApplicationVersionMutation as oe, useRevokeDelegationMutation as se, useRotateAppSecretMutation as ce, useShareWorkflowMutation as le, useSubmitApplicationMutation as ue, useUninstallApplicationMutation as de, useUnshareWorkflowMutation as fe, useUpdateApplicationMutation as pe } from "../../generated/global-operations.js";
|
|
23
|
+
import { useCallback as j, useEffect as me, useMemo as M, useRef as he, useState as N } from "react";
|
|
24
|
+
import { Markdown as ge } from "@burdenoff/fe-libs/shared/components";
|
|
25
|
+
import { AlertCircle as _e, AppWindow as ve, BarChart3 as ye, Check as P, CheckCircle as be, ChevronRight as xe, CircleDollarSign as F, Clock as Se, Copy as Ce, Edit as we, ExternalLink as I, FlaskConical as Te, Gift as Ee, Info as De, Key as L, Link as Oe, Loader2 as R, Lock as ke, MoreHorizontal as Ae, Package as je, Plus as z, Power as Me, RefreshCw as Ne, SendHorizontal as Pe, Shield as B, Store as Fe, TrendingUp as Ie, Upload as Le, Users as Re, Wallet as V, Webhook as ze, X as Be, XCircle as Ve } from "lucide-react";
|
|
26
26
|
import { useParams as He } from "react-router";
|
|
27
27
|
import { Fragment as H, jsx as U, jsxs as W } from "react/jsx-runtime";
|
|
28
28
|
import { useI18n as G } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
29
29
|
import { CTAOverflowMenu as Ue, EmphasisPanel as We, GlassCard as Ge } from "@burdenoff/fe-libs/ui";
|
|
30
|
-
|
|
30
|
+
// src/devportal/pages/ApplicationDetailPage.tsx
|
|
31
31
|
function Ke(e) {
|
|
32
32
|
return e ? {
|
|
33
33
|
id: e.id,
|
|
@@ -215,7 +215,7 @@ var Xe = [
|
|
|
215
215
|
})]
|
|
216
216
|
}), K = ({ message: e }) => /* @__PURE__ */ W("div", {
|
|
217
217
|
className: "flex flex-col items-center justify-center gap-2 py-12 text-center",
|
|
218
|
-
children: [/* @__PURE__ */ U(
|
|
218
|
+
children: [/* @__PURE__ */ U(_e, {
|
|
219
219
|
size: 32,
|
|
220
220
|
className: "text-status-error-text"
|
|
221
221
|
}), /* @__PURE__ */ U("p", {
|
|
@@ -223,110 +223,110 @@ var Xe = [
|
|
|
223
223
|
children: e
|
|
224
224
|
})]
|
|
225
225
|
}), q = () => {
|
|
226
|
-
let { navigate:
|
|
227
|
-
let n =
|
|
226
|
+
let { navigate: t, basePath: n, workspaceId: i } = y(), { t: a } = G(), o = (e, t) => {
|
|
227
|
+
let n = a(e);
|
|
228
228
|
return n === e ? t : n;
|
|
229
|
-
}, { allowed:
|
|
230
|
-
variables: { id:
|
|
231
|
-
skip: !
|
|
232
|
-
}), [F, { loading: Ce }] =
|
|
229
|
+
}, { allowed: s } = T(C.APP_UPDATE), { allowed: d } = T(C.APP_DELETE), { appId: f } = He(), [_, b] = N("overview"), [w, O] = N(!1), [te, re] = N(!1), [A, se] = N(null), [le, fe] = N(null), [pe, me] = N(!1), { data: M, loading: he, error: ge, refetch: ye } = ne({
|
|
230
|
+
variables: { id: f },
|
|
231
|
+
skip: !f
|
|
232
|
+
}), [F, { loading: Ce }] = ce(), [I, { loading: Ee }] = ee(), [De, { loading: L }] = ue(), [Oe] = oe(), [ke, { loading: Ae }] = ae(), [je, { loading: z }] = de(), { data: B, refetch: Ie } = ie({
|
|
233
233
|
variables: {
|
|
234
|
-
applicationId:
|
|
235
|
-
workspaceId:
|
|
234
|
+
applicationId: f,
|
|
235
|
+
workspaceId: i ?? void 0
|
|
236
236
|
},
|
|
237
|
-
skip: !
|
|
237
|
+
skip: !i || !f,
|
|
238
238
|
fetchPolicy: "cache-and-network"
|
|
239
|
-
}), Le = B?.appInstallations?.edges?.[0]?.node ?? null, { data: Re } =
|
|
240
|
-
variables: { id:
|
|
241
|
-
skip: !
|
|
239
|
+
}), Le = B?.appInstallations?.edges?.[0]?.node ?? null, { data: Re } = k({
|
|
240
|
+
variables: { id: M?.application?.developerOrganizationId ?? "" },
|
|
241
|
+
skip: !M?.application?.developerOrganizationId,
|
|
242
242
|
fetchPolicy: "cache-first"
|
|
243
|
-
}), V =
|
|
244
|
-
|
|
245
|
-
}, [
|
|
246
|
-
let e =
|
|
243
|
+
}), V = j((e) => {
|
|
244
|
+
t?.(`${n}${e}`);
|
|
245
|
+
}, [t, n]), ze = j(async () => {
|
|
246
|
+
let e = M?.application?.appId;
|
|
247
247
|
if (e) try {
|
|
248
248
|
let t = (await F({ variables: { id: e } })).data?.rotateAppSecret.clientSecret;
|
|
249
|
-
t &&
|
|
249
|
+
t && se(t), O(!1);
|
|
250
250
|
} catch {}
|
|
251
|
-
}, [
|
|
252
|
-
if (
|
|
253
|
-
await I({ variables: { id:
|
|
251
|
+
}, [M?.application?.appId, F]), Be = j(async () => {
|
|
252
|
+
if (f) try {
|
|
253
|
+
await I({ variables: { id: f } }), re(!1), V("/apps");
|
|
254
254
|
} catch {}
|
|
255
255
|
}, [
|
|
256
|
-
|
|
256
|
+
f,
|
|
257
257
|
I,
|
|
258
258
|
V
|
|
259
|
-
]), We =
|
|
260
|
-
if (
|
|
259
|
+
]), We = j(async (e) => {
|
|
260
|
+
if (f && i) try {
|
|
261
261
|
await ke({ variables: { input: {
|
|
262
|
-
applicationId:
|
|
262
|
+
applicationId: f,
|
|
263
263
|
scope: "WORKSPACE",
|
|
264
|
-
workspaceId:
|
|
264
|
+
workspaceId: i,
|
|
265
265
|
autoUpdate: !1,
|
|
266
266
|
...e ? { version: e } : {}
|
|
267
|
-
} } }), Ie(),
|
|
267
|
+
} } }), Ie(), x("success");
|
|
268
268
|
} catch (e) {
|
|
269
|
-
console.error("[DevPortal] Test in Workspace failed:", e),
|
|
269
|
+
console.error("[DevPortal] Test in Workspace failed:", e), x("error");
|
|
270
270
|
}
|
|
271
271
|
}, [
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
f,
|
|
273
|
+
i,
|
|
274
274
|
ke,
|
|
275
275
|
Ie
|
|
276
|
-
]), [Ge, qe] =
|
|
276
|
+
]), [Ge, qe] = N(!1), [Je, Ye] = N(""), Ze = j(async (e) => {
|
|
277
277
|
try {
|
|
278
|
-
await je({ variables: { id: e } }), Ie(),
|
|
278
|
+
await je({ variables: { id: e } }), Ie(), x("success");
|
|
279
279
|
} catch {
|
|
280
|
-
|
|
280
|
+
x("error");
|
|
281
281
|
}
|
|
282
|
-
}, [je, Ie]), Qe =
|
|
283
|
-
if (!
|
|
282
|
+
}, [je, Ie]), Qe = j(async () => {
|
|
283
|
+
if (!f) return;
|
|
284
284
|
fe(null);
|
|
285
|
-
let e = await
|
|
285
|
+
let e = await S((M?.application?.versions?.edges ?? []).map((e) => e.node), {
|
|
286
286
|
publishVersion: (e) => Oe({ variables: { id: e } }),
|
|
287
|
-
submitApplication: () => De({ variables: { id:
|
|
287
|
+
submitApplication: () => De({ variables: { id: f } })
|
|
288
288
|
});
|
|
289
|
-
e.ok ?
|
|
289
|
+
e.ok ? x("success") : (fe(e.message), x("error")), ye();
|
|
290
290
|
}, [
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
f,
|
|
292
|
+
M?.application?.versions?.edges,
|
|
293
293
|
Oe,
|
|
294
294
|
De,
|
|
295
295
|
ye
|
|
296
296
|
]);
|
|
297
|
-
if (
|
|
298
|
-
if (
|
|
299
|
-
title:
|
|
300
|
-
backLink: `${
|
|
301
|
-
backLabel:
|
|
297
|
+
if (he && !M) return /* @__PURE__ */ U(h, { message: o("devportal.loadingApplication", "Loading application...") });
|
|
298
|
+
if (ge) return /* @__PURE__ */ U(e, {
|
|
299
|
+
title: o("devportal.error", "Error"),
|
|
300
|
+
backLink: `${n}/apps`,
|
|
301
|
+
backLabel: o("devportal.backToApplications", "Back to Applications"),
|
|
302
302
|
children: /* @__PURE__ */ W("div", {
|
|
303
303
|
className: "flex flex-col items-center justify-center py-12 text-center",
|
|
304
304
|
children: [
|
|
305
|
-
/* @__PURE__ */ U(
|
|
305
|
+
/* @__PURE__ */ U(_e, {
|
|
306
306
|
size: 48,
|
|
307
307
|
className: "text-status-error-text mb-4"
|
|
308
308
|
}),
|
|
309
309
|
/* @__PURE__ */ U("h3", {
|
|
310
310
|
className: "text-lg font-semibold mb-2",
|
|
311
|
-
children:
|
|
311
|
+
children: o("devportal.failedToLoadApplication", "Failed to load application")
|
|
312
312
|
}),
|
|
313
313
|
/* @__PURE__ */ U("p", {
|
|
314
314
|
className: "text-sm text-text-secondary",
|
|
315
|
-
children:
|
|
315
|
+
children: ge.message
|
|
316
316
|
})
|
|
317
317
|
]
|
|
318
318
|
})
|
|
319
319
|
});
|
|
320
|
-
let K = Ke(
|
|
321
|
-
if (!K) return /* @__PURE__ */ U(
|
|
322
|
-
title:
|
|
323
|
-
backLink: `${
|
|
324
|
-
backLabel:
|
|
325
|
-
children: /* @__PURE__ */ U(
|
|
320
|
+
let K = Ke(M?.application);
|
|
321
|
+
if (!K) return /* @__PURE__ */ U(e, {
|
|
322
|
+
title: o("devportal.notFound", "Not Found"),
|
|
323
|
+
backLink: `${n}/apps`,
|
|
324
|
+
backLabel: o("devportal.backToApplications", "Back to Applications"),
|
|
325
|
+
children: /* @__PURE__ */ U(m, {
|
|
326
326
|
illustration: "empty-generic",
|
|
327
327
|
icon: /* @__PURE__ */ U(ve, { size: 48 }),
|
|
328
|
-
title:
|
|
329
|
-
description:
|
|
328
|
+
title: o("devportal.applicationNotFound", "Application not found"),
|
|
329
|
+
description: o("devportal.applicationNotFoundDescription", "The application you're looking for doesn't exist or you don't have access to it.")
|
|
330
330
|
})
|
|
331
331
|
});
|
|
332
332
|
let q = [
|
|
@@ -335,49 +335,45 @@ var Xe = [
|
|
|
335
335
|
"PARSER",
|
|
336
336
|
"WIDGET",
|
|
337
337
|
"DASHBOARD"
|
|
338
|
-
].includes(K.appType), J = K.appType === "API_INTEGRATION", Y =
|
|
338
|
+
].includes(K.appType), J = K.appType === "API_INTEGRATION", Y = M?.application?.versions?.totalCount ?? 0, tt = K.appType === "NODE", ct = M?.application?.versions?.edges ?? [], lt = ct.find((e) => e.node.isLatest)?.node ?? ct[0]?.node ?? null, ut = (lt?.metadata ?? {}).sandboxBuildStatus, dt = tt && ut !== "READY", pt = dt ? ut === "FAILED" || ut === "DISPATCH_FAILED" ? o("devportal.testInWorkspaceBuildFailed", "Test in Workspace (sandbox build failed)") : o("devportal.testInWorkspaceBuilding", "Test in Workspace (building sandbox image…)") : o("devportal.testInWorkspace", "Test in Workspace"), mt = K.pricingType === "PAID", ht = Re?.developerOrganization, gt = ht?.platformFeeRate ?? .3, X = !!ht?.billingAccountId, Z = K.pricingDetails ?? {}, Q = K.pricingType === "FREE" || K.pricingType === "PAID" && typeof Z.price == "number" && Z.price > 0, $ = !!K.description?.trim() && !!K.category && !!K.iconUrl && (K.visibility === "PUBLIC" || K.visibility === "UNLISTED") && (!q && !J || Y > 0) && (!mt || X) && Q, vt = $ && K.status !== "PUBLISHED" && K.status !== "SUBMITTED" && K.status !== "INACTIVE" && K.status !== "REVOKED", yt = [
|
|
339
339
|
...q ? [] : [{
|
|
340
|
-
label:
|
|
340
|
+
label: o("devportal.rotateSecret", "Rotate Secret"),
|
|
341
341
|
icon: /* @__PURE__ */ U(Ne, { size: 16 }),
|
|
342
342
|
disabled: !K.appId,
|
|
343
|
-
onSelect: () =>
|
|
343
|
+
onSelect: () => O(!0)
|
|
344
344
|
}],
|
|
345
345
|
...!q || tt ? Le ? [{
|
|
346
|
-
label:
|
|
346
|
+
label: o("devportal.uninstallFromWorkspace", "Uninstall from Workspace"),
|
|
347
347
|
icon: /* @__PURE__ */ U(Ve, { size: 16 }),
|
|
348
|
-
disabled: z || !
|
|
348
|
+
disabled: z || !i,
|
|
349
349
|
onSelect: () => void Ze(Le.id)
|
|
350
350
|
}] : [{
|
|
351
351
|
label: pt,
|
|
352
352
|
icon: /* @__PURE__ */ U(Te, { size: 16 }),
|
|
353
|
-
disabled: Ae || !
|
|
353
|
+
disabled: Ae || !i || dt,
|
|
354
354
|
onSelect: () => {
|
|
355
|
-
|
|
356
|
-
We(lt?.version);
|
|
357
|
-
return;
|
|
358
|
-
}
|
|
359
|
-
Ye(lt?.version ?? ""), qe(!0);
|
|
355
|
+
ct.length <= 1 ? We(lt?.version) : (Ye(lt?.version ?? ""), qe(!0));
|
|
360
356
|
}
|
|
361
357
|
}] : [],
|
|
362
358
|
{
|
|
363
|
-
label:
|
|
359
|
+
label: o("devportal.deactivate", "Deactivate"),
|
|
364
360
|
icon: /* @__PURE__ */ U(Me, { size: 16 }),
|
|
365
361
|
intent: "destructive",
|
|
366
|
-
disabled: !
|
|
367
|
-
onSelect: () =>
|
|
362
|
+
disabled: !d,
|
|
363
|
+
onSelect: () => re(!0)
|
|
368
364
|
}
|
|
369
365
|
];
|
|
370
|
-
return /* @__PURE__ */ W(
|
|
366
|
+
return /* @__PURE__ */ W(e, {
|
|
371
367
|
title: K.name,
|
|
372
368
|
description: K.shortDescription,
|
|
373
|
-
purpose:
|
|
374
|
-
backLink: `${
|
|
375
|
-
backLabel:
|
|
369
|
+
purpose: o("devportal.appDetailPurpose", "Everything about this application in one place — its credentials, the permissions and webhooks it uses, its analytics, and its store listing. Use the tabs to configure each area, then edit or publish when it is ready."),
|
|
370
|
+
backLink: `${n}/apps`,
|
|
371
|
+
backLabel: o("devportal.backToApplications", "Back to Applications"),
|
|
376
372
|
actions: /* @__PURE__ */ W("div", {
|
|
377
373
|
className: "flex items-center gap-2",
|
|
378
374
|
children: [K.status === "SUBMITTED" ? /* @__PURE__ */ W("div", {
|
|
379
375
|
className: "flex items-center gap-1.5 rounded-full border border-status-warning-bg bg-status-warning-bg-subtle px-3 py-1.5 text-xs font-medium text-status-warning-text",
|
|
380
|
-
children: [/* @__PURE__ */ U(Se, { size: 13 }),
|
|
376
|
+
children: [/* @__PURE__ */ U(Se, { size: 13 }), o("devportal.underReview", "Under Review")]
|
|
381
377
|
}) : K.status !== "PUBLISHED" && K.status !== "INACTIVE" && K.status !== "REVOKED" ? /* @__PURE__ */ U("button", {
|
|
382
378
|
type: "button",
|
|
383
379
|
onClick: () => void Qe(),
|
|
@@ -391,51 +387,51 @@ var Xe = [
|
|
|
391
387
|
!Q && "Set pricing (choose Free or Paid in the Pricing tab)",
|
|
392
388
|
mt && !X && "Link a billing account to receive payments"
|
|
393
389
|
].filter(Boolean).join(" · "),
|
|
394
|
-
className:
|
|
390
|
+
className: E("inline-flex items-center gap-2 rounded-md px-5 py-2 text-sm font-medium whitespace-nowrap transition-colors", vt && !L ? "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90 cursor-pointer" : "cursor-not-allowed bg-bg-muted text-text-tertiary ring-1 ring-border-subtle"),
|
|
395
391
|
children: L ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(R, {
|
|
396
392
|
size: 15,
|
|
397
393
|
className: "animate-spin"
|
|
398
|
-
}),
|
|
394
|
+
}), o("devportal.submitting", "Submitting…")] }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(Pe, { size: 15 }), o("devportal.submitForReview", "Submit for Review")] })
|
|
399
395
|
}) : null, /* @__PURE__ */ U(Ue, {
|
|
400
396
|
primary: {
|
|
401
|
-
label:
|
|
397
|
+
label: o("devportal.editApp", "Edit App"),
|
|
402
398
|
icon: /* @__PURE__ */ U(we, { size: 16 }),
|
|
403
|
-
disabled: !
|
|
399
|
+
disabled: !s,
|
|
404
400
|
onSelect: () => V(`/apps/${K.id}/edit`)
|
|
405
401
|
},
|
|
406
402
|
actions: yt
|
|
407
403
|
})]
|
|
408
404
|
}),
|
|
409
405
|
children: [
|
|
410
|
-
|
|
411
|
-
title:
|
|
412
|
-
secret:
|
|
413
|
-
description:
|
|
414
|
-
onDismiss: () =>
|
|
406
|
+
A && /* @__PURE__ */ U(p, {
|
|
407
|
+
title: o("devportal.newAppSecretGenerated", "New App Secret Generated"),
|
|
408
|
+
secret: A,
|
|
409
|
+
description: o("devportal.appSecretRotatedDescription", "Your app secret has been rotated. The old secret is no longer valid."),
|
|
410
|
+
onDismiss: () => se(null)
|
|
415
411
|
}),
|
|
416
412
|
/* @__PURE__ */ W("div", {
|
|
417
413
|
className: "flex flex-wrap items-center gap-2",
|
|
418
414
|
children: [
|
|
419
|
-
/* @__PURE__ */ U(
|
|
415
|
+
/* @__PURE__ */ U(l, {
|
|
420
416
|
status: K.status,
|
|
421
417
|
type: "app"
|
|
422
418
|
}),
|
|
423
419
|
/* @__PURE__ */ U("span", {
|
|
424
420
|
title: K.visibility === "PUBLIC" ? "Public — discoverable in the marketplace. Requires review approval before going live." : K.visibility === "UNLISTED" ? "Unlisted — not in the store, but accessible via a direct share link. You can still submit for marketplace review." : K.visibility === "INTERNAL" ? "Internal — visible to all members of your developer organization, but not to anyone outside." : "Private — only you (the creator) can see this. Other org members cannot access it.",
|
|
425
|
-
children: /* @__PURE__ */ U(
|
|
421
|
+
children: /* @__PURE__ */ U(l, {
|
|
426
422
|
status: K.visibility,
|
|
427
423
|
type: "app"
|
|
428
424
|
})
|
|
429
425
|
}),
|
|
430
|
-
K.isVerified && /* @__PURE__ */ U(
|
|
431
|
-
K.isFeatured && /* @__PURE__ */ U(
|
|
426
|
+
K.isVerified && /* @__PURE__ */ U(u, { verified: !0 }),
|
|
427
|
+
K.isFeatured && /* @__PURE__ */ U(c, {}),
|
|
432
428
|
/* @__PURE__ */ U("span", {
|
|
433
429
|
className: "text-sm text-text-secondary",
|
|
434
|
-
children:
|
|
430
|
+
children: D[K.appType] || K.appType
|
|
435
431
|
})
|
|
436
432
|
]
|
|
437
433
|
}),
|
|
438
|
-
|
|
434
|
+
le && K.status !== "SUBMITTED" && /* @__PURE__ */ W("div", {
|
|
439
435
|
role: "alert",
|
|
440
436
|
"data-testid": "devportal-submit-error",
|
|
441
437
|
className: "flex items-start gap-3 rounded-lg border border-status-error-bg bg-status-error-bg-subtle p-4",
|
|
@@ -446,10 +442,10 @@ var Xe = [
|
|
|
446
442
|
className: "text-sm",
|
|
447
443
|
children: [/* @__PURE__ */ U("p", {
|
|
448
444
|
className: "font-medium text-status-error-text",
|
|
449
|
-
children:
|
|
445
|
+
children: o("devportal.submitFailed", "Submission failed")
|
|
450
446
|
}), /* @__PURE__ */ U("p", {
|
|
451
447
|
className: "mt-0.5 text-text-secondary",
|
|
452
|
-
children:
|
|
448
|
+
children: le
|
|
453
449
|
})]
|
|
454
450
|
})]
|
|
455
451
|
}),
|
|
@@ -462,10 +458,10 @@ var Xe = [
|
|
|
462
458
|
className: "text-sm",
|
|
463
459
|
children: [/* @__PURE__ */ U("p", {
|
|
464
460
|
className: "font-medium text-status-warning-text",
|
|
465
|
-
children:
|
|
461
|
+
children: o("devportal.underReview", "Under Review")
|
|
466
462
|
}), /* @__PURE__ */ W("p", {
|
|
467
463
|
className: "mt-0.5 text-text-secondary",
|
|
468
|
-
children: [
|
|
464
|
+
children: [o("devportal.underReviewDesc", "Your submission is being reviewed by our team. You'll be notified of the outcome."), K.submittedAt && /* @__PURE__ */ W("span", {
|
|
469
465
|
className: "ml-1",
|
|
470
466
|
children: [
|
|
471
467
|
"Submitted ",
|
|
@@ -486,17 +482,17 @@ var Xe = [
|
|
|
486
482
|
children: [
|
|
487
483
|
/* @__PURE__ */ U("p", {
|
|
488
484
|
className: "font-medium text-status-error-text",
|
|
489
|
-
children:
|
|
485
|
+
children: o("devportal.reviewRejected", "Review Rejected")
|
|
490
486
|
}),
|
|
491
487
|
/* @__PURE__ */ U("p", {
|
|
492
488
|
className: "mt-0.5 text-text-secondary",
|
|
493
|
-
children: K.reviewNotes ||
|
|
489
|
+
children: K.reviewNotes || o("devportal.reviewRejectedDesc", "Your submission was not approved. Please review the feedback, update your app, and re-submit.")
|
|
494
490
|
}),
|
|
495
491
|
/* @__PURE__ */ U("button", {
|
|
496
492
|
type: "button",
|
|
497
493
|
onClick: () => V(`/apps/${K.id}/edit`),
|
|
498
494
|
className: "mt-2 inline-flex items-center gap-1 text-xs font-medium text-primary underline",
|
|
499
|
-
children:
|
|
495
|
+
children: o("devportal.editAndResubmit", "Edit app and re-submit →")
|
|
500
496
|
})
|
|
501
497
|
]
|
|
502
498
|
})]
|
|
@@ -510,16 +506,16 @@ var Xe = [
|
|
|
510
506
|
className: "text-sm",
|
|
511
507
|
children: [/* @__PURE__ */ U("p", {
|
|
512
508
|
className: "font-medium text-status-success-text",
|
|
513
|
-
children:
|
|
509
|
+
children: o("devportal.liveInStore", "Live in the Store")
|
|
514
510
|
}), /* @__PURE__ */ U("p", {
|
|
515
511
|
className: "mt-0.5 text-text-secondary",
|
|
516
|
-
children:
|
|
512
|
+
children: o("devportal.liveInStoreDesc", "Your app is published and visible to users in the marketplace.")
|
|
517
513
|
})]
|
|
518
514
|
})]
|
|
519
515
|
}),
|
|
520
516
|
K.status === "UNLISTED" && /* @__PURE__ */ W("div", {
|
|
521
517
|
className: "flex items-start gap-3 rounded-lg border border-status-warning-bg bg-status-warning-bg-subtle p-4",
|
|
522
|
-
children: [/* @__PURE__ */ U(
|
|
518
|
+
children: [/* @__PURE__ */ U(_e, {
|
|
523
519
|
size: 18,
|
|
524
520
|
className: "text-status-warning-text mt-0.5 flex-shrink-0"
|
|
525
521
|
}), /* @__PURE__ */ W("div", {
|
|
@@ -527,16 +523,16 @@ var Xe = [
|
|
|
527
523
|
children: [
|
|
528
524
|
/* @__PURE__ */ U("p", {
|
|
529
525
|
className: "font-medium text-status-warning-text",
|
|
530
|
-
children:
|
|
526
|
+
children: o("devportal.delistedFromStore", "Delisted from the Store")
|
|
531
527
|
}),
|
|
532
528
|
/* @__PURE__ */ U("p", {
|
|
533
529
|
className: "mt-0.5 text-text-secondary",
|
|
534
|
-
children:
|
|
530
|
+
children: o("devportal.delistedFromStoreDesc", "Your app has been removed from the marketplace and is no longer visible to new users. Existing installs continue to work.")
|
|
535
531
|
}),
|
|
536
532
|
K.reviewNotes && /* @__PURE__ */ W("p", {
|
|
537
533
|
className: "mt-2 rounded-md bg-status-warning-bg px-3 py-2 font-mono text-xs text-status-warning-text",
|
|
538
534
|
children: [
|
|
539
|
-
|
|
535
|
+
o("devportal.delistReason", "Reason"),
|
|
540
536
|
": ",
|
|
541
537
|
K.reviewNotes
|
|
542
538
|
]
|
|
@@ -545,61 +541,61 @@ var Xe = [
|
|
|
545
541
|
})]
|
|
546
542
|
}),
|
|
547
543
|
(K.status === "DRAFT" || K.status === "REJECTED") && !$ && (() => {
|
|
548
|
-
let e = !!K.description?.trim() && !!K.category && !!K.iconUrl && (K.visibility === "PUBLIC" || K.visibility === "UNLISTED"),
|
|
544
|
+
let e = !!K.description?.trim() && !!K.category && !!K.iconUrl && (K.visibility === "PUBLIC" || K.visibility === "UNLISTED"), t = !q && !J || Y > 0, n = [
|
|
549
545
|
!K.description?.trim() && "Add a full description",
|
|
550
546
|
!K.category && "Select a category",
|
|
551
547
|
!K.iconUrl && "Upload an app icon",
|
|
552
548
|
(K.visibility === "PRIVATE" || K.visibility === "INTERNAL") && "Set to Public (marketplace) or Unlisted (share via link) — Private and Internal block review submission"
|
|
553
|
-
].filter(Boolean),
|
|
549
|
+
].filter(Boolean), r = [
|
|
554
550
|
{
|
|
555
551
|
id: "store",
|
|
556
|
-
label:
|
|
557
|
-
hint: e ?
|
|
552
|
+
label: o("devportal.setupStoreListingStep", "Complete Store Listing"),
|
|
553
|
+
hint: e ? o("devportal.done", "Done") : n.join(" · "),
|
|
558
554
|
done: e,
|
|
559
|
-
onClick: () =>
|
|
555
|
+
onClick: () => b("store-listing")
|
|
560
556
|
},
|
|
561
557
|
...q ? [{
|
|
562
558
|
id: "version",
|
|
563
|
-
label:
|
|
564
|
-
hint:
|
|
565
|
-
done:
|
|
566
|
-
onClick: () =>
|
|
559
|
+
label: o("devportal.setupVersionStep", "Upload a Version"),
|
|
560
|
+
hint: t ? o("devportal.done", "Done") : K.appType === "NODE" ? o("devportal.uploadVersionHint", "Upload your ZIP bundle and manifest") : o("devportal.uploadManifestVersionHint", "Upload your manifest JSON"),
|
|
561
|
+
done: t,
|
|
562
|
+
onClick: () => b("versions")
|
|
567
563
|
}] : [],
|
|
568
564
|
...J ? [{
|
|
569
565
|
id: "version",
|
|
570
|
-
label:
|
|
571
|
-
hint:
|
|
572
|
-
done:
|
|
573
|
-
onClick: () =>
|
|
566
|
+
label: o("devportal.setupIntegrationVersionStep", "Publish a Version"),
|
|
567
|
+
hint: t ? o("devportal.done", "Done") : o("devportal.integrationVersionHint", "Define required scopes and publish your first API version"),
|
|
568
|
+
done: t,
|
|
569
|
+
onClick: () => b("versions")
|
|
574
570
|
}, {
|
|
575
571
|
id: "webhooks",
|
|
576
|
-
label:
|
|
577
|
-
hint:
|
|
572
|
+
label: o("devportal.setupWebhooksStep", "Configure Webhooks"),
|
|
573
|
+
hint: o("devportal.webhooksOptionalHint", "Set up endpoints to receive platform events (optional)"),
|
|
578
574
|
done: !1,
|
|
579
|
-
onClick: () =>
|
|
575
|
+
onClick: () => b("webhooks")
|
|
580
576
|
}] : [],
|
|
581
577
|
{
|
|
582
578
|
id: "pricing",
|
|
583
|
-
label:
|
|
584
|
-
hint: Q ?
|
|
579
|
+
label: o("devportal.setupPricingStep", "Set Pricing"),
|
|
580
|
+
hint: Q ? o("devportal.done", "Done") : o("devportal.pricingHint", "Choose Free or set a credit price in the Pricing tab"),
|
|
585
581
|
done: Q,
|
|
586
|
-
onClick: () =>
|
|
582
|
+
onClick: () => b("pricing")
|
|
587
583
|
},
|
|
588
584
|
...mt ? [{
|
|
589
585
|
id: "billing",
|
|
590
|
-
label:
|
|
591
|
-
hint: X ?
|
|
586
|
+
label: o("devportal.setupBillingStep", "Link Billing Account"),
|
|
587
|
+
hint: X ? o("devportal.done", "Done") : o("devportal.billingAccountHint", "Link a billing account to receive payouts — required for paid apps"),
|
|
592
588
|
done: X,
|
|
593
|
-
onClick: () =>
|
|
589
|
+
onClick: () => b("pricing")
|
|
594
590
|
}] : [],
|
|
595
591
|
{
|
|
596
592
|
id: "submit",
|
|
597
|
-
label:
|
|
598
|
-
hint: $ ?
|
|
593
|
+
label: o("devportal.submitForReview", "Submit for Review"),
|
|
594
|
+
hint: $ ? o("devportal.readyToSubmit", "Ready — click Submit for Review above") : K.description?.trim() ? K.category ? K.iconUrl ? K.visibility === "PRIVATE" || K.visibility === "INTERNAL" ? o("devportal.hintPrivateVisibility", "Set visibility to Public (marketplace) or Unlisted (share via link) — Private and Internal cannot be submitted") : (q || J) && Y === 0 ? o("devportal.hintMissingVersion", "Upload at least one version") : Q ? mt && !X ? o("devportal.hintMissingBilling", "Link a billing account in the Pricing tab to receive payouts") : o("devportal.completeStepsFirst", "Complete the steps above first") : o("devportal.hintMissingPricing", "Choose Free or set a credit price in the Pricing tab") : o("devportal.hintMissingIcon", "Upload an app icon on the Store Listing tab") : o("devportal.hintMissingCategory", "Select a category on the Store Listing tab") : o("devportal.hintMissingDescription", "Add a full description on the Store Listing tab"),
|
|
599
595
|
done: !1,
|
|
600
596
|
onClick: void 0
|
|
601
597
|
}
|
|
602
|
-
],
|
|
598
|
+
], i = r.filter((e) => e.done).length;
|
|
603
599
|
return /* @__PURE__ */ W("div", {
|
|
604
600
|
className: "rounded-xl border border-border-subtle bg-bg-surface shadow-sm",
|
|
605
601
|
children: [/* @__PURE__ */ U("div", {
|
|
@@ -614,35 +610,35 @@ var Xe = [
|
|
|
614
610
|
})
|
|
615
611
|
}), /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
616
612
|
className: "text-sm font-semibold text-text-primary",
|
|
617
|
-
children:
|
|
613
|
+
children: o("devportal.completeSetup", "Complete your app setup")
|
|
618
614
|
}), /* @__PURE__ */ W("p", {
|
|
619
615
|
className: "text-xs text-text-secondary",
|
|
620
616
|
children: [
|
|
621
|
-
|
|
617
|
+
i,
|
|
622
618
|
" of",
|
|
623
619
|
" ",
|
|
624
|
-
|
|
620
|
+
r.filter((e) => e.id !== "submit").length,
|
|
625
621
|
" ",
|
|
626
|
-
|
|
622
|
+
o("devportal.stepsDone", "steps complete")
|
|
627
623
|
]
|
|
628
624
|
})] })]
|
|
629
625
|
})
|
|
630
626
|
}), /* @__PURE__ */ U("div", {
|
|
631
627
|
className: "divide-y divide-border-subtle",
|
|
632
|
-
children:
|
|
628
|
+
children: r.map((e, t) => /* @__PURE__ */ W("button", {
|
|
633
629
|
type: "button",
|
|
634
630
|
onClick: e.onClick,
|
|
635
631
|
disabled: !e.onClick,
|
|
636
|
-
className:
|
|
632
|
+
className: E("w-full flex items-center gap-4 px-5 py-4 text-left transition-colors", e.onClick ? "hover:bg-bg-sunken/40 cursor-pointer" : "cursor-default opacity-60"),
|
|
637
633
|
children: [
|
|
638
634
|
/* @__PURE__ */ U("div", {
|
|
639
|
-
className:
|
|
640
|
-
children: e.done ? /* @__PURE__ */ U(P, { size: 13 }) :
|
|
635
|
+
className: E("flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full text-xs font-bold", e.done ? "bg-status-success-bg text-status-success-text" : "border-2 border-border-subtle bg-bg-sunken text-text-secondary"),
|
|
636
|
+
children: e.done ? /* @__PURE__ */ U(P, { size: 13 }) : t + 1
|
|
641
637
|
}),
|
|
642
638
|
/* @__PURE__ */ W("div", {
|
|
643
639
|
className: "flex-1 min-w-0",
|
|
644
640
|
children: [/* @__PURE__ */ U("p", {
|
|
645
|
-
className:
|
|
641
|
+
className: E("text-sm font-medium", e.done ? "text-text-secondary line-through" : "text-text-primary"),
|
|
646
642
|
children: e.label
|
|
647
643
|
}), e.hint && !e.done && /* @__PURE__ */ U("p", {
|
|
648
644
|
className: "mt-0.5 text-xs text-text-secondary truncate",
|
|
@@ -663,132 +659,132 @@ var Xe = [
|
|
|
663
659
|
children: /* @__PURE__ */ U("nav", {
|
|
664
660
|
className: "-mb-px flex gap-4 overflow-x-auto",
|
|
665
661
|
role: "tablist",
|
|
666
|
-
"aria-label":
|
|
662
|
+
"aria-label": o("devportal.applicationSections", "Application sections"),
|
|
667
663
|
children: Xe.filter((e) => !(q && (e.id === "permissions" || e.id === "webhooks" || e.id === "delegations" || e.id === "playground" || e.id === "oauth" || e.id === "api-keys") || !q && !J && e.id === "versions" || !J && (e.id === "oauth" || e.id === "api-keys"))).map((e) => {
|
|
668
|
-
let
|
|
664
|
+
let t = e.icon;
|
|
669
665
|
return /* @__PURE__ */ W("button", {
|
|
670
666
|
id: `application-tab-${e.id}`,
|
|
671
667
|
role: "tab",
|
|
672
|
-
"aria-selected":
|
|
668
|
+
"aria-selected": _ === e.id,
|
|
673
669
|
"aria-controls": `application-panel-${e.id}`,
|
|
674
|
-
onClick: () =>
|
|
675
|
-
className:
|
|
676
|
-
children: [/* @__PURE__ */ U(
|
|
670
|
+
onClick: () => b(e.id),
|
|
671
|
+
className: E("flex items-center gap-2 border-b-2 px-1 py-3 text-sm font-medium transition-colors", _ === e.id ? "border-primary text-primary" : "border-transparent text-text-secondary hover:text-text-primary hover:border-muted-foreground"),
|
|
672
|
+
children: [/* @__PURE__ */ U(t, { size: 16 }), e.label]
|
|
677
673
|
}, e.id);
|
|
678
674
|
})
|
|
679
675
|
})
|
|
680
676
|
}),
|
|
681
677
|
/* @__PURE__ */ W("div", {
|
|
682
678
|
className: "mt-6",
|
|
683
|
-
id: `application-panel-${
|
|
679
|
+
id: `application-panel-${_}`,
|
|
684
680
|
role: "tabpanel",
|
|
685
|
-
"aria-labelledby": `application-tab-${
|
|
681
|
+
"aria-labelledby": `application-tab-${_}`,
|
|
686
682
|
tabIndex: 0,
|
|
687
683
|
children: [
|
|
688
|
-
|
|
684
|
+
_ === "overview" && /* @__PURE__ */ U(st, {
|
|
689
685
|
app: K,
|
|
690
|
-
appId:
|
|
686
|
+
appId: f,
|
|
691
687
|
refetch: () => void ye()
|
|
692
688
|
}),
|
|
693
|
-
|
|
689
|
+
_ === "permissions" && /* @__PURE__ */ U(Ct, {
|
|
694
690
|
app: K,
|
|
695
|
-
versionScopes:
|
|
691
|
+
versionScopes: M?.application?.versions?.edges?.[0]?.node?.requiredScopes ?? [],
|
|
696
692
|
locked: K.status === "PUBLISHED" || K.status === "APPROVED" || K.status === "ACTIVE",
|
|
697
|
-
onNavigateToVersions: () =>
|
|
693
|
+
onNavigateToVersions: () => b("versions")
|
|
698
694
|
}),
|
|
699
|
-
|
|
695
|
+
_ === "webhooks" && /* @__PURE__ */ U(it, {
|
|
700
696
|
appId: K.id,
|
|
701
697
|
onNavigate: V
|
|
702
698
|
}),
|
|
703
|
-
|
|
699
|
+
_ === "delegations" && /* @__PURE__ */ U(at, {
|
|
704
700
|
authAppId: K.appId || void 0,
|
|
705
701
|
appName: K.name,
|
|
706
|
-
onGrantDelegation: () =>
|
|
702
|
+
onGrantDelegation: () => me(!0),
|
|
707
703
|
onNavigate: V
|
|
708
704
|
}),
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
705
|
+
_ === "analytics" && /* @__PURE__ */ U(ot, { appId: K.id }),
|
|
706
|
+
_ === "playground" && /* @__PURE__ */ U(ft, { app: K }),
|
|
707
|
+
_ === "oauth" && /* @__PURE__ */ U($e, {
|
|
712
708
|
appId: K.id,
|
|
713
709
|
onNavigate: V
|
|
714
710
|
}),
|
|
715
|
-
|
|
711
|
+
_ === "api-keys" && /* @__PURE__ */ U(et, {
|
|
716
712
|
appId: K.id,
|
|
717
713
|
onNavigate: V
|
|
718
714
|
}),
|
|
719
|
-
|
|
715
|
+
_ === "store-listing" && /* @__PURE__ */ U(_t, {
|
|
720
716
|
app: K,
|
|
721
|
-
versionCount:
|
|
717
|
+
versionCount: M?.application?.versions?.totalCount ?? 0,
|
|
722
718
|
isPackageApp: q,
|
|
723
719
|
pricingDone: Q,
|
|
724
|
-
onNavigateToVersions: q || J ? () =>
|
|
725
|
-
onNavigateToPricing: () =>
|
|
720
|
+
onNavigateToVersions: q || J ? () => b("versions") : void 0,
|
|
721
|
+
onNavigateToPricing: () => b("pricing"),
|
|
726
722
|
onNavigateToSubmission: () => V(`/apps/${K.id}/store-submission`)
|
|
727
723
|
}),
|
|
728
|
-
|
|
724
|
+
_ === "pricing" && /* @__PURE__ */ U(nt, {
|
|
729
725
|
app: K,
|
|
730
726
|
platformFeeRate: gt,
|
|
731
727
|
billingAccountLinked: X,
|
|
732
728
|
onNavigateToRevenue: () => V("/revenue"),
|
|
733
729
|
isReadyToSubmit: $
|
|
734
730
|
}),
|
|
735
|
-
|
|
731
|
+
_ === "versions" && /* @__PURE__ */ U(rt, {
|
|
736
732
|
appId: K.id,
|
|
737
733
|
onNavigate: V,
|
|
738
734
|
pricingDone: Q,
|
|
739
|
-
onNavigateToPricing: () =>
|
|
735
|
+
onNavigateToPricing: () => b("pricing")
|
|
740
736
|
})
|
|
741
737
|
]
|
|
742
738
|
}),
|
|
743
|
-
/* @__PURE__ */ U(
|
|
744
|
-
open:
|
|
745
|
-
onOpenChange:
|
|
739
|
+
/* @__PURE__ */ U(g, {
|
|
740
|
+
open: w,
|
|
741
|
+
onOpenChange: O,
|
|
746
742
|
onConfirm: ze,
|
|
747
|
-
title:
|
|
748
|
-
description:
|
|
749
|
-
confirmLabel:
|
|
750
|
-
cancelLabel:
|
|
743
|
+
title: o("devportal.rotateAppSecret", "Rotate App Secret"),
|
|
744
|
+
description: o("devportal.rotateAppSecretDescription", "This will generate a new client secret and invalidate the current one. All existing integrations using the old secret will stop working immediately."),
|
|
745
|
+
confirmLabel: o("devportal.rotateSecret", "Rotate Secret"),
|
|
746
|
+
cancelLabel: o("devportal.cancel", "Cancel"),
|
|
751
747
|
variant: "warning",
|
|
752
748
|
loading: Ce
|
|
753
749
|
}),
|
|
754
|
-
/* @__PURE__ */ U(
|
|
755
|
-
open:
|
|
756
|
-
onOpenChange:
|
|
750
|
+
/* @__PURE__ */ U(g, {
|
|
751
|
+
open: te,
|
|
752
|
+
onOpenChange: re,
|
|
757
753
|
onConfirm: Be,
|
|
758
|
-
title:
|
|
759
|
-
description:
|
|
760
|
-
confirmLabel:
|
|
761
|
-
cancelLabel:
|
|
754
|
+
title: o("devportal.deactivateApplication", "Deactivate Application"),
|
|
755
|
+
description: o("devportal.deactivateApplicationDescription", "This will deactivate the application. All OAuth clients, API keys, and webhooks associated with this app will stop functioning. This action can be reversed by reactivating the app."),
|
|
756
|
+
confirmLabel: o("devportal.deactivate", "Deactivate"),
|
|
757
|
+
cancelLabel: o("devportal.cancel", "Cancel"),
|
|
762
758
|
variant: "destructive",
|
|
763
759
|
loading: Ee
|
|
764
760
|
}),
|
|
765
|
-
/* @__PURE__ */ U(
|
|
761
|
+
/* @__PURE__ */ U(g, {
|
|
766
762
|
open: Ge,
|
|
767
763
|
onOpenChange: qe,
|
|
768
764
|
onConfirm: () => We(Je || void 0),
|
|
769
|
-
title:
|
|
770
|
-
description:
|
|
771
|
-
confirmLabel:
|
|
772
|
-
cancelLabel:
|
|
765
|
+
title: o("devportal.testInWorkspaceChooseVersion", "Test a Version"),
|
|
766
|
+
description: o("devportal.testInWorkspaceChooseVersionDescription", "Choose which version to install into your test workspace. This does not affect what other users see — it only installs the selected version for you to try here."),
|
|
767
|
+
confirmLabel: o("devportal.testInWorkspace", "Test in Workspace"),
|
|
768
|
+
cancelLabel: o("devportal.cancel", "Cancel"),
|
|
773
769
|
loading: Ae,
|
|
774
|
-
children: /* @__PURE__ */ U(
|
|
775
|
-
label:
|
|
770
|
+
children: /* @__PURE__ */ U(r, {
|
|
771
|
+
label: o("devportal.version", "Version"),
|
|
776
772
|
value: Je,
|
|
777
773
|
onChange: (e) => Ye(e.target.value),
|
|
778
774
|
options: ct.map((e) => ({
|
|
779
775
|
value: e.node.version,
|
|
780
|
-
label: e.node.isLatest ? `${e.node.version} — ${
|
|
776
|
+
label: e.node.isLatest ? `${e.node.version} — ${o("devportal.latest", "latest")} (${e.node.status})` : `${e.node.version} (${e.node.status})`
|
|
781
777
|
}))
|
|
782
778
|
})
|
|
783
779
|
}),
|
|
784
|
-
/* @__PURE__ */ U(
|
|
780
|
+
/* @__PURE__ */ U(v, {
|
|
785
781
|
open: pe,
|
|
786
|
-
onOpenChange:
|
|
782
|
+
onOpenChange: me,
|
|
787
783
|
appId: K.appId || "",
|
|
788
784
|
appName: K.name,
|
|
789
785
|
appScopes: K.scopes?.map((e) => e.scope) ?? [],
|
|
790
786
|
onSuccess: () => {
|
|
791
|
-
|
|
787
|
+
me(!1);
|
|
792
788
|
}
|
|
793
789
|
})
|
|
794
790
|
]
|
|
@@ -841,50 +837,50 @@ var Xe = [
|
|
|
841
837
|
})
|
|
842
838
|
]
|
|
843
839
|
});
|
|
844
|
-
}, J = .01, Y = (e) => e * J, tt = (e) => Math.round(e / J), nt = ({ app: e, platformFeeRate:
|
|
845
|
-
let { t:
|
|
846
|
-
let n =
|
|
840
|
+
}, J = .01, Y = (e) => e * J, tt = (e) => Math.round(e / J), nt = ({ app: e, platformFeeRate: t, billingAccountLinked: n, onNavigateToRevenue: r, isReadyToSubmit: i = !1 }) => {
|
|
841
|
+
let { t: a } = G(), o = (e, t) => {
|
|
842
|
+
let n = a(e);
|
|
847
843
|
return n === e ? t : n;
|
|
848
|
-
},
|
|
844
|
+
}, s = e.pricingDetails ?? {}, [c, l] = N({
|
|
849
845
|
pricingType: e.pricingType ?? "FREE",
|
|
850
|
-
price: typeof
|
|
851
|
-
}), [
|
|
852
|
-
|
|
853
|
-
let e =
|
|
854
|
-
|
|
855
|
-
pricingType:
|
|
846
|
+
price: typeof s.price == "number" ? String(s.price) : ""
|
|
847
|
+
}), [u, d] = N(!1), [f] = pe(), p = he(e);
|
|
848
|
+
p.current = e, me(() => {
|
|
849
|
+
let e = p.current.pricingDetails ?? {};
|
|
850
|
+
l({
|
|
851
|
+
pricingType: p.current.pricingType ?? "FREE",
|
|
856
852
|
price: typeof e.price == "number" ? String(e.price) : ""
|
|
857
853
|
});
|
|
858
854
|
}, [e.id]);
|
|
859
|
-
let
|
|
860
|
-
|
|
855
|
+
let m = (e, t) => {
|
|
856
|
+
l((n) => ({
|
|
861
857
|
...n,
|
|
862
858
|
[e]: t
|
|
863
859
|
}));
|
|
864
|
-
},
|
|
865
|
-
|
|
860
|
+
}, h = async () => {
|
|
861
|
+
d(!0);
|
|
866
862
|
try {
|
|
867
863
|
let t = { ...e.pricingDetails ?? {} };
|
|
868
|
-
if (
|
|
869
|
-
let e = parseInt(
|
|
864
|
+
if (c.pricingType !== "FREE") {
|
|
865
|
+
let e = parseInt(c.price, 10);
|
|
870
866
|
!isNaN(e) && e > 0 && (t.price = e, t.currency = "CREDITS");
|
|
871
867
|
} else delete t.price, delete t.currency;
|
|
872
|
-
await
|
|
868
|
+
await f({ variables: {
|
|
873
869
|
id: e.id,
|
|
874
870
|
input: {
|
|
875
|
-
pricingType:
|
|
871
|
+
pricingType: c.pricingType || null,
|
|
876
872
|
pricingDetails: Object.keys(t).length > 0 ? t : null
|
|
877
873
|
}
|
|
878
|
-
} }),
|
|
874
|
+
} }), x("success");
|
|
879
875
|
} catch {
|
|
880
|
-
|
|
876
|
+
x("error");
|
|
881
877
|
} finally {
|
|
882
|
-
|
|
878
|
+
d(!1);
|
|
883
879
|
}
|
|
884
|
-
},
|
|
880
|
+
}, g = c.pricingType !== "FREE", _ = parseInt(c.price, 10), v = g && !isNaN(_) && _ > 0, y = v ? Y(_) : 0, b = v ? Math.round(_ * t) : 0, S = Y(b), C = v ? _ - b : 0, T = Y(C), D = (e) => "$" + e.toLocaleString("en-US", {
|
|
885
881
|
minimumFractionDigits: 2,
|
|
886
882
|
maximumFractionDigits: 2
|
|
887
|
-
}),
|
|
883
|
+
}), O = (e) => e.toLocaleString("en-US") + " cr";
|
|
888
884
|
return /* @__PURE__ */ W("div", {
|
|
889
885
|
className: "space-y-8",
|
|
890
886
|
children: [
|
|
@@ -907,7 +903,7 @@ var Xe = [
|
|
|
907
903
|
className: "font-medium",
|
|
908
904
|
children: [
|
|
909
905
|
"1 credit = ",
|
|
910
|
-
|
|
906
|
+
D(J),
|
|
911
907
|
" USD."
|
|
912
908
|
]
|
|
913
909
|
}),
|
|
@@ -920,10 +916,10 @@ var Xe = [
|
|
|
920
916
|
className: "space-y-3",
|
|
921
917
|
children: [/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("h2", {
|
|
922
918
|
className: "text-lg font-semibold",
|
|
923
|
-
children:
|
|
919
|
+
children: o("devportal.howMonetizationWorks", "How App Monetization Works")
|
|
924
920
|
}), /* @__PURE__ */ U("p", {
|
|
925
921
|
className: "mt-1 text-sm text-text-secondary",
|
|
926
|
-
children:
|
|
922
|
+
children: o("devportal.monetizationDesc", "Earn revenue when users install or purchase your app. Here's exactly how the money flows.")
|
|
927
923
|
})] }), /* @__PURE__ */ W("div", {
|
|
928
924
|
className: "grid gap-4 sm:grid-cols-3",
|
|
929
925
|
children: [
|
|
@@ -937,7 +933,7 @@ var Xe = [
|
|
|
937
933
|
})
|
|
938
934
|
}), /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ W("p", {
|
|
939
935
|
className: "font-semibold",
|
|
940
|
-
children: [(100 -
|
|
936
|
+
children: [(100 - t * 100).toFixed(0), "% revenue share"]
|
|
941
937
|
}), /* @__PURE__ */ W("p", {
|
|
942
938
|
className: "mt-1 text-sm text-text-secondary",
|
|
943
939
|
children: [
|
|
@@ -945,14 +941,14 @@ var Xe = [
|
|
|
945
941
|
" ",
|
|
946
942
|
/* @__PURE__ */ W("span", {
|
|
947
943
|
className: "font-medium text-status-success-text",
|
|
948
|
-
children: [(100 -
|
|
944
|
+
children: [(100 - t * 100).toFixed(0), "%"]
|
|
949
945
|
}),
|
|
950
946
|
" ",
|
|
951
947
|
"of every sale in credits. The platform retains a",
|
|
952
948
|
" ",
|
|
953
949
|
/* @__PURE__ */ W("span", {
|
|
954
950
|
className: "font-medium",
|
|
955
|
-
children: [(
|
|
951
|
+
children: [(t * 100).toFixed(0), "%"]
|
|
956
952
|
}),
|
|
957
953
|
" ",
|
|
958
954
|
"fee to cover infrastructure, payments processing, and marketplace operations."
|
|
@@ -975,9 +971,9 @@ var Xe = [
|
|
|
975
971
|
children: [
|
|
976
972
|
"Every sale instantly deposits your earned credits into your linked billing account. You can spend them on platform services or request a cash withdrawal. Track everything on the",
|
|
977
973
|
" ",
|
|
978
|
-
|
|
974
|
+
r ? /* @__PURE__ */ U("button", {
|
|
979
975
|
type: "button",
|
|
980
|
-
onClick:
|
|
976
|
+
onClick: r,
|
|
981
977
|
className: "font-medium text-primary underline-offset-2 hover:underline",
|
|
982
978
|
children: "Revenue page"
|
|
983
979
|
}) : /* @__PURE__ */ U("span", {
|
|
@@ -1012,7 +1008,7 @@ var Xe = [
|
|
|
1012
1008
|
children: [
|
|
1013
1009
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("h3", {
|
|
1014
1010
|
className: "text-base font-semibold",
|
|
1015
|
-
children:
|
|
1011
|
+
children: o("devportal.setPricingTitle", "Set Your Price")
|
|
1016
1012
|
}), /* @__PURE__ */ W("p", {
|
|
1017
1013
|
className: "mt-0.5 text-sm text-text-secondary",
|
|
1018
1014
|
children: [
|
|
@@ -1028,12 +1024,12 @@ var Xe = [
|
|
|
1028
1024
|
className: "flex flex-wrap gap-2",
|
|
1029
1025
|
children: mt.map((e) => /* @__PURE__ */ U("button", {
|
|
1030
1026
|
type: "button",
|
|
1031
|
-
onClick: () =>
|
|
1032
|
-
className:
|
|
1027
|
+
onClick: () => m("pricingType", e.value),
|
|
1028
|
+
className: E("rounded-md border px-4 py-2 text-sm font-medium transition-colors", c.pricingType === e.value ? "bg-action-primary-bg text-action-primary-text border-primary" : "hover:bg-bg-sunken border-border-subtle"),
|
|
1033
1029
|
children: e.label
|
|
1034
1030
|
}, e.value))
|
|
1035
1031
|
}),
|
|
1036
|
-
|
|
1032
|
+
g && /* @__PURE__ */ W("div", {
|
|
1037
1033
|
className: "space-y-4",
|
|
1038
1034
|
children: [
|
|
1039
1035
|
/* @__PURE__ */ W("div", {
|
|
@@ -1056,8 +1052,8 @@ var Xe = [
|
|
|
1056
1052
|
type: "number",
|
|
1057
1053
|
min: 1,
|
|
1058
1054
|
step: 1,
|
|
1059
|
-
value:
|
|
1060
|
-
onChange: (e) =>
|
|
1055
|
+
value: c.price,
|
|
1056
|
+
onChange: (e) => m("price", e.target.value),
|
|
1061
1057
|
placeholder: "e.g. 1000",
|
|
1062
1058
|
className: "w-full rounded-md border border-border-subtle bg-bg-input px-3 py-2 pr-20 text-sm focus:outline-none focus:ring-2 focus:ring-primary/50"
|
|
1063
1059
|
}), /* @__PURE__ */ U("span", {
|
|
@@ -1065,20 +1061,20 @@ var Xe = [
|
|
|
1065
1061
|
children: "credits"
|
|
1066
1062
|
})]
|
|
1067
1063
|
}),
|
|
1068
|
-
|
|
1064
|
+
v && /* @__PURE__ */ W("p", {
|
|
1069
1065
|
className: "mt-1.5 text-xs text-text-secondary",
|
|
1070
1066
|
children: [
|
|
1071
1067
|
"≈ ",
|
|
1072
|
-
|
|
1068
|
+
D(y),
|
|
1073
1069
|
" USD at the current credit rate (1 cr =",
|
|
1074
1070
|
" ",
|
|
1075
|
-
|
|
1071
|
+
D(J),
|
|
1076
1072
|
")"
|
|
1077
1073
|
]
|
|
1078
1074
|
}),
|
|
1079
1075
|
/* @__PURE__ */ U("p", {
|
|
1080
1076
|
className: "mt-1 text-xs text-text-tertiary",
|
|
1081
|
-
children:
|
|
1077
|
+
children: o("devportal.priceHint", "Set the number of credits a buyer spends to install your app")
|
|
1082
1078
|
})
|
|
1083
1079
|
]
|
|
1084
1080
|
}),
|
|
@@ -1091,7 +1087,7 @@ var Xe = [
|
|
|
1091
1087
|
50
|
|
1092
1088
|
].map((e) => /* @__PURE__ */ W("button", {
|
|
1093
1089
|
type: "button",
|
|
1094
|
-
onClick: () =>
|
|
1090
|
+
onClick: () => m("price", String(tt(e))),
|
|
1095
1091
|
className: "rounded border border-border-subtle px-2 py-0.5 hover:bg-bg-sunken transition-colors",
|
|
1096
1092
|
children: [
|
|
1097
1093
|
"$",
|
|
@@ -1102,12 +1098,12 @@ var Xe = [
|
|
|
1102
1098
|
]
|
|
1103
1099
|
}, e))]
|
|
1104
1100
|
}),
|
|
1105
|
-
|
|
1101
|
+
v && /* @__PURE__ */ W("div", {
|
|
1106
1102
|
className: "rounded-lg border border-border-subtle bg-bg-sunken p-4 space-y-3",
|
|
1107
1103
|
children: [
|
|
1108
1104
|
/* @__PURE__ */ U("p", {
|
|
1109
1105
|
className: "text-xs font-semibold uppercase tracking-wide text-text-secondary",
|
|
1110
|
-
children:
|
|
1106
|
+
children: o("devportal.revenueBreakdown", "Revenue Breakdown per Sale")
|
|
1111
1107
|
}),
|
|
1112
1108
|
/* @__PURE__ */ W("div", {
|
|
1113
1109
|
className: "space-y-2 text-sm",
|
|
@@ -1120,13 +1116,13 @@ var Xe = [
|
|
|
1120
1116
|
}), /* @__PURE__ */ W("span", {
|
|
1121
1117
|
className: "font-medium tabular-nums",
|
|
1122
1118
|
children: [
|
|
1123
|
-
|
|
1119
|
+
O(_),
|
|
1124
1120
|
" ",
|
|
1125
1121
|
/* @__PURE__ */ W("span", {
|
|
1126
1122
|
className: "text-text-tertiary text-xs",
|
|
1127
1123
|
children: [
|
|
1128
1124
|
"(",
|
|
1129
|
-
|
|
1125
|
+
D(y),
|
|
1130
1126
|
")"
|
|
1131
1127
|
]
|
|
1132
1128
|
})
|
|
@@ -1142,7 +1138,7 @@ var Xe = [
|
|
|
1142
1138
|
className: "opacity-70",
|
|
1143
1139
|
children: [
|
|
1144
1140
|
"(",
|
|
1145
|
-
(
|
|
1141
|
+
(t * 100).toFixed(0),
|
|
1146
1142
|
"%)"
|
|
1147
1143
|
]
|
|
1148
1144
|
})
|
|
@@ -1150,13 +1146,13 @@ var Xe = [
|
|
|
1150
1146
|
className: "tabular-nums",
|
|
1151
1147
|
children: [
|
|
1152
1148
|
"− ",
|
|
1153
|
-
|
|
1149
|
+
O(b),
|
|
1154
1150
|
" ",
|
|
1155
1151
|
/* @__PURE__ */ W("span", {
|
|
1156
1152
|
className: "text-xs opacity-70",
|
|
1157
1153
|
children: [
|
|
1158
1154
|
"(",
|
|
1159
|
-
|
|
1155
|
+
D(S),
|
|
1160
1156
|
")"
|
|
1161
1157
|
]
|
|
1162
1158
|
})
|
|
@@ -1168,11 +1164,11 @@ var Xe = [
|
|
|
1168
1164
|
children: [/* @__PURE__ */ U("span", { children: "You earn" }), /* @__PURE__ */ W("span", {
|
|
1169
1165
|
className: "tabular-nums",
|
|
1170
1166
|
children: [
|
|
1171
|
-
|
|
1167
|
+
O(C),
|
|
1172
1168
|
" ",
|
|
1173
1169
|
/* @__PURE__ */ W("span", {
|
|
1174
1170
|
className: "text-sm font-normal",
|
|
1175
|
-
children: ["≈ ",
|
|
1171
|
+
children: ["≈ ", D(T)]
|
|
1176
1172
|
})
|
|
1177
1173
|
]
|
|
1178
1174
|
})]
|
|
@@ -1185,9 +1181,9 @@ var Xe = [
|
|
|
1185
1181
|
})
|
|
1186
1182
|
]
|
|
1187
1183
|
}),
|
|
1188
|
-
!
|
|
1184
|
+
!n && /* @__PURE__ */ W("div", {
|
|
1189
1185
|
className: "flex items-start gap-3 rounded-lg border border-status-warning-bg bg-status-warning-bg-subtle p-4",
|
|
1190
|
-
children: [/* @__PURE__ */ U(
|
|
1186
|
+
children: [/* @__PURE__ */ U(_e, {
|
|
1191
1187
|
size: 16,
|
|
1192
1188
|
className: "mt-0.5 shrink-0 text-status-warning-text"
|
|
1193
1189
|
}), /* @__PURE__ */ W("div", {
|
|
@@ -1195,17 +1191,17 @@ var Xe = [
|
|
|
1195
1191
|
children: [
|
|
1196
1192
|
/* @__PURE__ */ U("p", {
|
|
1197
1193
|
className: "text-sm font-medium text-status-warning-text",
|
|
1198
|
-
children:
|
|
1194
|
+
children: o("devportal.billingAccountRequired", "Billing account required to publish")
|
|
1199
1195
|
}),
|
|
1200
1196
|
/* @__PURE__ */ U("p", {
|
|
1201
1197
|
className: "mt-0.5 text-xs text-text-secondary",
|
|
1202
1198
|
children: "Paid apps must have a billing account linked to your developer organization before you can submit for review. This is where your earned credits and cash withdrawals will be managed."
|
|
1203
1199
|
}),
|
|
1204
|
-
|
|
1200
|
+
r && /* @__PURE__ */ U("button", {
|
|
1205
1201
|
type: "button",
|
|
1206
|
-
onClick:
|
|
1202
|
+
onClick: r,
|
|
1207
1203
|
className: "mt-2 text-xs font-medium text-primary hover:underline underline-offset-2",
|
|
1208
|
-
children:
|
|
1204
|
+
children: o("devportal.goToRevenueBilling", "Go to Revenue & Billing →")
|
|
1209
1205
|
})
|
|
1210
1206
|
]
|
|
1211
1207
|
})]
|
|
@@ -1218,7 +1214,7 @@ var Xe = [
|
|
|
1218
1214
|
className: "rounded-xl border border-border-subtle bg-bg-surface p-5 space-y-3",
|
|
1219
1215
|
children: [/* @__PURE__ */ U("h3", {
|
|
1220
1216
|
className: "text-sm font-semibold",
|
|
1221
|
-
children:
|
|
1217
|
+
children: o("devportal.termsTitle", "Developer & Marketplace Terms")
|
|
1222
1218
|
}), /* @__PURE__ */ W("ul", {
|
|
1223
1219
|
className: "space-y-2 text-sm text-text-secondary",
|
|
1224
1220
|
children: [
|
|
@@ -1231,7 +1227,7 @@ var Xe = [
|
|
|
1231
1227
|
"By publishing to the marketplace you agree to the",
|
|
1232
1228
|
" ",
|
|
1233
1229
|
/* @__PURE__ */ U("a", {
|
|
1234
|
-
href:
|
|
1230
|
+
href: w.developerAgreement,
|
|
1235
1231
|
target: "_blank",
|
|
1236
1232
|
rel: "noopener noreferrer",
|
|
1237
1233
|
className: "text-primary underline-offset-2 hover:underline",
|
|
@@ -1280,40 +1276,40 @@ var Xe = [
|
|
|
1280
1276
|
className: "border-t border-border-subtle pt-6 space-y-4",
|
|
1281
1277
|
children: [/* @__PURE__ */ U("button", {
|
|
1282
1278
|
type: "button",
|
|
1283
|
-
onClick: () => void
|
|
1284
|
-
disabled:
|
|
1279
|
+
onClick: () => void h(),
|
|
1280
|
+
disabled: u,
|
|
1285
1281
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50",
|
|
1286
|
-
children:
|
|
1282
|
+
children: u ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(R, {
|
|
1287
1283
|
size: 16,
|
|
1288
1284
|
className: "animate-spin"
|
|
1289
|
-
}),
|
|
1290
|
-
}),
|
|
1285
|
+
}), o("devportal.saving", "Saving…")] }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(F, { size: 16 }), o("devportal.savePricing", "Save Pricing")] })
|
|
1286
|
+
}), i && /* @__PURE__ */ W("div", {
|
|
1291
1287
|
className: "flex items-start gap-3 rounded-lg border border-status-success-bg bg-status-success-bg-subtle px-4 py-3",
|
|
1292
1288
|
children: [/* @__PURE__ */ U(P, {
|
|
1293
1289
|
size: 16,
|
|
1294
1290
|
className: "mt-0.5 shrink-0 text-status-success-text"
|
|
1295
1291
|
}), /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
1296
1292
|
className: "text-sm font-medium text-status-success-text",
|
|
1297
|
-
children:
|
|
1293
|
+
children: o("devportal.allSetToSubmit", "You're all set!")
|
|
1298
1294
|
}), /* @__PURE__ */ U("p", {
|
|
1299
1295
|
className: "mt-0.5 text-xs text-text-secondary",
|
|
1300
|
-
children:
|
|
1296
|
+
children: o("devportal.allSetDesc", "Store listing, versions, and pricing are complete. Head to the top of the page and click Submit for Review.")
|
|
1301
1297
|
})] })]
|
|
1302
1298
|
})]
|
|
1303
1299
|
})
|
|
1304
1300
|
]
|
|
1305
1301
|
});
|
|
1306
|
-
}, rt = ({ appId: e, onNavigate:
|
|
1307
|
-
let { t:
|
|
1308
|
-
let n =
|
|
1302
|
+
}, rt = ({ appId: e, onNavigate: t, pricingDone: n = !1, onNavigateToPricing: r }) => {
|
|
1303
|
+
let { t: i } = G(), a = (e, t) => {
|
|
1304
|
+
let n = i(e);
|
|
1309
1305
|
return n === e ? t : n;
|
|
1310
|
-
}, { data:
|
|
1306
|
+
}, { data: o, loading: s, error: c } = re({
|
|
1311
1307
|
variables: { applicationId: e },
|
|
1312
1308
|
fetchPolicy: "cache-and-network"
|
|
1313
1309
|
});
|
|
1314
|
-
if (
|
|
1315
|
-
if (
|
|
1316
|
-
let
|
|
1310
|
+
if (s) return /* @__PURE__ */ U(Qe, { message: a("devportal.loadingVersions", "Loading versions…") });
|
|
1311
|
+
if (c) return /* @__PURE__ */ U(K, { message: c.message });
|
|
1312
|
+
let l = (o?.application?.versions?.edges ?? []).map((e) => e.node);
|
|
1317
1313
|
return /* @__PURE__ */ W("div", {
|
|
1318
1314
|
className: "space-y-4",
|
|
1319
1315
|
children: [
|
|
@@ -1322,17 +1318,17 @@ var Xe = [
|
|
|
1322
1318
|
children: [/* @__PURE__ */ W("p", {
|
|
1323
1319
|
className: "text-sm text-text-secondary",
|
|
1324
1320
|
children: [
|
|
1325
|
-
|
|
1321
|
+
l.length,
|
|
1326
1322
|
" ",
|
|
1327
|
-
|
|
1323
|
+
l.length === 1 ? a("devportal.version", "version") : a("devportal.versions", "versions")
|
|
1328
1324
|
]
|
|
1329
1325
|
}), /* @__PURE__ */ W("button", {
|
|
1330
|
-
onClick: () =>
|
|
1326
|
+
onClick: () => t(`/apps/${e}/versions`),
|
|
1331
1327
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
1332
|
-
children: [/* @__PURE__ */ U(Le, { size: 16 }),
|
|
1328
|
+
children: [/* @__PURE__ */ U(Le, { size: 16 }), a("devportal.uploadVersion", "Upload Version")]
|
|
1333
1329
|
})]
|
|
1334
1330
|
}),
|
|
1335
|
-
|
|
1331
|
+
l.length > 0 ? /* @__PURE__ */ U("div", {
|
|
1336
1332
|
className: "overflow-hidden rounded-lg border border-border-subtle",
|
|
1337
1333
|
children: /* @__PURE__ */ W("table", {
|
|
1338
1334
|
className: "w-full text-sm",
|
|
@@ -1341,24 +1337,24 @@ var Xe = [
|
|
|
1341
1337
|
children: [
|
|
1342
1338
|
/* @__PURE__ */ U("th", {
|
|
1343
1339
|
className: "px-4 py-3 text-left font-medium text-text-secondary",
|
|
1344
|
-
children:
|
|
1340
|
+
children: a("devportal.version", "Version")
|
|
1345
1341
|
}),
|
|
1346
1342
|
/* @__PURE__ */ U("th", {
|
|
1347
1343
|
className: "px-4 py-3 text-left font-medium text-text-secondary",
|
|
1348
|
-
children:
|
|
1344
|
+
children: a("devportal.status", "Status")
|
|
1349
1345
|
}),
|
|
1350
1346
|
/* @__PURE__ */ U("th", {
|
|
1351
1347
|
className: "px-4 py-3 text-left font-medium text-text-secondary",
|
|
1352
|
-
children:
|
|
1348
|
+
children: a("devportal.released", "Released")
|
|
1353
1349
|
}),
|
|
1354
1350
|
/* @__PURE__ */ U("th", {
|
|
1355
1351
|
className: "px-4 py-3 text-left font-medium text-text-secondary",
|
|
1356
|
-
children:
|
|
1352
|
+
children: a("devportal.flags", "Flags")
|
|
1357
1353
|
})
|
|
1358
1354
|
]
|
|
1359
1355
|
}) }), /* @__PURE__ */ U("tbody", {
|
|
1360
1356
|
className: "divide-y divide-border-subtle",
|
|
1361
|
-
children:
|
|
1357
|
+
children: l.map((e) => /* @__PURE__ */ W(H, { children: [
|
|
1362
1358
|
/* @__PURE__ */ W("tr", {
|
|
1363
1359
|
className: "hover:bg-bg-sunken/30 transition-colors",
|
|
1364
1360
|
children: [
|
|
@@ -1369,7 +1365,7 @@ var Xe = [
|
|
|
1369
1365
|
/* @__PURE__ */ U("td", {
|
|
1370
1366
|
className: "px-4 py-3",
|
|
1371
1367
|
children: /* @__PURE__ */ U("span", {
|
|
1372
|
-
className:
|
|
1368
|
+
className: E("inline-flex rounded-full px-2 py-0.5 text-xs font-medium", e.status === "published" ? "bg-status-success-bg-subtle text-status-success-text" : e.status === "pending_review" ? "bg-status-info-bg-subtle text-status-info-text" : e.status === "rejected" ? "bg-status-error-bg-subtle text-status-error-text" : e.status === "deprecated" ? "bg-bg-sunken text-text-secondary" : "bg-status-warning-bg-subtle text-status-warning-text"),
|
|
1373
1369
|
children: e.status === "pending_review" ? "In Review" : e.status
|
|
1374
1370
|
})
|
|
1375
1371
|
}),
|
|
@@ -1420,18 +1416,18 @@ var Xe = [
|
|
|
1420
1416
|
] }))
|
|
1421
1417
|
})]
|
|
1422
1418
|
})
|
|
1423
|
-
}) : /* @__PURE__ */ U(
|
|
1419
|
+
}) : /* @__PURE__ */ U(m, {
|
|
1424
1420
|
illustration: "empty-generic",
|
|
1425
1421
|
icon: /* @__PURE__ */ U(je, { size: 32 }),
|
|
1426
|
-
title:
|
|
1427
|
-
description:
|
|
1422
|
+
title: a("devportal.noVersions", "No versions yet"),
|
|
1423
|
+
description: a("devportal.noVersionsDescription", "Upload your first version to make this item available for review and distribution."),
|
|
1428
1424
|
action: /* @__PURE__ */ W("button", {
|
|
1429
|
-
onClick: () =>
|
|
1425
|
+
onClick: () => t(`/apps/${e}/versions`),
|
|
1430
1426
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
|
|
1431
|
-
children: [/* @__PURE__ */ U(Le, { size: 16 }),
|
|
1427
|
+
children: [/* @__PURE__ */ U(Le, { size: 16 }), a("devportal.uploadVersion", "Upload Version")]
|
|
1432
1428
|
})
|
|
1433
1429
|
}),
|
|
1434
|
-
|
|
1430
|
+
l.length > 0 && !n && r && /* @__PURE__ */ W("div", {
|
|
1435
1431
|
className: "mt-4 flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-sunken px-4 py-3",
|
|
1436
1432
|
children: [
|
|
1437
1433
|
/* @__PURE__ */ U(F, {
|
|
@@ -1440,13 +1436,13 @@ var Xe = [
|
|
|
1440
1436
|
}),
|
|
1441
1437
|
/* @__PURE__ */ U("p", {
|
|
1442
1438
|
className: "flex-1 text-sm text-text-secondary",
|
|
1443
|
-
children:
|
|
1439
|
+
children: a("devportal.versionsNextPricing", "You've got versions covered. Now set your pricing before you can submit.")
|
|
1444
1440
|
}),
|
|
1445
1441
|
/* @__PURE__ */ W("button", {
|
|
1446
1442
|
type: "button",
|
|
1447
|
-
onClick:
|
|
1443
|
+
onClick: r,
|
|
1448
1444
|
className: "inline-flex items-center gap-1 text-sm font-medium text-primary hover:underline underline-offset-2 whitespace-nowrap",
|
|
1449
|
-
children: [
|
|
1445
|
+
children: [a("devportal.nextSetPricing", "Set Pricing"), /* @__PURE__ */ U(xe, { size: 15 })]
|
|
1450
1446
|
})
|
|
1451
1447
|
]
|
|
1452
1448
|
})
|
|
@@ -1456,112 +1452,118 @@ var Xe = [
|
|
|
1456
1452
|
let { t: n } = G(), r = (e, t) => {
|
|
1457
1453
|
let r = n(e);
|
|
1458
1454
|
return r === e ? t : r;
|
|
1459
|
-
}, { data: i, loading: a, error: o } =
|
|
1460
|
-
|
|
1455
|
+
}, { data: i, loading: a, error: o } = A({ variables: { applicationId: e } });
|
|
1456
|
+
if (a) return /* @__PURE__ */ U(Qe, { message: r("devportal.loadingWebhooks", "Loading webhooks...") });
|
|
1457
|
+
if (o) return /* @__PURE__ */ U(K, { message: o.message });
|
|
1458
|
+
let s = (i?.webhooks ?? []).map(qe);
|
|
1459
|
+
return /* @__PURE__ */ U(ct, {
|
|
1461
1460
|
appId: e,
|
|
1462
|
-
webhooks:
|
|
1461
|
+
webhooks: s,
|
|
1463
1462
|
onNavigate: t
|
|
1464
1463
|
});
|
|
1465
|
-
}, at = ({ authAppId: e, appName: t, onGrantDelegation: n, onNavigate:
|
|
1466
|
-
let { t:
|
|
1467
|
-
let n =
|
|
1464
|
+
}, at = ({ authAppId: e, appName: t, onGrantDelegation: n, onNavigate: r }) => {
|
|
1465
|
+
let { t: i } = G(), a = (e, t) => {
|
|
1466
|
+
let n = i(e);
|
|
1468
1467
|
return n === e ? t : n;
|
|
1469
|
-
}, { data:
|
|
1470
|
-
|
|
1468
|
+
}, { data: o, loading: s, error: c, refetch: l } = O(), [u] = se(), [d, f] = N([]), [p, h] = N(!1), [_, v] = N(/* @__PURE__ */ new Set()), [y, b] = N(null), x = M(() => o?.currentUserDelegations?.delegations ? o.currentUserDelegations.delegations.filter((t) => t.appId === e).map(Ye) : [], [e, o]), S = M(() => x.filter((e) => e.status === "ACTIVE"), [x]), C = M(() => S.filter((e) => _.has(e.id)), [S, _]), w = S.length > 0 && S.every((e) => _.has(e.id)), T = S.some((e) => _.has(e.id)) && !w, E = j((e, t) => {
|
|
1469
|
+
v((n) => {
|
|
1471
1470
|
let r = new Set(n);
|
|
1472
1471
|
return t ? r.add(e) : r.delete(e), r;
|
|
1473
1472
|
});
|
|
1474
|
-
}, []),
|
|
1475
|
-
|
|
1473
|
+
}, []), D = j((e) => {
|
|
1474
|
+
v((t) => {
|
|
1476
1475
|
let n = new Set(t);
|
|
1477
|
-
return
|
|
1476
|
+
return S.forEach((t) => {
|
|
1478
1477
|
e ? n.add(t.id) : n.delete(t.id);
|
|
1479
1478
|
}), n;
|
|
1480
1479
|
});
|
|
1481
|
-
}, [
|
|
1482
|
-
|
|
1483
|
-
}, []), te =
|
|
1484
|
-
|
|
1480
|
+
}, [S]), ee = j(() => {
|
|
1481
|
+
v(/* @__PURE__ */ new Set());
|
|
1482
|
+
}, []), te = j(async (e) => {
|
|
1483
|
+
h(!0);
|
|
1485
1484
|
try {
|
|
1486
|
-
let t = await Promise.allSettled(e.map((e) =>
|
|
1487
|
-
|
|
1485
|
+
let t = await Promise.allSettled(e.map((e) => u({ variables: { id: e } }))), n = t.filter((e) => e.status === "fulfilled").length, r = t.length - n;
|
|
1486
|
+
b(`Revoked ${n} delegation${n === 1 ? "" : "s"}${r > 0 ? ` • ${r} failed` : ""}`), v((t) => {
|
|
1488
1487
|
let n = new Set(t);
|
|
1489
1488
|
return e.forEach((e) => n.delete(e)), n;
|
|
1490
|
-
}),
|
|
1489
|
+
}), f([]), l();
|
|
1491
1490
|
} catch {} finally {
|
|
1492
|
-
|
|
1491
|
+
h(!1);
|
|
1493
1492
|
}
|
|
1494
|
-
}, [
|
|
1495
|
-
return e ?
|
|
1496
|
-
|
|
1493
|
+
}, [u, l]);
|
|
1494
|
+
return e ? s ? /* @__PURE__ */ U(Qe, { message: a("devportal.loadingDelegations", "Loading delegations...") }) : c ? /* @__PURE__ */ U(K, { message: c.message }) : /* @__PURE__ */ W(H, { children: [
|
|
1495
|
+
y && /* @__PURE__ */ U("div", {
|
|
1497
1496
|
className: "rounded-lg border border-border-subtle bg-status-success-bg-subtle p-3 text-sm text-status-success-text",
|
|
1498
1497
|
children: /* @__PURE__ */ W("div", {
|
|
1499
1498
|
className: "flex items-center justify-between gap-3",
|
|
1500
|
-
children: [/* @__PURE__ */ U("span", { children:
|
|
1501
|
-
onClick: () =>
|
|
1499
|
+
children: [/* @__PURE__ */ U("span", { children: y }), /* @__PURE__ */ U("button", {
|
|
1500
|
+
onClick: () => b(null),
|
|
1502
1501
|
className: "text-status-success-text hover:text-status-success-text",
|
|
1503
|
-
children:
|
|
1502
|
+
children: a("devportal.dismiss", "Dismiss")
|
|
1504
1503
|
})]
|
|
1505
1504
|
})
|
|
1506
1505
|
}),
|
|
1507
1506
|
/* @__PURE__ */ U(lt, {
|
|
1508
1507
|
appName: t,
|
|
1509
|
-
delegations:
|
|
1508
|
+
delegations: x,
|
|
1510
1509
|
onGrantDelegation: n,
|
|
1511
|
-
onRevokeDelegation: (e) =>
|
|
1512
|
-
selectedDelegationIds:
|
|
1513
|
-
onToggleSelectDelegation:
|
|
1514
|
-
onToggleAllDelegations:
|
|
1510
|
+
onRevokeDelegation: (e) => f([e]),
|
|
1511
|
+
selectedDelegationIds: _,
|
|
1512
|
+
onToggleSelectDelegation: E,
|
|
1513
|
+
onToggleAllDelegations: D,
|
|
1515
1514
|
onClearSelection: ee,
|
|
1516
|
-
onRevokeSelected: () =>
|
|
1517
|
-
allVisibleSelected:
|
|
1518
|
-
partiallySelected:
|
|
1515
|
+
onRevokeSelected: () => f(C.map((e) => e.id)),
|
|
1516
|
+
allVisibleSelected: w,
|
|
1517
|
+
partiallySelected: T
|
|
1519
1518
|
}),
|
|
1520
|
-
/* @__PURE__ */ U(
|
|
1521
|
-
open:
|
|
1519
|
+
/* @__PURE__ */ U(g, {
|
|
1520
|
+
open: d.length > 0,
|
|
1522
1521
|
onOpenChange: (e) => {
|
|
1523
|
-
e ||
|
|
1522
|
+
e || f([]);
|
|
1524
1523
|
},
|
|
1525
1524
|
onConfirm: () => {
|
|
1526
|
-
|
|
1525
|
+
d.length > 0 && te(d);
|
|
1527
1526
|
},
|
|
1528
|
-
title:
|
|
1529
|
-
description:
|
|
1530
|
-
confirmLabel:
|
|
1531
|
-
cancelLabel:
|
|
1527
|
+
title: d.length > 1 ? a("devportal.revokeDelegations", "Revoke Delegations") : a("devportal.revokeDelegation", "Revoke Delegation"),
|
|
1528
|
+
description: d.length > 1 ? a("devportal.revokeMultipleDelegationsDescription", `This will immediately revoke ${d.length} selected delegations.`) : a("devportal.revokeDelegationDescription", "This will immediately revoke the delegation. The app will no longer be able to act on your behalf with the selected permissions."),
|
|
1529
|
+
confirmLabel: a("devportal.revoke", "Revoke"),
|
|
1530
|
+
cancelLabel: a("devportal.cancel", "Cancel"),
|
|
1532
1531
|
variant: "destructive",
|
|
1533
|
-
loading:
|
|
1532
|
+
loading: p
|
|
1534
1533
|
})
|
|
1535
|
-
] }) : /* @__PURE__ */ U(
|
|
1534
|
+
] }) : /* @__PURE__ */ U(m, {
|
|
1536
1535
|
illustration: "empty-generic",
|
|
1537
1536
|
icon: /* @__PURE__ */ U(B, { size: 32 }),
|
|
1538
|
-
title:
|
|
1539
|
-
description:
|
|
1537
|
+
title: a("devportal.linkAuthAppFirst", "Link an auth app first"),
|
|
1538
|
+
description: a("devportal.linkAuthAppFirstDescription", "Delegations are managed through auth apps. Create or link an auth app before granting app-as-user access."),
|
|
1540
1539
|
action: /* @__PURE__ */ W("button", {
|
|
1541
|
-
onClick: () =>
|
|
1540
|
+
onClick: () => r("/oauth"),
|
|
1542
1541
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
|
|
1543
|
-
children: [/* @__PURE__ */ U(I, { size: 16 }),
|
|
1542
|
+
children: [/* @__PURE__ */ U(I, { size: 16 }), a("devportal.manageOAuthApps", "Manage OAuth Apps")]
|
|
1544
1543
|
})
|
|
1545
1544
|
});
|
|
1546
1545
|
}, ot = ({ appId: e }) => {
|
|
1547
1546
|
let { t } = G(), n = (e, n) => {
|
|
1548
1547
|
let r = t(e);
|
|
1549
1548
|
return r === e ? n : r;
|
|
1550
|
-
}, r =
|
|
1549
|
+
}, r = M(() => /* @__PURE__ */ new Date(), []), i = M(() => {
|
|
1550
|
+
let e = new Date(r);
|
|
1551
|
+
return e.setDate(e.getDate() - 30), e;
|
|
1552
|
+
}, [r]), { data: a, loading: o, error: s } = te({ variables: {
|
|
1551
1553
|
applicationId: e,
|
|
1552
1554
|
period: "daily",
|
|
1553
|
-
startDate:
|
|
1554
|
-
let e = new Date(r);
|
|
1555
|
-
return e.setDate(e.getDate() - 30), e;
|
|
1556
|
-
}, [r]).toISOString(),
|
|
1555
|
+
startDate: i.toISOString(),
|
|
1557
1556
|
endDate: r.toISOString()
|
|
1558
1557
|
} });
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
let
|
|
1562
|
-
|
|
1558
|
+
if (o) return /* @__PURE__ */ U(Qe, { message: n("devportal.loadingAnalytics", "Loading analytics...") });
|
|
1559
|
+
if (s) return /* @__PURE__ */ U(K, { message: s.message });
|
|
1560
|
+
let c = (a?.applicationAnalytics ?? []).map(Je);
|
|
1561
|
+
return /* @__PURE__ */ U(ut, { analytics: c });
|
|
1562
|
+
}, st = ({ app: e, appId: n, refetch: r }) => {
|
|
1563
|
+
let { t: i } = G(), a = (e, t) => {
|
|
1564
|
+
let n = i(e);
|
|
1563
1565
|
return n === e ? t : n;
|
|
1564
|
-
}, [
|
|
1566
|
+
}, [o, { loading: s }] = le(), [c, { loading: l }] = fe(), [u, d] = N(!1);
|
|
1565
1567
|
return /* @__PURE__ */ W("div", {
|
|
1566
1568
|
className: "space-y-6",
|
|
1567
1569
|
children: [e.appType === "WORKFLOW" && /* @__PURE__ */ U("div", {
|
|
@@ -1579,46 +1581,46 @@ var Xe = [
|
|
|
1579
1581
|
}), /* @__PURE__ */ W("div", { children: [
|
|
1580
1582
|
/* @__PURE__ */ U("p", {
|
|
1581
1583
|
className: "text-sm font-medium text-text-primary",
|
|
1582
|
-
children:
|
|
1584
|
+
children: a("devportal.shareWorkflow.title", "Share as Public Link")
|
|
1583
1585
|
}),
|
|
1584
1586
|
/* @__PURE__ */ U("p", {
|
|
1585
1587
|
className: "mt-0.5 text-xs text-text-secondary",
|
|
1586
|
-
children: e.visibility === "UNLISTED" ?
|
|
1588
|
+
children: e.visibility === "UNLISTED" ? a("devportal.shareWorkflow.activeDesc", "Anyone with the link can preview and copy this workflow into their FluidGrids workspace.") : a("devportal.shareWorkflow.inactiveDesc", "Generate a public link anyone can use to copy this workflow into their own FluidGrids workspace — no store review needed.")
|
|
1587
1589
|
}),
|
|
1588
1590
|
e.visibility === "UNLISTED" && (e.status === "PUBLISHED" || e.status === "SUBMITTED") && /* @__PURE__ */ U("p", {
|
|
1589
1591
|
className: "mt-1.5 text-xs text-status-warning-text",
|
|
1590
|
-
children:
|
|
1592
|
+
children: a("devportal.shareWorkflow.stopSharingPublishedNote", "This app is in the marketplace. Stopping the share link will keep it there — visibility will switch to Public so the store listing is preserved.")
|
|
1591
1593
|
}),
|
|
1592
1594
|
e.visibility === "UNLISTED" && /* @__PURE__ */ W("div", {
|
|
1593
1595
|
className: "mt-2 flex items-center gap-2",
|
|
1594
1596
|
children: [/* @__PURE__ */ U("code", {
|
|
1595
1597
|
className: "rounded bg-bg-canvas px-2 py-1 text-xs text-text-secondary",
|
|
1596
|
-
children: `${window.location.protocol}//${window.location.host}/shared/${
|
|
1598
|
+
children: `${window.location.protocol}//${window.location.host}/shared/${n}`
|
|
1597
1599
|
}), /* @__PURE__ */ W("button", {
|
|
1598
1600
|
type: "button",
|
|
1599
1601
|
className: "flex items-center gap-1 rounded px-2 py-1 text-xs text-action-primary-text hover:bg-action-primary-bg-subtle transition-colors",
|
|
1600
1602
|
onClick: () => {
|
|
1601
|
-
let e = `${window.location.protocol}//${window.location.host}/shared/${
|
|
1603
|
+
let e = `${window.location.protocol}//${window.location.host}/shared/${n}`;
|
|
1602
1604
|
navigator.clipboard.writeText(e).then(() => {
|
|
1603
|
-
|
|
1605
|
+
d(!0), setTimeout(() => d(!1), 2e3);
|
|
1604
1606
|
});
|
|
1605
1607
|
},
|
|
1606
|
-
children: [U(
|
|
1608
|
+
children: [U(u ? P : Ce, { size: 12 }), u ? a("devportal.copied", "Copied!") : a("devportal.copyLink", "Copy Link")]
|
|
1607
1609
|
})]
|
|
1608
1610
|
})
|
|
1609
1611
|
] })]
|
|
1610
1612
|
}), /* @__PURE__ */ U("button", {
|
|
1611
1613
|
type: "button",
|
|
1612
|
-
disabled:
|
|
1613
|
-
title: e.manifest ? void 0 :
|
|
1614
|
+
disabled: s || l || !e.manifest,
|
|
1615
|
+
title: e.manifest ? void 0 : a("devportal.shareWorkflow.noManifestHint", "Add a workflow manifest before sharing"),
|
|
1614
1616
|
onClick: () => {
|
|
1615
|
-
e.visibility === "UNLISTED" ?
|
|
1617
|
+
e.visibility === "UNLISTED" ? c({ variables: { id: n } }).then(() => r()) : o({ variables: { id: n } }).then(() => r());
|
|
1616
1618
|
},
|
|
1617
1619
|
className: `flex-shrink-0 rounded-full px-3 py-1.5 text-xs font-medium transition-colors ${e.visibility === "UNLISTED" ? "border border-status-error-bg text-status-error-text hover:bg-status-error-bg-subtle" : "bg-action-primary-bg text-text-on-action hover:opacity-90 disabled:opacity-50"}`,
|
|
1618
|
-
children:
|
|
1620
|
+
children: s || l ? /* @__PURE__ */ U(R, {
|
|
1619
1621
|
size: 12,
|
|
1620
1622
|
className: "animate-spin"
|
|
1621
|
-
}) : e.visibility === "UNLISTED" ?
|
|
1623
|
+
}) : e.visibility === "UNLISTED" ? a("devportal.shareWorkflow.stopSharing", "Stop Sharing") : a("devportal.shareWorkflow.share", "Share Link")
|
|
1622
1624
|
})]
|
|
1623
1625
|
})
|
|
1624
1626
|
}), /* @__PURE__ */ W("div", {
|
|
@@ -1630,40 +1632,40 @@ var Xe = [
|
|
|
1630
1632
|
className: "grid gap-4 sm:grid-cols-4",
|
|
1631
1633
|
children: [
|
|
1632
1634
|
/* @__PURE__ */ U(Z, {
|
|
1633
|
-
label:
|
|
1635
|
+
label: a("devportal.totalInstalls", "Total Installs"),
|
|
1634
1636
|
value: e.installCount.toLocaleString()
|
|
1635
1637
|
}),
|
|
1636
1638
|
/* @__PURE__ */ U(Z, {
|
|
1637
|
-
label:
|
|
1639
|
+
label: a("devportal.activeInstalls", "Active Installs"),
|
|
1638
1640
|
value: e.activeInstallCount.toLocaleString()
|
|
1639
1641
|
}),
|
|
1640
1642
|
/* @__PURE__ */ U(Z, {
|
|
1641
|
-
label:
|
|
1642
|
-
value: e.averageRating ? `${e.averageRating.toFixed(1)} ★` :
|
|
1643
|
+
label: a("devportal.averageRating", "Average Rating"),
|
|
1644
|
+
value: e.averageRating ? `${e.averageRating.toFixed(1)} ★` : a("devportal.notAvailable", "N/A")
|
|
1643
1645
|
}),
|
|
1644
1646
|
/* @__PURE__ */ U(Z, {
|
|
1645
|
-
label:
|
|
1647
|
+
label: a("devportal.reviews", "Reviews"),
|
|
1646
1648
|
value: e.reviewCount.toString()
|
|
1647
1649
|
})
|
|
1648
1650
|
]
|
|
1649
1651
|
}) }),
|
|
1650
|
-
/* @__PURE__ */ U(
|
|
1651
|
-
title:
|
|
1652
|
-
children: e.description ? /* @__PURE__ */ U(
|
|
1652
|
+
/* @__PURE__ */ U(t, {
|
|
1653
|
+
title: a("devportal.description", "Description"),
|
|
1654
|
+
children: e.description ? /* @__PURE__ */ U(ge, {
|
|
1653
1655
|
className: "prose prose-sm max-w-none",
|
|
1654
1656
|
children: e.description
|
|
1655
1657
|
}) : /* @__PURE__ */ U("p", {
|
|
1656
1658
|
className: "text-sm text-text-secondary",
|
|
1657
|
-
children:
|
|
1659
|
+
children: a("devportal.noDescriptionProvided", "No description provided.")
|
|
1658
1660
|
})
|
|
1659
1661
|
}),
|
|
1660
|
-
/* @__PURE__ */ U(
|
|
1661
|
-
title:
|
|
1662
|
+
/* @__PURE__ */ U(t, {
|
|
1663
|
+
title: a("devportal.tagsAndKeywords", "Tags & Keywords"),
|
|
1662
1664
|
children: /* @__PURE__ */ W("div", {
|
|
1663
1665
|
className: "space-y-3",
|
|
1664
1666
|
children: [e.tags.length > 0 && /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
1665
1667
|
className: "text-xs text-text-secondary mb-2",
|
|
1666
|
-
children:
|
|
1668
|
+
children: a("devportal.tags", "Tags")
|
|
1667
1669
|
}), /* @__PURE__ */ U("div", {
|
|
1668
1670
|
className: "flex flex-wrap gap-2",
|
|
1669
1671
|
children: e.tags.map((e) => /* @__PURE__ */ U("span", {
|
|
@@ -1672,7 +1674,7 @@ var Xe = [
|
|
|
1672
1674
|
}, e))
|
|
1673
1675
|
})] }), e.keywords.length > 0 && /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
1674
1676
|
className: "text-xs text-text-secondary mb-2",
|
|
1675
|
-
children:
|
|
1677
|
+
children: a("devportal.keywords", "Keywords")
|
|
1676
1678
|
}), /* @__PURE__ */ U("div", {
|
|
1677
1679
|
className: "flex flex-wrap gap-2",
|
|
1678
1680
|
children: e.keywords.map((e) => /* @__PURE__ */ U("span", {
|
|
@@ -1685,74 +1687,74 @@ var Xe = [
|
|
|
1685
1687
|
]
|
|
1686
1688
|
}), /* @__PURE__ */ W("div", {
|
|
1687
1689
|
className: "space-y-6",
|
|
1688
|
-
children: [/* @__PURE__ */ U(
|
|
1689
|
-
title:
|
|
1690
|
-
children: /* @__PURE__ */ U(
|
|
1690
|
+
children: [/* @__PURE__ */ U(t, {
|
|
1691
|
+
title: a("devportal.details", "Details"),
|
|
1692
|
+
children: /* @__PURE__ */ U(f, { items: [
|
|
1691
1693
|
{
|
|
1692
|
-
label:
|
|
1694
|
+
label: a("devportal.appId", "App ID"),
|
|
1693
1695
|
value: /* @__PURE__ */ U("code", {
|
|
1694
1696
|
className: "text-xs",
|
|
1695
1697
|
children: e.id
|
|
1696
1698
|
})
|
|
1697
1699
|
},
|
|
1698
1700
|
{
|
|
1699
|
-
label:
|
|
1701
|
+
label: a("devportal.slug", "Slug"),
|
|
1700
1702
|
value: e.slug
|
|
1701
1703
|
},
|
|
1702
1704
|
{
|
|
1703
|
-
label:
|
|
1704
|
-
value: e.category ||
|
|
1705
|
+
label: a("devportal.category", "Category"),
|
|
1706
|
+
value: e.category || a("devportal.uncategorized", "Uncategorized")
|
|
1705
1707
|
},
|
|
1706
1708
|
{
|
|
1707
|
-
label:
|
|
1709
|
+
label: a("devportal.pricing", "Pricing"),
|
|
1708
1710
|
value: (() => {
|
|
1709
1711
|
if (e.pricingType === "PAID") {
|
|
1710
1712
|
let t = e.pricingDetails ?? {}, n = typeof t.price == "number" ? t.price : null, r = typeof t.currency == "string" ? t.currency : "USD";
|
|
1711
1713
|
return n == null ? "PAID" : `PAID — ${n} ${r}`;
|
|
1712
1714
|
}
|
|
1713
|
-
return e.pricingType ||
|
|
1715
|
+
return e.pricingType || a("devportal.free", "Free");
|
|
1714
1716
|
})()
|
|
1715
1717
|
},
|
|
1716
1718
|
{
|
|
1717
|
-
label:
|
|
1719
|
+
label: a("devportal.created", "Created"),
|
|
1718
1720
|
value: new Date(e.createdAt).toLocaleDateString()
|
|
1719
1721
|
},
|
|
1720
1722
|
{
|
|
1721
|
-
label:
|
|
1723
|
+
label: a("devportal.updated", "Updated"),
|
|
1722
1724
|
value: new Date(e.updatedAt).toLocaleDateString()
|
|
1723
1725
|
},
|
|
1724
1726
|
{
|
|
1725
|
-
label:
|
|
1726
|
-
value: e.publishedAt ? new Date(e.publishedAt).toLocaleDateString() :
|
|
1727
|
+
label: a("devportal.published", "Published"),
|
|
1728
|
+
value: e.publishedAt ? new Date(e.publishedAt).toLocaleDateString() : a("devportal.notPublished", "Not published")
|
|
1727
1729
|
}
|
|
1728
1730
|
] })
|
|
1729
|
-
}), /* @__PURE__ */ U(
|
|
1730
|
-
title:
|
|
1731
|
+
}), /* @__PURE__ */ U(t, {
|
|
1732
|
+
title: a("devportal.links", "Links"),
|
|
1731
1733
|
children: /* @__PURE__ */ W("div", {
|
|
1732
1734
|
className: "space-y-2",
|
|
1733
1735
|
children: [
|
|
1734
1736
|
e.websiteUrl && /* @__PURE__ */ U(Q, {
|
|
1735
|
-
label:
|
|
1737
|
+
label: a("devportal.website", "Website"),
|
|
1736
1738
|
url: e.websiteUrl
|
|
1737
1739
|
}),
|
|
1738
1740
|
e.documentationUrl && /* @__PURE__ */ U(Q, {
|
|
1739
|
-
label:
|
|
1741
|
+
label: a("devportal.documentation", "Documentation"),
|
|
1740
1742
|
url: e.documentationUrl
|
|
1741
1743
|
}),
|
|
1742
1744
|
e.supportUrl && /* @__PURE__ */ U(Q, {
|
|
1743
|
-
label:
|
|
1745
|
+
label: a("devportal.support", "Support"),
|
|
1744
1746
|
url: e.supportUrl
|
|
1745
1747
|
}),
|
|
1746
1748
|
e.githubUrl && /* @__PURE__ */ U(Q, {
|
|
1747
|
-
label:
|
|
1749
|
+
label: a("devportal.github", "GitHub"),
|
|
1748
1750
|
url: e.githubUrl
|
|
1749
1751
|
}),
|
|
1750
1752
|
e.privacyPolicyUrl && /* @__PURE__ */ U(Q, {
|
|
1751
|
-
label:
|
|
1753
|
+
label: a("devportal.privacyPolicy", "Privacy Policy"),
|
|
1752
1754
|
url: e.privacyPolicyUrl
|
|
1753
1755
|
}),
|
|
1754
1756
|
e.termsOfServiceUrl && /* @__PURE__ */ U(Q, {
|
|
1755
|
-
label:
|
|
1757
|
+
label: a("devportal.termsOfService", "Terms of Service"),
|
|
1756
1758
|
url: e.termsOfServiceUrl
|
|
1757
1759
|
})
|
|
1758
1760
|
]
|
|
@@ -1762,8 +1764,8 @@ var Xe = [
|
|
|
1762
1764
|
})]
|
|
1763
1765
|
});
|
|
1764
1766
|
}, ct = ({ appId: e, webhooks: t, onNavigate: n }) => {
|
|
1765
|
-
let { t:
|
|
1766
|
-
let n =
|
|
1767
|
+
let { t: r } = G(), i = (e, t) => {
|
|
1768
|
+
let n = r(e);
|
|
1767
1769
|
return n === e ? t : n;
|
|
1768
1770
|
};
|
|
1769
1771
|
return /* @__PURE__ */ W("div", {
|
|
@@ -1775,14 +1777,14 @@ var Xe = [
|
|
|
1775
1777
|
children: [
|
|
1776
1778
|
t.length,
|
|
1777
1779
|
" ",
|
|
1778
|
-
t.length === 1 ?
|
|
1780
|
+
t.length === 1 ? i("devportal.webhook", "webhook") : i("devportal.webhooks", "webhooks"),
|
|
1779
1781
|
" ",
|
|
1780
|
-
|
|
1782
|
+
i("devportal.configured", "configured")
|
|
1781
1783
|
]
|
|
1782
1784
|
}), /* @__PURE__ */ W("button", {
|
|
1783
1785
|
onClick: () => n(`/apps/${e}/webhooks/new`),
|
|
1784
1786
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
1785
|
-
children: [/* @__PURE__ */ U(z, { size: 16 }),
|
|
1787
|
+
children: [/* @__PURE__ */ U(z, { size: 16 }), i("devportal.addWebhook", "Add Webhook")]
|
|
1786
1788
|
})]
|
|
1787
1789
|
}), t.length > 0 ? /* @__PURE__ */ U("div", {
|
|
1788
1790
|
className: "space-y-4",
|
|
@@ -1796,7 +1798,7 @@ var Xe = [
|
|
|
1796
1798
|
children: [/* @__PURE__ */ U("h3", {
|
|
1797
1799
|
className: "font-medium",
|
|
1798
1800
|
children: t.name
|
|
1799
|
-
}), /* @__PURE__ */ U(
|
|
1801
|
+
}), /* @__PURE__ */ U(l, {
|
|
1800
1802
|
status: t.status,
|
|
1801
1803
|
type: "webhook"
|
|
1802
1804
|
})]
|
|
@@ -1811,14 +1813,14 @@ var Xe = [
|
|
|
1811
1813
|
}),
|
|
1812
1814
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
1813
1815
|
className: "text-xs text-text-secondary mb-1",
|
|
1814
|
-
children:
|
|
1816
|
+
children: i("devportal.endpointUrl", "Endpoint URL")
|
|
1815
1817
|
}), /* @__PURE__ */ U("code", {
|
|
1816
1818
|
className: "text-sm bg-bg-sunken px-2 py-1 rounded block truncate",
|
|
1817
1819
|
children: t.url
|
|
1818
1820
|
})] }),
|
|
1819
1821
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
1820
1822
|
className: "text-xs text-text-secondary mb-2",
|
|
1821
|
-
children:
|
|
1823
|
+
children: i("devportal.events", "Events")
|
|
1822
1824
|
}), /* @__PURE__ */ U("div", {
|
|
1823
1825
|
className: "flex flex-wrap gap-2",
|
|
1824
1826
|
children: t.events.map((e) => /* @__PURE__ */ U("span", {
|
|
@@ -1831,53 +1833,53 @@ var Xe = [
|
|
|
1831
1833
|
children: [
|
|
1832
1834
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
1833
1835
|
className: "text-xs text-text-secondary",
|
|
1834
|
-
children:
|
|
1836
|
+
children: i("devportal.success", "Success")
|
|
1835
1837
|
}), /* @__PURE__ */ U("p", {
|
|
1836
1838
|
className: "font-medium text-status-success-text",
|
|
1837
1839
|
children: t.successCount.toLocaleString()
|
|
1838
1840
|
})] }),
|
|
1839
1841
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
1840
1842
|
className: "text-xs text-text-secondary",
|
|
1841
|
-
children:
|
|
1843
|
+
children: i("devportal.failed", "Failed")
|
|
1842
1844
|
}), /* @__PURE__ */ U("p", {
|
|
1843
1845
|
className: "font-medium text-status-error-text",
|
|
1844
1846
|
children: t.failureCount.toLocaleString()
|
|
1845
1847
|
})] }),
|
|
1846
1848
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
1847
1849
|
className: "text-xs text-text-secondary",
|
|
1848
|
-
children:
|
|
1850
|
+
children: i("devportal.successRate", "Success Rate")
|
|
1849
1851
|
}), /* @__PURE__ */ W("p", {
|
|
1850
1852
|
className: "font-medium",
|
|
1851
1853
|
children: [t.successCount + t.failureCount > 0 ? (t.successCount / (t.successCount + t.failureCount) * 100).toFixed(1) : "0.0", "%"]
|
|
1852
1854
|
})] }),
|
|
1853
1855
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
1854
1856
|
className: "text-xs text-text-secondary",
|
|
1855
|
-
children:
|
|
1857
|
+
children: i("devportal.lastTriggered", "Last Triggered")
|
|
1856
1858
|
}), /* @__PURE__ */ U("p", {
|
|
1857
1859
|
className: "font-medium",
|
|
1858
|
-
children: t.lastTriggeredAt ? new Date(t.lastTriggeredAt).toLocaleString() :
|
|
1860
|
+
children: t.lastTriggeredAt ? new Date(t.lastTriggeredAt).toLocaleString() : i("devportal.never", "Never")
|
|
1859
1861
|
})] })
|
|
1860
1862
|
]
|
|
1861
1863
|
})
|
|
1862
1864
|
]
|
|
1863
1865
|
}, t.id))
|
|
1864
|
-
}) : /* @__PURE__ */ U(
|
|
1866
|
+
}) : /* @__PURE__ */ U(m, {
|
|
1865
1867
|
illustration: "empty-notifications",
|
|
1866
1868
|
icon: /* @__PURE__ */ U(ze, { size: 32 }),
|
|
1867
|
-
title:
|
|
1868
|
-
description:
|
|
1869
|
+
title: i("devportal.noWebhooks", "No webhooks"),
|
|
1870
|
+
description: i("devportal.noWebhooksDescription", "Add a webhook to receive event notifications"),
|
|
1869
1871
|
action: /* @__PURE__ */ W("button", {
|
|
1870
1872
|
onClick: () => n(`/apps/${e}/webhooks/new`),
|
|
1871
1873
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
|
|
1872
|
-
children: [/* @__PURE__ */ U(z, { size: 16 }),
|
|
1874
|
+
children: [/* @__PURE__ */ U(z, { size: 16 }), i("devportal.addWebhook", "Add Webhook")]
|
|
1873
1875
|
})
|
|
1874
1876
|
})]
|
|
1875
1877
|
});
|
|
1876
|
-
}, lt = ({ appName: e, delegations:
|
|
1877
|
-
let { t:
|
|
1878
|
-
let n =
|
|
1878
|
+
}, lt = ({ appName: e, delegations: t, onGrantDelegation: n, onRevokeDelegation: r, selectedDelegationIds: i, onToggleSelectDelegation: a, onToggleAllDelegations: o, onClearSelection: s, onRevokeSelected: c, allVisibleSelected: l, partiallySelected: u }) => {
|
|
1879
|
+
let { t: d } = G(), f = (e, t) => {
|
|
1880
|
+
let n = d(e);
|
|
1879
1881
|
return n === e ? t : n;
|
|
1880
|
-
},
|
|
1882
|
+
}, p = t.filter((e) => e.status === "ACTIVE"), h = t.filter((e) => e.status !== "ACTIVE");
|
|
1881
1883
|
return /* @__PURE__ */ W("div", {
|
|
1882
1884
|
className: "space-y-6",
|
|
1883
1885
|
children: [
|
|
@@ -1886,33 +1888,33 @@ var Xe = [
|
|
|
1886
1888
|
children: [/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ W("p", {
|
|
1887
1889
|
className: "text-sm text-text-secondary",
|
|
1888
1890
|
children: [
|
|
1889
|
-
|
|
1891
|
+
t.length,
|
|
1890
1892
|
" ",
|
|
1891
|
-
|
|
1893
|
+
t.length === 1 ? f("devportal.delegation", "delegation") : f("devportal.delegations", "delegations"),
|
|
1892
1894
|
" ",
|
|
1893
|
-
|
|
1895
|
+
f("devportal.for", "for"),
|
|
1894
1896
|
" ",
|
|
1895
1897
|
e
|
|
1896
1898
|
]
|
|
1897
|
-
}),
|
|
1899
|
+
}), p.length > 0 && /* @__PURE__ */ W("p", {
|
|
1898
1900
|
className: "text-xs text-text-secondary mt-0.5",
|
|
1899
1901
|
children: [
|
|
1900
|
-
|
|
1902
|
+
p.length,
|
|
1901
1903
|
" ",
|
|
1902
|
-
|
|
1904
|
+
f("devportal.active", "active"),
|
|
1903
1905
|
",",
|
|
1904
1906
|
" ",
|
|
1905
|
-
|
|
1907
|
+
h.length,
|
|
1906
1908
|
" ",
|
|
1907
|
-
|
|
1909
|
+
f("devportal.revokedExpired", "revoked/expired")
|
|
1908
1910
|
]
|
|
1909
1911
|
})] }), /* @__PURE__ */ W("button", {
|
|
1910
|
-
onClick:
|
|
1912
|
+
onClick: n,
|
|
1911
1913
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
1912
|
-
children: [/* @__PURE__ */ U(z, { size: 16 }),
|
|
1914
|
+
children: [/* @__PURE__ */ U(z, { size: 16 }), f("devportal.grantDelegation", "Grant Delegation")]
|
|
1913
1915
|
})]
|
|
1914
1916
|
}),
|
|
1915
|
-
|
|
1917
|
+
p.length > 0 && /* @__PURE__ */ U("div", {
|
|
1916
1918
|
className: "rounded-card border border-border-seam bg-bg-surface p-4",
|
|
1917
1919
|
children: /* @__PURE__ */ W("div", {
|
|
1918
1920
|
className: "flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",
|
|
@@ -1920,41 +1922,41 @@ var Xe = [
|
|
|
1920
1922
|
className: "flex flex-wrap items-center gap-3",
|
|
1921
1923
|
children: [/* @__PURE__ */ W("div", {
|
|
1922
1924
|
className: "flex items-center gap-2",
|
|
1923
|
-
children: [/* @__PURE__ */ U(
|
|
1924
|
-
checked:
|
|
1925
|
-
indeterminate:
|
|
1926
|
-
onChange:
|
|
1927
|
-
ariaLabel:
|
|
1925
|
+
children: [/* @__PURE__ */ U(_, {
|
|
1926
|
+
checked: l,
|
|
1927
|
+
indeterminate: u,
|
|
1928
|
+
onChange: o,
|
|
1929
|
+
ariaLabel: f("devportal.selectAllActiveDelegations", "Select all active app delegations")
|
|
1928
1930
|
}), /* @__PURE__ */ U("span", {
|
|
1929
1931
|
className: "text-sm font-medium",
|
|
1930
|
-
children:
|
|
1932
|
+
children: f("devportal.selectAllActive", "Select all active")
|
|
1931
1933
|
})]
|
|
1932
|
-
}),
|
|
1933
|
-
onClick:
|
|
1934
|
+
}), i.size > 0 && /* @__PURE__ */ U("button", {
|
|
1935
|
+
onClick: s,
|
|
1934
1936
|
className: "text-sm text-text-secondary hover:text-text-primary",
|
|
1935
|
-
children:
|
|
1937
|
+
children: f("devportal.clearSelection", "Clear selection")
|
|
1936
1938
|
})]
|
|
1937
1939
|
}), /* @__PURE__ */ W("div", {
|
|
1938
1940
|
className: "flex flex-wrap items-center gap-2",
|
|
1939
1941
|
children: [/* @__PURE__ */ W("span", {
|
|
1940
1942
|
className: "rounded-full bg-bg-sunken px-3 py-1 text-sm font-medium text-text-secondary",
|
|
1941
1943
|
children: [
|
|
1942
|
-
|
|
1944
|
+
i.size,
|
|
1943
1945
|
" ",
|
|
1944
|
-
|
|
1946
|
+
f("devportal.selected", "selected")
|
|
1945
1947
|
]
|
|
1946
1948
|
}), /* @__PURE__ */ W("button", {
|
|
1947
|
-
onClick:
|
|
1948
|
-
disabled:
|
|
1949
|
+
onClick: c,
|
|
1950
|
+
disabled: i.size === 0,
|
|
1949
1951
|
className: "rounded-md border border-status-error-bg px-3 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg-subtle disabled:cursor-not-allowed disabled:opacity-50",
|
|
1950
|
-
children: [
|
|
1952
|
+
children: [f("devportal.revokeSelected", "Revoke Selected"), i.size > 0 ? ` (${i.size})` : ""]
|
|
1951
1953
|
})]
|
|
1952
1954
|
})]
|
|
1953
1955
|
})
|
|
1954
1956
|
}),
|
|
1955
|
-
|
|
1957
|
+
t.length > 0 ? /* @__PURE__ */ U("div", {
|
|
1956
1958
|
className: "space-y-4",
|
|
1957
|
-
children:
|
|
1959
|
+
children: t.map((e) => /* @__PURE__ */ W("div", {
|
|
1958
1960
|
className: "rounded-card border border-border-seam bg-bg-surface p-4 space-y-4 shadow-[var(--shadow-pop)]",
|
|
1959
1961
|
children: [
|
|
1960
1962
|
/* @__PURE__ */ W("div", {
|
|
@@ -1963,9 +1965,9 @@ var Xe = [
|
|
|
1963
1965
|
className: "flex items-start gap-3",
|
|
1964
1966
|
children: [e.status === "ACTIVE" && /* @__PURE__ */ U("div", {
|
|
1965
1967
|
onClick: (e) => e.stopPropagation(),
|
|
1966
|
-
children: /* @__PURE__ */ U(
|
|
1967
|
-
checked:
|
|
1968
|
-
onChange: (t) =>
|
|
1968
|
+
children: /* @__PURE__ */ U(_, {
|
|
1969
|
+
checked: i.has(e.id),
|
|
1970
|
+
onChange: (t) => a(e.id, t),
|
|
1969
1971
|
ariaLabel: `Select delegation ${e.id}`,
|
|
1970
1972
|
className: "mt-1"
|
|
1971
1973
|
})
|
|
@@ -1975,30 +1977,30 @@ var Xe = [
|
|
|
1975
1977
|
className: "font-medium",
|
|
1976
1978
|
children: ["Delegation #", e.id.slice(0, 8)]
|
|
1977
1979
|
}), /* @__PURE__ */ U("span", {
|
|
1978
|
-
className:
|
|
1980
|
+
className: E("rounded-full px-2 py-0.5 text-xs font-medium", Ze[e.status]),
|
|
1979
1981
|
children: e.status
|
|
1980
1982
|
})]
|
|
1981
1983
|
}), /* @__PURE__ */ W("p", {
|
|
1982
1984
|
className: "text-sm text-text-secondary mt-1",
|
|
1983
1985
|
children: [
|
|
1984
|
-
|
|
1986
|
+
f("devportal.granted", "Granted"),
|
|
1985
1987
|
" ",
|
|
1986
1988
|
new Date(e.grantedAt).toLocaleDateString(),
|
|
1987
1989
|
" ",
|
|
1988
|
-
|
|
1990
|
+
f("devportal.by", "by"),
|
|
1989
1991
|
" ",
|
|
1990
|
-
e.grantedBy === e.userId ?
|
|
1992
|
+
e.grantedBy === e.userId ? f("devportal.you", "you") : e.grantedBy.slice(0, 8)
|
|
1991
1993
|
]
|
|
1992
1994
|
})] })]
|
|
1993
1995
|
}), e.status === "ACTIVE" && /* @__PURE__ */ W("button", {
|
|
1994
|
-
onClick: () =>
|
|
1996
|
+
onClick: () => r(e.id),
|
|
1995
1997
|
className: "inline-flex items-center gap-1.5 rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-status-error-text hover:bg-status-error-bg-subtle transition-colors",
|
|
1996
|
-
children: [/* @__PURE__ */ U(Ve, { size: 14 }),
|
|
1998
|
+
children: [/* @__PURE__ */ U(Ve, { size: 14 }), f("devportal.revoke", "Revoke")]
|
|
1997
1999
|
})]
|
|
1998
2000
|
}),
|
|
1999
2001
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
2000
2002
|
className: "text-xs text-text-secondary mb-2",
|
|
2001
|
-
children:
|
|
2003
|
+
children: f("devportal.grantedScopes", "Granted Scopes")
|
|
2002
2004
|
}), /* @__PURE__ */ U("div", {
|
|
2003
2005
|
className: "flex flex-wrap gap-2",
|
|
2004
2006
|
children: e.scopes.map((e) => /* @__PURE__ */ U("span", {
|
|
@@ -2008,7 +2010,7 @@ var Xe = [
|
|
|
2008
2010
|
})] }),
|
|
2009
2011
|
e.workspaceIds.length > 0 && /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
|
|
2010
2012
|
className: "text-xs text-text-secondary mb-2",
|
|
2011
|
-
children:
|
|
2013
|
+
children: f("devportal.workspaceScope", "Workspace Scope")
|
|
2012
2014
|
}), /* @__PURE__ */ U("div", {
|
|
2013
2015
|
className: "flex flex-wrap gap-2",
|
|
2014
2016
|
children: e.workspaceIds.map((e) => /* @__PURE__ */ U("code", {
|
|
@@ -2023,7 +2025,7 @@ var Xe = [
|
|
|
2023
2025
|
className: "flex items-center gap-1",
|
|
2024
2026
|
children: [
|
|
2025
2027
|
/* @__PURE__ */ U(Se, { size: 12 }),
|
|
2026
|
-
|
|
2028
|
+
f("devportal.expires", "Expires"),
|
|
2027
2029
|
" ",
|
|
2028
2030
|
new Date(e.expiresAt).toLocaleDateString()
|
|
2029
2031
|
]
|
|
@@ -2033,7 +2035,7 @@ var Xe = [
|
|
|
2033
2035
|
children: [/* @__PURE__ */ U(be, {
|
|
2034
2036
|
size: 12,
|
|
2035
2037
|
className: "text-status-success-text"
|
|
2036
|
-
}),
|
|
2038
|
+
}), f("devportal.noExpiration", "No expiration")]
|
|
2037
2039
|
}),
|
|
2038
2040
|
e.revokedAt && /* @__PURE__ */ W("span", {
|
|
2039
2041
|
className: "flex items-center gap-1",
|
|
@@ -2042,7 +2044,7 @@ var Xe = [
|
|
|
2042
2044
|
size: 12,
|
|
2043
2045
|
className: "text-status-error-text"
|
|
2044
2046
|
}),
|
|
2045
|
-
|
|
2047
|
+
f("devportal.revoked", "Revoked"),
|
|
2046
2048
|
" ",
|
|
2047
2049
|
new Date(e.revokedAt).toLocaleDateString()
|
|
2048
2050
|
]
|
|
@@ -2051,23 +2053,23 @@ var Xe = [
|
|
|
2051
2053
|
})
|
|
2052
2054
|
]
|
|
2053
2055
|
}, e.id))
|
|
2054
|
-
}) : /* @__PURE__ */ U(
|
|
2056
|
+
}) : /* @__PURE__ */ U(m, {
|
|
2055
2057
|
illustration: "empty-people",
|
|
2056
2058
|
icon: /* @__PURE__ */ U(Re, { size: 32 }),
|
|
2057
|
-
title:
|
|
2058
|
-
description:
|
|
2059
|
+
title: f("devportal.noDelegations", "No delegations"),
|
|
2060
|
+
description: f("devportal.noDelegationsDescription", "Grant a delegation to allow this app to act on your behalf"),
|
|
2059
2061
|
action: /* @__PURE__ */ W("button", {
|
|
2060
|
-
onClick:
|
|
2062
|
+
onClick: n,
|
|
2061
2063
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
|
|
2062
|
-
children: [/* @__PURE__ */ U(z, { size: 16 }),
|
|
2064
|
+
children: [/* @__PURE__ */ U(z, { size: 16 }), f("devportal.grantDelegation", "Grant Delegation")]
|
|
2063
2065
|
})
|
|
2064
2066
|
})
|
|
2065
2067
|
]
|
|
2066
2068
|
});
|
|
2067
2069
|
}, ut = ({ analytics: e }) => {
|
|
2068
|
-
let { t } = G(),
|
|
2069
|
-
let r =
|
|
2070
|
-
return r === e ?
|
|
2070
|
+
let { t: n } = G(), r = (e, t) => {
|
|
2071
|
+
let r = n(e);
|
|
2072
|
+
return r === e ? t : r;
|
|
2071
2073
|
}, i = e[0], a = e[1], o = (e, t) => t ? (e - t) / t * 100 : 0;
|
|
2072
2074
|
return /* @__PURE__ */ W("div", {
|
|
2073
2075
|
className: "space-y-6",
|
|
@@ -2075,114 +2077,114 @@ var Xe = [
|
|
|
2075
2077
|
className: "grid gap-4 sm:grid-cols-4",
|
|
2076
2078
|
children: [
|
|
2077
2079
|
/* @__PURE__ */ U(Z, {
|
|
2078
|
-
label:
|
|
2080
|
+
label: r("devportal.activeUsers", "Active Users"),
|
|
2079
2081
|
value: i?.activeUsers.toLocaleString() || "0",
|
|
2080
2082
|
trend: a ? o(i.activeUsers, a.activeUsers) : void 0
|
|
2081
2083
|
}),
|
|
2082
2084
|
/* @__PURE__ */ U(Z, {
|
|
2083
|
-
label:
|
|
2085
|
+
label: r("devportal.apiCalls", "API Calls"),
|
|
2084
2086
|
value: i ? `${(i.apiCalls / 1e3).toFixed(1)}K` : "0",
|
|
2085
2087
|
trend: a ? o(i.apiCalls, a.apiCalls) : void 0
|
|
2086
2088
|
}),
|
|
2087
2089
|
/* @__PURE__ */ U(Z, {
|
|
2088
|
-
label:
|
|
2089
|
-
value: i?.avgResponseTime ? `${i.avgResponseTime}ms` :
|
|
2090
|
+
label: r("devportal.avgResponseTime", "Avg Response Time"),
|
|
2091
|
+
value: i?.avgResponseTime ? `${i.avgResponseTime}ms` : r("devportal.notAvailable", "N/A"),
|
|
2090
2092
|
trend: a && i?.avgResponseTime ? -o(i.avgResponseTime, a.avgResponseTime || 1) : void 0
|
|
2091
2093
|
}),
|
|
2092
2094
|
/* @__PURE__ */ U(Z, {
|
|
2093
|
-
label:
|
|
2095
|
+
label: r("devportal.errorRate", "Error Rate"),
|
|
2094
2096
|
value: i && i.apiCalls > 0 ? `${(i.errors / i.apiCalls * 100).toFixed(2)}%` : "0%",
|
|
2095
2097
|
trend: a && i && i.apiCalls > 0 && a.apiCalls > 0 ? -o(i.errors / i.apiCalls, a.errors / a.apiCalls) : void 0
|
|
2096
2098
|
})
|
|
2097
2099
|
]
|
|
2098
|
-
}), /* @__PURE__ */ U(
|
|
2099
|
-
title:
|
|
2100
|
-
children: e.length > 0 ? /* @__PURE__ */ U(
|
|
2100
|
+
}), /* @__PURE__ */ U(t, {
|
|
2101
|
+
title: r("devportal.dailyBreakdown", "Daily Breakdown"),
|
|
2102
|
+
children: e.length > 0 ? /* @__PURE__ */ U(d, {
|
|
2101
2103
|
data: e,
|
|
2102
2104
|
keyField: "id",
|
|
2103
2105
|
columns: [
|
|
2104
2106
|
{
|
|
2105
2107
|
key: "date",
|
|
2106
|
-
header:
|
|
2108
|
+
header: r("devportal.date", "Date"),
|
|
2107
2109
|
render: (e) => new Date(e.date).toLocaleDateString()
|
|
2108
2110
|
},
|
|
2109
2111
|
{
|
|
2110
2112
|
key: "activeUsers",
|
|
2111
|
-
header:
|
|
2113
|
+
header: r("devportal.activeUsers", "Active Users"),
|
|
2112
2114
|
render: (e) => e.activeUsers.toLocaleString()
|
|
2113
2115
|
},
|
|
2114
2116
|
{
|
|
2115
2117
|
key: "newUsers",
|
|
2116
|
-
header:
|
|
2118
|
+
header: r("devportal.newUsers", "New Users"),
|
|
2117
2119
|
render: (e) => e.newUsers.toLocaleString()
|
|
2118
2120
|
},
|
|
2119
2121
|
{
|
|
2120
2122
|
key: "apiCalls",
|
|
2121
|
-
header:
|
|
2123
|
+
header: r("devportal.apiCalls", "API Calls"),
|
|
2122
2124
|
render: (e) => e.apiCalls.toLocaleString()
|
|
2123
2125
|
},
|
|
2124
2126
|
{
|
|
2125
2127
|
key: "errors",
|
|
2126
|
-
header:
|
|
2128
|
+
header: r("devportal.errors", "Errors"),
|
|
2127
2129
|
render: (e) => e.errors.toLocaleString()
|
|
2128
2130
|
},
|
|
2129
2131
|
{
|
|
2130
2132
|
key: "avgResponseTime",
|
|
2131
|
-
header:
|
|
2132
|
-
render: (e) => e.avgResponseTime ? `${e.avgResponseTime}ms` :
|
|
2133
|
+
header: r("devportal.avgResponse", "Avg Response"),
|
|
2134
|
+
render: (e) => e.avgResponseTime ? `${e.avgResponseTime}ms` : r("devportal.notAvailable", "N/A")
|
|
2133
2135
|
},
|
|
2134
2136
|
{
|
|
2135
2137
|
key: "sessions",
|
|
2136
|
-
header:
|
|
2138
|
+
header: r("devportal.sessions", "Sessions"),
|
|
2137
2139
|
render: (e) => e.sessions.toLocaleString()
|
|
2138
2140
|
}
|
|
2139
2141
|
]
|
|
2140
|
-
}) : /* @__PURE__ */ U(
|
|
2142
|
+
}) : /* @__PURE__ */ U(m, {
|
|
2141
2143
|
illustration: "empty-data",
|
|
2142
2144
|
icon: /* @__PURE__ */ U(ye, { size: 32 }),
|
|
2143
|
-
title:
|
|
2144
|
-
description:
|
|
2145
|
+
title: r("devportal.noAnalyticsData", "No analytics data"),
|
|
2146
|
+
description: r("devportal.noAnalyticsDataDescription", "Analytics data will appear here once the application starts receiving traffic.")
|
|
2145
2147
|
})
|
|
2146
2148
|
})]
|
|
2147
2149
|
});
|
|
2148
|
-
}, dt = "# Sample query — replace with your own\n# Note: introspection is disabled on this gateway for security.\n# Use a real query from your app's API schema instead.\nquery GetCurrentUser {\n currentUser {\n id\n email\n }\n}", ft = ({ app:
|
|
2149
|
-
let { apiGatewayUrl:
|
|
2150
|
-
let n =
|
|
2150
|
+
}, dt = "# Sample query — replace with your own\n# Note: introspection is disabled on this gateway for security.\n# Use a real query from your app's API schema instead.\nquery GetCurrentUser {\n currentUser {\n id\n email\n }\n}", ft = ({ app: e }) => {
|
|
2151
|
+
let { apiGatewayUrl: t, workspacesGatewayUrl: n, authToken: r } = y(), { t: i } = G(), a = (e, t) => {
|
|
2152
|
+
let n = i(e);
|
|
2151
2153
|
return n === e ? t : n;
|
|
2152
|
-
}, [
|
|
2153
|
-
|
|
2154
|
+
}, [o, s] = N(dt), [c, l] = N("{}"), [u, d] = N(""), [f, p] = N(!1), [m, h] = N(`${t || "https://gw-global.local.burdenoff.com"}/global/graphql`), [g, _] = N(r || ""), [v, b] = N(!1), x = j(async () => {
|
|
2155
|
+
p(!0), d("");
|
|
2154
2156
|
try {
|
|
2155
2157
|
let e = {};
|
|
2156
2158
|
try {
|
|
2157
|
-
e = JSON.parse(
|
|
2159
|
+
e = JSON.parse(c);
|
|
2158
2160
|
} catch {
|
|
2159
|
-
|
|
2161
|
+
d(JSON.stringify({ error: "Invalid JSON in variables" }, null, 2)), p(!1);
|
|
2160
2162
|
return;
|
|
2161
2163
|
}
|
|
2162
2164
|
let t = { "Content-Type": "application/json" };
|
|
2163
|
-
|
|
2164
|
-
let n = await (await fetch(
|
|
2165
|
+
g && (t.Authorization = `Bearer ${g}`);
|
|
2166
|
+
let n = await (await fetch(m, {
|
|
2165
2167
|
method: "POST",
|
|
2166
2168
|
headers: t,
|
|
2167
2169
|
body: JSON.stringify({
|
|
2168
|
-
query:
|
|
2170
|
+
query: o,
|
|
2169
2171
|
variables: e
|
|
2170
2172
|
})
|
|
2171
2173
|
})).json();
|
|
2172
|
-
|
|
2174
|
+
d(JSON.stringify(n, null, 2));
|
|
2173
2175
|
} catch (e) {
|
|
2174
|
-
|
|
2176
|
+
d(JSON.stringify({ error: e instanceof Error ? e.message : "Request failed" }, null, 2));
|
|
2175
2177
|
} finally {
|
|
2176
|
-
|
|
2178
|
+
p(!1);
|
|
2177
2179
|
}
|
|
2178
2180
|
}, [
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
]), S =
|
|
2184
|
-
|
|
2185
|
-
}, [
|
|
2181
|
+
o,
|
|
2182
|
+
c,
|
|
2183
|
+
m,
|
|
2184
|
+
g
|
|
2185
|
+
]), S = j(() => {
|
|
2186
|
+
r && _(r), b(!0);
|
|
2187
|
+
}, [r]);
|
|
2186
2188
|
return /* @__PURE__ */ W("div", {
|
|
2187
2189
|
className: "space-y-4",
|
|
2188
2190
|
children: [
|
|
@@ -2190,18 +2192,18 @@ var Xe = [
|
|
|
2190
2192
|
className: "flex items-center justify-between",
|
|
2191
2193
|
children: [/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("h3", {
|
|
2192
2194
|
className: "text-lg font-semibold",
|
|
2193
|
-
children:
|
|
2195
|
+
children: a("devportal.apiPlayground", "API Playground")
|
|
2194
2196
|
}), /* @__PURE__ */ W("p", {
|
|
2195
2197
|
className: "text-sm text-text-secondary",
|
|
2196
2198
|
children: [
|
|
2197
|
-
|
|
2199
|
+
a("devportal.apiPlaygroundDescription", "Test GraphQL APIs in the context of"),
|
|
2198
2200
|
" ",
|
|
2199
|
-
/* @__PURE__ */ U("strong", { children:
|
|
2200
|
-
|
|
2201
|
+
/* @__PURE__ */ U("strong", { children: e.name }),
|
|
2202
|
+
e.appId && /* @__PURE__ */ W("span", {
|
|
2201
2203
|
className: "ml-1 text-xs text-text-secondary",
|
|
2202
2204
|
children: [
|
|
2203
2205
|
"(OAuth App: ",
|
|
2204
|
-
|
|
2206
|
+
e.appId.slice(0, 8),
|
|
2205
2207
|
"...)"
|
|
2206
2208
|
]
|
|
2207
2209
|
})
|
|
@@ -2209,24 +2211,24 @@ var Xe = [
|
|
|
2209
2211
|
})] }), /* @__PURE__ */ W("button", {
|
|
2210
2212
|
onClick: S,
|
|
2211
2213
|
className: "flex items-center gap-2 rounded-md border px-3 py-1.5 text-sm font-medium hover:bg-accent transition-colors",
|
|
2212
|
-
children: [/* @__PURE__ */ U(L, { size: 14 }),
|
|
2214
|
+
children: [/* @__PURE__ */ U(L, { size: 14 }), a("devportal.autoFillCredentials", "Auto-fill Credentials")]
|
|
2213
2215
|
})]
|
|
2214
2216
|
}),
|
|
2215
|
-
|
|
2217
|
+
v && /* @__PURE__ */ W("div", {
|
|
2216
2218
|
className: "rounded-lg border bg-status-info-bg-subtle p-4 text-sm space-y-2",
|
|
2217
2219
|
children: [
|
|
2218
2220
|
/* @__PURE__ */ U("p", {
|
|
2219
2221
|
className: "font-medium text-status-info-text",
|
|
2220
|
-
children:
|
|
2222
|
+
children: a("devportal.authenticationGuide", "Authentication Guide")
|
|
2221
2223
|
}),
|
|
2222
2224
|
/* @__PURE__ */ W("p", {
|
|
2223
2225
|
className: "text-status-info-text",
|
|
2224
2226
|
children: [
|
|
2225
|
-
|
|
2227
|
+
a("devportal.authenticationGuideText", "Your current session token has been filled in. For app-level authentication (Client Credentials flow), use the"),
|
|
2226
2228
|
" ",
|
|
2227
|
-
/* @__PURE__ */ U("strong", { children:
|
|
2229
|
+
/* @__PURE__ */ U("strong", { children: a("devportal.oauthClientsTab", "OAuth Clients") }),
|
|
2228
2230
|
" ",
|
|
2229
|
-
|
|
2231
|
+
a("devportal.authenticationGuideText2", "tab to get the app's clientId and clientSecret, then call:")
|
|
2230
2232
|
]
|
|
2231
2233
|
}),
|
|
2232
2234
|
/* @__PURE__ */ U("pre", {
|
|
@@ -2236,95 +2238,95 @@ var Xe = [
|
|
|
2236
2238
|
/* @__PURE__ */ W("p", {
|
|
2237
2239
|
className: "text-status-info-text",
|
|
2238
2240
|
children: [
|
|
2239
|
-
|
|
2241
|
+
a("devportal.useReturnedAccessToken", "Use the returned"),
|
|
2240
2242
|
" ",
|
|
2241
2243
|
/* @__PURE__ */ U("code", {
|
|
2242
2244
|
className: "bg-status-info-bg-subtle px-1 rounded",
|
|
2243
2245
|
children: "accessToken"
|
|
2244
2246
|
}),
|
|
2245
2247
|
" ",
|
|
2246
|
-
|
|
2248
|
+
a("devportal.asBearerToken", "as the Bearer token below.")
|
|
2247
2249
|
]
|
|
2248
2250
|
}),
|
|
2249
2251
|
/* @__PURE__ */ U("button", {
|
|
2250
2252
|
onClick: () => b(!1),
|
|
2251
2253
|
className: "text-xs text-accent-blue hover:underline",
|
|
2252
|
-
children:
|
|
2254
|
+
children: a("devportal.dismiss", "Dismiss")
|
|
2253
2255
|
})
|
|
2254
2256
|
]
|
|
2255
2257
|
}),
|
|
2256
2258
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
|
|
2257
2259
|
className: "block text-sm font-medium mb-1",
|
|
2258
|
-
children:
|
|
2260
|
+
children: a("devportal.gatewayEndpoint", "Gateway Endpoint")
|
|
2259
2261
|
}), /* @__PURE__ */ W("div", {
|
|
2260
2262
|
className: "flex gap-2",
|
|
2261
2263
|
children: [/* @__PURE__ */ U("input", {
|
|
2262
2264
|
type: "text",
|
|
2263
|
-
value:
|
|
2264
|
-
onChange: (e) =>
|
|
2265
|
+
value: m,
|
|
2266
|
+
onChange: (e) => h(e.target.value),
|
|
2265
2267
|
className: "flex-1 rounded-md border px-3 py-2 text-sm font-mono bg-bg-surface"
|
|
2266
2268
|
}), /* @__PURE__ */ W("select", {
|
|
2267
|
-
onChange: (e) =>
|
|
2269
|
+
onChange: (e) => h(e.target.value),
|
|
2268
2270
|
className: "rounded-md border px-3 py-2 text-sm bg-bg-surface scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
|
|
2269
|
-
value:
|
|
2271
|
+
value: m,
|
|
2270
2272
|
children: [/* @__PURE__ */ U("option", {
|
|
2271
|
-
value: `${
|
|
2272
|
-
children:
|
|
2273
|
+
value: `${t || "https://gw-global.local.burdenoff.com"}/global/graphql`,
|
|
2274
|
+
children: a("devportal.globalGateway", "Global Gateway")
|
|
2273
2275
|
}), /* @__PURE__ */ U("option", {
|
|
2274
|
-
value: `${
|
|
2275
|
-
children:
|
|
2276
|
+
value: `${n || "https://gw-wspace.local.burdenoff.com"}/workspaces/graphql`,
|
|
2277
|
+
children: a("devportal.workspaceGateway", "Workspace Gateway")
|
|
2276
2278
|
})]
|
|
2277
2279
|
})]
|
|
2278
2280
|
})] }),
|
|
2279
2281
|
/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
|
|
2280
2282
|
className: "block text-sm font-medium mb-1",
|
|
2281
|
-
children:
|
|
2283
|
+
children: a("devportal.bearerToken", "Bearer Token")
|
|
2282
2284
|
}), /* @__PURE__ */ U("input", {
|
|
2283
2285
|
type: "password",
|
|
2284
|
-
value:
|
|
2285
|
-
onChange: (e) =>
|
|
2286
|
-
placeholder:
|
|
2286
|
+
value: g,
|
|
2287
|
+
onChange: (e) => _(e.target.value),
|
|
2288
|
+
placeholder: a("devportal.pasteAccessToken", "Paste access token here..."),
|
|
2287
2289
|
className: "w-full rounded-md border px-3 py-2 text-sm font-mono bg-bg-surface"
|
|
2288
2290
|
})] }),
|
|
2289
2291
|
/* @__PURE__ */ W("div", {
|
|
2290
2292
|
className: "grid grid-cols-1 lg:grid-cols-2 gap-4",
|
|
2291
2293
|
children: [/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
|
|
2292
2294
|
className: "block text-sm font-medium mb-1",
|
|
2293
|
-
children:
|
|
2295
|
+
children: a("devportal.query", "Query")
|
|
2294
2296
|
}), /* @__PURE__ */ U("textarea", {
|
|
2295
|
-
value:
|
|
2296
|
-
onChange: (e) =>
|
|
2297
|
+
value: o,
|
|
2298
|
+
onChange: (e) => s(e.target.value),
|
|
2297
2299
|
className: "w-full h-64 rounded-md border px-3 py-2 text-sm font-mono bg-bg-surface resize-y",
|
|
2298
2300
|
spellCheck: !1
|
|
2299
2301
|
})] }), /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
|
|
2300
2302
|
className: "block text-sm font-medium mb-1",
|
|
2301
|
-
children:
|
|
2303
|
+
children: a("devportal.variablesJson", "Variables (JSON)")
|
|
2302
2304
|
}), /* @__PURE__ */ U("textarea", {
|
|
2303
|
-
value:
|
|
2304
|
-
onChange: (e) =>
|
|
2305
|
+
value: c,
|
|
2306
|
+
onChange: (e) => l(e.target.value),
|
|
2305
2307
|
className: "w-full h-64 rounded-md border px-3 py-2 text-sm font-mono bg-bg-surface resize-y",
|
|
2306
2308
|
spellCheck: !1
|
|
2307
2309
|
})] })]
|
|
2308
2310
|
}),
|
|
2309
2311
|
/* @__PURE__ */ W("button", {
|
|
2310
2312
|
onClick: x,
|
|
2311
|
-
disabled:
|
|
2313
|
+
disabled: f,
|
|
2312
2314
|
className: "flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50",
|
|
2313
|
-
children: [
|
|
2315
|
+
children: [f ? /* @__PURE__ */ U(R, {
|
|
2314
2316
|
size: 16,
|
|
2315
2317
|
className: "animate-spin"
|
|
2316
|
-
}) : /* @__PURE__ */ U(I, { size: 16 }),
|
|
2318
|
+
}) : /* @__PURE__ */ U(I, { size: 16 }), f ? a("devportal.executing", "Executing...") : a("devportal.executeQuery", "Execute Query")]
|
|
2317
2319
|
}),
|
|
2318
|
-
|
|
2320
|
+
u && /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
|
|
2319
2321
|
className: "block text-sm font-medium mb-1",
|
|
2320
|
-
children:
|
|
2322
|
+
children: a("devportal.response", "Response")
|
|
2321
2323
|
}), /* @__PURE__ */ U("pre", {
|
|
2322
2324
|
className: "w-full max-h-96 overflow-auto rounded-md border bg-bg-sunken p-4 text-xs font-mono",
|
|
2323
|
-
children:
|
|
2325
|
+
children: u
|
|
2324
2326
|
})] })
|
|
2325
2327
|
]
|
|
2326
2328
|
});
|
|
2327
|
-
}, pt = new Set(["workflow", "template"]), mt = [{
|
|
2329
|
+
}, pt = /* @__PURE__ */ new Set(["workflow", "template"]), mt = [{
|
|
2328
2330
|
value: "FREE",
|
|
2329
2331
|
label: "Free"
|
|
2330
2332
|
}, {
|
|
@@ -2433,67 +2435,67 @@ function X(e) {
|
|
|
2433
2435
|
manifestJsonContent: typeof t.jsonContent == "string" ? t.jsonContent : typeof t.content == "string" ? t.content : ""
|
|
2434
2436
|
};
|
|
2435
2437
|
}
|
|
2436
|
-
var _t = ({ app:
|
|
2437
|
-
let { workspacesGatewayUrl:
|
|
2438
|
-
let n =
|
|
2438
|
+
var _t = ({ app: e, versionCount: c = 0, isPackageApp: l = !1, pricingDone: u = !1, onNavigateToVersions: d, onNavigateToPricing: f, onNavigateToSubmission: p }) => {
|
|
2439
|
+
let { workspacesGatewayUrl: m, authToken: h, workspaceId: g, getWorkspaceToken: _ } = y(), { t: v } = G(), S = (e, t) => {
|
|
2440
|
+
let n = v(e);
|
|
2439
2441
|
return n === e ? t : n;
|
|
2440
|
-
}, [
|
|
2441
|
-
|
|
2442
|
-
let
|
|
2443
|
-
|
|
2444
|
-
let e = X(
|
|
2445
|
-
|
|
2446
|
-
}, [
|
|
2447
|
-
let
|
|
2448
|
-
|
|
2442
|
+
}, [C, w] = N(() => X(e)), [T, E] = N(!1), [D, O] = N(null), ee = he(X(e)), te = he(e);
|
|
2443
|
+
te.current = e;
|
|
2444
|
+
let ne = JSON.stringify(C) !== JSON.stringify(ee.current), [re] = pe();
|
|
2445
|
+
me(() => {
|
|
2446
|
+
let e = X(te.current);
|
|
2447
|
+
w(e), ee.current = e, O(null);
|
|
2448
|
+
}, [e.id]);
|
|
2449
|
+
let k = (e, t) => {
|
|
2450
|
+
w((n) => ({
|
|
2449
2451
|
...n,
|
|
2450
2452
|
[e]: t
|
|
2451
|
-
})),
|
|
2452
|
-
},
|
|
2453
|
-
|
|
2453
|
+
})), O(null);
|
|
2454
|
+
}, A = C.shortDescription.trim().length > 0 && C.privacyPolicyUrl.trim().length > 0 && C.termsOfServiceUrl.trim().length > 0, ie = async () => {
|
|
2455
|
+
E(!0), O(null);
|
|
2454
2456
|
try {
|
|
2455
|
-
let
|
|
2457
|
+
let t = C.screenshotsText.split("\n").map((e) => e.trim()).filter(Boolean), n = C.manifestPermissionsText.split("\n").map((e) => e.trim()).filter(Boolean), r = pt.has(C.manifestItemType), i = e.manifest ?? {}, a = {
|
|
2456
2458
|
manifestVersion: typeof i.manifestVersion == "string" ? i.manifestVersion : "1.0",
|
|
2457
|
-
itemType:
|
|
2459
|
+
itemType: C.manifestItemType || void 0,
|
|
2458
2460
|
identity: {
|
|
2459
|
-
version:
|
|
2460
|
-
displayName:
|
|
2461
|
+
version: C.manifestVersion || "1.0.0",
|
|
2462
|
+
displayName: C.manifestDisplayName
|
|
2461
2463
|
},
|
|
2462
|
-
...r ? { jsonContent:
|
|
2463
|
-
type:
|
|
2464
|
-
...
|
|
2464
|
+
...r ? { jsonContent: C.manifestJsonContent || void 0 } : { digital: { install: {
|
|
2465
|
+
type: C.manifestInstallType,
|
|
2466
|
+
...C.manifestInstallType === "zip" && C.manifestRegistryUrl ? { url: C.manifestRegistryUrl } : {}
|
|
2465
2467
|
} } },
|
|
2466
2468
|
permissions: n,
|
|
2467
|
-
compatibility: { minPlatformVersion:
|
|
2469
|
+
compatibility: { minPlatformVersion: C.manifestMinPlatformVersion }
|
|
2468
2470
|
};
|
|
2469
|
-
await
|
|
2470
|
-
id:
|
|
2471
|
+
await re({ variables: {
|
|
2472
|
+
id: e.id,
|
|
2471
2473
|
input: {
|
|
2472
|
-
iconUrl:
|
|
2473
|
-
bannerUrl:
|
|
2474
|
-
videoUrl:
|
|
2475
|
-
shortDescription:
|
|
2476
|
-
description:
|
|
2477
|
-
screenshots:
|
|
2478
|
-
websiteUrl:
|
|
2479
|
-
documentationUrl:
|
|
2480
|
-
githubUrl:
|
|
2481
|
-
supportUrl:
|
|
2482
|
-
privacyPolicyUrl:
|
|
2483
|
-
termsOfServiceUrl:
|
|
2474
|
+
iconUrl: C.iconUrl || null,
|
|
2475
|
+
bannerUrl: C.bannerUrl || null,
|
|
2476
|
+
videoUrl: C.videoUrl || null,
|
|
2477
|
+
shortDescription: C.shortDescription || null,
|
|
2478
|
+
description: C.description || null,
|
|
2479
|
+
screenshots: t.length > 0 ? t : null,
|
|
2480
|
+
websiteUrl: C.websiteUrl || null,
|
|
2481
|
+
documentationUrl: C.documentationUrl || null,
|
|
2482
|
+
githubUrl: C.githubUrl || null,
|
|
2483
|
+
supportUrl: C.supportUrl || null,
|
|
2484
|
+
privacyPolicyUrl: C.privacyPolicyUrl || null,
|
|
2485
|
+
termsOfServiceUrl: C.termsOfServiceUrl || null,
|
|
2484
2486
|
manifest: a
|
|
2485
2487
|
}
|
|
2486
|
-
} }),
|
|
2488
|
+
} }), x("success"), O("success"), ee.current = C;
|
|
2487
2489
|
} catch {
|
|
2488
|
-
|
|
2490
|
+
x("error"), O("error");
|
|
2489
2491
|
} finally {
|
|
2490
|
-
|
|
2492
|
+
E(!1);
|
|
2491
2493
|
}
|
|
2492
|
-
}, { upload:
|
|
2494
|
+
}, { upload: ae, uploading: oe, progress: se, error: ce } = b(m, h, g, _, "/DevPortal/Assets"), { upload: le, uploading: ue, progress: de, error: fe } = b(m, h, g, _, "/DevPortal/Assets"), { upload: j, uploading: M, progress: ge, error: ve } = b(m, h, g, _, "/DevPortal/Assets"), ye = pt.has(C.manifestItemType), F = e.status === "SUBMITTED", Ce = e.status === "PUBLISHED";
|
|
2493
2495
|
return /* @__PURE__ */ W("div", {
|
|
2494
2496
|
className: "space-y-8 max-w-3xl",
|
|
2495
2497
|
children: [
|
|
2496
|
-
|
|
2498
|
+
Ce ? /* @__PURE__ */ W("div", {
|
|
2497
2499
|
className: "flex items-start gap-3 rounded-lg border border-success/30 bg-success/10 px-4 py-3",
|
|
2498
2500
|
children: [/* @__PURE__ */ U(be, {
|
|
2499
2501
|
size: 16,
|
|
@@ -2502,13 +2504,13 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
|
|
|
2502
2504
|
className: "text-sm",
|
|
2503
2505
|
children: [/* @__PURE__ */ U("span", {
|
|
2504
2506
|
className: "font-medium text-success",
|
|
2505
|
-
children:
|
|
2506
|
-
}),
|
|
2507
|
+
children: S("devportal.storeListing.published", "Published")
|
|
2508
|
+
}), e.publishedAt && /* @__PURE__ */ W("span", {
|
|
2507
2509
|
className: "text-text-secondary ml-2",
|
|
2508
2510
|
children: [
|
|
2509
|
-
|
|
2511
|
+
S("devportal.storeListing.since", "since"),
|
|
2510
2512
|
" ",
|
|
2511
|
-
new Date(
|
|
2513
|
+
new Date(e.publishedAt).toLocaleDateString()
|
|
2512
2514
|
]
|
|
2513
2515
|
})]
|
|
2514
2516
|
})]
|
|
@@ -2524,180 +2526,180 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
|
|
|
2524
2526
|
children: [
|
|
2525
2527
|
/* @__PURE__ */ U("span", {
|
|
2526
2528
|
className: "font-medium text-primary",
|
|
2527
|
-
children:
|
|
2529
|
+
children: S("devportal.storeListing.underReview", "Submitted for review")
|
|
2528
2530
|
}),
|
|
2529
|
-
|
|
2531
|
+
e.submittedAt && /* @__PURE__ */ U("span", {
|
|
2530
2532
|
className: "text-text-secondary ml-2",
|
|
2531
|
-
children: new Date(
|
|
2533
|
+
children: new Date(e.submittedAt).toLocaleDateString()
|
|
2532
2534
|
}),
|
|
2533
|
-
|
|
2535
|
+
e.reviewStatus && /* @__PURE__ */ W("span", {
|
|
2534
2536
|
className: "text-text-secondary ml-2",
|
|
2535
|
-
children: ["· ",
|
|
2537
|
+
children: ["· ", e.reviewStatus]
|
|
2536
2538
|
})
|
|
2537
2539
|
]
|
|
2538
2540
|
})]
|
|
2539
|
-
}),
|
|
2541
|
+
}), p && /* @__PURE__ */ W("button", {
|
|
2540
2542
|
type: "button",
|
|
2541
|
-
onClick:
|
|
2543
|
+
onClick: p,
|
|
2542
2544
|
className: "shrink-0 text-xs text-primary hover:underline font-medium flex items-center gap-1",
|
|
2543
|
-
children: [
|
|
2545
|
+
children: [S("devportal.viewStatus", "View Status"), /* @__PURE__ */ U(I, { size: 12 })]
|
|
2544
2546
|
})]
|
|
2545
2547
|
}) : /* @__PURE__ */ W("div", {
|
|
2546
2548
|
className: "flex items-start gap-3 rounded-lg border border-warning/30 bg-warning/5 px-4 py-3",
|
|
2547
|
-
children: [/* @__PURE__ */ U(
|
|
2549
|
+
children: [/* @__PURE__ */ U(_e, {
|
|
2548
2550
|
size: 16,
|
|
2549
2551
|
className: "text-warning mt-0.5 shrink-0"
|
|
2550
2552
|
}), /* @__PURE__ */ W("div", {
|
|
2551
2553
|
className: "text-sm",
|
|
2552
2554
|
children: [/* @__PURE__ */ U("span", {
|
|
2553
2555
|
className: "font-medium text-warning",
|
|
2554
|
-
children:
|
|
2556
|
+
children: S("devportal.storeListing.draft", "Draft")
|
|
2555
2557
|
}), /* @__PURE__ */ U("span", {
|
|
2556
2558
|
className: "text-text-secondary ml-2",
|
|
2557
|
-
children:
|
|
2559
|
+
children: S("devportal.storeListing.draftHint", "Complete your store listing and submit for review to publish.")
|
|
2558
2560
|
})]
|
|
2559
2561
|
})]
|
|
2560
2562
|
}),
|
|
2561
|
-
/* @__PURE__ */ U(
|
|
2562
|
-
title:
|
|
2563
|
-
description:
|
|
2563
|
+
/* @__PURE__ */ U(t, {
|
|
2564
|
+
title: S("devportal.package", "Package"),
|
|
2565
|
+
description: S("devportal.packageDescription", "Technical configuration — how FluidGrid installs and runs this item"),
|
|
2564
2566
|
children: /* @__PURE__ */ W("div", {
|
|
2565
2567
|
className: "space-y-6",
|
|
2566
2568
|
children: [
|
|
2567
|
-
/* @__PURE__ */ U(
|
|
2568
|
-
label:
|
|
2569
|
-
value:
|
|
2569
|
+
/* @__PURE__ */ U(r, {
|
|
2570
|
+
label: S("devportal.storeItemType", "Item Type"),
|
|
2571
|
+
value: C.manifestItemType,
|
|
2570
2572
|
onChange: (e) => {
|
|
2571
2573
|
let t = e.target.value;
|
|
2572
|
-
|
|
2574
|
+
k("manifestItemType", t), pt.has(t) ? k("manifestInstallType", "json") : C.manifestInstallType === "json" && k("manifestInstallType", "zip");
|
|
2573
2575
|
},
|
|
2574
|
-
options: ht[
|
|
2575
|
-
placeholder:
|
|
2576
|
-
hint:
|
|
2576
|
+
options: ht[e.appType] ?? ht.APP,
|
|
2577
|
+
placeholder: S("devportal.selectItemType", "Select item type…"),
|
|
2578
|
+
hint: S("devportal.storeItemTypeHint", "Sub-category shown in the marketplace (e.g. Node vs Agent vs Parser)")
|
|
2577
2579
|
}),
|
|
2578
|
-
/* @__PURE__ */ U(
|
|
2579
|
-
label:
|
|
2580
|
-
value:
|
|
2581
|
-
onChange: (e) =>
|
|
2580
|
+
/* @__PURE__ */ U(n, {
|
|
2581
|
+
label: S("devportal.manifestDisplayName", "Display Name"),
|
|
2582
|
+
value: C.manifestDisplayName,
|
|
2583
|
+
onChange: (e) => k("manifestDisplayName", e.target.value),
|
|
2582
2584
|
placeholder: "My Awesome Node"
|
|
2583
2585
|
}),
|
|
2584
|
-
ye && /* @__PURE__ */ U(
|
|
2585
|
-
label:
|
|
2586
|
-
value:
|
|
2587
|
-
onChange: (e) =>
|
|
2586
|
+
ye && /* @__PURE__ */ U(i, {
|
|
2587
|
+
label: e.appType === "WORKFLOW" ? S("devportal.workflowJsonContent", "Workflow Canvas Definition (JSON)") : S("devportal.jsonContent", "Template Definition (JSON)"),
|
|
2588
|
+
value: C.manifestJsonContent,
|
|
2589
|
+
onChange: (e) => k("manifestJsonContent", e.target.value),
|
|
2588
2590
|
rows: 12,
|
|
2589
2591
|
placeholder: "{\n \"nodes\": [],\n \"edges\": []\n}",
|
|
2590
|
-
hint:
|
|
2592
|
+
hint: e.appType === "WORKFLOW" ? S("devportal.workflowJsonContentHint", "Paste the workflow canvas JSON (nodes + edges). This is what recipients receive when they copy your workflow via the share link. Format: { \"nodes\": [...], \"edges\": [...] }") : S("devportal.jsonContentHint", "Paste the full JSON definition. Stored and applied directly — no zip needed.")
|
|
2591
2593
|
})
|
|
2592
2594
|
]
|
|
2593
2595
|
})
|
|
2594
2596
|
}),
|
|
2595
|
-
/* @__PURE__ */ U(
|
|
2596
|
-
title:
|
|
2597
|
-
description:
|
|
2597
|
+
/* @__PURE__ */ U(t, {
|
|
2598
|
+
title: S("devportal.storePresentation", "Store Presence"),
|
|
2599
|
+
description: S("devportal.storePresentationDescription", "Visual assets and copy shown to users browsing the marketplace"),
|
|
2598
2600
|
children: /* @__PURE__ */ W("div", {
|
|
2599
2601
|
className: "space-y-5",
|
|
2600
2602
|
children: [
|
|
2601
2603
|
/* @__PURE__ */ W("div", {
|
|
2602
2604
|
className: "grid gap-5 sm:grid-cols-2",
|
|
2603
|
-
children: [/* @__PURE__ */ U(
|
|
2604
|
-
label:
|
|
2605
|
-
value:
|
|
2606
|
-
onChange: (e) =>
|
|
2607
|
-
hint:
|
|
2605
|
+
children: [/* @__PURE__ */ U(o, {
|
|
2606
|
+
label: S("devportal.iconUrl", "Icon"),
|
|
2607
|
+
value: C.iconUrl,
|
|
2608
|
+
onChange: (e) => k("iconUrl", e),
|
|
2609
|
+
hint: S("devportal.iconUrlHint", "Shown in marketplace cards and search — square proportions (1:1)"),
|
|
2608
2610
|
aspectClass: "aspect-square",
|
|
2609
|
-
upload:
|
|
2610
|
-
uploading:
|
|
2611
|
-
progress:
|
|
2612
|
-
error:
|
|
2613
|
-
}), /* @__PURE__ */ U(
|
|
2614
|
-
label:
|
|
2615
|
-
value:
|
|
2616
|
-
onChange: (e) =>
|
|
2617
|
-
hint:
|
|
2611
|
+
upload: ae,
|
|
2612
|
+
uploading: oe,
|
|
2613
|
+
progress: se,
|
|
2614
|
+
error: ce
|
|
2615
|
+
}), /* @__PURE__ */ U(o, {
|
|
2616
|
+
label: S("devportal.bannerUrl", "Banner"),
|
|
2617
|
+
value: C.bannerUrl,
|
|
2618
|
+
onChange: (e) => k("bannerUrl", e),
|
|
2619
|
+
hint: S("devportal.bannerUrlHint", "Fills the right panel on the product page — square or portrait works best on all screen sizes (1:1)"),
|
|
2618
2620
|
aspectClass: "aspect-square",
|
|
2619
|
-
upload:
|
|
2620
|
-
uploading:
|
|
2621
|
-
progress:
|
|
2622
|
-
error:
|
|
2621
|
+
upload: le,
|
|
2622
|
+
uploading: ue,
|
|
2623
|
+
progress: de,
|
|
2624
|
+
error: fe
|
|
2623
2625
|
})]
|
|
2624
2626
|
}),
|
|
2625
|
-
/* @__PURE__ */ U(
|
|
2626
|
-
label:
|
|
2627
|
-
value:
|
|
2628
|
-
onChange: (e) =>
|
|
2627
|
+
/* @__PURE__ */ U(n, {
|
|
2628
|
+
label: S("devportal.videoUrl", "Demo Video URL"),
|
|
2629
|
+
value: C.videoUrl,
|
|
2630
|
+
onChange: (e) => k("videoUrl", e.target.value),
|
|
2629
2631
|
placeholder: "https://...",
|
|
2630
|
-
hint:
|
|
2632
|
+
hint: S("devportal.videoUrlHint", "YouTube or Vimeo embed URL")
|
|
2631
2633
|
}),
|
|
2632
|
-
/* @__PURE__ */ U(
|
|
2633
|
-
label:
|
|
2634
|
-
value:
|
|
2635
|
-
onChange: (e) =>
|
|
2634
|
+
/* @__PURE__ */ U(a, {
|
|
2635
|
+
label: S("devportal.shortDescription", "Short Description"),
|
|
2636
|
+
value: C.shortDescription,
|
|
2637
|
+
onChange: (e) => k("shortDescription", e),
|
|
2636
2638
|
maxLength: 200,
|
|
2637
2639
|
rows: 2,
|
|
2638
|
-
hint: `${
|
|
2640
|
+
hint: `${C.shortDescription.length}/200 · ${S("devportal.shortDescHint", "Shown in search results and cards")}`
|
|
2639
2641
|
}),
|
|
2640
|
-
/* @__PURE__ */ U(
|
|
2641
|
-
label:
|
|
2642
|
-
value:
|
|
2643
|
-
onChange: (e) =>
|
|
2642
|
+
/* @__PURE__ */ U(a, {
|
|
2643
|
+
label: S("devportal.longDescription", "Full Description"),
|
|
2644
|
+
value: C.description,
|
|
2645
|
+
onChange: (e) => k("description", e),
|
|
2644
2646
|
rows: 5,
|
|
2645
|
-
hint:
|
|
2647
|
+
hint: S("devportal.fullDescHint", "Markdown supported")
|
|
2646
2648
|
}),
|
|
2647
|
-
/* @__PURE__ */ U(
|
|
2648
|
-
urls:
|
|
2649
|
-
onChange: (e) =>
|
|
2650
|
-
upload:
|
|
2651
|
-
uploading:
|
|
2652
|
-
progress:
|
|
2649
|
+
/* @__PURE__ */ U(s, {
|
|
2650
|
+
urls: C.screenshotsText.split("\n").map((e) => e.trim()).filter(Boolean),
|
|
2651
|
+
onChange: (e) => k("screenshotsText", e.join("\n")),
|
|
2652
|
+
upload: j,
|
|
2653
|
+
uploading: M,
|
|
2654
|
+
progress: ge,
|
|
2653
2655
|
error: ve
|
|
2654
2656
|
})
|
|
2655
2657
|
]
|
|
2656
2658
|
})
|
|
2657
2659
|
}),
|
|
2658
|
-
/* @__PURE__ */ U(
|
|
2659
|
-
title:
|
|
2660
|
-
description:
|
|
2660
|
+
/* @__PURE__ */ U(t, {
|
|
2661
|
+
title: S("devportal.linksPolicies", "Links & Policies"),
|
|
2662
|
+
description: S("devportal.linksPoliciesDescription", "External resources and legal documents — privacy policy and terms are required for store submission"),
|
|
2661
2663
|
children: /* @__PURE__ */ W("div", {
|
|
2662
2664
|
className: "grid gap-4 sm:grid-cols-2",
|
|
2663
2665
|
children: [
|
|
2664
|
-
/* @__PURE__ */ U(
|
|
2665
|
-
label:
|
|
2666
|
-
value:
|
|
2667
|
-
onChange: (e) =>
|
|
2666
|
+
/* @__PURE__ */ U(n, {
|
|
2667
|
+
label: S("devportal.websiteUrl", "Website"),
|
|
2668
|
+
value: C.websiteUrl,
|
|
2669
|
+
onChange: (e) => k("websiteUrl", e.target.value),
|
|
2668
2670
|
placeholder: "https://..."
|
|
2669
2671
|
}),
|
|
2670
|
-
/* @__PURE__ */ U(
|
|
2671
|
-
label:
|
|
2672
|
-
value:
|
|
2673
|
-
onChange: (e) =>
|
|
2672
|
+
/* @__PURE__ */ U(n, {
|
|
2673
|
+
label: S("devportal.documentationUrl", "Documentation"),
|
|
2674
|
+
value: C.documentationUrl,
|
|
2675
|
+
onChange: (e) => k("documentationUrl", e.target.value),
|
|
2674
2676
|
placeholder: "https://..."
|
|
2675
2677
|
}),
|
|
2676
|
-
/* @__PURE__ */ U(
|
|
2677
|
-
label:
|
|
2678
|
-
value:
|
|
2679
|
-
onChange: (e) =>
|
|
2678
|
+
/* @__PURE__ */ U(n, {
|
|
2679
|
+
label: S("devportal.githubUrl", "GitHub"),
|
|
2680
|
+
value: C.githubUrl,
|
|
2681
|
+
onChange: (e) => k("githubUrl", e.target.value),
|
|
2680
2682
|
placeholder: "https://github.com/..."
|
|
2681
2683
|
}),
|
|
2682
|
-
/* @__PURE__ */ U(
|
|
2683
|
-
label:
|
|
2684
|
-
value:
|
|
2685
|
-
onChange: (e) =>
|
|
2684
|
+
/* @__PURE__ */ U(n, {
|
|
2685
|
+
label: S("devportal.supportUrl", "Support"),
|
|
2686
|
+
value: C.supportUrl,
|
|
2687
|
+
onChange: (e) => k("supportUrl", e.target.value),
|
|
2686
2688
|
placeholder: "https://..."
|
|
2687
2689
|
}),
|
|
2688
|
-
/* @__PURE__ */ U(
|
|
2689
|
-
label: `${
|
|
2690
|
-
value:
|
|
2691
|
-
onChange: (e) =>
|
|
2690
|
+
/* @__PURE__ */ U(n, {
|
|
2691
|
+
label: `${S("devportal.privacyPolicyUrl", "Privacy Policy")} *`,
|
|
2692
|
+
value: C.privacyPolicyUrl,
|
|
2693
|
+
onChange: (e) => k("privacyPolicyUrl", e.target.value),
|
|
2692
2694
|
placeholder: "https://...",
|
|
2693
|
-
hint:
|
|
2695
|
+
hint: S("devportal.requiredForStore", "Required for store submission")
|
|
2694
2696
|
}),
|
|
2695
|
-
/* @__PURE__ */ U(
|
|
2696
|
-
label: `${
|
|
2697
|
-
value:
|
|
2698
|
-
onChange: (e) =>
|
|
2697
|
+
/* @__PURE__ */ U(n, {
|
|
2698
|
+
label: `${S("devportal.termsOfServiceUrl", "Terms of Service")} *`,
|
|
2699
|
+
value: C.termsOfServiceUrl,
|
|
2700
|
+
onChange: (e) => k("termsOfServiceUrl", e.target.value),
|
|
2699
2701
|
placeholder: "https://...",
|
|
2700
|
-
hint:
|
|
2702
|
+
hint: S("devportal.requiredForStore", "Required for store submission")
|
|
2701
2703
|
})
|
|
2702
2704
|
]
|
|
2703
2705
|
})
|
|
@@ -2705,49 +2707,49 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
|
|
|
2705
2707
|
/* @__PURE__ */ W("div", {
|
|
2706
2708
|
className: "border-t pt-6 space-y-3",
|
|
2707
2709
|
children: [
|
|
2708
|
-
|
|
2710
|
+
D === "success" && /* @__PURE__ */ W("div", {
|
|
2709
2711
|
className: "flex items-center gap-2 rounded-md border border-success/30 bg-success/10 px-3 py-2 text-sm text-success",
|
|
2710
2712
|
children: [/* @__PURE__ */ U(be, {
|
|
2711
2713
|
size: 15,
|
|
2712
2714
|
className: "shrink-0"
|
|
2713
|
-
}),
|
|
2715
|
+
}), S("devportal.storeListing.savedSuccess", "Store listing saved successfully.")]
|
|
2714
2716
|
}),
|
|
2715
|
-
|
|
2717
|
+
D === "error" && /* @__PURE__ */ W("div", {
|
|
2716
2718
|
className: "flex items-center gap-2 rounded-md border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive",
|
|
2717
|
-
children: [/* @__PURE__ */ U(
|
|
2719
|
+
children: [/* @__PURE__ */ U(_e, {
|
|
2718
2720
|
size: 15,
|
|
2719
2721
|
className: "shrink-0"
|
|
2720
|
-
}),
|
|
2722
|
+
}), S("devportal.storeListing.savedError", "Failed to save. Please try again.")]
|
|
2721
2723
|
}),
|
|
2722
2724
|
/* @__PURE__ */ W("div", {
|
|
2723
2725
|
className: "flex flex-wrap items-center gap-3",
|
|
2724
2726
|
children: [
|
|
2725
2727
|
/* @__PURE__ */ U("button", {
|
|
2726
2728
|
type: "button",
|
|
2727
|
-
onClick:
|
|
2728
|
-
disabled:
|
|
2729
|
-
title:
|
|
2729
|
+
onClick: ie,
|
|
2730
|
+
disabled: T || !A || !ne,
|
|
2731
|
+
title: A ? ne ? void 0 : S("devportal.storeListing.noChanges", "All changes saved — edit any field to save again") : S("devportal.storeListing.requiredFieldsHint", "Fill in Short Description, Privacy Policy URL, and Terms of Service URL to save"),
|
|
2730
2732
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
|
2731
|
-
children:
|
|
2733
|
+
children: T ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(R, {
|
|
2732
2734
|
size: 16,
|
|
2733
2735
|
className: "animate-spin"
|
|
2734
|
-
}),
|
|
2736
|
+
}), S("devportal.saving", "Saving…")] }) : ne ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(Fe, { size: 16 }), S("devportal.saveStoreListing", "Save Store Listing")] }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(P, { size: 16 }), S("devportal.saved", "Saved")] })
|
|
2735
2737
|
}),
|
|
2736
|
-
!
|
|
2738
|
+
!A && /* @__PURE__ */ U("p", {
|
|
2737
2739
|
className: "text-xs text-text-secondary",
|
|
2738
|
-
children:
|
|
2740
|
+
children: S("devportal.storeListing.requiredFieldsLabel", "Short Description, Privacy Policy URL, and Terms of Service URL are required")
|
|
2739
2741
|
}),
|
|
2740
|
-
|
|
2742
|
+
l && c === 0 && d && /* @__PURE__ */ W("button", {
|
|
2741
2743
|
type: "button",
|
|
2742
|
-
onClick:
|
|
2744
|
+
onClick: d,
|
|
2743
2745
|
className: "inline-flex items-center gap-1.5 text-sm font-medium text-primary hover:underline underline-offset-2",
|
|
2744
|
-
children: [
|
|
2746
|
+
children: [S("devportal.nextUploadVersion", "Next: Upload a Version"), /* @__PURE__ */ U(xe, { size: 15 })]
|
|
2745
2747
|
}),
|
|
2746
|
-
(!
|
|
2748
|
+
(!l || c > 0) && !u && f && /* @__PURE__ */ W("button", {
|
|
2747
2749
|
type: "button",
|
|
2748
|
-
onClick:
|
|
2750
|
+
onClick: f,
|
|
2749
2751
|
className: "inline-flex items-center gap-1.5 text-sm font-medium text-primary hover:underline underline-offset-2",
|
|
2750
|
-
children: [
|
|
2752
|
+
children: [S("devportal.nextSetPricing", "Next: Set Pricing"), /* @__PURE__ */ U(xe, { size: 15 })]
|
|
2751
2753
|
})
|
|
2752
2754
|
]
|
|
2753
2755
|
})
|
|
@@ -2755,8 +2757,8 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
|
|
|
2755
2757
|
})
|
|
2756
2758
|
]
|
|
2757
2759
|
});
|
|
2758
|
-
}, Z = ({ label: e, value:
|
|
2759
|
-
let { t:
|
|
2760
|
+
}, Z = ({ label: e, value: t, trend: n }) => {
|
|
2761
|
+
let { t: r } = G();
|
|
2760
2762
|
return /* @__PURE__ */ W(Ge, {
|
|
2761
2763
|
treatment: "metric",
|
|
2762
2764
|
className: "p-4",
|
|
@@ -2767,16 +2769,16 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
|
|
|
2767
2769
|
}),
|
|
2768
2770
|
/* @__PURE__ */ U("p", {
|
|
2769
2771
|
className: "text-2xl font-bold tabular-nums",
|
|
2770
|
-
children:
|
|
2772
|
+
children: t
|
|
2771
2773
|
}),
|
|
2772
|
-
|
|
2773
|
-
className:
|
|
2774
|
+
n !== void 0 && /* @__PURE__ */ W("p", {
|
|
2775
|
+
className: E("text-xs mt-1 tabular-nums", n > 0 ? "text-status-success-text" : n < 0 ? "text-status-error-text" : "text-text-secondary"),
|
|
2774
2776
|
children: [
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
+
n > 0 ? "+" : "",
|
|
2778
|
+
n.toFixed(1),
|
|
2777
2779
|
"% ",
|
|
2778
2780
|
((e, t) => {
|
|
2779
|
-
let n =
|
|
2781
|
+
let n = r(e);
|
|
2780
2782
|
return n === e ? t : n;
|
|
2781
2783
|
})("devportal.vsYesterday", "vs yesterday")
|
|
2782
2784
|
]
|
|
@@ -2872,7 +2874,7 @@ function bt(e) {
|
|
|
2872
2874
|
function xt(e, t) {
|
|
2873
2875
|
if (e.length > 0) return e;
|
|
2874
2876
|
let n = /* @__PURE__ */ new Set();
|
|
2875
|
-
return t.filter((e) => n.has(e.resource)
|
|
2877
|
+
return t.filter((e) => !n.has(e.resource) && (n.add(e.resource), !0));
|
|
2876
2878
|
}
|
|
2877
2879
|
var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
|
|
2878
2880
|
className: "flex items-center gap-0.5 rounded-md border border-border-subtle bg-bg-sunken/50 p-0.5",
|
|
@@ -2882,39 +2884,39 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
|
|
|
2882
2884
|
className: `rounded px-2.5 py-1 text-xs font-medium transition-colors whitespace-nowrap ${e === n ? "bg-bg-base text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"}`,
|
|
2883
2885
|
children: n === "read" ? "Read" : "Read & Write"
|
|
2884
2886
|
}, n))
|
|
2885
|
-
}), Ct = ({ app: e, versionScopes:
|
|
2886
|
-
let
|
|
2887
|
-
|
|
2887
|
+
}), Ct = ({ app: e, versionScopes: n, locked: r = !1, onNavigateToVersions: i }) => {
|
|
2888
|
+
let a = e.manifest ?? {}, [o, s] = N(() => xt(yt(a), bt(n ?? []))), [c, l] = N(!1), [u, d] = N(""), [f, p] = N("read"), [m, h] = N(!1), [g, _] = N(!1), [v] = pe(), y = (e, t) => {
|
|
2889
|
+
_(!1), s((n) => n.map((n) => n.resource === e ? {
|
|
2888
2890
|
...n,
|
|
2889
2891
|
level: t
|
|
2890
2892
|
} : n));
|
|
2891
|
-
},
|
|
2892
|
-
|
|
2893
|
+
}, b = (e) => {
|
|
2894
|
+
_(!1), s((t) => t.filter((t) => t.resource !== e));
|
|
2893
2895
|
}, x = () => {
|
|
2894
|
-
let e =
|
|
2895
|
-
|
|
2896
|
+
let e = u.trim().toLowerCase().replace(/\s+/g, "-");
|
|
2897
|
+
e && !o.some((t) => t.resource === e) && (s((t) => [...t, {
|
|
2896
2898
|
resource: e,
|
|
2897
|
-
level:
|
|
2898
|
-
}]),
|
|
2899
|
-
},
|
|
2900
|
-
|
|
2899
|
+
level: f
|
|
2900
|
+
}]), d(""), p("read"), l(!1), _(!1));
|
|
2901
|
+
}, S = async () => {
|
|
2902
|
+
h(!0);
|
|
2901
2903
|
try {
|
|
2902
|
-
await
|
|
2904
|
+
await v({ variables: {
|
|
2903
2905
|
id: e.id,
|
|
2904
2906
|
input: { manifest: {
|
|
2905
|
-
...
|
|
2906
|
-
permissions:
|
|
2907
|
+
...a,
|
|
2908
|
+
permissions: o.map(({ resource: e, level: t }) => ({
|
|
2907
2909
|
resource: e,
|
|
2908
2910
|
level: t
|
|
2909
2911
|
}))
|
|
2910
2912
|
} }
|
|
2911
|
-
} }),
|
|
2913
|
+
} }), _(!0);
|
|
2912
2914
|
} finally {
|
|
2913
|
-
|
|
2915
|
+
h(!1);
|
|
2914
2916
|
}
|
|
2915
|
-
},
|
|
2917
|
+
}, C = /* @__PURE__ */ U("div", {
|
|
2916
2918
|
className: "rounded-lg border border-border-subtle divide-y divide-border-subtle",
|
|
2917
|
-
children:
|
|
2919
|
+
children: o.map((e) => /* @__PURE__ */ W("div", {
|
|
2918
2920
|
className: "flex items-center gap-3 px-4 py-3 hover:bg-bg-sunken/30 transition-colors",
|
|
2919
2921
|
children: [/* @__PURE__ */ W("div", {
|
|
2920
2922
|
className: "flex-1 min-w-0",
|
|
@@ -2932,27 +2934,27 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
|
|
|
2932
2934
|
children: "custom scope"
|
|
2933
2935
|
})
|
|
2934
2936
|
]
|
|
2935
|
-
}),
|
|
2937
|
+
}), r ? /* @__PURE__ */ U("span", {
|
|
2936
2938
|
className: `rounded-full px-2.5 py-0.5 text-xs font-medium ${e.level === "write" ? "bg-status-warning-bg text-status-warning-text" : "bg-bg-sunken text-text-secondary"}`,
|
|
2937
2939
|
children: e.level === "write" ? "Read & Write" : "Read"
|
|
2938
2940
|
}) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(St, {
|
|
2939
2941
|
level: e.level,
|
|
2940
|
-
onChange: (t) =>
|
|
2942
|
+
onChange: (t) => y(e.resource, t)
|
|
2941
2943
|
}), /* @__PURE__ */ U("button", {
|
|
2942
2944
|
type: "button",
|
|
2943
|
-
onClick: () =>
|
|
2945
|
+
onClick: () => b(e.resource),
|
|
2944
2946
|
title: "Remove permission",
|
|
2945
2947
|
className: "p-1.5 rounded text-text-tertiary hover:text-status-error-text hover:bg-status-error-bg-subtle transition-colors",
|
|
2946
2948
|
children: /* @__PURE__ */ U(Be, { size: 14 })
|
|
2947
2949
|
})] })]
|
|
2948
2950
|
}, e.resource))
|
|
2949
2951
|
});
|
|
2950
|
-
return /* @__PURE__ */ U(
|
|
2952
|
+
return /* @__PURE__ */ U(t, {
|
|
2951
2953
|
title: "Permissions",
|
|
2952
2954
|
description: "These are the permissions your app requests from users. Users see exactly this list when authorizing your app.",
|
|
2953
2955
|
children: /* @__PURE__ */ U("div", {
|
|
2954
2956
|
className: "space-y-4",
|
|
2955
|
-
children:
|
|
2957
|
+
children: r ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ W("div", {
|
|
2956
2958
|
className: "rounded-lg border border-status-warning-bg bg-status-warning-bg-subtle p-3 flex gap-2 text-sm",
|
|
2957
2959
|
children: [/* @__PURE__ */ U(De, {
|
|
2958
2960
|
size: 15,
|
|
@@ -2963,19 +2965,19 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
|
|
|
2963
2965
|
/* @__PURE__ */ U("strong", { children: "Permission changes require a new version." }),
|
|
2964
2966
|
" Your app is live and users have already consented to the permissions below. To request new or fewer permissions, publish a new version — existing users will be shown what changed and asked to re-consent before the new version takes effect.",
|
|
2965
2967
|
" ",
|
|
2966
|
-
|
|
2968
|
+
i && /* @__PURE__ */ U("button", {
|
|
2967
2969
|
type: "button",
|
|
2968
|
-
onClick:
|
|
2970
|
+
onClick: i,
|
|
2969
2971
|
className: "underline font-medium hover:opacity-80 transition-opacity",
|
|
2970
2972
|
children: "Go to Versions →"
|
|
2971
2973
|
})
|
|
2972
2974
|
]
|
|
2973
2975
|
})]
|
|
2974
|
-
}),
|
|
2976
|
+
}), o.length === 0 ? /* @__PURE__ */ U("div", {
|
|
2975
2977
|
className: "rounded-lg border border-border-subtle border-dashed p-6 text-center text-sm text-text-secondary",
|
|
2976
2978
|
children: "No permissions configured for this version."
|
|
2977
|
-
}) :
|
|
2978
|
-
|
|
2979
|
+
}) : C] }) : /* @__PURE__ */ W(H, { children: [
|
|
2980
|
+
o.length === 0 ? /* @__PURE__ */ W("div", {
|
|
2979
2981
|
className: "rounded-lg border border-border-subtle border-dashed p-8 flex flex-col items-center gap-2 text-center text-text-secondary",
|
|
2980
2982
|
children: [
|
|
2981
2983
|
/* @__PURE__ */ U(B, {
|
|
@@ -2991,16 +2993,16 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
|
|
|
2991
2993
|
children: "Add the permissions your app needs to request from users."
|
|
2992
2994
|
})
|
|
2993
2995
|
]
|
|
2994
|
-
}) :
|
|
2995
|
-
|
|
2996
|
+
}) : C,
|
|
2997
|
+
c ? /* @__PURE__ */ W("div", {
|
|
2996
2998
|
className: "rounded-lg border border-border-subtle p-3 flex items-center gap-2 flex-wrap",
|
|
2997
2999
|
children: [
|
|
2998
3000
|
/* @__PURE__ */ U("input", {
|
|
2999
3001
|
type: "text",
|
|
3000
|
-
value:
|
|
3001
|
-
onChange: (e) =>
|
|
3002
|
+
value: u,
|
|
3003
|
+
onChange: (e) => d(e.target.value),
|
|
3002
3004
|
onKeyDown: (e) => {
|
|
3003
|
-
e.key === "Enter" && x(), e.key === "Escape" &&
|
|
3005
|
+
e.key === "Enter" && x(), e.key === "Escape" && l(!1);
|
|
3004
3006
|
},
|
|
3005
3007
|
placeholder: "Resource (e.g. auth, files, widgets)",
|
|
3006
3008
|
list: "perm-resource-suggestions",
|
|
@@ -3009,26 +3011,26 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
|
|
|
3009
3011
|
}),
|
|
3010
3012
|
/* @__PURE__ */ U("datalist", {
|
|
3011
3013
|
id: "perm-resource-suggestions",
|
|
3012
|
-
children: vt.filter((e) => !
|
|
3014
|
+
children: vt.filter((e) => !o.some((t) => t.resource === e)).map((e) => /* @__PURE__ */ U("option", {
|
|
3013
3015
|
value: e,
|
|
3014
3016
|
children: $[e].label
|
|
3015
3017
|
}, e))
|
|
3016
3018
|
}),
|
|
3017
3019
|
/* @__PURE__ */ U(St, {
|
|
3018
|
-
level:
|
|
3019
|
-
onChange:
|
|
3020
|
+
level: f,
|
|
3021
|
+
onChange: p
|
|
3020
3022
|
}),
|
|
3021
3023
|
/* @__PURE__ */ U("button", {
|
|
3022
3024
|
type: "button",
|
|
3023
3025
|
onClick: x,
|
|
3024
|
-
disabled: !
|
|
3026
|
+
disabled: !u.trim(),
|
|
3025
3027
|
className: "px-3 py-1.5 rounded-md bg-action-primary-bg text-action-primary-text text-xs font-medium hover:bg-action-primary-bg/90 disabled:opacity-50 transition-colors",
|
|
3026
3028
|
children: "Add"
|
|
3027
3029
|
}),
|
|
3028
3030
|
/* @__PURE__ */ U("button", {
|
|
3029
3031
|
type: "button",
|
|
3030
3032
|
onClick: () => {
|
|
3031
|
-
|
|
3033
|
+
l(!1), d("");
|
|
3032
3034
|
},
|
|
3033
3035
|
className: "p-1.5 rounded text-text-secondary hover:text-text-primary transition-colors",
|
|
3034
3036
|
children: /* @__PURE__ */ U(Be, { size: 14 })
|
|
@@ -3036,7 +3038,7 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
|
|
|
3036
3038
|
]
|
|
3037
3039
|
}) : /* @__PURE__ */ W("button", {
|
|
3038
3040
|
type: "button",
|
|
3039
|
-
onClick: () =>
|
|
3041
|
+
onClick: () => l(!0),
|
|
3040
3042
|
className: "flex items-center gap-1.5 text-sm text-text-secondary hover:text-text-primary transition-colors",
|
|
3041
3043
|
children: [/* @__PURE__ */ U(z, { size: 14 }), "Add permission"]
|
|
3042
3044
|
}),
|
|
@@ -3049,15 +3051,15 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
|
|
|
3049
3051
|
}),
|
|
3050
3052
|
/* @__PURE__ */ W("div", {
|
|
3051
3053
|
className: "flex items-center justify-end gap-3",
|
|
3052
|
-
children: [
|
|
3054
|
+
children: [g && /* @__PURE__ */ W("span", {
|
|
3053
3055
|
className: "flex items-center gap-1.5 text-sm text-status-success-text",
|
|
3054
3056
|
children: [/* @__PURE__ */ U(be, { size: 14 }), "Saved"]
|
|
3055
3057
|
}), /* @__PURE__ */ W("button", {
|
|
3056
3058
|
type: "button",
|
|
3057
|
-
onClick: () => void
|
|
3058
|
-
disabled:
|
|
3059
|
+
onClick: () => void S(),
|
|
3060
|
+
disabled: m,
|
|
3059
3061
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50",
|
|
3060
|
-
children: [
|
|
3062
|
+
children: [m ? /* @__PURE__ */ U(R, {
|
|
3061
3063
|
size: 14,
|
|
3062
3064
|
className: "animate-spin"
|
|
3063
3065
|
}) : /* @__PURE__ */ U(B, { size: 14 }), "Save Permissions"]
|
|
@@ -3067,7 +3069,6 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
|
|
|
3067
3069
|
})
|
|
3068
3070
|
});
|
|
3069
3071
|
};
|
|
3070
|
-
//#endregion
|
|
3071
3072
|
export { q as ApplicationDetailPage };
|
|
3072
3073
|
|
|
3073
3074
|
//# sourceMappingURL=ApplicationDetailPage.js.map
|