@burdenoff/microfe-devportal 2026.714.9 → 2026.715.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/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/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/AdminDevportalRoutes.d.ts +2 -0
- package/dist/devportal/AdminDevportalRoutes.d.ts.map +1 -0
- package/dist/devportal/DevportalRoot.d.ts +30 -0
- package/dist/devportal/DevportalRoot.d.ts.map +1 -0
- package/dist/devportal/DevportalRoutes.d.ts +2 -0
- package/dist/devportal/DevportalRoutes.d.ts.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/ConfirmDialog.d.ts +29 -0
- package/dist/devportal/components/ConfirmDialog.d.ts.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/EmptyState.d.ts +32 -0
- package/dist/devportal/components/EmptyState.d.ts.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/FormField.d.ts +70 -0
- package/dist/devportal/components/FormField.d.ts.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/LoadingState.d.ts +31 -0
- package/dist/devportal/components/LoadingState.d.ts.map +1 -0
- package/dist/devportal/components/PageLayout.d.ts +43 -0
- package/dist/devportal/components/PageLayout.d.ts.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/SecretDisplay.d.ts +32 -0
- package/dist/devportal/components/SecretDisplay.d.ts.map +1 -0
- package/dist/devportal/components/SectionNav.d.ts +26 -0
- package/dist/devportal/components/SectionNav.d.ts.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/StatCard.d.ts +32 -0
- package/dist/devportal/components/StatCard.d.ts.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/TelemetryErrorBoundary.d.ts +11 -0
- package/dist/devportal/components/TelemetryErrorBoundary.d.ts.map +1 -0
- package/dist/devportal/components/index.d.ts +21 -0
- package/dist/devportal/components/index.d.ts.map +1 -0
- package/dist/devportal/constants/permissions.d.ts +90 -0
- package/dist/devportal/constants/permissions.d.ts.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/hooks/DevPortalProvider.d.ts +18 -0
- package/dist/devportal/hooks/DevPortalProvider.d.ts.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/useGraphQL.d.ts +56 -0
- package/dist/devportal/hooks/useGraphQL.d.ts.map +1 -0
- package/dist/devportal/hooks/usePackageUpload.d.ts +16 -0
- package/dist/devportal/hooks/usePackageUpload.d.ts.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/index.d.ts +36 -0
- package/dist/devportal/index.d.ts.map +1 -0
- package/dist/devportal/pages/AdminOrganizationVerificationPage.d.ts +4 -0
- package/dist/devportal/pages/AdminOrganizationVerificationPage.d.ts.map +1 -0
- package/dist/devportal/pages/AdminReviewPage.d.ts +4 -0
- package/dist/devportal/pages/AdminReviewPage.d.ts.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/ApiKeysPage.d.ts +12 -0
- package/dist/devportal/pages/ApiKeysPage.d.ts.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/ApplicationDetailPage.d.ts +7 -0
- package/dist/devportal/pages/ApplicationDetailPage.d.ts.map +1 -0
- package/dist/devportal/pages/ApplicationDetailPage.js +847 -793
- package/dist/devportal/pages/ApplicationDetailPage.js.map +1 -1
- package/dist/devportal/pages/ApplicationVersionsPage.d.ts +4 -0
- package/dist/devportal/pages/ApplicationVersionsPage.d.ts.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/CreateApiKeyPage.d.ts +11 -0
- package/dist/devportal/pages/CreateApiKeyPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreateApplicationPage.d.ts +4 -0
- package/dist/devportal/pages/CreateApplicationPage.d.ts.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/CreateOrganizationPage.d.ts +9 -0
- package/dist/devportal/pages/CreateOrganizationPage.d.ts.map +1 -0
- package/dist/devportal/pages/CreatePhysicalItemPage.d.ts +4 -0
- package/dist/devportal/pages/CreatePhysicalItemPage.d.ts.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.map +1 -1
- package/dist/devportal/pages/DashboardPage.d.ts +4 -0
- package/dist/devportal/pages/DashboardPage.d.ts.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/DocumentationPage.d.ts +4 -0
- package/dist/devportal/pages/DocumentationPage.d.ts.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/EditPhysicalItemPage.d.ts +4 -0
- package/dist/devportal/pages/EditPhysicalItemPage.d.ts.map +1 -0
- package/dist/devportal/pages/InvitationDecisionPage.d.ts +4 -0
- package/dist/devportal/pages/InvitationDecisionPage.d.ts.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/OAuthCallbackPage.d.ts +4 -0
- package/dist/devportal/pages/OAuthCallbackPage.d.ts.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/OAuthClientsPage.d.ts +11 -0
- package/dist/devportal/pages/OAuthClientsPage.d.ts.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/OrganizationMembersPage.d.ts +4 -0
- package/dist/devportal/pages/OrganizationMembersPage.d.ts.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/PublishPage.d.ts +4 -0
- package/dist/devportal/pages/PublishPage.d.ts.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/ResourcesPage.d.ts +4 -0
- package/dist/devportal/pages/ResourcesPage.d.ts.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/SellerDashboardPage.d.ts +4 -0
- package/dist/devportal/pages/SellerDashboardPage.d.ts.map +1 -0
- package/dist/devportal/pages/SellerItemsPage.d.ts +4 -0
- package/dist/devportal/pages/SellerItemsPage.d.ts.map +1 -0
- package/dist/devportal/pages/SellerOrdersPage.d.ts +4 -0
- package/dist/devportal/pages/SellerOrdersPage.d.ts.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/SetupPage.d.ts +4 -0
- package/dist/devportal/pages/SetupPage.d.ts.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/WebhookDetailPage.d.ts +4 -0
- package/dist/devportal/pages/WebhookDetailPage.d.ts.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/providers/DevportalProvider.d.ts +22 -0
- package/dist/devportal/providers/DevportalProvider.d.ts.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/types/index.d.ts +710 -0
- package/dist/devportal/types/index.d.ts.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/constants.d.ts +107 -0
- package/dist/devportal/utils/constants.d.ts.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/recaptcha.d.ts +2 -0
- package/dist/devportal/utils/recaptcha.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +7863 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +77 -27
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +23236 -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-types.d.ts +57851 -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/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/__tests__/setup.ts"],"names":[],"mappings":"AAGA,OAAO,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { MemoryRouterProps } from 'react-router-dom';
|
|
3
|
+
import { RenderOptions, RenderResult } from '@testing-library/react';
|
|
4
|
+
|
|
5
|
+
type LooseMockedResponse = {
|
|
6
|
+
request: {
|
|
7
|
+
query: unknown;
|
|
8
|
+
variables?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
result?: unknown;
|
|
11
|
+
error?: Error;
|
|
12
|
+
};
|
|
13
|
+
interface ProvidersOptions {
|
|
14
|
+
mocks?: ReadonlyArray<LooseMockedResponse>;
|
|
15
|
+
initialEntries?: MemoryRouterProps["initialEntries"];
|
|
16
|
+
routeWrapper?: (children: ReactNode) => ReactElement;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Render a devportal page/component under the provider stack the test
|
|
20
|
+
* environment requires:
|
|
21
|
+
* - Apollo `MockedProvider` (per-test mocks)
|
|
22
|
+
* - `MemoryRouter` for `useParams` / `useNavigate`
|
|
23
|
+
*
|
|
24
|
+
* Note: `I18nProvider` and `usePermissions` are intentionally NOT mounted
|
|
25
|
+
* here. The MFE's `useTr` and `useDevportalPermission` hooks gracefully
|
|
26
|
+
* fall back when those providers aren't present (returning the inline
|
|
27
|
+
* fallback string and `allowed: true` respectively), so unit tests
|
|
28
|
+
* exercise the same path as standalone dev mode.
|
|
29
|
+
*/
|
|
30
|
+
export declare const renderWithProviders: (ui: ReactElement, { mocks, initialEntries, routeWrapper, ...renderOptions }?: ProvidersOptions & Omit<RenderOptions, "wrapper">) => RenderResult;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=renderWithProviders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderWithProviders.d.ts","sourceRoot":"","sources":["../../../src/__tests__/utils/renderWithProviders.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,YAAY,EAClB,MAAM,wBAAwB,CAAC;AAOhC,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC;IACjE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACrD,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,YAAY,CAAC;CACtD;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,GAC9B,IAAI,YAAY,EAChB,4DAKG,gBAAgB,GAAG,IAAI,CAAC,aAAa,EAAE,SAAS,CAAM,KACxD,YAYF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/dev/main.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DevportalRootProps } from './types';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* AdminDevportalRoot
|
|
6
|
+
*
|
|
7
|
+
* Admin-only root for the Developer Portal microfrontend, intended to be
|
|
8
|
+
* mounted exclusively in `admin-app`. Exposes the platform-admin review
|
|
9
|
+
* queue (and any future super-admin-only devportal surfaces).
|
|
10
|
+
*
|
|
11
|
+
* Mirrors the AdminOrganizationRoot pattern: same `DevportalRootProps` shape
|
|
12
|
+
* so hosts can swap between user and admin roots without adapter code; nav
|
|
13
|
+
* items registered with `admin-devportal-*` IDs and grouped under
|
|
14
|
+
* `globalconsole`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const AdminDevportalRoot: FC<DevportalRootProps>;
|
|
17
|
+
//# sourceMappingURL=AdminDevportalRoot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminDevportalRoot.d.ts","sourceRoot":"","sources":["../../src/devportal/AdminDevportalRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOhC,OAAO,KAAK,EAAW,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAG3D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,kBAAkB,CA8FrD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminDevportalRoutes.d.ts","sourceRoot":"","sources":["../../src/devportal/AdminDevportalRoutes.tsx"],"names":[],"mappings":"AAmCA,wBAAgB,oBAAoB,gCAQnC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DevportalRootProps } from './types';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Root component for the Developer Portal microfrontend.
|
|
6
|
+
*
|
|
7
|
+
* This is the main entry point that host applications import and render.
|
|
8
|
+
* It sets up the necessary providers and renders the internal routing.
|
|
9
|
+
* Automatically registers navigation items with the shell if registration functions are provided.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* import { DevportalRoot, type DevportalRootProps } from '@burdenoff/microfe-devportal';
|
|
14
|
+
*
|
|
15
|
+
* function App() {
|
|
16
|
+
* const props: DevportalRootProps = {
|
|
17
|
+
* basePath: '/devportal',
|
|
18
|
+
* navigate: (path) => router.push(path),
|
|
19
|
+
* currentUser: { id: '1', email: 'user@example.com' },
|
|
20
|
+
* tenantId: 'tenant-123',
|
|
21
|
+
* apiGatewayUrl: 'https://api.example.com',
|
|
22
|
+
* authToken: 'token',
|
|
23
|
+
* };
|
|
24
|
+
*
|
|
25
|
+
* return <DevportalRoot {...props} />;
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare const DevportalRoot: FC<DevportalRootProps>;
|
|
30
|
+
//# sourceMappingURL=DevportalRoot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DevportalRoot.d.ts","sourceRoot":"","sources":["../../src/devportal/DevportalRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAqBhC,OAAO,KAAK,EAAW,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAI3D;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA6LhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DevportalRoutes.d.ts","sourceRoot":"","sources":["../../src/devportal/DevportalRoutes.tsx"],"names":[],"mappings":"AA0PA,wBAAgB,eAAe,gCAuM9B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { Application } from '../types';
|
|
3
|
+
|
|
4
|
+
interface AppCardProps {
|
|
5
|
+
app: Application;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
showActions?: boolean;
|
|
9
|
+
selected?: boolean;
|
|
10
|
+
onToggleSelect?: (checked: boolean) => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Application card for displaying app information
|
|
14
|
+
*/
|
|
15
|
+
export declare const AppCard: FC<AppCardProps>;
|
|
16
|
+
/**
|
|
17
|
+
* Grid of app cards
|
|
18
|
+
*/
|
|
19
|
+
export declare const AppCardGrid: FC<{
|
|
20
|
+
apps: Application[];
|
|
21
|
+
onAppClick?: (app: Application) => void;
|
|
22
|
+
className?: string;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Compact app list item
|
|
26
|
+
*/
|
|
27
|
+
export declare const AppListItem: FC<{
|
|
28
|
+
app: Application;
|
|
29
|
+
onClick?: () => void;
|
|
30
|
+
className?: string;
|
|
31
|
+
selected?: boolean;
|
|
32
|
+
onToggleSelect?: (checked: boolean) => void;
|
|
33
|
+
}>;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=AppCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCard.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/AppCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAK5C,UAAU,YAAY;IACpB,GAAG,EAAE,WAAW,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA2HpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC;IAC3B,IAAI,EAAE,WAAW,EAAE,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAeA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC;IAC3B,GAAG,EAAE,WAAW,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAyDA,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ConfirmDialogProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
onConfirm: () => void | Promise<void>;
|
|
7
|
+
title: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
confirmLabel?: string;
|
|
10
|
+
cancelLabel?: string;
|
|
11
|
+
variant?: "default" | "danger" | "warning" | "success" | "destructive";
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Confirmation dialog component
|
|
17
|
+
*/
|
|
18
|
+
export declare const ConfirmDialog: FC<ConfirmDialogProps>;
|
|
19
|
+
/**
|
|
20
|
+
* Alert banner component
|
|
21
|
+
*/
|
|
22
|
+
export declare const Alert: FC<{
|
|
23
|
+
variant?: "info" | "warning" | "error" | "success";
|
|
24
|
+
title?: string;
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
onDismiss?: () => void;
|
|
27
|
+
className?: string;
|
|
28
|
+
}>;
|
|
29
|
+
//# sourceMappingURL=ConfirmDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK1E,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,SAAS,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;IACvE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAqKhD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAwCA,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface Column<T> {
|
|
4
|
+
key: string;
|
|
5
|
+
header: ReactNode;
|
|
6
|
+
render?: (item: T) => ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
sortable?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface DataTableProps<T> {
|
|
11
|
+
data: T[];
|
|
12
|
+
columns: Column<T>[];
|
|
13
|
+
keyField: keyof T;
|
|
14
|
+
onRowClick?: (item: T) => void;
|
|
15
|
+
className?: string;
|
|
16
|
+
emptyMessage?: string;
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
pagination?: {
|
|
19
|
+
page: number;
|
|
20
|
+
pageSize: number;
|
|
21
|
+
totalCount: number;
|
|
22
|
+
onPageChange: (page: number) => void;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Reusable data table component with pagination
|
|
27
|
+
*/
|
|
28
|
+
export declare function DataTable<T extends {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
}>({ data, columns, keyField, onRowClick, className, emptyMessage, loading, pagination, }: DataTableProps<T>): import("react").JSX.Element;
|
|
31
|
+
/**
|
|
32
|
+
* Simple key-value detail list
|
|
33
|
+
*/
|
|
34
|
+
export declare const DetailList: FC<{
|
|
35
|
+
items: Array<{
|
|
36
|
+
label: string;
|
|
37
|
+
value: ReactNode;
|
|
38
|
+
}>;
|
|
39
|
+
className?: string;
|
|
40
|
+
}>;
|
|
41
|
+
//# sourceMappingURL=DataTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAU3C,MAAM,WAAW,MAAM,CAAC,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;KACtC,CAAC;CACH;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,EAAE,EAC5D,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,UAAU,EACV,SAAS,EACT,YAAY,EACZ,OAAO,EACP,UAAU,GACX,EAAE,cAAc,CAAC,CAAC,CAAC,+BAwJnB;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,SAAS,CAAA;KAAE,CAAC,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAmBA,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Standard illustration names served by the host shell at
|
|
5
|
+
* `/illustrations/<name>.webp`.
|
|
6
|
+
*/
|
|
7
|
+
type IllustrationName = "empty-agents" | "empty-vibes" | "empty-sessions" | "empty-files" | "empty-people" | "empty-notifications" | "empty-search" | "empty-data" | "onboarding" | "empty-generic";
|
|
8
|
+
interface EmptyStateProps {
|
|
9
|
+
icon?: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* On-brand illustration rendered instead of an icon glyph. When provided the
|
|
12
|
+
* empty state renders via `IllustratedEmptyState` for a richer, more
|
|
13
|
+
* welcoming zero-state. Falls back to the icon-based `EmptyState` otherwise.
|
|
14
|
+
*/
|
|
15
|
+
illustration?: IllustrationName;
|
|
16
|
+
title: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
action?: ReactNode;
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Local wrapper around the canonical empty-state primitives from
|
|
23
|
+
* `@burdenoff/fe-libs/ui`.
|
|
24
|
+
*
|
|
25
|
+
* Keeps existing devportal call sites stable while routing all empty-state
|
|
26
|
+
* rendering through the canonical primitive. When an `illustration` is
|
|
27
|
+
* supplied the richer `IllustratedEmptyState` is used; otherwise the
|
|
28
|
+
* icon-based `EmptyState` is rendered.
|
|
29
|
+
*/
|
|
30
|
+
export declare const EmptyState: FC<EmptyStateProps>;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=EmptyState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM3C;;;GAGG;AACH,KAAK,gBAAgB,GACjB,cAAc,GACd,aAAa,GACb,gBAAgB,GAChB,aAAa,GACb,cAAc,GACd,qBAAqB,GACrB,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,eAAe,CAAC;AAEpB,UAAU,eAAe;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA6B1C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface FeatureFlaggedRouteProps {
|
|
4
|
+
flag: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Optional override message; defaults to translated "coming soon" copy. */
|
|
7
|
+
fallback?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const FeatureFlaggedRoute: FC<FeatureFlaggedRouteProps>;
|
|
10
|
+
//# sourceMappingURL=FeatureFlaggedRoute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeatureFlaggedRoute.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/FeatureFlaggedRoute.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3C,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA2BD,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAuB5D,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { FC, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
interface BaseFieldProps {
|
|
4
|
+
label: string;
|
|
5
|
+
error?: string;
|
|
6
|
+
hint?: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
interface InputFieldProps extends BaseFieldProps, Omit<InputHTMLAttributes<HTMLInputElement>, "className"> {
|
|
11
|
+
type?: "text" | "email" | "password" | "number" | "url" | "tel";
|
|
12
|
+
}
|
|
13
|
+
interface TextareaFieldProps extends BaseFieldProps, Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "className"> {
|
|
14
|
+
}
|
|
15
|
+
interface SelectFieldProps extends BaseFieldProps, Omit<SelectHTMLAttributes<HTMLSelectElement>, "className"> {
|
|
16
|
+
options: Array<{
|
|
17
|
+
value: string;
|
|
18
|
+
label: string;
|
|
19
|
+
}>;
|
|
20
|
+
placeholder?: string;
|
|
21
|
+
}
|
|
22
|
+
interface CheckboxFieldProps extends BaseFieldProps, Omit<InputHTMLAttributes<HTMLInputElement>, "className" | "type"> {
|
|
23
|
+
description?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Text input field with label and error handling
|
|
27
|
+
*/
|
|
28
|
+
export declare const InputField: FC<InputFieldProps>;
|
|
29
|
+
/**
|
|
30
|
+
* Textarea field with label and error handling
|
|
31
|
+
*/
|
|
32
|
+
export declare const TextareaField: FC<TextareaFieldProps>;
|
|
33
|
+
/**
|
|
34
|
+
* Select field with label and error handling
|
|
35
|
+
*/
|
|
36
|
+
export declare const SelectField: FC<SelectFieldProps>;
|
|
37
|
+
/**
|
|
38
|
+
* Checkbox field with label and description
|
|
39
|
+
*/
|
|
40
|
+
export declare const CheckboxField: FC<CheckboxFieldProps>;
|
|
41
|
+
/**
|
|
42
|
+
* Multi-select checkbox group
|
|
43
|
+
*/
|
|
44
|
+
export declare const CheckboxGroup: FC<{
|
|
45
|
+
label: string;
|
|
46
|
+
options: Array<{
|
|
47
|
+
value: string;
|
|
48
|
+
label: string;
|
|
49
|
+
description?: string;
|
|
50
|
+
}>;
|
|
51
|
+
value: string[];
|
|
52
|
+
onChange: (values: string[]) => void;
|
|
53
|
+
error?: string;
|
|
54
|
+
hint?: string;
|
|
55
|
+
className?: string;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Tag input for multiple values
|
|
59
|
+
*/
|
|
60
|
+
export declare const TagInput: FC<{
|
|
61
|
+
label: string;
|
|
62
|
+
value: string[];
|
|
63
|
+
onChange: (values: string[]) => void;
|
|
64
|
+
placeholder?: string;
|
|
65
|
+
error?: string;
|
|
66
|
+
hint?: string;
|
|
67
|
+
className?: string;
|
|
68
|
+
}>;
|
|
69
|
+
export {};
|
|
70
|
+
//# sourceMappingURL=FormField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/FormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,EAAE,EACF,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EAErB,MAAM,OAAO,CAAC;AAIf,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,eACR,SACE,cAAc,EACd,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;CACjE;AAED,UAAU,kBACR,SACE,cAAc,EACd,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,WAAW,CAAC;CAAG;AAErE,UAAU,gBACR,SACE,cAAc,EACd,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC;IAC5D,OAAO,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,kBACR,SACE,cAAc,EACd,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IACnE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAiC1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAiChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA8C5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvE,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CA2BA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAwDA,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface GrantDelegationModalProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
appId: string;
|
|
7
|
+
appName: string;
|
|
8
|
+
appScopes: string[];
|
|
9
|
+
/** Pre-selected workspace IDs (e.g., from installation flow) */
|
|
10
|
+
preSelectedWorkspaceIds?: string[];
|
|
11
|
+
/** Pre-selected scopes (e.g., required scopes from app) */
|
|
12
|
+
preSelectedScopes?: string[];
|
|
13
|
+
onSuccess?: (delegation: unknown) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Reusable modal for granting delegation access to an app.
|
|
17
|
+
*
|
|
18
|
+
* Allows users to select scopes, specify workspace IDs,
|
|
19
|
+
* and optionally set an expiration date before granting
|
|
20
|
+
* an app permission to act on their behalf.
|
|
21
|
+
*/
|
|
22
|
+
export declare const GrantDelegationModal: FC<GrantDelegationModalProps>;
|
|
23
|
+
//# sourceMappingURL=GrantDelegationModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GrantDelegationModal.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/GrantDelegationModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAwCf,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,gEAAgE;IAChE,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,2DAA2D;IAC3D,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAilB9D,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
interface LoadingStateProps {
|
|
4
|
+
message?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Loading state component with spinner and optional message
|
|
10
|
+
*/
|
|
11
|
+
export declare const LoadingState: FC<LoadingStateProps>;
|
|
12
|
+
/**
|
|
13
|
+
* Full page loading state
|
|
14
|
+
*/
|
|
15
|
+
export declare const PageLoadingState: FC<{
|
|
16
|
+
message?: string;
|
|
17
|
+
}>;
|
|
18
|
+
/**
|
|
19
|
+
* Card loading skeleton
|
|
20
|
+
*/
|
|
21
|
+
export declare const CardSkeleton: FC<{
|
|
22
|
+
className?: string;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Table row skeleton
|
|
26
|
+
*/
|
|
27
|
+
export declare const TableRowSkeleton: FC<{
|
|
28
|
+
columns?: number;
|
|
29
|
+
}>;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=LoadingState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingState.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/LoadingState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8B9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAIrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAWnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAQrD,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FC, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface PageLayoutProps {
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
description?: string;
|
|
6
|
+
backLink?: string;
|
|
7
|
+
backLabel?: string;
|
|
8
|
+
actions?: ReactNode;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
fullWidth?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Plain-language "story" for the page — WHAT it is for and the real use-case
|
|
14
|
+
* — rendered as a calm {@link PagePurpose} under the header so every page is
|
|
15
|
+
* self-explanatory for a new user. Keep it to one or two sentences.
|
|
16
|
+
*/
|
|
17
|
+
purpose?: ReactNode;
|
|
18
|
+
/** Optional "Learn more" link rendered at the end of the purpose line. */
|
|
19
|
+
purposeLearnMoreHref?: string;
|
|
20
|
+
purposeLearnMoreLabel?: string;
|
|
21
|
+
/**
|
|
22
|
+
* When true the page header sits over a subtle living-glass aurora backdrop
|
|
23
|
+
* (Boff UI 2.0). Reserve this for the MFE's primary/overview page — one
|
|
24
|
+
* aurora per MFE. The backdrop is decorative (-z-10) and never moves content.
|
|
25
|
+
*/
|
|
26
|
+
heroBackdrop?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Standard page layout with header, optional back link, and actions
|
|
30
|
+
*/
|
|
31
|
+
export declare const PageLayout: FC<PageLayoutProps>;
|
|
32
|
+
/**
|
|
33
|
+
* Section within a page
|
|
34
|
+
*/
|
|
35
|
+
export declare const PageSection: FC<{
|
|
36
|
+
title?: string;
|
|
37
|
+
description?: string;
|
|
38
|
+
actions?: ReactNode;
|
|
39
|
+
children: ReactNode;
|
|
40
|
+
className?: string;
|
|
41
|
+
} & HTMLAttributes<HTMLElement>>;
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=PageLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/PageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAO3D,UAAU,eAAe;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,0EAA0E;IAC1E,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwF1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAC1B;IACE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,cAAc,CAAC,WAAW,CAAC,CAgBhC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { DevportalPermission } from '../constants/permissions';
|
|
3
|
+
|
|
4
|
+
interface PermissionGuardProps {
|
|
5
|
+
permission: DevportalPermission;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Wraps page content with a permission check.
|
|
10
|
+
* Shows a loading state while permissions resolve, then either
|
|
11
|
+
* renders children (if permitted) or an AccessDenied screen.
|
|
12
|
+
*/
|
|
13
|
+
export declare const PermissionGuard: FC<PermissionGuardProps>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=PermissionGuard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PermissionGuard.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/PermissionGuard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,UAAU,oBAAoB;IAC5B,UAAU,EAAE,mBAAmB,CAAC;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAwEpD,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface SecretDisplayProps {
|
|
4
|
+
value: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
showCopy?: boolean;
|
|
8
|
+
defaultHidden?: boolean;
|
|
9
|
+
/** Alias for defaultHidden=false - shows the secret by default */
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Component for displaying secrets with show/hide and copy functionality
|
|
14
|
+
*/
|
|
15
|
+
export declare const SecretDisplay: FC<SecretDisplayProps>;
|
|
16
|
+
/**
|
|
17
|
+
* Compact inline secret display
|
|
18
|
+
*/
|
|
19
|
+
export declare const InlineSecret: FC<{
|
|
20
|
+
value: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* New secret alert - shown once when a new secret is generated
|
|
25
|
+
*/
|
|
26
|
+
export declare const NewSecretAlert: FC<{
|
|
27
|
+
title: string;
|
|
28
|
+
secret: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
onDismiss?: () => void;
|
|
31
|
+
}>;
|
|
32
|
+
//# sourceMappingURL=SecretDisplay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecretDisplay.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/SecretDisplay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAU1C,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kEAAkE;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyEhD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CA2CA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CA0DA,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { LayoutDashboard } from 'lucide-react';
|
|
3
|
+
|
|
4
|
+
interface SectionDef {
|
|
5
|
+
path: string;
|
|
6
|
+
i18nKey: string;
|
|
7
|
+
fallback: string;
|
|
8
|
+
icon: typeof LayoutDashboard;
|
|
9
|
+
/** Additional sub-paths that should mark this section as active. */
|
|
10
|
+
matchPrefixes?: string[];
|
|
11
|
+
}
|
|
12
|
+
/** Org context switcher — can be embedded standalone or inside SectionNav. */
|
|
13
|
+
export declare const OrgSwitcher: FC;
|
|
14
|
+
/**
|
|
15
|
+
* Horizontal section nav rendered above the page content on every devportal
|
|
16
|
+
* route. Gives developers a one-click jump between all top-level sections so
|
|
17
|
+
* routes like OAuth, Delegations, Analytics, Revenue, Docs, Resources,
|
|
18
|
+
* Publisher Profile, and Settings are reachable without typing URLs.
|
|
19
|
+
*
|
|
20
|
+
* Renders nothing when `basePath` is undefined (standalone/dev mode) so it
|
|
21
|
+
* doesn't conflict with whatever harness wraps the MFE there.
|
|
22
|
+
*/
|
|
23
|
+
export declare const SectionNav: FC;
|
|
24
|
+
export declare const __SECTION_NAV_SECTIONS: readonly SectionDef[];
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=SectionNav.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionNav.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/SectionNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EACL,eAAe,EAWhB,MAAM,cAAc,CAAC;AAWtB,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,eAAe,CAAC;IAC7B,oEAAoE;IACpE,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAoFD,8EAA8E;AAC9E,eAAO,MAAM,WAAW,EAAE,EAwFzB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,EAAE,EAkDxB,CAAC;AAGF,eAAO,MAAM,sBAAsB,uBAAW,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface SelectionCheckboxProps {
|
|
2
|
+
checked: boolean;
|
|
3
|
+
indeterminate?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onChange: (checked: boolean) => void;
|
|
6
|
+
ariaLabel: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function SelectionCheckbox({ checked, indeterminate, disabled, onChange, ariaLabel, className, }: SelectionCheckboxProps): import("react").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=SelectionCheckbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionCheckbox.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/SelectionCheckbox.tsx"],"names":[],"mappings":"AAIA,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,aAAqB,EACrB,QAAgB,EAChB,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE,sBAAsB,+BAiCxB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface StatCardProps {
|
|
4
|
+
title: string;
|
|
5
|
+
value: string | number | ReactNode;
|
|
6
|
+
description?: string;
|
|
7
|
+
icon?: ReactNode;
|
|
8
|
+
trend?: {
|
|
9
|
+
value: number;
|
|
10
|
+
label?: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Featured metric — renders on a hero glass surface with an accent glow
|
|
14
|
+
* (Boff UI 2.0). Reserve for the single most important metric on a page.
|
|
15
|
+
*/
|
|
16
|
+
featured?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Statistics card for dashboard metrics
|
|
21
|
+
*/
|
|
22
|
+
export declare const StatCard: FC<StatCardProps>;
|
|
23
|
+
/**
|
|
24
|
+
* Grid of stat cards
|
|
25
|
+
*/
|
|
26
|
+
export declare const StatCardGrid: FC<{
|
|
27
|
+
children: ReactNode;
|
|
28
|
+
columns?: 2 | 3 | 4;
|
|
29
|
+
className?: string;
|
|
30
|
+
}>;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=StatCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatCard.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/StatCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3C,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAiEtC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAYA,CAAC"}
|