@burdenoff/microfe-devportal 2026.510.110
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/README.md +12 -0
- package/dist/__tests__/setup.d.ts +2 -0
- package/dist/__tests__/setup.d.ts.map +1 -0
- package/dist/__tests__/utils/renderWithProviders.d.ts +32 -0
- package/dist/__tests__/utils/renderWithProviders.d.ts.map +1 -0
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/dev/main.d.ts +8 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/devportal/AdminDevportalRoot.d.ts +17 -0
- package/dist/devportal/AdminDevportalRoot.d.ts.map +1 -0
- package/dist/devportal/AdminDevportalRoot.js +63 -0
- package/dist/devportal/AdminDevportalRoot.js.map +1 -0
- package/dist/devportal/AdminDevportalRoutes.d.ts +2 -0
- package/dist/devportal/AdminDevportalRoutes.d.ts.map +1 -0
- package/dist/devportal/AdminDevportalRoutes.js +41 -0
- package/dist/devportal/AdminDevportalRoutes.js.map +1 -0
- package/dist/devportal/DevportalRoot.d.ts +30 -0
- package/dist/devportal/DevportalRoot.d.ts.map +1 -0
- package/dist/devportal/DevportalRoot.js +138 -0
- package/dist/devportal/DevportalRoot.js.map +1 -0
- package/dist/devportal/DevportalRoutes.d.ts +18 -0
- package/dist/devportal/DevportalRoutes.d.ts.map +1 -0
- package/dist/devportal/DevportalRoutes.js +174 -0
- package/dist/devportal/DevportalRoutes.js.map +1 -0
- package/dist/devportal/components/AppCard.d.ts +35 -0
- package/dist/devportal/components/AppCard.d.ts.map +1 -0
- package/dist/devportal/components/AppCard.js +145 -0
- package/dist/devportal/components/AppCard.js.map +1 -0
- package/dist/devportal/components/ConfirmDialog.d.ts +29 -0
- package/dist/devportal/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/devportal/components/ConfirmDialog.js +154 -0
- package/dist/devportal/components/ConfirmDialog.js.map +1 -0
- package/dist/devportal/components/DataTable.d.ts +41 -0
- package/dist/devportal/components/DataTable.d.ts.map +1 -0
- package/dist/devportal/components/DataTable.js +126 -0
- package/dist/devportal/components/DataTable.js.map +1 -0
- package/dist/devportal/components/EmptyState.d.ts +15 -0
- package/dist/devportal/components/EmptyState.d.ts.map +1 -0
- package/dist/devportal/components/EmptyState.js +28 -0
- package/dist/devportal/components/EmptyState.js.map +1 -0
- package/dist/devportal/components/FeatureFlaggedRoute.d.ts +10 -0
- package/dist/devportal/components/FeatureFlaggedRoute.d.ts.map +1 -0
- package/dist/devportal/components/FeatureFlaggedRoute.js +29 -0
- package/dist/devportal/components/FeatureFlaggedRoute.js.map +1 -0
- package/dist/devportal/components/FormField.d.ts +70 -0
- package/dist/devportal/components/FormField.d.ts.map +1 -0
- package/dist/devportal/components/FormField.js +177 -0
- package/dist/devportal/components/FormField.js.map +1 -0
- package/dist/devportal/components/GrantDelegationModal.d.ts +23 -0
- package/dist/devportal/components/GrantDelegationModal.d.ts.map +1 -0
- package/dist/devportal/components/GrantDelegationModal.js +359 -0
- package/dist/devportal/components/GrantDelegationModal.js.map +1 -0
- package/dist/devportal/components/LoadingState.d.ts +31 -0
- package/dist/devportal/components/LoadingState.d.ts.map +1 -0
- package/dist/devportal/components/LoadingState.js +32 -0
- package/dist/devportal/components/LoadingState.js.map +1 -0
- package/dist/devportal/components/PageLayout.d.ts +28 -0
- package/dist/devportal/components/PageLayout.d.ts.map +1 -0
- package/dist/devportal/components/PageLayout.js +63 -0
- package/dist/devportal/components/PageLayout.js.map +1 -0
- package/dist/devportal/components/PermissionGuard.d.ts +15 -0
- package/dist/devportal/components/PermissionGuard.d.ts.map +1 -0
- package/dist/devportal/components/PermissionGuard.js +36 -0
- package/dist/devportal/components/PermissionGuard.js.map +1 -0
- package/dist/devportal/components/SecretDisplay.d.ts +32 -0
- package/dist/devportal/components/SecretDisplay.d.ts.map +1 -0
- package/dist/devportal/components/SecretDisplay.js +119 -0
- package/dist/devportal/components/SecretDisplay.js.map +1 -0
- package/dist/devportal/components/SelectionCheckbox.d.ts +11 -0
- package/dist/devportal/components/SelectionCheckbox.d.ts.map +1 -0
- package/dist/devportal/components/SelectionCheckbox.js +26 -0
- package/dist/devportal/components/SelectionCheckbox.js.map +1 -0
- package/dist/devportal/components/StatCard.d.ts +27 -0
- package/dist/devportal/components/StatCard.d.ts.map +1 -0
- package/dist/devportal/components/StatCard.js +54 -0
- package/dist/devportal/components/StatCard.js.map +1 -0
- package/dist/devportal/components/StatusBadge.d.ts +33 -0
- package/dist/devportal/components/StatusBadge.d.ts.map +1 -0
- package/dist/devportal/components/StatusBadge.js +49 -0
- package/dist/devportal/components/StatusBadge.js.map +1 -0
- package/dist/devportal/components/TelemetryErrorBoundary.d.ts +11 -0
- package/dist/devportal/components/TelemetryErrorBoundary.d.ts.map +1 -0
- package/dist/devportal/components/TelemetryErrorBoundary.js +49 -0
- package/dist/devportal/components/TelemetryErrorBoundary.js.map +1 -0
- package/dist/devportal/components/index.d.ts +20 -0
- package/dist/devportal/components/index.d.ts.map +1 -0
- package/dist/devportal/components/index.js +14 -0
- package/dist/devportal/constants/permissions.d.ts +90 -0
- package/dist/devportal/constants/permissions.d.ts.map +1 -0
- package/dist/devportal/constants/permissions.js +65 -0
- package/dist/devportal/constants/permissions.js.map +1 -0
- package/dist/devportal/events/index.d.ts +19 -0
- package/dist/devportal/events/index.d.ts.map +1 -0
- package/dist/devportal/events/index.js +28 -0
- package/dist/devportal/events/index.js.map +1 -0
- package/dist/devportal/hooks/DevPortalProvider.d.ts +18 -0
- package/dist/devportal/hooks/DevPortalProvider.d.ts.map +1 -0
- package/dist/devportal/hooks/DevPortalProvider.js +14 -0
- package/dist/devportal/hooks/DevPortalProvider.js.map +1 -0
- package/dist/devportal/hooks/index.d.ts +10 -0
- package/dist/devportal/hooks/index.d.ts.map +1 -0
- package/dist/devportal/hooks/index.js +4 -0
- package/dist/devportal/hooks/useGraphQL.d.ts +56 -0
- package/dist/devportal/hooks/useGraphQL.d.ts.map +1 -0
- package/dist/devportal/hooks/useGraphQL.js +223 -0
- package/dist/devportal/hooks/useGraphQL.js.map +1 -0
- package/dist/devportal/hooks/usePermission.d.ts +24 -0
- package/dist/devportal/hooks/usePermission.d.ts.map +1 -0
- package/dist/devportal/hooks/usePermission.js +20 -0
- package/dist/devportal/hooks/usePermission.js.map +1 -0
- package/dist/devportal/index.d.ts +36 -0
- package/dist/devportal/index.d.ts.map +1 -0
- package/dist/devportal/index.js +12 -0
- package/dist/devportal/pages/AdminReviewPage.d.ts +4 -0
- package/dist/devportal/pages/AdminReviewPage.d.ts.map +1 -0
- package/dist/devportal/pages/AdminReviewPage.js +344 -0
- package/dist/devportal/pages/AdminReviewPage.js.map +1 -0
- package/dist/devportal/pages/AnalyticsDashboardPage.d.ts +4 -0
- package/dist/devportal/pages/AnalyticsDashboardPage.d.ts.map +1 -0
- package/dist/devportal/pages/AnalyticsDashboardPage.js +349 -0
- package/dist/devportal/pages/AnalyticsDashboardPage.js.map +1 -0
- package/dist/devportal/pages/ApiKeysPage.d.ts +12 -0
- package/dist/devportal/pages/ApiKeysPage.d.ts.map +1 -0
- package/dist/devportal/pages/ApiKeysPage.js +481 -0
- package/dist/devportal/pages/ApiKeysPage.js.map +1 -0
- package/dist/devportal/pages/AppLogsPage.d.ts +4 -0
- package/dist/devportal/pages/AppLogsPage.d.ts.map +1 -0
- package/dist/devportal/pages/AppLogsPage.js +196 -0
- package/dist/devportal/pages/AppLogsPage.js.map +1 -0
- package/dist/devportal/pages/ApplicationDetailPage.d.ts +7 -0
- package/dist/devportal/pages/ApplicationDetailPage.d.ts.map +1 -0
- package/dist/devportal/pages/ApplicationDetailPage.js +1269 -0
- package/dist/devportal/pages/ApplicationDetailPage.js.map +1 -0
- package/dist/devportal/pages/ApplicationVersionsPage.d.ts +4 -0
- package/dist/devportal/pages/ApplicationVersionsPage.d.ts.map +1 -0
- package/dist/devportal/pages/ApplicationVersionsPage.js +384 -0
- package/dist/devportal/pages/ApplicationVersionsPage.js.map +1 -0
- package/dist/devportal/pages/ApplicationsPage.d.ts +10 -0
- package/dist/devportal/pages/ApplicationsPage.d.ts.map +1 -0
- package/dist/devportal/pages/ApplicationsPage.js +357 -0
- package/dist/devportal/pages/ApplicationsPage.js.map +1 -0
- package/dist/devportal/pages/CreateApiKeyPage.d.ts +11 -0
- package/dist/devportal/pages/CreateApiKeyPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateApiKeyPage.js +285 -0
- package/dist/devportal/pages/CreateApiKeyPage.js.map +1 -0
- package/dist/devportal/pages/CreateApplicationPage.d.ts +7 -0
- package/dist/devportal/pages/CreateApplicationPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateApplicationPage.js +422 -0
- package/dist/devportal/pages/CreateApplicationPage.js.map +1 -0
- package/dist/devportal/pages/CreateOAuthClientPage.d.ts +10 -0
- package/dist/devportal/pages/CreateOAuthClientPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateOAuthClientPage.js +251 -0
- package/dist/devportal/pages/CreateOAuthClientPage.js.map +1 -0
- package/dist/devportal/pages/CreateOrganizationPage.d.ts +7 -0
- package/dist/devportal/pages/CreateOrganizationPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateOrganizationPage.js +499 -0
- package/dist/devportal/pages/CreateOrganizationPage.js.map +1 -0
- package/dist/devportal/pages/CreateWebhookPage.d.ts +4 -0
- package/dist/devportal/pages/CreateWebhookPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateWebhookPage.js +283 -0
- package/dist/devportal/pages/CreateWebhookPage.js.map +1 -0
- package/dist/devportal/pages/DashboardPage.d.ts +10 -0
- package/dist/devportal/pages/DashboardPage.d.ts.map +1 -0
- package/dist/devportal/pages/DashboardPage.js +257 -0
- package/dist/devportal/pages/DashboardPage.js.map +1 -0
- package/dist/devportal/pages/DelegationsPage.d.ts +12 -0
- package/dist/devportal/pages/DelegationsPage.d.ts.map +1 -0
- package/dist/devportal/pages/DelegationsPage.js +602 -0
- package/dist/devportal/pages/DelegationsPage.js.map +1 -0
- package/dist/devportal/pages/DocumentationPage.d.ts +4 -0
- package/dist/devportal/pages/DocumentationPage.d.ts.map +1 -0
- package/dist/devportal/pages/DocumentationPage.js +349 -0
- package/dist/devportal/pages/DocumentationPage.js.map +1 -0
- package/dist/devportal/pages/EditApplicationPage.d.ts +7 -0
- package/dist/devportal/pages/EditApplicationPage.d.ts.map +1 -0
- package/dist/devportal/pages/EditApplicationPage.js +569 -0
- package/dist/devportal/pages/EditApplicationPage.js.map +1 -0
- package/dist/devportal/pages/ListingPreviewPage.d.ts +4 -0
- package/dist/devportal/pages/ListingPreviewPage.d.ts.map +1 -0
- package/dist/devportal/pages/ListingPreviewPage.js +353 -0
- package/dist/devportal/pages/ListingPreviewPage.js.map +1 -0
- package/dist/devportal/pages/OAuthClientDetailPage.d.ts +10 -0
- package/dist/devportal/pages/OAuthClientDetailPage.d.ts.map +1 -0
- package/dist/devportal/pages/OAuthClientDetailPage.js +332 -0
- package/dist/devportal/pages/OAuthClientDetailPage.js.map +1 -0
- package/dist/devportal/pages/OAuthClientsPage.d.ts +11 -0
- package/dist/devportal/pages/OAuthClientsPage.d.ts.map +1 -0
- package/dist/devportal/pages/OAuthClientsPage.js +289 -0
- package/dist/devportal/pages/OAuthClientsPage.js.map +1 -0
- package/dist/devportal/pages/OrganizationDetailPage.d.ts +7 -0
- package/dist/devportal/pages/OrganizationDetailPage.d.ts.map +1 -0
- package/dist/devportal/pages/OrganizationDetailPage.js +635 -0
- package/dist/devportal/pages/OrganizationDetailPage.js.map +1 -0
- package/dist/devportal/pages/OrganizationMembersPage.d.ts +4 -0
- package/dist/devportal/pages/OrganizationMembersPage.d.ts.map +1 -0
- package/dist/devportal/pages/OrganizationMembersPage.js +559 -0
- package/dist/devportal/pages/OrganizationMembersPage.js.map +1 -0
- package/dist/devportal/pages/OrganizationsPage.d.ts +10 -0
- package/dist/devportal/pages/OrganizationsPage.d.ts.map +1 -0
- package/dist/devportal/pages/OrganizationsPage.js +199 -0
- package/dist/devportal/pages/OrganizationsPage.js.map +1 -0
- package/dist/devportal/pages/PublishPage.d.ts +4 -0
- package/dist/devportal/pages/PublishPage.d.ts.map +1 -0
- package/dist/devportal/pages/PublishPage.js +349 -0
- package/dist/devportal/pages/PublishPage.js.map +1 -0
- package/dist/devportal/pages/PublisherProfilePage.d.ts +12 -0
- package/dist/devportal/pages/PublisherProfilePage.d.ts.map +1 -0
- package/dist/devportal/pages/PublisherProfilePage.js +258 -0
- package/dist/devportal/pages/PublisherProfilePage.js.map +1 -0
- package/dist/devportal/pages/ResourcesPage.d.ts +4 -0
- package/dist/devportal/pages/ResourcesPage.d.ts.map +1 -0
- package/dist/devportal/pages/ResourcesPage.js +536 -0
- package/dist/devportal/pages/ResourcesPage.js.map +1 -0
- package/dist/devportal/pages/RevenueDashboardPage.d.ts +4 -0
- package/dist/devportal/pages/RevenueDashboardPage.d.ts.map +1 -0
- package/dist/devportal/pages/RevenueRedirectPage.d.ts +4 -0
- package/dist/devportal/pages/RevenueRedirectPage.d.ts.map +1 -0
- package/dist/devportal/pages/RevenueRedirectPage.js +14 -0
- package/dist/devportal/pages/RevenueRedirectPage.js.map +1 -0
- package/dist/devportal/pages/SettingsPage.d.ts +4 -0
- package/dist/devportal/pages/SettingsPage.d.ts.map +1 -0
- package/dist/devportal/pages/SettingsPage.js +365 -0
- package/dist/devportal/pages/SettingsPage.js.map +1 -0
- package/dist/devportal/pages/StoreSubmissionPage.d.ts +4 -0
- package/dist/devportal/pages/StoreSubmissionPage.d.ts.map +1 -0
- package/dist/devportal/pages/StoreSubmissionPage.js +333 -0
- package/dist/devportal/pages/StoreSubmissionPage.js.map +1 -0
- package/dist/devportal/pages/WebhookDetailPage.d.ts +4 -0
- package/dist/devportal/pages/WebhookDetailPage.d.ts.map +1 -0
- package/dist/devportal/pages/WebhookDetailPage.js +283 -0
- package/dist/devportal/pages/WebhookDetailPage.js.map +1 -0
- package/dist/devportal/pages/WebhooksPage.d.ts +10 -0
- package/dist/devportal/pages/WebhooksPage.d.ts.map +1 -0
- package/dist/devportal/pages/WebhooksPage.js +454 -0
- package/dist/devportal/pages/WebhooksPage.js.map +1 -0
- package/dist/devportal/providers/DevportalProvider.d.ts +13 -0
- package/dist/devportal/providers/DevportalProvider.d.ts.map +1 -0
- package/dist/devportal/providers/DevportalProvider.js +44 -0
- package/dist/devportal/providers/DevportalProvider.js.map +1 -0
- package/dist/devportal/store/devportalStore.d.ts +60 -0
- package/dist/devportal/store/devportalStore.d.ts.map +1 -0
- package/dist/devportal/store/devportalStore.js +93 -0
- package/dist/devportal/store/devportalStore.js.map +1 -0
- package/dist/devportal/types/index.d.ts +682 -0
- package/dist/devportal/types/index.d.ts.map +1 -0
- package/dist/devportal/types/index.js +107 -0
- package/dist/devportal/types/index.js.map +1 -0
- package/dist/devportal/utils/cn.d.ts +8 -0
- package/dist/devportal/utils/cn.d.ts.map +1 -0
- package/dist/devportal/utils/cn.js +10 -0
- package/dist/devportal/utils/cn.js.map +1 -0
- package/dist/devportal/utils/constants.d.ts +107 -0
- package/dist/devportal/utils/constants.d.ts.map +1 -0
- package/dist/devportal/utils/constants.js +64 -0
- package/dist/devportal/utils/constants.js.map +1 -0
- package/dist/devportal/utils/i18n.d.ts +13 -0
- package/dist/devportal/utils/i18n.d.ts.map +1 -0
- package/dist/devportal/utils/i18n.js +17 -0
- package/dist/devportal/utils/i18n.js.map +1 -0
- package/dist/devportal/utils/recaptcha.d.ts +2 -0
- package/dist/devportal/utils/recaptcha.d.ts.map +1 -0
- package/dist/devportal/utils/recaptcha.js +6 -0
- package/dist/devportal/utils/recaptcha.js.map +1 -0
- package/dist/generated/global-operations.d.ts +6237 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +1898 -0
- package/dist/generated/global-operations.js.map +1 -0
- package/dist/generated/global-types.d.ts +20716 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +46 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +27 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +53363 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +24 -0
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -0
- package/dist/node_modules/@apollo/client/errors/ServerError.js +17 -0
- package/dist/node_modules/@apollo/client/errors/ServerError.js.map +1 -0
- package/dist/node_modules/@apollo/client/errors/utils.js +16 -0
- package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +18 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +8 -0
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +10 -0
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +43 -0
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
- package/dist/node_modules/d3-array/src/descending.js +8 -0
- package/dist/node_modules/d3-array/src/descending.js.map +1 -0
- package/dist/node_modules/d3-array/src/max.js +14 -0
- package/dist/node_modules/d3-array/src/max.js.map +1 -0
- package/dist/node_modules/d3-array/src/min.js +14 -0
- package/dist/node_modules/d3-array/src/min.js.map +1 -0
- package/dist/node_modules/d3-array/src/number.js +15 -0
- package/dist/node_modules/d3-array/src/number.js.map +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +25 -0
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-array/src/quickselect.js +26 -0
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
- package/dist/node_modules/d3-array/src/range.js +10 -0
- package/dist/node_modules/d3-array/src/range.js.map +1 -0
- package/dist/node_modules/d3-array/src/sort.js +17 -0
- package/dist/node_modules/d3-array/src/sort.js.map +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +34 -0
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-color/src/color.js +291 -0
- package/dist/node_modules/d3-color/src/color.js.map +1 -0
- package/dist/node_modules/d3-color/src/define.js +13 -0
- package/dist/node_modules/d3-color/src/define.js.map +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +9 -0
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
- package/dist/node_modules/d3-format/src/identity.js +8 -0
- package/dist/node_modules/d3-format/src/identity.js.map +1 -0
- package/dist/node_modules/d3-format/src/locale.js +86 -0
- package/dist/node_modules/d3-format/src/locale.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +15 -0
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +11 -0
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +10 -0
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +10 -0
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +28 -0
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +18 -0
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
- package/dist/node_modules/d3-path/src/path.js +65 -0
- package/dist/node_modules/d3-path/src/path.js.map +1 -0
- package/dist/node_modules/d3-scale/src/band.js +52 -0
- package/dist/node_modules/d3-scale/src/band.js.map +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +10 -0
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +73 -0
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +82 -0
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +20 -0
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
- package/dist/node_modules/d3-scale/src/init.js +29 -0
- package/dist/node_modules/d3-scale/src/init.js.map +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +36 -0
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
- package/dist/node_modules/d3-scale/src/log.js +77 -0
- package/dist/node_modules/d3-scale/src/log.js.map +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +10 -0
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
- package/dist/node_modules/d3-scale/src/number.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js.map +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +33 -0
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
- package/dist/node_modules/d3-scale/src/radial.js +39 -0
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +67 -0
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +30 -0
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +25 -0
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
- package/dist/node_modules/d3-scale/src/time.js +47 -0
- package/dist/node_modules/d3-scale/src/time.js.map +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
- package/dist/node_modules/d3-shape/src/area.js +55 -0
- package/dist/node_modules/d3-shape/src/area.js.map +1 -0
- package/dist/node_modules/d3-shape/src/array.js +8 -0
- package/dist/node_modules/d3-shape/src/array.js.map +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +10 -0
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
- package/dist/node_modules/d3-shape/src/line.js +30 -0
- package/dist/node_modules/d3-shape/src/line.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/math.js.map +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +6 -0
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/order/none.js +9 -0
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/path.js +19 -0
- package/dist/node_modules/d3-shape/src/path.js.map +1 -0
- package/dist/node_modules/d3-shape/src/point.js +11 -0
- package/dist/node_modules/d3-shape/src/point.js.map +1 -0
- package/dist/node_modules/d3-shape/src/stack.js +34 -0
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +23 -0
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
- package/dist/node_modules/d3-time/src/day.js +21 -0
- package/dist/node_modules/d3-time/src/day.js.map +1 -0
- package/dist/node_modules/d3-time/src/duration.js +6 -0
- package/dist/node_modules/d3-time/src/duration.js.map +1 -0
- package/dist/node_modules/d3-time/src/hour.js +19 -0
- package/dist/node_modules/d3-time/src/hour.js.map +1 -0
- package/dist/node_modules/d3-time/src/interval.js +28 -0
- package/dist/node_modules/d3-time/src/interval.js.map +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
- package/dist/node_modules/d3-time/src/minute.js +19 -0
- package/dist/node_modules/d3-time/src/minute.js.map +1 -0
- package/dist/node_modules/d3-time/src/month.js +18 -0
- package/dist/node_modules/d3-time/src/month.js.map +1 -0
- package/dist/node_modules/d3-time/src/second.js +13 -0
- package/dist/node_modules/d3-time/src/second.js.map +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +125 -0
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-time/src/week.js +25 -0
- package/dist/node_modules/d3-time/src/week.js.map +1 -0
- package/dist/node_modules/d3-time/src/year.js +26 -0
- package/dist/node_modules/d3-time/src/year.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +490 -0
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +9 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +384 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +45 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +42 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +10 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +25 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
- package/dist/node_modules/date-fns/constants.js +7 -0
- package/dist/node_modules/date-fns/constants.js.map +1 -0
- package/dist/node_modules/date-fns/constructFrom.js +8 -0
- package/dist/node_modules/date-fns/constructFrom.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +12 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
- package/dist/node_modules/date-fns/format.js +61 -0
- package/dist/node_modules/date-fns/format.js.map +1 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +12 -0
- package/dist/node_modules/date-fns/getDayOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeek.js +13 -0
- package/dist/node_modules/date-fns/getISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +16 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/getWeek.js +13 -0
- package/dist/node_modules/date-fns/getWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/getWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/isDate.js +8 -0
- package/dist/node_modules/date-fns/isDate.js.map +1 -0
- package/dist/node_modules/date-fns/isValid.js +12 -0
- package/dist/node_modules/date-fns/isValid.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +11 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +24 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +20 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +13 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +204 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +126 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US.js +22 -0
- package/dist/node_modules/date-fns/locale/en-US.js.map +1 -0
- package/dist/node_modules/date-fns/startOfDay.js +10 -0
- package/dist/node_modules/date-fns/startOfDay.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +12 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfYear.js +11 -0
- package/dist/node_modules/date-fns/startOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/toDate.js +9 -0
- package/dist/node_modules/date-fns/toDate.js.map +1 -0
- package/dist/node_modules/decimal.js-light/decimal.js +378 -0
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.js +95 -0
- package/dist/node_modules/eventemitter3/index.js.map +1 -0
- package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
- package/dist/node_modules/internmap/src/index.js +40 -0
- package/dist/node_modules/internmap/src/index.js.map +1 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_DataView.js.map +1 -0
- package/dist/node_modules/lodash/_Hash.js +23 -0
- package/dist/node_modules/lodash/_Hash.js.map +1 -0
- package/dist/node_modules/lodash/_ListCache.js +23 -0
- package/dist/node_modules/lodash/_ListCache.js.map +1 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_Map.js.map +1 -0
- package/dist/node_modules/lodash/_MapCache.js +23 -0
- package/dist/node_modules/lodash/_MapCache.js.map +1 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Promise.js.map +1 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_Set.js.map +1 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_SetCache.js.map +1 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Stack.js.map +1 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Symbol.js.map +1 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
- package/dist/node_modules/lodash/_apply.js +19 -0
- package/dist/node_modules/lodash/_apply.js.map +1 -0
- package/dist/node_modules/lodash/_arrayEvery.js +14 -0
- package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
- package/dist/node_modules/lodash/_arrayFilter.js +17 -0
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
- package/dist/node_modules/lodash/_arraySome.js +14 -0
- package/dist/node_modules/lodash/_arraySome.js.map +1 -0
- package/dist/node_modules/lodash/_asciiToArray.js +13 -0
- package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
- package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
- package/dist/node_modules/lodash/_baseEach.js +13 -0
- package/dist/node_modules/lodash/_baseEach.js.map +1 -0
- package/dist/node_modules/lodash/_baseEvery.js +18 -0
- package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
- package/dist/node_modules/lodash/_baseExtremum.js +19 -0
- package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
- package/dist/node_modules/lodash/_baseFlatten.js +21 -0
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseFor.js.map +1 -0
- package/dist/node_modules/lodash/_baseForOwn.js +16 -0
- package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGet.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetTag.js +17 -0
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
- package/dist/node_modules/lodash/_baseGt.js +13 -0
- package/dist/node_modules/lodash/_baseGt.js.map +1 -0
- package/dist/node_modules/lodash/_baseHasIn.js +13 -0
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNative.js +18 -0
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/_baseIteratee.js +19 -0
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
- package/dist/node_modules/lodash/_baseKeys.js +19 -0
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseLt.js +13 -0
- package/dist/node_modules/lodash/_baseLt.js.map +1 -0
- package/dist/node_modules/lodash/_baseMap.js +19 -0
- package/dist/node_modules/lodash/_baseMap.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatches.js +20 -0
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
- package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
- package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseProperty.js +15 -0
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseRange.js +15 -0
- package/dist/node_modules/lodash/_baseRange.js.map +1 -0
- package/dist/node_modules/lodash/_baseRest.js +17 -0
- package/dist/node_modules/lodash/_baseRest.js.map +1 -0
- package/dist/node_modules/lodash/_baseSetToString.js +21 -0
- package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
- package/dist/node_modules/lodash/_baseSome.js +18 -0
- package/dist/node_modules/lodash/_baseSome.js.map +1 -0
- package/dist/node_modules/lodash/_baseSortBy.js +15 -0
- package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
- package/dist/node_modules/lodash/_baseToString.js +22 -0
- package/dist/node_modules/lodash/_baseToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseTrim.js +15 -0
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
- package/dist/node_modules/lodash/_baseUnary.js +15 -0
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
- package/dist/node_modules/lodash/_baseUniq.js +34 -0
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
- package/dist/node_modules/lodash/_cacheHas.js +13 -0
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_castPath.js +18 -0
- package/dist/node_modules/lodash/_castPath.js.map +1 -0
- package/dist/node_modules/lodash/_castSlice.js +16 -0
- package/dist/node_modules/lodash/_castSlice.js.map +1 -0
- package/dist/node_modules/lodash/_compareAscending.js +20 -0
- package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
- package/dist/node_modules/lodash/_compareMultiple.js +19 -0
- package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseEach.js +20 -0
- package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
- package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
- package/dist/node_modules/lodash/_createFind.js +27 -0
- package/dist/node_modules/lodash/_createFind.js.map +1 -0
- package/dist/node_modules/lodash/_createRange.js +19 -0
- package/dist/node_modules/lodash/_createRange.js.map +1 -0
- package/dist/node_modules/lodash/_createSet.js +16 -0
- package/dist/node_modules/lodash/_createSet.js.map +1 -0
- package/dist/node_modules/lodash/_defineProperty.js +17 -0
- package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
- package/dist/node_modules/lodash/_equalArrays.js +42 -0
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
- package/dist/node_modules/lodash/_equalByTag.js +42 -0
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
- package/dist/node_modules/lodash/_equalObjects.js +39 -0
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
- package/dist/node_modules/lodash/_freeGlobal.js +10 -0
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
- package/dist/node_modules/lodash/_getAllKeys.js +17 -0
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_getMapData.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js.map +1 -0
- package/dist/node_modules/lodash/_getMatchData.js +24 -0
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
- package/dist/node_modules/lodash/_getNative.js +17 -0
- package/dist/node_modules/lodash/_getNative.js.map +1 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
- package/dist/node_modules/lodash/_getSymbols.js +17 -0
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
- package/dist/node_modules/lodash/_getTag.js +28 -0
- package/dist/node_modules/lodash/_getTag.js.map +1 -0
- package/dist/node_modules/lodash/_getValue.js +13 -0
- package/dist/node_modules/lodash/_getValue.js.map +1 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasPath.js.map +1 -0
- package/dist/node_modules/lodash/_hasUnicode.js +14 -0
- package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
- package/dist/node_modules/lodash/_hashClear.js +15 -0
- package/dist/node_modules/lodash/_hashClear.js.map +1 -0
- package/dist/node_modules/lodash/_hashDelete.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
- package/dist/node_modules/lodash/_hashGet.js +20 -0
- package/dist/node_modules/lodash/_hashGet.js.map +1 -0
- package/dist/node_modules/lodash/_hashHas.js +16 -0
- package/dist/node_modules/lodash/_hashHas.js.map +1 -0
- package/dist/node_modules/lodash/_hashSet.js +16 -0
- package/dist/node_modules/lodash/_hashSet.js.map +1 -0
- package/dist/node_modules/lodash/_isFlattenable.js +17 -0
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
- package/dist/node_modules/lodash/_isIndex.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js.map +1 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKey.js.map +1 -0
- package/dist/node_modules/lodash/_isKeyable.js +14 -0
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
- package/dist/node_modules/lodash/_isMasked.js +18 -0
- package/dist/node_modules/lodash/_isMasked.js.map +1 -0
- package/dist/node_modules/lodash/_isPrototype.js +15 -0
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheClear.js +13 -0
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheGet.js +16 -0
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheHas.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheSet.js +16 -0
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapToArray.js +16 -0
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_nodeUtil.js +16 -0
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
- package/dist/node_modules/lodash/_objectToString.js +14 -0
- package/dist/node_modules/lodash/_objectToString.js.map +1 -0
- package/dist/node_modules/lodash/_overArg.js +15 -0
- package/dist/node_modules/lodash/_overArg.js.map +1 -0
- package/dist/node_modules/lodash/_overRest.js +20 -0
- package/dist/node_modules/lodash/_overRest.js.map +1 -0
- package/dist/node_modules/lodash/_root.js +12 -0
- package/dist/node_modules/lodash/_root.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheHas.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_setToArray.js +16 -0
- package/dist/node_modules/lodash/_setToArray.js.map +1 -0
- package/dist/node_modules/lodash/_setToString.js +13 -0
- package/dist/node_modules/lodash/_setToString.js.map +1 -0
- package/dist/node_modules/lodash/_shortOut.js +21 -0
- package/dist/node_modules/lodash/_shortOut.js.map +1 -0
- package/dist/node_modules/lodash/_stackClear.js +15 -0
- package/dist/node_modules/lodash/_stackClear.js.map +1 -0
- package/dist/node_modules/lodash/_stackDelete.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
- package/dist/node_modules/lodash/_stackGet.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js.map +1 -0
- package/dist/node_modules/lodash/_stackHas.js +13 -0
- package/dist/node_modules/lodash/_stackHas.js.map +1 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_stackSet.js.map +1 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_stringToArray.js +17 -0
- package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
- package/dist/node_modules/lodash/_stringToPath.js +17 -0
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toKey.js.map +1 -0
- package/dist/node_modules/lodash/_toSource.js +22 -0
- package/dist/node_modules/lodash/_toSource.js.map +1 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
- package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
- package/dist/node_modules/lodash/constant.js +15 -0
- package/dist/node_modules/lodash/constant.js.map +1 -0
- package/dist/node_modules/lodash/debounce.js +57 -0
- package/dist/node_modules/lodash/debounce.js.map +1 -0
- package/dist/node_modules/lodash/eq.js +13 -0
- package/dist/node_modules/lodash/eq.js.map +1 -0
- package/dist/node_modules/lodash/every.js +20 -0
- package/dist/node_modules/lodash/every.js.map +1 -0
- package/dist/node_modules/lodash/find.js +12 -0
- package/dist/node_modules/lodash/find.js.map +1 -0
- package/dist/node_modules/lodash/findIndex.js +20 -0
- package/dist/node_modules/lodash/findIndex.js.map +1 -0
- package/dist/node_modules/lodash/flatMap.js +16 -0
- package/dist/node_modules/lodash/flatMap.js.map +1 -0
- package/dist/node_modules/lodash/get.js +16 -0
- package/dist/node_modules/lodash/get.js.map +1 -0
- package/dist/node_modules/lodash/hasIn.js +16 -0
- package/dist/node_modules/lodash/hasIn.js.map +1 -0
- package/dist/node_modules/lodash/identity.js +13 -0
- package/dist/node_modules/lodash/identity.js.map +1 -0
- package/dist/node_modules/lodash/isArguments.js +17 -0
- package/dist/node_modules/lodash/isArguments.js.map +1 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArray.js.map +1 -0
- package/dist/node_modules/lodash/isArrayLike.js +16 -0
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
- package/dist/node_modules/lodash/isBoolean.js +16 -0
- package/dist/node_modules/lodash/isBoolean.js.map +1 -0
- package/dist/node_modules/lodash/isBuffer.js +13 -0
- package/dist/node_modules/lodash/isBuffer.js.map +1 -0
- package/dist/node_modules/lodash/isEqual.js +15 -0
- package/dist/node_modules/lodash/isEqual.js.map +1 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isFunction.js.map +1 -0
- package/dist/node_modules/lodash/isLength.js +14 -0
- package/dist/node_modules/lodash/isLength.js.map +1 -0
- package/dist/node_modules/lodash/isNaN.js +15 -0
- package/dist/node_modules/lodash/isNaN.js.map +1 -0
- package/dist/node_modules/lodash/isNil.js +13 -0
- package/dist/node_modules/lodash/isNil.js.map +1 -0
- package/dist/node_modules/lodash/isNumber.js +16 -0
- package/dist/node_modules/lodash/isNumber.js.map +1 -0
- package/dist/node_modules/lodash/isObject.js +14 -0
- package/dist/node_modules/lodash/isObject.js.map +1 -0
- package/dist/node_modules/lodash/isObjectLike.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
- package/dist/node_modules/lodash/isPlainObject.js +21 -0
- package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
- package/dist/node_modules/lodash/isString.js +17 -0
- package/dist/node_modules/lodash/isString.js.map +1 -0
- package/dist/node_modules/lodash/isSymbol.js +16 -0
- package/dist/node_modules/lodash/isSymbol.js.map +1 -0
- package/dist/node_modules/lodash/isTypedArray.js +14 -0
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/keys.js +17 -0
- package/dist/node_modules/lodash/keys.js.map +1 -0
- package/dist/node_modules/lodash/last.js +14 -0
- package/dist/node_modules/lodash/last.js.map +1 -0
- package/dist/node_modules/lodash/map.js +18 -0
- package/dist/node_modules/lodash/map.js.map +1 -0
- package/dist/node_modules/lodash/mapValues.js +20 -0
- package/dist/node_modules/lodash/mapValues.js.map +1 -0
- package/dist/node_modules/lodash/max.js +17 -0
- package/dist/node_modules/lodash/max.js.map +1 -0
- package/dist/node_modules/lodash/memoize.js +22 -0
- package/dist/node_modules/lodash/memoize.js.map +1 -0
- package/dist/node_modules/lodash/min.js +17 -0
- package/dist/node_modules/lodash/min.js.map +1 -0
- package/dist/node_modules/lodash/noop.js +11 -0
- package/dist/node_modules/lodash/noop.js.map +1 -0
- package/dist/node_modules/lodash/now.js +14 -0
- package/dist/node_modules/lodash/now.js.map +1 -0
- package/dist/node_modules/lodash/property.js +18 -0
- package/dist/node_modules/lodash/property.js.map +1 -0
- package/dist/node_modules/lodash/range.js +11 -0
- package/dist/node_modules/lodash/range.js.map +1 -0
- package/dist/node_modules/lodash/some.js +20 -0
- package/dist/node_modules/lodash/some.js.map +1 -0
- package/dist/node_modules/lodash/sortBy.js +19 -0
- package/dist/node_modules/lodash/sortBy.js.map +1 -0
- package/dist/node_modules/lodash/stubArray.js +13 -0
- package/dist/node_modules/lodash/stubArray.js.map +1 -0
- package/dist/node_modules/lodash/stubFalse.js +13 -0
- package/dist/node_modules/lodash/stubFalse.js.map +1 -0
- package/dist/node_modules/lodash/throttle.js +22 -0
- package/dist/node_modules/lodash/throttle.js.map +1 -0
- package/dist/node_modules/lodash/toFinite.js +15 -0
- package/dist/node_modules/lodash/toFinite.js.map +1 -0
- package/dist/node_modules/lodash/toInteger.js +16 -0
- package/dist/node_modules/lodash/toInteger.js.map +1 -0
- package/dist/node_modules/lodash/toNumber.js +26 -0
- package/dist/node_modules/lodash/toNumber.js.map +1 -0
- package/dist/node_modules/lodash/toString.js +15 -0
- package/dist/node_modules/lodash/toString.js.map +1 -0
- package/dist/node_modules/lodash/uniqBy.js +16 -0
- package/dist/node_modules/lodash/uniqBy.js.map +1 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/lodash/upperFirst.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +41 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +16 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
- package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/easing.js +152 -0
- package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/index.js +9 -0
- package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/util.js +92 -0
- package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +305 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js +473 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js +24 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js +22 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Label.js +353 -0
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Text.js +225 -0
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +57 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +562 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Events.js +7 -0
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Global.js +21 -0
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +116 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +137 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/types.js +43 -0
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/index.js +1 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1674 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +123 -0
|
@@ -0,0 +1,1269 @@
|
|
|
1
|
+
import { useDevportal as e } from "../providers/DevportalProvider.js";
|
|
2
|
+
import { cn as t } from "../utils/cn.js";
|
|
3
|
+
import { LoadingState as n } from "../components/LoadingState.js";
|
|
4
|
+
import { EmptyState as r } from "../components/EmptyState.js";
|
|
5
|
+
import { PageLayout as i, PageSection as a } from "../components/PageLayout.js";
|
|
6
|
+
import { APP_TYPE_LABELS as o } from "../utils/constants.js";
|
|
7
|
+
import { FeaturedBadge as s, StatusBadge as c, VerifiedBadge as l } from "../components/StatusBadge.js";
|
|
8
|
+
import { SelectionCheckbox as u } from "../components/SelectionCheckbox.js";
|
|
9
|
+
import { NewSecretAlert as d } from "../components/SecretDisplay.js";
|
|
10
|
+
import { DataTable as f, DetailList as p } from "../components/DataTable.js";
|
|
11
|
+
import { ConfirmDialog as m } from "../components/ConfirmDialog.js";
|
|
12
|
+
import { useCurrentUserDelegationsQuery as h, useDeactivateAppMutation as g, useGetApplicationAnalyticsQuery as _, useGetApplicationQuery as v, useGetWebhooksQuery as y, useRevokeDelegationMutation as b, useRotateAppSecretMutation as x } from "../../generated/global-operations.js";
|
|
13
|
+
import { GrantDelegationModal as S } from "../components/GrantDelegationModal.js";
|
|
14
|
+
import { DEVPORTAL_PERMISSIONS as C } from "../constants/permissions.js";
|
|
15
|
+
import { useDevportalPermission as w } from "../hooks/usePermission.js";
|
|
16
|
+
import { useCallback as T, useMemo as E, useState as D } from "react";
|
|
17
|
+
import { useI18n as O } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
18
|
+
import { AlertCircle as k, AppWindow as A, BarChart3 as j, CheckCircle as M, Clock as N, Edit as P, ExternalLink as F, Key as I, Loader2 as L, MoreHorizontal as R, Plus as z, Power as ee, RefreshCw as te, Shield as B, Users as V, Webhook as H, XCircle as U } from "lucide-react";
|
|
19
|
+
import { useParams as ne } from "react-router-dom";
|
|
20
|
+
import { Fragment as W, jsx as G, jsxs as K } from "react/jsx-runtime";
|
|
21
|
+
//#region src/devportal/pages/ApplicationDetailPage.tsx
|
|
22
|
+
function re(e) {
|
|
23
|
+
return e ? {
|
|
24
|
+
id: e.id,
|
|
25
|
+
name: e.name,
|
|
26
|
+
slug: e.slug,
|
|
27
|
+
shortDescription: e.shortDescription || void 0,
|
|
28
|
+
description: e.description || void 0,
|
|
29
|
+
appType: e.appType,
|
|
30
|
+
status: e.status,
|
|
31
|
+
visibility: e.visibility,
|
|
32
|
+
tenantId: e.tenantId,
|
|
33
|
+
developerId: e.developerId,
|
|
34
|
+
developerOrganizationId: e.developerOrganizationId || void 0,
|
|
35
|
+
category: e.category || void 0,
|
|
36
|
+
tags: e.tags || [],
|
|
37
|
+
keywords: e.keywords || [],
|
|
38
|
+
iconUrl: e.iconUrl || void 0,
|
|
39
|
+
websiteUrl: e.websiteUrl || void 0,
|
|
40
|
+
documentationUrl: e.documentationUrl || void 0,
|
|
41
|
+
supportUrl: e.supportUrl || void 0,
|
|
42
|
+
privacyPolicyUrl: e.privacyPolicyUrl || void 0,
|
|
43
|
+
termsOfServiceUrl: e.termsOfServiceUrl || void 0,
|
|
44
|
+
githubUrl: e.githubUrl || void 0,
|
|
45
|
+
pricingType: e.pricingType || void 0,
|
|
46
|
+
installCount: e.installCount,
|
|
47
|
+
activeInstallCount: e.activeInstallCount,
|
|
48
|
+
averageRating: e.averageRating ?? void 0,
|
|
49
|
+
reviewCount: e.reviewCount,
|
|
50
|
+
submittedAt: e.submittedAt || void 0,
|
|
51
|
+
publishedAt: e.publishedAt || void 0,
|
|
52
|
+
lastReviewedAt: e.lastReviewedAt || void 0,
|
|
53
|
+
reviewStatus: e.reviewStatus,
|
|
54
|
+
isFeatured: e.isFeatured,
|
|
55
|
+
isVerified: e.isVerified,
|
|
56
|
+
requiresApproval: e.requiresApproval,
|
|
57
|
+
appId: e.appId || void 0,
|
|
58
|
+
createdAt: e.createdAt,
|
|
59
|
+
updatedAt: e.updatedAt
|
|
60
|
+
} : null;
|
|
61
|
+
}
|
|
62
|
+
function ie(e) {
|
|
63
|
+
return {
|
|
64
|
+
id: e.id,
|
|
65
|
+
applicationId: e.applicationId,
|
|
66
|
+
name: e.name,
|
|
67
|
+
description: e.description || void 0,
|
|
68
|
+
url: e.url,
|
|
69
|
+
secret: e.secret,
|
|
70
|
+
events: e.events,
|
|
71
|
+
isActive: e.isActive,
|
|
72
|
+
status: e.status,
|
|
73
|
+
maxRetries: e.maxRetries,
|
|
74
|
+
retryDelay: e.retryDelay,
|
|
75
|
+
retryEnabled: e.retryEnabled,
|
|
76
|
+
lastTriggeredAt: e.lastTriggeredAt || void 0,
|
|
77
|
+
lastSuccessAt: e.lastSuccessAt || void 0,
|
|
78
|
+
lastFailureAt: e.lastFailureAt || void 0,
|
|
79
|
+
lastFailureReason: e.lastFailureReason || void 0,
|
|
80
|
+
failureCount: e.failureCount,
|
|
81
|
+
successCount: e.successCount,
|
|
82
|
+
createdAt: e.createdAt,
|
|
83
|
+
updatedAt: e.updatedAt
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function q(e) {
|
|
87
|
+
return {
|
|
88
|
+
id: e.id,
|
|
89
|
+
applicationId: e.applicationId,
|
|
90
|
+
date: e.date,
|
|
91
|
+
period: e.period,
|
|
92
|
+
apiCalls: e.apiCalls,
|
|
93
|
+
errors: e.errors,
|
|
94
|
+
sessions: e.sessions,
|
|
95
|
+
activeUsers: e.activeUsers,
|
|
96
|
+
newUsers: e.newUsers,
|
|
97
|
+
avgResponseTime: e.avgResponseTime ?? void 0,
|
|
98
|
+
avgSessionDuration: e.avgSessionDuration ?? void 0,
|
|
99
|
+
createdAt: e.createdAt
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function ae(e) {
|
|
103
|
+
return {
|
|
104
|
+
id: e.id,
|
|
105
|
+
appId: e.appId,
|
|
106
|
+
app: {
|
|
107
|
+
id: e.app.id,
|
|
108
|
+
name: e.app.name,
|
|
109
|
+
description: e.app.description || void 0,
|
|
110
|
+
type: e.app.type,
|
|
111
|
+
status: e.app.status
|
|
112
|
+
},
|
|
113
|
+
userId: e.userId,
|
|
114
|
+
scopes: e.scopes,
|
|
115
|
+
workspaceIds: e.workspaceIds ?? [],
|
|
116
|
+
status: e.status,
|
|
117
|
+
grantedAt: e.grantedAt,
|
|
118
|
+
grantedBy: e.grantedBy,
|
|
119
|
+
expiresAt: e.expiresAt || void 0,
|
|
120
|
+
revokedAt: e.revokedAt || void 0,
|
|
121
|
+
revokedBy: e.revokedBy || void 0
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
var oe = [
|
|
125
|
+
{
|
|
126
|
+
id: "overview",
|
|
127
|
+
label: "Overview",
|
|
128
|
+
icon: A
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
id: "oauth",
|
|
132
|
+
label: "OAuth Clients",
|
|
133
|
+
icon: B
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: "api-keys",
|
|
137
|
+
label: "API Keys",
|
|
138
|
+
icon: I
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: "webhooks",
|
|
142
|
+
label: "Webhooks",
|
|
143
|
+
icon: H
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
id: "delegations",
|
|
147
|
+
label: "Delegations",
|
|
148
|
+
icon: V
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: "analytics",
|
|
152
|
+
label: "Analytics",
|
|
153
|
+
icon: j
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
id: "playground",
|
|
157
|
+
label: "API Playground",
|
|
158
|
+
icon: F
|
|
159
|
+
}
|
|
160
|
+
], J = {
|
|
161
|
+
ACTIVE: "bg-status-success-bg-subtle text-status-success-text",
|
|
162
|
+
REVOKED: "bg-status-error-bg-subtle text-status-error-text",
|
|
163
|
+
EXPIRED: "bg-bg-sunken text-text-secondary"
|
|
164
|
+
}, Y = ({ message: e = "Loading..." }) => /* @__PURE__ */ K("div", {
|
|
165
|
+
className: "flex items-center justify-center gap-3 py-12",
|
|
166
|
+
children: [/* @__PURE__ */ G(L, {
|
|
167
|
+
size: 20,
|
|
168
|
+
className: "animate-spin text-muted-foreground"
|
|
169
|
+
}), /* @__PURE__ */ G("p", {
|
|
170
|
+
className: "text-sm text-muted-foreground",
|
|
171
|
+
children: e
|
|
172
|
+
})]
|
|
173
|
+
}), X = ({ message: e }) => /* @__PURE__ */ K("div", {
|
|
174
|
+
className: "flex flex-col items-center justify-center gap-2 py-12 text-center",
|
|
175
|
+
children: [/* @__PURE__ */ G(k, {
|
|
176
|
+
size: 32,
|
|
177
|
+
className: "text-destructive"
|
|
178
|
+
}), /* @__PURE__ */ G("p", {
|
|
179
|
+
className: "text-sm text-muted-foreground",
|
|
180
|
+
children: e
|
|
181
|
+
})]
|
|
182
|
+
}), Z = () => {
|
|
183
|
+
let { navigate: a, basePath: u } = e(), { t: f } = O(), p = (e, t) => {
|
|
184
|
+
let n = f(e);
|
|
185
|
+
return n === e ? t : n;
|
|
186
|
+
}, { allowed: h } = w(C.APP_UPDATE), { allowed: _ } = w(C.APP_DELETE), { appId: y } = ne(), [b, E] = D("overview"), [j, M] = D(!1), [F, I] = D(!1), [L, R] = D(null), [z, B] = D(!1), { data: V, loading: H, error: U } = v({
|
|
187
|
+
variables: { id: y },
|
|
188
|
+
skip: !y
|
|
189
|
+
}), [W, { loading: ie }] = x(), [q, { loading: ae }] = g(), J = T((e) => {
|
|
190
|
+
a?.(`${u}${e}`);
|
|
191
|
+
}, [a, u]), Y = T(async () => {
|
|
192
|
+
if (y) try {
|
|
193
|
+
let e = (await W({ variables: { id: y } })).data?.rotateAppSecret.clientSecret;
|
|
194
|
+
e && R(e), M(!1);
|
|
195
|
+
} catch {}
|
|
196
|
+
}, [y, W]), X = T(async () => {
|
|
197
|
+
if (y) try {
|
|
198
|
+
await q({ variables: { id: y } }), I(!1), J("/apps");
|
|
199
|
+
} catch {}
|
|
200
|
+
}, [
|
|
201
|
+
y,
|
|
202
|
+
q,
|
|
203
|
+
J
|
|
204
|
+
]);
|
|
205
|
+
if (H) return /* @__PURE__ */ G(n, { message: p("devportal.loadingApplication", "Loading application...") });
|
|
206
|
+
if (U) return /* @__PURE__ */ G(i, {
|
|
207
|
+
title: p("devportal.error", "Error"),
|
|
208
|
+
backLink: `${u}/apps`,
|
|
209
|
+
backLabel: p("devportal.backToApplications", "Back to Applications"),
|
|
210
|
+
children: /* @__PURE__ */ K("div", {
|
|
211
|
+
className: "flex flex-col items-center justify-center py-12 text-center",
|
|
212
|
+
children: [
|
|
213
|
+
/* @__PURE__ */ G(k, {
|
|
214
|
+
size: 48,
|
|
215
|
+
className: "text-destructive mb-4"
|
|
216
|
+
}),
|
|
217
|
+
/* @__PURE__ */ G("h3", {
|
|
218
|
+
className: "text-lg font-semibold mb-2",
|
|
219
|
+
children: p("devportal.failedToLoadApplication", "Failed to load application")
|
|
220
|
+
}),
|
|
221
|
+
/* @__PURE__ */ G("p", {
|
|
222
|
+
className: "text-sm text-muted-foreground",
|
|
223
|
+
children: U.message
|
|
224
|
+
})
|
|
225
|
+
]
|
|
226
|
+
})
|
|
227
|
+
});
|
|
228
|
+
let Z = re(V?.application);
|
|
229
|
+
return Z ? /* @__PURE__ */ K(i, {
|
|
230
|
+
title: Z.name,
|
|
231
|
+
description: Z.shortDescription,
|
|
232
|
+
backLink: `${u}/apps`,
|
|
233
|
+
backLabel: p("devportal.backToApplications", "Back to Applications"),
|
|
234
|
+
actions: /* @__PURE__ */ K("div", {
|
|
235
|
+
className: "flex items-center gap-2",
|
|
236
|
+
children: [
|
|
237
|
+
/* @__PURE__ */ K("button", {
|
|
238
|
+
onClick: () => M(!0),
|
|
239
|
+
className: "inline-flex items-center gap-2 rounded-md border px-4 py-2 text-sm font-medium hover:bg-muted transition-colors",
|
|
240
|
+
children: [/* @__PURE__ */ G(te, { size: 16 }), p("devportal.rotateSecret", "Rotate Secret")]
|
|
241
|
+
}),
|
|
242
|
+
/* @__PURE__ */ K("button", {
|
|
243
|
+
onClick: () => J(`/apps/${Z.id}/versions`),
|
|
244
|
+
className: "inline-flex items-center gap-2 rounded-md border px-4 py-2 text-sm font-medium hover:bg-muted transition-colors",
|
|
245
|
+
children: [/* @__PURE__ */ G(N, { size: 16 }), p("devportal.versions", "Versions")]
|
|
246
|
+
}),
|
|
247
|
+
/* @__PURE__ */ K("button", {
|
|
248
|
+
onClick: () => J(`/apps/${Z.id}/edit`),
|
|
249
|
+
disabled: !h,
|
|
250
|
+
"aria-disabled": !h,
|
|
251
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors disabled:opacity-50",
|
|
252
|
+
children: [/* @__PURE__ */ G(P, { size: 16 }), p("devportal.editApp", "Edit App")]
|
|
253
|
+
}),
|
|
254
|
+
/* @__PURE__ */ K("button", {
|
|
255
|
+
onClick: () => I(!0),
|
|
256
|
+
disabled: !_,
|
|
257
|
+
"aria-disabled": !_,
|
|
258
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg-subtle transition-colors disabled:opacity-50",
|
|
259
|
+
children: [/* @__PURE__ */ G(ee, { size: 16 }), p("devportal.deactivate", "Deactivate")]
|
|
260
|
+
})
|
|
261
|
+
]
|
|
262
|
+
}),
|
|
263
|
+
children: [
|
|
264
|
+
L && /* @__PURE__ */ G(d, {
|
|
265
|
+
title: p("devportal.newAppSecretGenerated", "New App Secret Generated"),
|
|
266
|
+
secret: L,
|
|
267
|
+
description: p("devportal.appSecretRotatedDescription", "Your app secret has been rotated. The old secret is no longer valid."),
|
|
268
|
+
onDismiss: () => R(null)
|
|
269
|
+
}),
|
|
270
|
+
/* @__PURE__ */ K("div", {
|
|
271
|
+
className: "flex flex-wrap items-center gap-2",
|
|
272
|
+
children: [
|
|
273
|
+
/* @__PURE__ */ G(c, {
|
|
274
|
+
status: Z.status,
|
|
275
|
+
type: "app"
|
|
276
|
+
}),
|
|
277
|
+
/* @__PURE__ */ G(c, {
|
|
278
|
+
status: Z.visibility,
|
|
279
|
+
type: "app"
|
|
280
|
+
}),
|
|
281
|
+
Z.isVerified && /* @__PURE__ */ G(l, { verified: !0 }),
|
|
282
|
+
Z.isFeatured && /* @__PURE__ */ G(s, {}),
|
|
283
|
+
/* @__PURE__ */ G("span", {
|
|
284
|
+
className: "text-sm text-muted-foreground",
|
|
285
|
+
children: o[Z.appType] || Z.appType
|
|
286
|
+
})
|
|
287
|
+
]
|
|
288
|
+
}),
|
|
289
|
+
/* @__PURE__ */ G("div", {
|
|
290
|
+
className: "border-b",
|
|
291
|
+
children: /* @__PURE__ */ G("nav", {
|
|
292
|
+
className: "-mb-px flex gap-4 overflow-x-auto",
|
|
293
|
+
role: "tablist",
|
|
294
|
+
"aria-label": p("devportal.applicationSections", "Application sections"),
|
|
295
|
+
children: oe.map((e) => {
|
|
296
|
+
let n = e.icon;
|
|
297
|
+
return /* @__PURE__ */ K("button", {
|
|
298
|
+
id: `application-tab-${e.id}`,
|
|
299
|
+
role: "tab",
|
|
300
|
+
"aria-selected": b === e.id,
|
|
301
|
+
"aria-controls": `application-panel-${e.id}`,
|
|
302
|
+
onClick: () => E(e.id),
|
|
303
|
+
className: t("flex items-center gap-2 border-b-2 px-1 py-3 text-sm font-medium transition-colors", b === e.id ? "border-primary text-primary" : "border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"),
|
|
304
|
+
children: [/* @__PURE__ */ G(n, { size: 16 }), e.label]
|
|
305
|
+
}, e.id);
|
|
306
|
+
})
|
|
307
|
+
})
|
|
308
|
+
}),
|
|
309
|
+
/* @__PURE__ */ K("div", {
|
|
310
|
+
className: "mt-6",
|
|
311
|
+
id: `application-panel-${b}`,
|
|
312
|
+
role: "tabpanel",
|
|
313
|
+
"aria-labelledby": `application-tab-${b}`,
|
|
314
|
+
tabIndex: 0,
|
|
315
|
+
children: [
|
|
316
|
+
b === "overview" && /* @__PURE__ */ G(fe, { app: Z }),
|
|
317
|
+
b === "oauth" && /* @__PURE__ */ G(se, {
|
|
318
|
+
appId: Z.appId || Z.id,
|
|
319
|
+
onNavigate: J
|
|
320
|
+
}),
|
|
321
|
+
b === "api-keys" && /* @__PURE__ */ G(ce, {
|
|
322
|
+
appId: Z.appId || Z.id,
|
|
323
|
+
onNavigate: J
|
|
324
|
+
}),
|
|
325
|
+
b === "webhooks" && /* @__PURE__ */ G(le, {
|
|
326
|
+
appId: Z.id,
|
|
327
|
+
onNavigate: J
|
|
328
|
+
}),
|
|
329
|
+
b === "delegations" && /* @__PURE__ */ G(ue, {
|
|
330
|
+
authAppId: Z.appId || void 0,
|
|
331
|
+
appName: Z.name,
|
|
332
|
+
onGrantDelegation: () => B(!0),
|
|
333
|
+
onNavigate: J
|
|
334
|
+
}),
|
|
335
|
+
b === "analytics" && /* @__PURE__ */ G(de, { appId: Z.id }),
|
|
336
|
+
b === "playground" && /* @__PURE__ */ G(_e, { app: Z })
|
|
337
|
+
]
|
|
338
|
+
}),
|
|
339
|
+
/* @__PURE__ */ G(m, {
|
|
340
|
+
open: j,
|
|
341
|
+
onOpenChange: M,
|
|
342
|
+
onConfirm: Y,
|
|
343
|
+
title: p("devportal.rotateAppSecret", "Rotate App Secret"),
|
|
344
|
+
description: p("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."),
|
|
345
|
+
confirmLabel: p("devportal.rotateSecret", "Rotate Secret"),
|
|
346
|
+
cancelLabel: p("devportal.cancel", "Cancel"),
|
|
347
|
+
variant: "warning",
|
|
348
|
+
loading: ie
|
|
349
|
+
}),
|
|
350
|
+
/* @__PURE__ */ G(m, {
|
|
351
|
+
open: F,
|
|
352
|
+
onOpenChange: I,
|
|
353
|
+
onConfirm: X,
|
|
354
|
+
title: p("devportal.deactivateApplication", "Deactivate Application"),
|
|
355
|
+
description: p("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."),
|
|
356
|
+
confirmLabel: p("devportal.deactivate", "Deactivate"),
|
|
357
|
+
cancelLabel: p("devportal.cancel", "Cancel"),
|
|
358
|
+
variant: "destructive",
|
|
359
|
+
loading: ae
|
|
360
|
+
}),
|
|
361
|
+
/* @__PURE__ */ G(S, {
|
|
362
|
+
open: z,
|
|
363
|
+
onOpenChange: B,
|
|
364
|
+
appId: Z.appId || "",
|
|
365
|
+
appName: Z.name,
|
|
366
|
+
appScopes: Z.scopes?.map((e) => e.scope) ?? [],
|
|
367
|
+
onSuccess: () => {
|
|
368
|
+
B(!1);
|
|
369
|
+
}
|
|
370
|
+
})
|
|
371
|
+
]
|
|
372
|
+
}) : /* @__PURE__ */ G(i, {
|
|
373
|
+
title: p("devportal.notFound", "Not Found"),
|
|
374
|
+
backLink: `${u}/apps`,
|
|
375
|
+
backLabel: p("devportal.backToApplications", "Back to Applications"),
|
|
376
|
+
children: /* @__PURE__ */ G(r, {
|
|
377
|
+
icon: /* @__PURE__ */ G(A, { size: 48 }),
|
|
378
|
+
title: p("devportal.applicationNotFound", "Application not found"),
|
|
379
|
+
description: p("devportal.applicationNotFoundDescription", "The application you're looking for doesn't exist or you don't have access to it.")
|
|
380
|
+
})
|
|
381
|
+
});
|
|
382
|
+
}, se = ({ onNavigate: e }) => {
|
|
383
|
+
let { t } = O(), n = (e, n) => {
|
|
384
|
+
let r = t(e);
|
|
385
|
+
return r === e ? n : r;
|
|
386
|
+
};
|
|
387
|
+
return /* @__PURE__ */ K("div", {
|
|
388
|
+
className: "space-y-4 py-4 text-center",
|
|
389
|
+
children: [
|
|
390
|
+
/* @__PURE__ */ G(B, { className: "mx-auto h-10 w-10 text-muted-foreground" }),
|
|
391
|
+
/* @__PURE__ */ G("h3", {
|
|
392
|
+
className: "font-medium",
|
|
393
|
+
children: n("devportal.oauthApps", "OAuth Apps")
|
|
394
|
+
}),
|
|
395
|
+
/* @__PURE__ */ G("p", {
|
|
396
|
+
className: "text-sm text-muted-foreground",
|
|
397
|
+
children: n("devportal.oauthAppsManagedCentrally", "OAuth apps are now managed centrally. Visit the OAuth Apps page to create and manage your apps.")
|
|
398
|
+
}),
|
|
399
|
+
/* @__PURE__ */ K("button", {
|
|
400
|
+
onClick: () => e("/oauth"),
|
|
401
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
|
|
402
|
+
children: [/* @__PURE__ */ G(F, { size: 16 }), n("devportal.manageOAuthApps", "Manage OAuth Apps")]
|
|
403
|
+
})
|
|
404
|
+
]
|
|
405
|
+
});
|
|
406
|
+
}, ce = ({ onNavigate: e }) => {
|
|
407
|
+
let { t } = O(), n = (e, n) => {
|
|
408
|
+
let r = t(e);
|
|
409
|
+
return r === e ? n : r;
|
|
410
|
+
};
|
|
411
|
+
return /* @__PURE__ */ K("div", {
|
|
412
|
+
className: "space-y-4 py-4 text-center",
|
|
413
|
+
children: [
|
|
414
|
+
/* @__PURE__ */ G(I, { className: "mx-auto h-10 w-10 text-muted-foreground" }),
|
|
415
|
+
/* @__PURE__ */ G("h3", {
|
|
416
|
+
className: "font-medium",
|
|
417
|
+
children: n("devportal.apiKeys", "API Keys")
|
|
418
|
+
}),
|
|
419
|
+
/* @__PURE__ */ G("p", {
|
|
420
|
+
className: "text-sm text-muted-foreground",
|
|
421
|
+
children: n("devportal.apiKeysManagedCentrally", "API keys are now managed centrally. Visit the API Keys page to generate and manage your keys.")
|
|
422
|
+
}),
|
|
423
|
+
/* @__PURE__ */ K("button", {
|
|
424
|
+
onClick: () => e("/api-keys"),
|
|
425
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
|
|
426
|
+
children: [/* @__PURE__ */ G(F, { size: 16 }), n("devportal.manageApiKeys", "Manage API Keys")]
|
|
427
|
+
})
|
|
428
|
+
]
|
|
429
|
+
});
|
|
430
|
+
}, le = ({ appId: e, onNavigate: t }) => {
|
|
431
|
+
let { t: n } = O(), r = (e, t) => {
|
|
432
|
+
let r = n(e);
|
|
433
|
+
return r === e ? t : r;
|
|
434
|
+
}, { data: i, loading: a, error: o } = y({ variables: { applicationId: e } });
|
|
435
|
+
return a ? /* @__PURE__ */ G(Y, { message: r("devportal.loadingWebhooks", "Loading webhooks...") }) : o ? /* @__PURE__ */ G(X, { message: o.message }) : /* @__PURE__ */ G(pe, {
|
|
436
|
+
appId: e,
|
|
437
|
+
webhooks: (i?.webhooks ?? []).map(ie),
|
|
438
|
+
onNavigate: t
|
|
439
|
+
});
|
|
440
|
+
}, ue = ({ authAppId: e, appName: t, onGrantDelegation: n, onNavigate: i }) => {
|
|
441
|
+
let { t: a } = O(), o = (e, t) => {
|
|
442
|
+
let n = a(e);
|
|
443
|
+
return n === e ? t : n;
|
|
444
|
+
}, { data: s, loading: c, error: l, refetch: u } = h(), [d] = b(), [f, p] = D([]), [g, _] = D(!1), [v, y] = D(/* @__PURE__ */ new Set()), [x, S] = D(null), C = E(() => s?.currentUserDelegations ? s.currentUserDelegations.filter((t) => t.appId === e).map(ae) : [], [e, s]), w = E(() => C.filter((e) => e.status === "ACTIVE"), [C]), k = E(() => w.filter((e) => v.has(e.id)), [w, v]), A = w.length > 0 && w.every((e) => v.has(e.id)), j = w.some((e) => v.has(e.id)) && !A, M = T((e, t) => {
|
|
445
|
+
y((n) => {
|
|
446
|
+
let r = new Set(n);
|
|
447
|
+
return t ? r.add(e) : r.delete(e), r;
|
|
448
|
+
});
|
|
449
|
+
}, []), N = T((e) => {
|
|
450
|
+
y((t) => {
|
|
451
|
+
let n = new Set(t);
|
|
452
|
+
return w.forEach((t) => {
|
|
453
|
+
e ? n.add(t.id) : n.delete(t.id);
|
|
454
|
+
}), n;
|
|
455
|
+
});
|
|
456
|
+
}, [w]), P = T(() => {
|
|
457
|
+
y(/* @__PURE__ */ new Set());
|
|
458
|
+
}, []), I = T(async (e) => {
|
|
459
|
+
_(!0);
|
|
460
|
+
try {
|
|
461
|
+
let t = await Promise.allSettled(e.map((e) => d({ variables: { id: e } }))), n = t.filter((e) => e.status === "fulfilled").length, r = t.length - n;
|
|
462
|
+
S(`Revoked ${n} delegation${n === 1 ? "" : "s"}${r > 0 ? ` • ${r} failed` : ""}`), y((t) => {
|
|
463
|
+
let n = new Set(t);
|
|
464
|
+
return e.forEach((e) => n.delete(e)), n;
|
|
465
|
+
}), p([]), u();
|
|
466
|
+
} catch {} finally {
|
|
467
|
+
_(!1);
|
|
468
|
+
}
|
|
469
|
+
}, [d, u]);
|
|
470
|
+
return e ? c ? /* @__PURE__ */ G(Y, { message: o("devportal.loadingDelegations", "Loading delegations...") }) : l ? /* @__PURE__ */ G(X, { message: l.message }) : /* @__PURE__ */ K(W, { children: [
|
|
471
|
+
x && /* @__PURE__ */ G("div", {
|
|
472
|
+
className: "rounded-lg border border-border-subtle bg-status-success-bg-subtle p-3 text-sm text-status-success-text",
|
|
473
|
+
children: /* @__PURE__ */ K("div", {
|
|
474
|
+
className: "flex items-center justify-between gap-3",
|
|
475
|
+
children: [/* @__PURE__ */ G("span", { children: x }), /* @__PURE__ */ G("button", {
|
|
476
|
+
onClick: () => S(null),
|
|
477
|
+
className: "text-status-success-text hover:text-status-success-text",
|
|
478
|
+
children: o("devportal.dismiss", "Dismiss")
|
|
479
|
+
})]
|
|
480
|
+
})
|
|
481
|
+
}),
|
|
482
|
+
/* @__PURE__ */ G(me, {
|
|
483
|
+
appName: t,
|
|
484
|
+
delegations: C,
|
|
485
|
+
onGrantDelegation: n,
|
|
486
|
+
onRevokeDelegation: (e) => p([e]),
|
|
487
|
+
selectedDelegationIds: v,
|
|
488
|
+
onToggleSelectDelegation: M,
|
|
489
|
+
onToggleAllDelegations: N,
|
|
490
|
+
onClearSelection: P,
|
|
491
|
+
onRevokeSelected: () => p(k.map((e) => e.id)),
|
|
492
|
+
allVisibleSelected: A,
|
|
493
|
+
partiallySelected: j
|
|
494
|
+
}),
|
|
495
|
+
/* @__PURE__ */ G(m, {
|
|
496
|
+
open: f.length > 0,
|
|
497
|
+
onOpenChange: (e) => {
|
|
498
|
+
e || p([]);
|
|
499
|
+
},
|
|
500
|
+
onConfirm: () => {
|
|
501
|
+
f.length > 0 && I(f);
|
|
502
|
+
},
|
|
503
|
+
title: f.length > 1 ? o("devportal.revokeDelegations", "Revoke Delegations") : o("devportal.revokeDelegation", "Revoke Delegation"),
|
|
504
|
+
description: f.length > 1 ? o("devportal.revokeMultipleDelegationsDescription", `This will immediately revoke ${f.length} selected delegations.`) : o("devportal.revokeDelegationDescription", "This will immediately revoke the delegation. The app will no longer be able to act on your behalf with the selected permissions."),
|
|
505
|
+
confirmLabel: o("devportal.revoke", "Revoke"),
|
|
506
|
+
cancelLabel: o("devportal.cancel", "Cancel"),
|
|
507
|
+
variant: "destructive",
|
|
508
|
+
loading: g
|
|
509
|
+
})
|
|
510
|
+
] }) : /* @__PURE__ */ G(r, {
|
|
511
|
+
icon: /* @__PURE__ */ G(B, { size: 32 }),
|
|
512
|
+
title: o("devportal.linkAuthAppFirst", "Link an auth app first"),
|
|
513
|
+
description: o("devportal.linkAuthAppFirstDescription", "Delegations are managed through auth apps. Create or link an auth app before granting app-as-user access."),
|
|
514
|
+
action: /* @__PURE__ */ K("button", {
|
|
515
|
+
onClick: () => i("/oauth"),
|
|
516
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",
|
|
517
|
+
children: [/* @__PURE__ */ G(F, { size: 16 }), o("devportal.manageOAuthApps", "Manage OAuth Apps")]
|
|
518
|
+
})
|
|
519
|
+
});
|
|
520
|
+
}, de = ({ appId: e }) => {
|
|
521
|
+
let { t } = O(), n = (e, n) => {
|
|
522
|
+
let r = t(e);
|
|
523
|
+
return r === e ? n : r;
|
|
524
|
+
}, r = E(() => /* @__PURE__ */ new Date(), []), { data: i, loading: a, error: o } = _({ variables: {
|
|
525
|
+
applicationId: e,
|
|
526
|
+
period: "daily",
|
|
527
|
+
startDate: E(() => {
|
|
528
|
+
let e = new Date(r);
|
|
529
|
+
return e.setDate(e.getDate() - 30), e;
|
|
530
|
+
}, [r]).toISOString(),
|
|
531
|
+
endDate: r.toISOString()
|
|
532
|
+
} });
|
|
533
|
+
return a ? /* @__PURE__ */ G(Y, { message: n("devportal.loadingAnalytics", "Loading analytics...") }) : o ? /* @__PURE__ */ G(X, { message: o.message }) : /* @__PURE__ */ G(he, { analytics: (i?.applicationAnalytics ?? []).map(q) });
|
|
534
|
+
}, fe = ({ app: e }) => {
|
|
535
|
+
let { t } = O(), n = (e, n) => {
|
|
536
|
+
let r = t(e);
|
|
537
|
+
return r === e ? n : r;
|
|
538
|
+
};
|
|
539
|
+
return /* @__PURE__ */ K("div", {
|
|
540
|
+
className: "grid gap-6 lg:grid-cols-3",
|
|
541
|
+
children: [/* @__PURE__ */ K("div", {
|
|
542
|
+
className: "lg:col-span-2 space-y-6",
|
|
543
|
+
children: [
|
|
544
|
+
/* @__PURE__ */ K("div", {
|
|
545
|
+
className: "grid gap-4 sm:grid-cols-4",
|
|
546
|
+
children: [
|
|
547
|
+
/* @__PURE__ */ G(Q, {
|
|
548
|
+
label: n("devportal.totalInstalls", "Total Installs"),
|
|
549
|
+
value: e.installCount.toLocaleString()
|
|
550
|
+
}),
|
|
551
|
+
/* @__PURE__ */ G(Q, {
|
|
552
|
+
label: n("devportal.activeInstalls", "Active Installs"),
|
|
553
|
+
value: e.activeInstallCount.toLocaleString()
|
|
554
|
+
}),
|
|
555
|
+
/* @__PURE__ */ G(Q, {
|
|
556
|
+
label: n("devportal.averageRating", "Average Rating"),
|
|
557
|
+
value: e.averageRating ? `${e.averageRating.toFixed(1)} ★` : n("devportal.notAvailable", "N/A")
|
|
558
|
+
}),
|
|
559
|
+
/* @__PURE__ */ G(Q, {
|
|
560
|
+
label: n("devportal.reviews", "Reviews"),
|
|
561
|
+
value: e.reviewCount.toString()
|
|
562
|
+
})
|
|
563
|
+
]
|
|
564
|
+
}),
|
|
565
|
+
/* @__PURE__ */ G(a, {
|
|
566
|
+
title: n("devportal.description", "Description"),
|
|
567
|
+
children: /* @__PURE__ */ G("div", {
|
|
568
|
+
className: "prose prose-sm max-w-none",
|
|
569
|
+
children: /* @__PURE__ */ G("pre", {
|
|
570
|
+
className: "whitespace-pre-wrap font-sans text-sm text-foreground bg-transparent p-0 m-0",
|
|
571
|
+
children: e.description || n("devportal.noDescriptionProvided", "No description provided.")
|
|
572
|
+
})
|
|
573
|
+
})
|
|
574
|
+
}),
|
|
575
|
+
/* @__PURE__ */ G(a, {
|
|
576
|
+
title: n("devportal.tagsAndKeywords", "Tags & Keywords"),
|
|
577
|
+
children: /* @__PURE__ */ K("div", {
|
|
578
|
+
className: "space-y-3",
|
|
579
|
+
children: [e.tags.length > 0 && /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
580
|
+
className: "text-xs text-muted-foreground mb-2",
|
|
581
|
+
children: n("devportal.tags", "Tags")
|
|
582
|
+
}), /* @__PURE__ */ G("div", {
|
|
583
|
+
className: "flex flex-wrap gap-2",
|
|
584
|
+
children: e.tags.map((e) => /* @__PURE__ */ G("span", {
|
|
585
|
+
className: "rounded-full bg-primary/10 px-3 py-1 text-xs font-medium text-primary",
|
|
586
|
+
children: e
|
|
587
|
+
}, e))
|
|
588
|
+
})] }), e.keywords.length > 0 && /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
589
|
+
className: "text-xs text-muted-foreground mb-2",
|
|
590
|
+
children: n("devportal.keywords", "Keywords")
|
|
591
|
+
}), /* @__PURE__ */ G("div", {
|
|
592
|
+
className: "flex flex-wrap gap-2",
|
|
593
|
+
children: e.keywords.map((e) => /* @__PURE__ */ G("span", {
|
|
594
|
+
className: "rounded-full bg-muted px-3 py-1 text-xs",
|
|
595
|
+
children: e
|
|
596
|
+
}, e))
|
|
597
|
+
})] })]
|
|
598
|
+
})
|
|
599
|
+
})
|
|
600
|
+
]
|
|
601
|
+
}), /* @__PURE__ */ K("div", {
|
|
602
|
+
className: "space-y-6",
|
|
603
|
+
children: [/* @__PURE__ */ G(a, {
|
|
604
|
+
title: n("devportal.details", "Details"),
|
|
605
|
+
children: /* @__PURE__ */ G(p, { items: [
|
|
606
|
+
{
|
|
607
|
+
label: n("devportal.appId", "App ID"),
|
|
608
|
+
value: /* @__PURE__ */ G("code", {
|
|
609
|
+
className: "text-xs",
|
|
610
|
+
children: e.id
|
|
611
|
+
})
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
label: n("devportal.slug", "Slug"),
|
|
615
|
+
value: e.slug
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
label: n("devportal.category", "Category"),
|
|
619
|
+
value: e.category || n("devportal.uncategorized", "Uncategorized")
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
label: n("devportal.pricing", "Pricing"),
|
|
623
|
+
value: e.pricingType || n("devportal.free", "Free")
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
label: n("devportal.created", "Created"),
|
|
627
|
+
value: new Date(e.createdAt).toLocaleDateString()
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
label: n("devportal.updated", "Updated"),
|
|
631
|
+
value: new Date(e.updatedAt).toLocaleDateString()
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
label: n("devportal.published", "Published"),
|
|
635
|
+
value: e.publishedAt ? new Date(e.publishedAt).toLocaleDateString() : n("devportal.notPublished", "Not published")
|
|
636
|
+
}
|
|
637
|
+
] })
|
|
638
|
+
}), /* @__PURE__ */ G(a, {
|
|
639
|
+
title: n("devportal.links", "Links"),
|
|
640
|
+
children: /* @__PURE__ */ K("div", {
|
|
641
|
+
className: "space-y-2",
|
|
642
|
+
children: [
|
|
643
|
+
e.websiteUrl && /* @__PURE__ */ G($, {
|
|
644
|
+
label: n("devportal.website", "Website"),
|
|
645
|
+
url: e.websiteUrl
|
|
646
|
+
}),
|
|
647
|
+
e.documentationUrl && /* @__PURE__ */ G($, {
|
|
648
|
+
label: n("devportal.documentation", "Documentation"),
|
|
649
|
+
url: e.documentationUrl
|
|
650
|
+
}),
|
|
651
|
+
e.supportUrl && /* @__PURE__ */ G($, {
|
|
652
|
+
label: n("devportal.support", "Support"),
|
|
653
|
+
url: e.supportUrl
|
|
654
|
+
}),
|
|
655
|
+
e.githubUrl && /* @__PURE__ */ G($, {
|
|
656
|
+
label: n("devportal.github", "GitHub"),
|
|
657
|
+
url: e.githubUrl
|
|
658
|
+
}),
|
|
659
|
+
e.privacyPolicyUrl && /* @__PURE__ */ G($, {
|
|
660
|
+
label: n("devportal.privacyPolicy", "Privacy Policy"),
|
|
661
|
+
url: e.privacyPolicyUrl
|
|
662
|
+
}),
|
|
663
|
+
e.termsOfServiceUrl && /* @__PURE__ */ G($, {
|
|
664
|
+
label: n("devportal.termsOfService", "Terms of Service"),
|
|
665
|
+
url: e.termsOfServiceUrl
|
|
666
|
+
})
|
|
667
|
+
]
|
|
668
|
+
})
|
|
669
|
+
})]
|
|
670
|
+
})]
|
|
671
|
+
});
|
|
672
|
+
}, pe = ({ appId: e, webhooks: t, onNavigate: n }) => {
|
|
673
|
+
let { t: i } = O(), a = (e, t) => {
|
|
674
|
+
let n = i(e);
|
|
675
|
+
return n === e ? t : n;
|
|
676
|
+
};
|
|
677
|
+
return /* @__PURE__ */ K("div", {
|
|
678
|
+
className: "space-y-6",
|
|
679
|
+
children: [/* @__PURE__ */ K("div", {
|
|
680
|
+
className: "flex items-center justify-between",
|
|
681
|
+
children: [/* @__PURE__ */ K("p", {
|
|
682
|
+
className: "text-sm text-muted-foreground",
|
|
683
|
+
children: [
|
|
684
|
+
t.length,
|
|
685
|
+
" ",
|
|
686
|
+
t.length === 1 ? a("devportal.webhook", "webhook") : a("devportal.webhooks", "webhooks"),
|
|
687
|
+
" ",
|
|
688
|
+
a("devportal.configured", "configured")
|
|
689
|
+
]
|
|
690
|
+
}), /* @__PURE__ */ K("button", {
|
|
691
|
+
onClick: () => n(`/apps/${e}/webhooks/new`),
|
|
692
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
|
|
693
|
+
children: [/* @__PURE__ */ G(z, { size: 16 }), a("devportal.addWebhook", "Add Webhook")]
|
|
694
|
+
})]
|
|
695
|
+
}), t.length > 0 ? /* @__PURE__ */ G("div", {
|
|
696
|
+
className: "space-y-4",
|
|
697
|
+
children: t.map((t) => /* @__PURE__ */ K("div", {
|
|
698
|
+
className: "rounded-lg border bg-card p-4 space-y-4",
|
|
699
|
+
children: [
|
|
700
|
+
/* @__PURE__ */ K("div", {
|
|
701
|
+
className: "flex items-start justify-between",
|
|
702
|
+
children: [/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ K("div", {
|
|
703
|
+
className: "flex items-center gap-2",
|
|
704
|
+
children: [/* @__PURE__ */ G("h3", {
|
|
705
|
+
className: "font-medium",
|
|
706
|
+
children: t.name
|
|
707
|
+
}), /* @__PURE__ */ G(c, {
|
|
708
|
+
status: t.status,
|
|
709
|
+
type: "webhook"
|
|
710
|
+
})]
|
|
711
|
+
}), t.description && /* @__PURE__ */ G("p", {
|
|
712
|
+
className: "text-sm text-muted-foreground mt-1",
|
|
713
|
+
children: t.description
|
|
714
|
+
})] }), /* @__PURE__ */ G("button", {
|
|
715
|
+
onClick: () => n(`/apps/${e}/webhooks/${t.id}`),
|
|
716
|
+
className: "rounded-md p-1 hover:bg-muted",
|
|
717
|
+
children: /* @__PURE__ */ G(R, { size: 20 })
|
|
718
|
+
})]
|
|
719
|
+
}),
|
|
720
|
+
/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
721
|
+
className: "text-xs text-muted-foreground mb-1",
|
|
722
|
+
children: a("devportal.endpointUrl", "Endpoint URL")
|
|
723
|
+
}), /* @__PURE__ */ G("code", {
|
|
724
|
+
className: "text-sm bg-muted px-2 py-1 rounded block truncate",
|
|
725
|
+
children: t.url
|
|
726
|
+
})] }),
|
|
727
|
+
/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
728
|
+
className: "text-xs text-muted-foreground mb-2",
|
|
729
|
+
children: a("devportal.events", "Events")
|
|
730
|
+
}), /* @__PURE__ */ G("div", {
|
|
731
|
+
className: "flex flex-wrap gap-2",
|
|
732
|
+
children: t.events.map((e) => /* @__PURE__ */ G("span", {
|
|
733
|
+
className: "rounded-full bg-muted px-2 py-0.5 text-xs",
|
|
734
|
+
children: e
|
|
735
|
+
}, e))
|
|
736
|
+
})] }),
|
|
737
|
+
/* @__PURE__ */ K("div", {
|
|
738
|
+
className: "grid gap-4 sm:grid-cols-4 text-sm",
|
|
739
|
+
children: [
|
|
740
|
+
/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
741
|
+
className: "text-xs text-muted-foreground",
|
|
742
|
+
children: a("devportal.success", "Success")
|
|
743
|
+
}), /* @__PURE__ */ G("p", {
|
|
744
|
+
className: "font-medium text-status-success-text",
|
|
745
|
+
children: t.successCount.toLocaleString()
|
|
746
|
+
})] }),
|
|
747
|
+
/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
748
|
+
className: "text-xs text-muted-foreground",
|
|
749
|
+
children: a("devportal.failed", "Failed")
|
|
750
|
+
}), /* @__PURE__ */ G("p", {
|
|
751
|
+
className: "font-medium text-status-error-text",
|
|
752
|
+
children: t.failureCount.toLocaleString()
|
|
753
|
+
})] }),
|
|
754
|
+
/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
755
|
+
className: "text-xs text-muted-foreground",
|
|
756
|
+
children: a("devportal.successRate", "Success Rate")
|
|
757
|
+
}), /* @__PURE__ */ K("p", {
|
|
758
|
+
className: "font-medium",
|
|
759
|
+
children: [t.successCount + t.failureCount > 0 ? (t.successCount / (t.successCount + t.failureCount) * 100).toFixed(1) : "0.0", "%"]
|
|
760
|
+
})] }),
|
|
761
|
+
/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
762
|
+
className: "text-xs text-muted-foreground",
|
|
763
|
+
children: a("devportal.lastTriggered", "Last Triggered")
|
|
764
|
+
}), /* @__PURE__ */ G("p", {
|
|
765
|
+
className: "font-medium",
|
|
766
|
+
children: t.lastTriggeredAt ? new Date(t.lastTriggeredAt).toLocaleString() : a("devportal.never", "Never")
|
|
767
|
+
})] })
|
|
768
|
+
]
|
|
769
|
+
})
|
|
770
|
+
]
|
|
771
|
+
}, t.id))
|
|
772
|
+
}) : /* @__PURE__ */ G(r, {
|
|
773
|
+
icon: /* @__PURE__ */ G(H, { size: 32 }),
|
|
774
|
+
title: a("devportal.noWebhooks", "No webhooks"),
|
|
775
|
+
description: a("devportal.noWebhooksDescription", "Add a webhook to receive event notifications"),
|
|
776
|
+
action: /* @__PURE__ */ K("button", {
|
|
777
|
+
onClick: () => n(`/apps/${e}/webhooks/new`),
|
|
778
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",
|
|
779
|
+
children: [/* @__PURE__ */ G(z, { size: 16 }), a("devportal.addWebhook", "Add Webhook")]
|
|
780
|
+
})
|
|
781
|
+
})]
|
|
782
|
+
});
|
|
783
|
+
}, me = ({ appName: e, delegations: n, onGrantDelegation: i, onRevokeDelegation: a, selectedDelegationIds: o, onToggleSelectDelegation: s, onToggleAllDelegations: c, onClearSelection: l, onRevokeSelected: d, allVisibleSelected: f, partiallySelected: p }) => {
|
|
784
|
+
let { t: m } = O(), h = (e, t) => {
|
|
785
|
+
let n = m(e);
|
|
786
|
+
return n === e ? t : n;
|
|
787
|
+
}, g = n.filter((e) => e.status === "ACTIVE"), _ = n.filter((e) => e.status !== "ACTIVE");
|
|
788
|
+
return /* @__PURE__ */ K("div", {
|
|
789
|
+
className: "space-y-6",
|
|
790
|
+
children: [
|
|
791
|
+
/* @__PURE__ */ K("div", {
|
|
792
|
+
className: "flex items-center justify-between",
|
|
793
|
+
children: [/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ K("p", {
|
|
794
|
+
className: "text-sm text-muted-foreground",
|
|
795
|
+
children: [
|
|
796
|
+
n.length,
|
|
797
|
+
" ",
|
|
798
|
+
n.length === 1 ? h("devportal.delegation", "delegation") : h("devportal.delegations", "delegations"),
|
|
799
|
+
" ",
|
|
800
|
+
h("devportal.for", "for"),
|
|
801
|
+
" ",
|
|
802
|
+
e
|
|
803
|
+
]
|
|
804
|
+
}), g.length > 0 && /* @__PURE__ */ K("p", {
|
|
805
|
+
className: "text-xs text-muted-foreground mt-0.5",
|
|
806
|
+
children: [
|
|
807
|
+
g.length,
|
|
808
|
+
" ",
|
|
809
|
+
h("devportal.active", "active"),
|
|
810
|
+
",",
|
|
811
|
+
" ",
|
|
812
|
+
_.length,
|
|
813
|
+
" ",
|
|
814
|
+
h("devportal.revokedExpired", "revoked/expired")
|
|
815
|
+
]
|
|
816
|
+
})] }), /* @__PURE__ */ K("button", {
|
|
817
|
+
onClick: i,
|
|
818
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
|
|
819
|
+
children: [/* @__PURE__ */ G(z, { size: 16 }), h("devportal.grantDelegation", "Grant Delegation")]
|
|
820
|
+
})]
|
|
821
|
+
}),
|
|
822
|
+
g.length > 0 && /* @__PURE__ */ G("div", {
|
|
823
|
+
className: "rounded-lg border bg-card p-4",
|
|
824
|
+
children: /* @__PURE__ */ K("div", {
|
|
825
|
+
className: "flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",
|
|
826
|
+
children: [/* @__PURE__ */ K("div", {
|
|
827
|
+
className: "flex flex-wrap items-center gap-3",
|
|
828
|
+
children: [/* @__PURE__ */ K("div", {
|
|
829
|
+
className: "flex items-center gap-2",
|
|
830
|
+
children: [/* @__PURE__ */ G(u, {
|
|
831
|
+
checked: f,
|
|
832
|
+
indeterminate: p,
|
|
833
|
+
onChange: c,
|
|
834
|
+
ariaLabel: h("devportal.selectAllActiveDelegations", "Select all active app delegations")
|
|
835
|
+
}), /* @__PURE__ */ G("span", {
|
|
836
|
+
className: "text-sm font-medium",
|
|
837
|
+
children: h("devportal.selectAllActive", "Select all active")
|
|
838
|
+
})]
|
|
839
|
+
}), o.size > 0 && /* @__PURE__ */ G("button", {
|
|
840
|
+
onClick: l,
|
|
841
|
+
className: "text-sm text-muted-foreground hover:text-foreground",
|
|
842
|
+
children: h("devportal.clearSelection", "Clear selection")
|
|
843
|
+
})]
|
|
844
|
+
}), /* @__PURE__ */ K("div", {
|
|
845
|
+
className: "flex flex-wrap items-center gap-2",
|
|
846
|
+
children: [/* @__PURE__ */ K("span", {
|
|
847
|
+
className: "rounded-full bg-muted px-3 py-1 text-sm font-medium text-muted-foreground",
|
|
848
|
+
children: [
|
|
849
|
+
o.size,
|
|
850
|
+
" ",
|
|
851
|
+
h("devportal.selected", "selected")
|
|
852
|
+
]
|
|
853
|
+
}), /* @__PURE__ */ K("button", {
|
|
854
|
+
onClick: d,
|
|
855
|
+
disabled: o.size === 0,
|
|
856
|
+
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",
|
|
857
|
+
children: [h("devportal.revokeSelected", "Revoke Selected"), o.size > 0 ? ` (${o.size})` : ""]
|
|
858
|
+
})]
|
|
859
|
+
})]
|
|
860
|
+
})
|
|
861
|
+
}),
|
|
862
|
+
n.length > 0 ? /* @__PURE__ */ G("div", {
|
|
863
|
+
className: "space-y-4",
|
|
864
|
+
children: n.map((e) => /* @__PURE__ */ K("div", {
|
|
865
|
+
className: "rounded-lg border bg-card p-4 space-y-4",
|
|
866
|
+
children: [
|
|
867
|
+
/* @__PURE__ */ K("div", {
|
|
868
|
+
className: "flex items-start justify-between",
|
|
869
|
+
children: [/* @__PURE__ */ K("div", {
|
|
870
|
+
className: "flex items-start gap-3",
|
|
871
|
+
children: [e.status === "ACTIVE" && /* @__PURE__ */ G("div", {
|
|
872
|
+
onClick: (e) => e.stopPropagation(),
|
|
873
|
+
children: /* @__PURE__ */ G(u, {
|
|
874
|
+
checked: o.has(e.id),
|
|
875
|
+
onChange: (t) => s(e.id, t),
|
|
876
|
+
ariaLabel: `Select delegation ${e.id}`,
|
|
877
|
+
className: "mt-1"
|
|
878
|
+
})
|
|
879
|
+
}), /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ K("div", {
|
|
880
|
+
className: "flex items-center gap-2",
|
|
881
|
+
children: [/* @__PURE__ */ K("h3", {
|
|
882
|
+
className: "font-medium",
|
|
883
|
+
children: ["Delegation #", e.id.slice(0, 8)]
|
|
884
|
+
}), /* @__PURE__ */ G("span", {
|
|
885
|
+
className: t("rounded-full px-2 py-0.5 text-xs font-medium", J[e.status]),
|
|
886
|
+
children: e.status
|
|
887
|
+
})]
|
|
888
|
+
}), /* @__PURE__ */ K("p", {
|
|
889
|
+
className: "text-sm text-muted-foreground mt-1",
|
|
890
|
+
children: [
|
|
891
|
+
h("devportal.granted", "Granted"),
|
|
892
|
+
" ",
|
|
893
|
+
new Date(e.grantedAt).toLocaleDateString(),
|
|
894
|
+
" ",
|
|
895
|
+
h("devportal.by", "by"),
|
|
896
|
+
" ",
|
|
897
|
+
e.grantedBy === e.userId ? h("devportal.you", "you") : e.grantedBy.slice(0, 8)
|
|
898
|
+
]
|
|
899
|
+
})] })]
|
|
900
|
+
}), e.status === "ACTIVE" && /* @__PURE__ */ K("button", {
|
|
901
|
+
onClick: () => a(e.id),
|
|
902
|
+
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",
|
|
903
|
+
children: [/* @__PURE__ */ G(U, { size: 14 }), h("devportal.revoke", "Revoke")]
|
|
904
|
+
})]
|
|
905
|
+
}),
|
|
906
|
+
/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
907
|
+
className: "text-xs text-muted-foreground mb-2",
|
|
908
|
+
children: h("devportal.grantedScopes", "Granted Scopes")
|
|
909
|
+
}), /* @__PURE__ */ G("div", {
|
|
910
|
+
className: "flex flex-wrap gap-2",
|
|
911
|
+
children: e.scopes.map((e) => /* @__PURE__ */ G("span", {
|
|
912
|
+
className: "rounded-full bg-status-success-bg-subtle px-2 py-0.5 text-xs text-status-success-text",
|
|
913
|
+
children: e
|
|
914
|
+
}, e))
|
|
915
|
+
})] }),
|
|
916
|
+
e.workspaceIds.length > 0 && /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("p", {
|
|
917
|
+
className: "text-xs text-muted-foreground mb-2",
|
|
918
|
+
children: h("devportal.workspaceScope", "Workspace Scope")
|
|
919
|
+
}), /* @__PURE__ */ G("div", {
|
|
920
|
+
className: "flex flex-wrap gap-2",
|
|
921
|
+
children: e.workspaceIds.map((e) => /* @__PURE__ */ G("code", {
|
|
922
|
+
className: "rounded bg-muted px-2 py-0.5 text-xs",
|
|
923
|
+
children: e
|
|
924
|
+
}, e))
|
|
925
|
+
})] }),
|
|
926
|
+
/* @__PURE__ */ K("div", {
|
|
927
|
+
className: "flex items-center gap-4 text-xs text-muted-foreground",
|
|
928
|
+
children: [
|
|
929
|
+
e.expiresAt && /* @__PURE__ */ K("span", {
|
|
930
|
+
className: "flex items-center gap-1",
|
|
931
|
+
children: [
|
|
932
|
+
/* @__PURE__ */ G(N, { size: 12 }),
|
|
933
|
+
h("devportal.expires", "Expires"),
|
|
934
|
+
" ",
|
|
935
|
+
new Date(e.expiresAt).toLocaleDateString()
|
|
936
|
+
]
|
|
937
|
+
}),
|
|
938
|
+
!e.expiresAt && e.status === "ACTIVE" && /* @__PURE__ */ K("span", {
|
|
939
|
+
className: "flex items-center gap-1",
|
|
940
|
+
children: [/* @__PURE__ */ G(M, {
|
|
941
|
+
size: 12,
|
|
942
|
+
className: "text-status-success-text"
|
|
943
|
+
}), h("devportal.noExpiration", "No expiration")]
|
|
944
|
+
}),
|
|
945
|
+
e.revokedAt && /* @__PURE__ */ K("span", {
|
|
946
|
+
className: "flex items-center gap-1",
|
|
947
|
+
children: [
|
|
948
|
+
/* @__PURE__ */ G(U, {
|
|
949
|
+
size: 12,
|
|
950
|
+
className: "text-status-error-text"
|
|
951
|
+
}),
|
|
952
|
+
h("devportal.revoked", "Revoked"),
|
|
953
|
+
" ",
|
|
954
|
+
new Date(e.revokedAt).toLocaleDateString()
|
|
955
|
+
]
|
|
956
|
+
})
|
|
957
|
+
]
|
|
958
|
+
})
|
|
959
|
+
]
|
|
960
|
+
}, e.id))
|
|
961
|
+
}) : /* @__PURE__ */ G(r, {
|
|
962
|
+
icon: /* @__PURE__ */ G(V, { size: 32 }),
|
|
963
|
+
title: h("devportal.noDelegations", "No delegations"),
|
|
964
|
+
description: h("devportal.noDelegationsDescription", "Grant a delegation to allow this app to act on your behalf"),
|
|
965
|
+
action: /* @__PURE__ */ K("button", {
|
|
966
|
+
onClick: i,
|
|
967
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",
|
|
968
|
+
children: [/* @__PURE__ */ G(z, { size: 16 }), h("devportal.grantDelegation", "Grant Delegation")]
|
|
969
|
+
})
|
|
970
|
+
})
|
|
971
|
+
]
|
|
972
|
+
});
|
|
973
|
+
}, he = ({ analytics: e }) => {
|
|
974
|
+
let { t } = O(), n = (e, n) => {
|
|
975
|
+
let r = t(e);
|
|
976
|
+
return r === e ? n : r;
|
|
977
|
+
}, i = e[0], o = e[1], s = (e, t) => t ? (e - t) / t * 100 : 0;
|
|
978
|
+
return /* @__PURE__ */ K("div", {
|
|
979
|
+
className: "space-y-6",
|
|
980
|
+
children: [/* @__PURE__ */ K("div", {
|
|
981
|
+
className: "grid gap-4 sm:grid-cols-4",
|
|
982
|
+
children: [
|
|
983
|
+
/* @__PURE__ */ G(Q, {
|
|
984
|
+
label: n("devportal.activeUsers", "Active Users"),
|
|
985
|
+
value: i?.activeUsers.toLocaleString() || "0",
|
|
986
|
+
trend: o ? s(i.activeUsers, o.activeUsers) : void 0
|
|
987
|
+
}),
|
|
988
|
+
/* @__PURE__ */ G(Q, {
|
|
989
|
+
label: n("devportal.apiCalls", "API Calls"),
|
|
990
|
+
value: i ? `${(i.apiCalls / 1e3).toFixed(1)}K` : "0",
|
|
991
|
+
trend: o ? s(i.apiCalls, o.apiCalls) : void 0
|
|
992
|
+
}),
|
|
993
|
+
/* @__PURE__ */ G(Q, {
|
|
994
|
+
label: n("devportal.avgResponseTime", "Avg Response Time"),
|
|
995
|
+
value: i?.avgResponseTime ? `${i.avgResponseTime}ms` : n("devportal.notAvailable", "N/A"),
|
|
996
|
+
trend: o && i?.avgResponseTime ? -s(i.avgResponseTime, o.avgResponseTime || 1) : void 0
|
|
997
|
+
}),
|
|
998
|
+
/* @__PURE__ */ G(Q, {
|
|
999
|
+
label: n("devportal.errorRate", "Error Rate"),
|
|
1000
|
+
value: i && i.apiCalls > 0 ? `${(i.errors / i.apiCalls * 100).toFixed(2)}%` : "0%",
|
|
1001
|
+
trend: o && i && i.apiCalls > 0 && o.apiCalls > 0 ? -s(i.errors / i.apiCalls, o.errors / o.apiCalls) : void 0
|
|
1002
|
+
})
|
|
1003
|
+
]
|
|
1004
|
+
}), /* @__PURE__ */ G(a, {
|
|
1005
|
+
title: n("devportal.dailyBreakdown", "Daily Breakdown"),
|
|
1006
|
+
children: e.length > 0 ? /* @__PURE__ */ G(f, {
|
|
1007
|
+
data: e,
|
|
1008
|
+
keyField: "id",
|
|
1009
|
+
columns: [
|
|
1010
|
+
{
|
|
1011
|
+
key: "date",
|
|
1012
|
+
header: n("devportal.date", "Date"),
|
|
1013
|
+
render: (e) => new Date(e.date).toLocaleDateString()
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
key: "activeUsers",
|
|
1017
|
+
header: n("devportal.activeUsers", "Active Users"),
|
|
1018
|
+
render: (e) => e.activeUsers.toLocaleString()
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
key: "newUsers",
|
|
1022
|
+
header: n("devportal.newUsers", "New Users"),
|
|
1023
|
+
render: (e) => e.newUsers.toLocaleString()
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
key: "apiCalls",
|
|
1027
|
+
header: n("devportal.apiCalls", "API Calls"),
|
|
1028
|
+
render: (e) => e.apiCalls.toLocaleString()
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
key: "errors",
|
|
1032
|
+
header: n("devportal.errors", "Errors"),
|
|
1033
|
+
render: (e) => e.errors.toLocaleString()
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
key: "avgResponseTime",
|
|
1037
|
+
header: n("devportal.avgResponse", "Avg Response"),
|
|
1038
|
+
render: (e) => e.avgResponseTime ? `${e.avgResponseTime}ms` : n("devportal.notAvailable", "N/A")
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
key: "sessions",
|
|
1042
|
+
header: n("devportal.sessions", "Sessions"),
|
|
1043
|
+
render: (e) => e.sessions.toLocaleString()
|
|
1044
|
+
}
|
|
1045
|
+
]
|
|
1046
|
+
}) : /* @__PURE__ */ G(r, {
|
|
1047
|
+
icon: /* @__PURE__ */ G(j, { size: 32 }),
|
|
1048
|
+
title: n("devportal.noAnalyticsData", "No analytics data"),
|
|
1049
|
+
description: n("devportal.noAnalyticsDataDescription", "Analytics data will appear here once the application starts receiving traffic.")
|
|
1050
|
+
})
|
|
1051
|
+
})]
|
|
1052
|
+
});
|
|
1053
|
+
}, ge = "# Sample query - modify as needed\nquery IntrospectSchema {\n __schema {\n queryType { name }\n mutationType { name }\n types {\n name\n kind\n }\n }\n}", _e = ({ app: t }) => {
|
|
1054
|
+
let { apiGatewayUrl: n, authToken: r } = e(), { t: i } = O(), a = (e, t) => {
|
|
1055
|
+
let n = i(e);
|
|
1056
|
+
return n === e ? t : n;
|
|
1057
|
+
}, [o, s] = D(ge), [c, l] = D("{}"), [u, d] = D(""), [f, p] = D(!1), [m, h] = D(`${n || "http://localhost:4000"}/global/graphql`), [g, _] = D(r || ""), [v, y] = D(!1), b = T(async () => {
|
|
1058
|
+
p(!0), d("");
|
|
1059
|
+
try {
|
|
1060
|
+
let e = {};
|
|
1061
|
+
try {
|
|
1062
|
+
e = JSON.parse(c);
|
|
1063
|
+
} catch {
|
|
1064
|
+
d(JSON.stringify({ error: "Invalid JSON in variables" }, null, 2)), p(!1);
|
|
1065
|
+
return;
|
|
1066
|
+
}
|
|
1067
|
+
let t = { "Content-Type": "application/json" };
|
|
1068
|
+
g && (t.Authorization = `Bearer ${g}`);
|
|
1069
|
+
let n = await (await fetch(m, {
|
|
1070
|
+
method: "POST",
|
|
1071
|
+
headers: t,
|
|
1072
|
+
body: JSON.stringify({
|
|
1073
|
+
query: o,
|
|
1074
|
+
variables: e
|
|
1075
|
+
})
|
|
1076
|
+
})).json();
|
|
1077
|
+
d(JSON.stringify(n, null, 2));
|
|
1078
|
+
} catch (e) {
|
|
1079
|
+
d(JSON.stringify({ error: e instanceof Error ? e.message : "Request failed" }, null, 2));
|
|
1080
|
+
} finally {
|
|
1081
|
+
p(!1);
|
|
1082
|
+
}
|
|
1083
|
+
}, [
|
|
1084
|
+
o,
|
|
1085
|
+
c,
|
|
1086
|
+
m,
|
|
1087
|
+
g
|
|
1088
|
+
]), x = T(() => {
|
|
1089
|
+
r && _(r), y(!0);
|
|
1090
|
+
}, [r]);
|
|
1091
|
+
return /* @__PURE__ */ K("div", {
|
|
1092
|
+
className: "space-y-4",
|
|
1093
|
+
children: [
|
|
1094
|
+
/* @__PURE__ */ K("div", {
|
|
1095
|
+
className: "flex items-center justify-between",
|
|
1096
|
+
children: [/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("h3", {
|
|
1097
|
+
className: "text-lg font-semibold",
|
|
1098
|
+
children: a("devportal.apiPlayground", "API Playground")
|
|
1099
|
+
}), /* @__PURE__ */ K("p", {
|
|
1100
|
+
className: "text-sm text-muted-foreground",
|
|
1101
|
+
children: [
|
|
1102
|
+
a("devportal.apiPlaygroundDescription", "Test GraphQL APIs in the context of"),
|
|
1103
|
+
" ",
|
|
1104
|
+
/* @__PURE__ */ G("strong", { children: t.name }),
|
|
1105
|
+
t.appId && /* @__PURE__ */ K("span", {
|
|
1106
|
+
className: "ml-1 text-xs text-muted-foreground",
|
|
1107
|
+
children: [
|
|
1108
|
+
"(OAuth App: ",
|
|
1109
|
+
t.appId.slice(0, 8),
|
|
1110
|
+
"...)"
|
|
1111
|
+
]
|
|
1112
|
+
})
|
|
1113
|
+
]
|
|
1114
|
+
})] }), /* @__PURE__ */ K("button", {
|
|
1115
|
+
onClick: x,
|
|
1116
|
+
className: "flex items-center gap-2 rounded-md border px-3 py-1.5 text-sm font-medium hover:bg-accent transition-colors",
|
|
1117
|
+
children: [/* @__PURE__ */ G(I, { size: 14 }), a("devportal.autoFillCredentials", "Auto-fill Credentials")]
|
|
1118
|
+
})]
|
|
1119
|
+
}),
|
|
1120
|
+
v && /* @__PURE__ */ K("div", {
|
|
1121
|
+
className: "rounded-lg border bg-status-info-bg-subtle p-4 text-sm space-y-2",
|
|
1122
|
+
children: [
|
|
1123
|
+
/* @__PURE__ */ G("p", {
|
|
1124
|
+
className: "font-medium text-status-info-text",
|
|
1125
|
+
children: a("devportal.authenticationGuide", "Authentication Guide")
|
|
1126
|
+
}),
|
|
1127
|
+
/* @__PURE__ */ K("p", {
|
|
1128
|
+
className: "text-status-info-text",
|
|
1129
|
+
children: [
|
|
1130
|
+
a("devportal.authenticationGuideText", "Your current session token has been filled in. For app-level authentication (Client Credentials flow), use the"),
|
|
1131
|
+
" ",
|
|
1132
|
+
/* @__PURE__ */ G("strong", { children: a("devportal.oauthClientsTab", "OAuth Clients") }),
|
|
1133
|
+
" ",
|
|
1134
|
+
a("devportal.authenticationGuideText2", "tab to get the app's clientId and clientSecret, then call:")
|
|
1135
|
+
]
|
|
1136
|
+
}),
|
|
1137
|
+
/* @__PURE__ */ G("pre", {
|
|
1138
|
+
className: "rounded bg-status-info-bg-subtle p-2 text-xs overflow-x-auto text-status-info-text",
|
|
1139
|
+
children: "mutation {\n authenticateApp(input: {\n clientId: \"<your-client-id>\"\n clientSecret: \"<your-client-secret>\"\n scopes: []\n }) {\n accessToken\n tokenType\n expiresIn\n }\n}"
|
|
1140
|
+
}),
|
|
1141
|
+
/* @__PURE__ */ K("p", {
|
|
1142
|
+
className: "text-status-info-text",
|
|
1143
|
+
children: [
|
|
1144
|
+
a("devportal.useReturnedAccessToken", "Use the returned"),
|
|
1145
|
+
" ",
|
|
1146
|
+
/* @__PURE__ */ G("code", {
|
|
1147
|
+
className: "bg-status-info-bg-subtle px-1 rounded",
|
|
1148
|
+
children: "accessToken"
|
|
1149
|
+
}),
|
|
1150
|
+
" ",
|
|
1151
|
+
a("devportal.asBearerToken", "as the Bearer token below.")
|
|
1152
|
+
]
|
|
1153
|
+
}),
|
|
1154
|
+
/* @__PURE__ */ G("button", {
|
|
1155
|
+
onClick: () => y(!1),
|
|
1156
|
+
className: "text-xs text-accent-blue hover:underline",
|
|
1157
|
+
children: a("devportal.dismiss", "Dismiss")
|
|
1158
|
+
})
|
|
1159
|
+
]
|
|
1160
|
+
}),
|
|
1161
|
+
/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("label", {
|
|
1162
|
+
className: "block text-sm font-medium mb-1",
|
|
1163
|
+
children: a("devportal.gatewayEndpoint", "Gateway Endpoint")
|
|
1164
|
+
}), /* @__PURE__ */ K("div", {
|
|
1165
|
+
className: "flex gap-2",
|
|
1166
|
+
children: [/* @__PURE__ */ G("input", {
|
|
1167
|
+
type: "text",
|
|
1168
|
+
value: m,
|
|
1169
|
+
onChange: (e) => h(e.target.value),
|
|
1170
|
+
className: "flex-1 rounded-md border px-3 py-2 text-sm font-mono bg-background"
|
|
1171
|
+
}), /* @__PURE__ */ K("select", {
|
|
1172
|
+
onChange: (e) => h(e.target.value),
|
|
1173
|
+
className: "rounded-md border px-3 py-2 text-sm bg-background",
|
|
1174
|
+
value: m,
|
|
1175
|
+
children: [/* @__PURE__ */ G("option", {
|
|
1176
|
+
value: `${n || "http://localhost:4000"}/global/graphql`,
|
|
1177
|
+
children: a("devportal.globalGateway", "Global Gateway")
|
|
1178
|
+
}), /* @__PURE__ */ G("option", {
|
|
1179
|
+
value: `${n || "http://localhost:4000"}/workspaces/graphql`,
|
|
1180
|
+
children: a("devportal.workspaceGateway", "Workspace Gateway")
|
|
1181
|
+
})]
|
|
1182
|
+
})]
|
|
1183
|
+
})] }),
|
|
1184
|
+
/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("label", {
|
|
1185
|
+
className: "block text-sm font-medium mb-1",
|
|
1186
|
+
children: a("devportal.bearerToken", "Bearer Token")
|
|
1187
|
+
}), /* @__PURE__ */ G("input", {
|
|
1188
|
+
type: "password",
|
|
1189
|
+
value: g,
|
|
1190
|
+
onChange: (e) => _(e.target.value),
|
|
1191
|
+
placeholder: a("devportal.pasteAccessToken", "Paste access token here..."),
|
|
1192
|
+
className: "w-full rounded-md border px-3 py-2 text-sm font-mono bg-background"
|
|
1193
|
+
})] }),
|
|
1194
|
+
/* @__PURE__ */ K("div", {
|
|
1195
|
+
className: "grid grid-cols-1 lg:grid-cols-2 gap-4",
|
|
1196
|
+
children: [/* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("label", {
|
|
1197
|
+
className: "block text-sm font-medium mb-1",
|
|
1198
|
+
children: a("devportal.query", "Query")
|
|
1199
|
+
}), /* @__PURE__ */ G("textarea", {
|
|
1200
|
+
value: o,
|
|
1201
|
+
onChange: (e) => s(e.target.value),
|
|
1202
|
+
className: "w-full h-64 rounded-md border px-3 py-2 text-sm font-mono bg-background resize-y",
|
|
1203
|
+
spellCheck: !1
|
|
1204
|
+
})] }), /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("label", {
|
|
1205
|
+
className: "block text-sm font-medium mb-1",
|
|
1206
|
+
children: a("devportal.variablesJson", "Variables (JSON)")
|
|
1207
|
+
}), /* @__PURE__ */ G("textarea", {
|
|
1208
|
+
value: c,
|
|
1209
|
+
onChange: (e) => l(e.target.value),
|
|
1210
|
+
className: "w-full h-64 rounded-md border px-3 py-2 text-sm font-mono bg-background resize-y",
|
|
1211
|
+
spellCheck: !1
|
|
1212
|
+
})] })]
|
|
1213
|
+
}),
|
|
1214
|
+
/* @__PURE__ */ K("button", {
|
|
1215
|
+
onClick: b,
|
|
1216
|
+
disabled: f,
|
|
1217
|
+
className: "flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors disabled:opacity-50",
|
|
1218
|
+
children: [f ? /* @__PURE__ */ G(L, {
|
|
1219
|
+
size: 16,
|
|
1220
|
+
className: "animate-spin"
|
|
1221
|
+
}) : /* @__PURE__ */ G(F, { size: 16 }), f ? a("devportal.executing", "Executing...") : a("devportal.executeQuery", "Execute Query")]
|
|
1222
|
+
}),
|
|
1223
|
+
u && /* @__PURE__ */ K("div", { children: [/* @__PURE__ */ G("label", {
|
|
1224
|
+
className: "block text-sm font-medium mb-1",
|
|
1225
|
+
children: a("devportal.response", "Response")
|
|
1226
|
+
}), /* @__PURE__ */ G("pre", {
|
|
1227
|
+
className: "w-full max-h-96 overflow-auto rounded-md border bg-muted p-4 text-xs font-mono",
|
|
1228
|
+
children: u
|
|
1229
|
+
})] })
|
|
1230
|
+
]
|
|
1231
|
+
});
|
|
1232
|
+
}, Q = ({ label: e, value: n, trend: r }) => {
|
|
1233
|
+
let { t: i } = O();
|
|
1234
|
+
return /* @__PURE__ */ K("div", {
|
|
1235
|
+
className: "rounded-lg border bg-card p-4",
|
|
1236
|
+
children: [
|
|
1237
|
+
/* @__PURE__ */ G("p", {
|
|
1238
|
+
className: "text-sm text-muted-foreground",
|
|
1239
|
+
children: e
|
|
1240
|
+
}),
|
|
1241
|
+
/* @__PURE__ */ G("p", {
|
|
1242
|
+
className: "text-2xl font-bold",
|
|
1243
|
+
children: n
|
|
1244
|
+
}),
|
|
1245
|
+
r !== void 0 && /* @__PURE__ */ K("p", {
|
|
1246
|
+
className: t("text-xs mt-1", r > 0 ? "text-status-success-text" : r < 0 ? "text-status-error-text" : "text-muted-foreground"),
|
|
1247
|
+
children: [
|
|
1248
|
+
r > 0 ? "+" : "",
|
|
1249
|
+
r.toFixed(1),
|
|
1250
|
+
"% ",
|
|
1251
|
+
((e, t) => {
|
|
1252
|
+
let n = i(e);
|
|
1253
|
+
return n === e ? t : n;
|
|
1254
|
+
})("devportal.vsYesterday", "vs yesterday")
|
|
1255
|
+
]
|
|
1256
|
+
})
|
|
1257
|
+
]
|
|
1258
|
+
});
|
|
1259
|
+
}, $ = ({ label: e, url: t }) => /* @__PURE__ */ K("a", {
|
|
1260
|
+
href: t,
|
|
1261
|
+
target: "_blank",
|
|
1262
|
+
rel: "noopener noreferrer",
|
|
1263
|
+
className: "flex items-center gap-2 text-sm text-primary hover:underline",
|
|
1264
|
+
children: [/* @__PURE__ */ G(F, { size: 14 }), e]
|
|
1265
|
+
});
|
|
1266
|
+
//#endregion
|
|
1267
|
+
export { Z as ApplicationDetailPage };
|
|
1268
|
+
|
|
1269
|
+
//# sourceMappingURL=ApplicationDetailPage.js.map
|