@burdenoff/microfe-export 2026.713.1 → 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.
Files changed (67) hide show
  1. package/dist/dev/main.d.ts +2 -0
  2. package/dist/dev/main.d.ts.map +1 -0
  3. package/dist/export/ExportRoot.d.ts +31 -0
  4. package/dist/export/ExportRoot.d.ts.map +1 -0
  5. package/dist/export/ExportRoutes.d.ts +14 -0
  6. package/dist/export/ExportRoutes.d.ts.map +1 -0
  7. package/dist/export/components/ExportProgressBar.d.ts +12 -0
  8. package/dist/export/components/ExportProgressBar.d.ts.map +1 -0
  9. package/dist/export/components/ExportStatusBadge.d.ts +12 -0
  10. package/dist/export/components/ExportStatusBadge.d.ts.map +1 -0
  11. package/dist/export/components/PageLayout.d.ts +57 -0
  12. package/dist/export/components/PageLayout.d.ts.map +1 -0
  13. package/dist/export/components/PageLayout.js.map +1 -1
  14. package/dist/export/constants/enums.d.ts +19 -0
  15. package/dist/export/constants/enums.d.ts.map +1 -0
  16. package/dist/export/constants/index.d.ts +7 -0
  17. package/dist/export/constants/index.d.ts.map +1 -0
  18. package/dist/export/hooks/useExportQueries.d.ts +209 -0
  19. package/dist/export/hooks/useExportQueries.d.ts.map +1 -0
  20. package/dist/export/index.d.ts +29 -0
  21. package/dist/export/index.d.ts.map +1 -0
  22. package/dist/export/pages/CreateExportPage.d.ts +2 -0
  23. package/dist/export/pages/CreateExportPage.d.ts.map +1 -0
  24. package/dist/export/pages/CreateExportPage.js.map +1 -1
  25. package/dist/export/pages/ExportDashboardPage.d.ts +6 -0
  26. package/dist/export/pages/ExportDashboardPage.d.ts.map +1 -0
  27. package/dist/export/pages/ExportDashboardPage.js.map +1 -1
  28. package/dist/export/pages/ExportDetailPage.d.ts +7 -0
  29. package/dist/export/pages/ExportDetailPage.d.ts.map +1 -0
  30. package/dist/export/pages/ExportHistoryPage.d.ts +6 -0
  31. package/dist/export/pages/ExportHistoryPage.d.ts.map +1 -0
  32. package/dist/export/pages/ExportHistoryPage.js.map +1 -1
  33. package/dist/export/pages/ExportLandingPage.d.ts +9 -0
  34. package/dist/export/pages/ExportLandingPage.d.ts.map +1 -0
  35. package/dist/export/pages/ExportTemplatesPage.d.ts +6 -0
  36. package/dist/export/pages/ExportTemplatesPage.d.ts.map +1 -0
  37. package/dist/export/pages/ExportTemplatesPage.js.map +1 -1
  38. package/dist/export/pages/TemplateDetailPage.d.ts +7 -0
  39. package/dist/export/pages/TemplateDetailPage.d.ts.map +1 -0
  40. package/dist/export/pages/TemplateDetailPage.js.map +1 -1
  41. package/dist/export/providers/ExportProvider.d.ts +13 -0
  42. package/dist/export/providers/ExportProvider.d.ts.map +1 -0
  43. package/dist/export/store/exportStore.d.ts +17 -0
  44. package/dist/export/store/exportStore.d.ts.map +1 -0
  45. package/dist/export/types/index.d.ts +230 -0
  46. package/dist/export/types/index.d.ts.map +1 -0
  47. package/dist/export/utils/cn.d.ts +8 -0
  48. package/dist/export/utils/cn.d.ts.map +1 -0
  49. package/dist/export/utils/disabledModules.d.ts +28 -0
  50. package/dist/export/utils/disabledModules.d.ts.map +1 -0
  51. package/dist/export/utils/events.d.ts +7 -0
  52. package/dist/export/utils/events.d.ts.map +1 -0
  53. package/dist/export/utils/i18n.d.ts +6 -0
  54. package/dist/export/utils/i18n.d.ts.map +1 -0
  55. package/dist/generated/global-operations.d.ts +2 -0
  56. package/dist/generated/global-operations.d.ts.map +1 -0
  57. package/dist/generated/global-types.d.ts +23527 -0
  58. package/dist/generated/global-types.d.ts.map +1 -0
  59. package/dist/generated/wspace-operations.d.ts +773 -0
  60. package/dist/generated/wspace-operations.d.ts.map +1 -0
  61. package/dist/generated/wspace-types.d.ts +57851 -0
  62. package/dist/generated/wspace-types.d.ts.map +1 -0
  63. package/dist/index.d.ts +6 -0
  64. package/dist/index.d.ts.map +1 -0
  65. package/dist/utils/nativeBridge.d.ts +3 -0
  66. package/dist/utils/nativeBridge.d.ts.map +1 -0
  67. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=main.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/dev/main.tsx"],"names":[],"mappings":"AAQA,OAAO,cAAc,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { FC } from 'react';
2
+ import { ExportRootProps } from './types';
3
+
4
+ /**
5
+ * Root component for the Export 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 { ExportRoot, type ExportRootProps } from '@burdenoff/micro-fe/export';
14
+ *
15
+ * function App() {
16
+ * const props: ExportRootProps = {
17
+ * basePath: '/export',
18
+ * navigate: (path) => router.push(path),
19
+ * currentUser: { id: '1', email: 'user@example.com', firstName: 'John', lastName: 'Doe' },
20
+ * workspaceId: 'ws-123',
21
+ * apiGatewayUrl: 'https://api.example.com',
22
+ * authToken: 'token',
23
+ * registerNavItems: (items) => { return () => {}; },
24
+ * };
25
+ *
26
+ * return <ExportRoot {...props} />;
27
+ * }
28
+ * ```
29
+ */
30
+ export declare const ExportRoot: FC<ExportRootProps>;
31
+ //# sourceMappingURL=ExportRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportRoot.d.ts","sourceRoot":"","sources":["../../src/export/ExportRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAAW,eAAe,EAAE,MAAM,SAAS,CAAC;AAGxD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAiG1C,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Internal router for the Export microfrontend.
3
+ * This component handles routing within the microfrontend using React Router v7.
4
+ *
5
+ * Routes (relative to basePath, e.g., /export):
6
+ * - / → Export dashboard page
7
+ * - /new → Create new export job
8
+ * - /history → Export history list
9
+ * - /:jobId → Export job detail page
10
+ * - /templates → Export templates list
11
+ * - /templates/:templateId → Template detail page
12
+ */
13
+ export declare function ExportRoutes(): import("react").JSX.Element;
14
+ //# sourceMappingURL=ExportRoutes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportRoutes.d.ts","sourceRoot":"","sources":["../../src/export/ExportRoutes.tsx"],"names":[],"mappings":"AA+IA;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,gCAoC3B"}
@@ -0,0 +1,12 @@
1
+ interface ExportProgressBarProps {
2
+ progress: number;
3
+ className?: string;
4
+ showLabel?: boolean;
5
+ size?: "sm" | "md" | "lg";
6
+ }
7
+ /**
8
+ * ExportProgressBar - Shows export progress percentage
9
+ */
10
+ export declare function ExportProgressBar({ progress, className, showLabel, size, }: ExportProgressBarProps): import("react").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=ExportProgressBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportProgressBar.d.ts","sourceRoot":"","sources":["../../../src/export/components/ExportProgressBar.tsx"],"names":[],"mappings":"AAEA,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAQD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,SAAgB,EAChB,IAAW,GACZ,EAAE,sBAAsB,+BAiCxB"}
@@ -0,0 +1,12 @@
1
+ import { ExportJobStatus } from '../types';
2
+
3
+ interface ExportStatusBadgeProps {
4
+ status: ExportJobStatus;
5
+ className?: string;
6
+ }
7
+ /**
8
+ * ExportStatusBadge - Renders a colored badge for export job status
9
+ */
10
+ export declare function ExportStatusBadge({ status, className, }: ExportStatusBadgeProps): import("react").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=ExportStatusBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportStatusBadge.d.ts","sourceRoot":"","sources":["../../../src/export/components/ExportStatusBadge.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,UAAU,sBAAsB;IAC9B,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,GACV,EAAE,sBAAsB,+BAiCxB"}
@@ -0,0 +1,57 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface PageLayoutProps {
4
+ children: ReactNode;
5
+ /** Page title */
6
+ title?: string;
7
+ /** Page subtitle/description */
8
+ subtitle?: string;
9
+ /** Icon component to display next to title */
10
+ icon?: ReactNode;
11
+ /** Actions to display in header (buttons, etc.) */
12
+ headerActions?: ReactNode;
13
+ /** Additional header content below title */
14
+ headerContent?: ReactNode;
15
+ /** Maximum width of content: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' */
16
+ maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
17
+ /** Whether to show the header section */
18
+ showHeader?: boolean;
19
+ /** Additional CSS classes for the container */
20
+ className?: string;
21
+ /** Additional CSS classes for the content area */
22
+ contentClassName?: string;
23
+ }
24
+ /**
25
+ * PageLayout - A consistent page wrapper with responsive design
26
+ *
27
+ * Features:
28
+ * - Proper max-width constraints
29
+ * - Responsive padding
30
+ * - Animated entrance
31
+ * - Consistent header styling
32
+ */
33
+ export declare function PageLayout({ children, title, subtitle, icon, headerActions, headerContent, maxWidth, showHeader, className, contentClassName, }: PageLayoutProps): import("react").JSX.Element;
34
+ /**
35
+ * PageSection - A section within a page with consistent spacing
36
+ */
37
+ export declare function PageSection({ children, title, description, actions, className, ...rest }: {
38
+ children: ReactNode;
39
+ title?: string;
40
+ description?: string;
41
+ actions?: ReactNode;
42
+ className?: string;
43
+ } & React.HTMLAttributes<HTMLElement>): import("react").JSX.Element;
44
+ /**
45
+ * Local wrapper around the canonical `EmptyState` from `@burdenoff/fe-libs/ui`.
46
+ * Keeps the existing microfe-export call sites stable while routing all
47
+ * empty-state rendering through the shared primitive.
48
+ */
49
+ export declare function EmptyState({ icon, title, description, action, className, }: {
50
+ icon?: ReactNode;
51
+ title: string;
52
+ description?: string;
53
+ action?: ReactNode;
54
+ className?: string;
55
+ }): import("react").JSX.Element;
56
+ export {};
57
+ //# sourceMappingURL=PageLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../../src/export/components/PageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,UAAU,eAAe;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mDAAmD;IACnD,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,4CAA4C;IAC5C,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,mFAAmF;IACnF,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAC9D,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAYD;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,aAAa,EACb,QAAe,EACf,UAAiB,EACjB,SAAS,EACT,gBAAgB,GACjB,EAAE,eAAe,+BAsEjB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,KAAK,EACL,WAAW,EACX,OAAO,EACP,SAAS,EACT,GAAG,IAAI,EACR,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,+BAqBpC;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,SAAS,GACV,EAAE;IACD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAWA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PageLayout.js","names":[],"sources":["../../../src/export/components/PageLayout.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { EmptyState as CanonicalEmptyState } from \"@burdenoff/fe-libs/ui\";\nimport { cn } from \"../utils/cn\";\n\ninterface PageLayoutProps {\n children: ReactNode;\n /** Page title */\n title?: string;\n /** Page subtitle/description */\n subtitle?: string;\n /** Icon component to display next to title */\n icon?: ReactNode;\n /** Actions to display in header (buttons, etc.) */\n headerActions?: ReactNode;\n /** Additional header content below title */\n headerContent?: ReactNode;\n /** Maximum width of content: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' */\n maxWidth?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\" | \"3xl\" | \"full\";\n /** Whether to show the header section */\n showHeader?: boolean;\n /** Additional CSS classes for the container */\n className?: string;\n /** Additional CSS classes for the content area */\n contentClassName?: string;\n}\n\nconst maxWidthClasses = {\n sm: \"max-w-screen-sm\", // 640px\n md: \"max-w-screen-md\", // 768px\n lg: \"max-w-screen-lg\", // 1024px\n xl: \"max-w-screen-xl\", // 1280px\n \"2xl\": \"max-w-screen-2xl\", // 1536px\n \"3xl\": \"max-w-[1600px]\",\n full: \"max-w-full\",\n};\n\n/**\n * PageLayout - A consistent page wrapper with responsive design\n *\n * Features:\n * - Proper max-width constraints\n * - Responsive padding\n * - Animated entrance\n * - Consistent header styling\n */\nexport function PageLayout({\n children,\n title,\n subtitle,\n icon,\n headerActions,\n headerContent,\n maxWidth = \"xl\",\n showHeader = true,\n className,\n contentClassName,\n}: PageLayoutProps) {\n return (\n <div\n className={cn(\n // Base styles - full width container with padding\n \"min-h-full w-full\",\n // Responsive horizontal padding\n \"px-4 sm:px-6 lg:px-8 xl:px-12\",\n // Responsive vertical padding\n \"py-6 sm:py-8 lg:py-10\",\n // Entrance animation\n \"animate-in fade-in-0 slide-in-from-bottom-4 duration-500\",\n className,\n )}\n >\n {/* Max-width constrained content container */}\n <div\n className={cn(\n \"mx-auto w-full\",\n maxWidthClasses[maxWidth],\n contentClassName,\n )}\n >\n {/* Page Header */}\n {showHeader && (title || headerActions) && (\n <header className=\"mb-6 sm:mb-8\">\n <div className=\"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between\">\n {/* Title Section */}\n <div className=\"space-y-1\">\n {(title || icon) && (\n <div className=\"flex items-center gap-3\">\n {icon && (\n <div className=\"flex-shrink-0 p-2.5 rounded-xl bg-action-primary-bg/10 text-primary\">\n {icon}\n </div>\n )}\n {title && (\n <h1 className=\"text-2xl sm:text-3xl font-bold tracking-tight text-text-primary\">\n {title}\n </h1>\n )}\n </div>\n )}\n {subtitle && (\n <p className=\"text-sm sm:text-base text-text-secondary max-w-2xl\">\n {subtitle}\n </p>\n )}\n </div>\n\n {/* Header Actions */}\n {headerActions && (\n <div className=\"flex items-center gap-2 flex-shrink-0\">\n {headerActions}\n </div>\n )}\n </div>\n\n {/* Additional Header Content */}\n {headerContent && <div className=\"mt-4\">{headerContent}</div>}\n </header>\n )}\n\n {/* Page content — must not use a <main> landmark here because the\n host shell (AppShellLayout) already renders one; nesting <main>\n elements is invalid HTML and an a11y violation. */}\n <div className=\"space-y-6\">{children}</div>\n </div>\n </div>\n );\n}\n\n/**\n * PageSection - A section within a page with consistent spacing\n */\nexport function PageSection({\n children,\n title,\n description,\n actions,\n className,\n ...rest\n}: {\n children: ReactNode;\n title?: string;\n description?: string;\n actions?: ReactNode;\n className?: string;\n} & React.HTMLAttributes<HTMLElement>) {\n return (\n <section className={cn(\"space-y-4\", className)} {...rest}>\n {(title || actions) && (\n <div className=\"flex items-center justify-between\">\n <div>\n {title && (\n <h2 className=\"text-lg font-semibold text-text-primary\">{title}</h2>\n )}\n {description && (\n <p className=\"text-sm text-text-secondary\">{description}</p>\n )}\n </div>\n {actions && <div className=\"flex items-center gap-2\">{actions}</div>}\n </div>\n )}\n {children}\n </section>\n );\n}\n\n/**\n * Local wrapper around the canonical `EmptyState` from `@burdenoff/fe-libs/ui`.\n * Keeps the existing microfe-export call sites stable while routing all\n * empty-state rendering through the shared primitive.\n */\nexport function EmptyState({\n icon,\n title,\n description,\n action,\n className,\n}: {\n icon?: ReactNode;\n title: string;\n description?: string;\n action?: ReactNode;\n className?: string;\n}) {\n return (\n <div className={className}>\n <CanonicalEmptyState\n icon={icon}\n title={title}\n description={description}\n action={action}\n />\n </div>\n );\n}\n"],"mappings":";;;;AA0BA,IAAM,IAAkB;CACtB,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,OAAO;CACP,OAAO;CACP,MAAM;CACP;AAWD,SAAgB,EAAW,EACzB,aACA,UACA,aACA,SACA,kBACA,kBACA,cAAW,MACX,gBAAa,IACb,cACA,uBACkB;AAClB,QACE,kBAAC,OAAD;EACE,WAAW,EAET,qBAEA,iCAEA,yBAEA,4DACA,EACD;YAGD,kBAAC,OAAD;GACE,WAAW,EACT,kBACA,EAAgB,IAChB,EACD;aALH,CAQG,MAAe,KAAS,MACvB,kBAAC,UAAD;IAAQ,WAAU;cAAlB,CACE,kBAAC,OAAD;KAAK,WAAU;eAAf,CAEE,kBAAC,OAAD;MAAK,WAAU;gBAAf,EACI,KAAS,MACT,kBAAC,OAAD;OAAK,WAAU;iBAAf,CACG,KACC,kBAAC,OAAD;QAAK,WAAU;kBACZ;QACG,CAAA,EAEP,KACC,kBAAC,MAAD;QAAI,WAAU;kBACX;QACE,CAAA,CAEH;UAEP,KACC,kBAAC,KAAD;OAAG,WAAU;iBACV;OACC,CAAA,CAEF;SAGL,KACC,kBAAC,OAAD;MAAK,WAAU;gBACZ;MACG,CAAA,CAEJ;QAGL,KAAiB,kBAAC,OAAD;KAAK,WAAU;eAAQ;KAAoB,CAAA,CACtD;OAMX,kBAAC,OAAD;IAAK,WAAU;IAAa;IAAe,CAAA,CACvC;;EACF,CAAA;;AAOV,SAAgB,EAAY,EAC1B,aACA,UACA,gBACA,YACA,cACA,GAAG,KAOkC;AACrC,QACE,kBAAC,WAAD;EAAS,WAAW,EAAG,aAAa,EAAU;EAAE,GAAI;YAApD,EACI,KAAS,MACT,kBAAC,OAAD;GAAK,WAAU;aAAf,CACE,kBAAC,OAAD,EAAA,UAAA,CACG,KACC,kBAAC,MAAD;IAAI,WAAU;cAA2C;IAAW,CAAA,EAErE,KACC,kBAAC,KAAD;IAAG,WAAU;cAA+B;IAAgB,CAAA,CAE1D,EAAA,CAAA,EACL,KAAW,kBAAC,OAAD;IAAK,WAAU;cAA2B;IAAc,CAAA,CAChE;MAEP,EACO"}
1
+ {"version":3,"file":"PageLayout.js","names":[],"sources":["../../../src/export/components/PageLayout.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { EmptyState as CanonicalEmptyState } from \"@burdenoff/fe-libs/ui\";\nimport { cn } from \"../utils/cn\";\n\ninterface PageLayoutProps {\n children: ReactNode;\n /** Page title */\n title?: string;\n /** Page subtitle/description */\n subtitle?: string;\n /** Icon component to display next to title */\n icon?: ReactNode;\n /** Actions to display in header (buttons, etc.) */\n headerActions?: ReactNode;\n /** Additional header content below title */\n headerContent?: ReactNode;\n /** Maximum width of content: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' */\n maxWidth?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\" | \"3xl\" | \"full\";\n /** Whether to show the header section */\n showHeader?: boolean;\n /** Additional CSS classes for the container */\n className?: string;\n /** Additional CSS classes for the content area */\n contentClassName?: string;\n}\n\nconst maxWidthClasses = {\n sm: \"max-w-screen-sm\", // 640px\n md: \"max-w-screen-md\", // 768px\n lg: \"max-w-screen-lg\", // 1024px\n xl: \"max-w-screen-xl\", // 1280px\n \"2xl\": \"max-w-screen-2xl\", // 1536px\n \"3xl\": \"max-w-[1600px]\",\n full: \"max-w-full\",\n};\n\n/**\n * PageLayout - A consistent page wrapper with responsive design\n *\n * Features:\n * - Proper max-width constraints\n * - Responsive padding\n * - Animated entrance\n * - Consistent header styling\n */\nexport function PageLayout({\n children,\n title,\n subtitle,\n icon,\n headerActions,\n headerContent,\n maxWidth = \"xl\",\n showHeader = true,\n className,\n contentClassName,\n}: PageLayoutProps) {\n return (\n <div\n className={cn(\n // Base styles - full width container with padding\n \"min-h-full w-full\",\n // Responsive horizontal padding\n \"px-4 sm:px-6 lg:px-8 xl:px-12\",\n // Responsive vertical padding\n \"py-6 sm:py-8 lg:py-10\",\n // Entrance animation\n \"animate-in fade-in-0 slide-in-from-bottom-4 duration-500\",\n className,\n )}\n >\n {/* Max-width constrained content container */}\n <div\n className={cn(\n \"mx-auto w-full\",\n maxWidthClasses[maxWidth],\n contentClassName,\n )}\n >\n {/* Page Header */}\n {showHeader && (title || headerActions) && (\n <header className=\"mb-6 sm:mb-8\">\n <div className=\"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between\">\n {/* Title Section */}\n <div className=\"space-y-1\">\n {(title || icon) && (\n <div className=\"flex items-center gap-3\">\n {icon && (\n <div className=\"flex-shrink-0 p-2.5 rounded-xl bg-action-primary-bg/10 text-primary\">\n {icon}\n </div>\n )}\n {title && (\n <h1 className=\"text-2xl sm:text-3xl font-bold tracking-tight text-text-primary\">\n {title}\n </h1>\n )}\n </div>\n )}\n {subtitle && (\n <p className=\"text-sm sm:text-base text-text-secondary max-w-2xl\">\n {subtitle}\n </p>\n )}\n </div>\n\n {/* Header Actions */}\n {headerActions && (\n <div className=\"flex items-center gap-2 flex-shrink-0\">\n {headerActions}\n </div>\n )}\n </div>\n\n {/* Additional Header Content */}\n {headerContent && <div className=\"mt-4\">{headerContent}</div>}\n </header>\n )}\n\n {/* Page content — must not use a <main> landmark here because the\n host shell (AppShellLayout) already renders one; nesting <main>\n elements is invalid HTML and an a11y violation. */}\n <div className=\"space-y-6\">{children}</div>\n </div>\n </div>\n );\n}\n\n/**\n * PageSection - A section within a page with consistent spacing\n */\nexport function PageSection({\n children,\n title,\n description,\n actions,\n className,\n ...rest\n}: {\n children: ReactNode;\n title?: string;\n description?: string;\n actions?: ReactNode;\n className?: string;\n} & React.HTMLAttributes<HTMLElement>) {\n return (\n <section className={cn(\"space-y-4\", className)} {...rest}>\n {(title || actions) && (\n <div className=\"flex items-center justify-between\">\n <div>\n {title && (\n <h2 className=\"text-lg font-semibold text-text-primary\">\n {title}\n </h2>\n )}\n {description && (\n <p className=\"text-sm text-text-secondary\">{description}</p>\n )}\n </div>\n {actions && <div className=\"flex items-center gap-2\">{actions}</div>}\n </div>\n )}\n {children}\n </section>\n );\n}\n\n/**\n * Local wrapper around the canonical `EmptyState` from `@burdenoff/fe-libs/ui`.\n * Keeps the existing microfe-export call sites stable while routing all\n * empty-state rendering through the shared primitive.\n */\nexport function EmptyState({\n icon,\n title,\n description,\n action,\n className,\n}: {\n icon?: ReactNode;\n title: string;\n description?: string;\n action?: ReactNode;\n className?: string;\n}) {\n return (\n <div className={className}>\n <CanonicalEmptyState\n icon={icon}\n title={title}\n description={description}\n action={action}\n />\n </div>\n );\n}\n"],"mappings":";;;;AA0BA,IAAM,IAAkB;CACtB,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,OAAO;CACP,OAAO;CACP,MAAM;CACP;AAWD,SAAgB,EAAW,EACzB,aACA,UACA,aACA,SACA,kBACA,kBACA,cAAW,MACX,gBAAa,IACb,cACA,uBACkB;AAClB,QACE,kBAAC,OAAD;EACE,WAAW,EAET,qBAEA,iCAEA,yBAEA,4DACA,EACD;YAGD,kBAAC,OAAD;GACE,WAAW,EACT,kBACA,EAAgB,IAChB,EACD;aALH,CAQG,MAAe,KAAS,MACvB,kBAAC,UAAD;IAAQ,WAAU;cAAlB,CACE,kBAAC,OAAD;KAAK,WAAU;eAAf,CAEE,kBAAC,OAAD;MAAK,WAAU;gBAAf,EACI,KAAS,MACT,kBAAC,OAAD;OAAK,WAAU;iBAAf,CACG,KACC,kBAAC,OAAD;QAAK,WAAU;kBACZ;QACG,CAAA,EAEP,KACC,kBAAC,MAAD;QAAI,WAAU;kBACX;QACE,CAAA,CAEH;UAEP,KACC,kBAAC,KAAD;OAAG,WAAU;iBACV;OACC,CAAA,CAEF;SAGL,KACC,kBAAC,OAAD;MAAK,WAAU;gBACZ;MACG,CAAA,CAEJ;QAGL,KAAiB,kBAAC,OAAD;KAAK,WAAU;eAAQ;KAAoB,CAAA,CACtD;OAMX,kBAAC,OAAD;IAAK,WAAU;IAAa;IAAe,CAAA,CACvC;;EACF,CAAA;;AAOV,SAAgB,EAAY,EAC1B,aACA,UACA,gBACA,YACA,cACA,GAAG,KAOkC;AACrC,QACE,kBAAC,WAAD;EAAS,WAAW,EAAG,aAAa,EAAU;EAAE,GAAI;YAApD,EACI,KAAS,MACT,kBAAC,OAAD;GAAK,WAAU;aAAf,CACE,kBAAC,OAAD,EAAA,UAAA,CACG,KACC,kBAAC,MAAD;IAAI,WAAU;cACX;IACE,CAAA,EAEN,KACC,kBAAC,KAAD;IAAG,WAAU;cAA+B;IAAgB,CAAA,CAE1D,EAAA,CAAA,EACL,KAAW,kBAAC,OAAD;IAAK,WAAU;cAA2B;IAAc,CAAA,CAChE;MAEP,EACO"}
@@ -0,0 +1,19 @@
1
+ import { ExportJobStatus } from '../types';
2
+
3
+ /**
4
+ * Helper: Get status display name
5
+ */
6
+ export declare const getStatusDisplayName: (status: string) => string;
7
+ /**
8
+ * Helper: Get format display name
9
+ */
10
+ export declare const getFormatDisplayName: (format: string) => string;
11
+ /**
12
+ * Helper: Get archive format display name
13
+ */
14
+ export declare const getArchiveFormatDisplayName: (format: string) => string;
15
+ /**
16
+ * Helper: Get all export statuses as array
17
+ */
18
+ export declare const getAllStatuses: () => ExportJobStatus[];
19
+ //# sourceMappingURL=enums.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/export/constants/enums.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,MAYrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,MAMrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,GAAI,QAAQ,MAAM,KAAG,MAK5D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,QAAO,eAAe,EAShD,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Export Module Constants
3
+ *
4
+ * Centralized exports for all constants used in the export module
5
+ */
6
+ export * from './enums';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/export/constants/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,SAAS,CAAC"}
@@ -0,0 +1,209 @@
1
+ import { GetAvailableExportEntitiesQuery, GetExportJobQuery, ListExportJobsQuery, ListExportTemplatesQuery } from '../../generated/wspace-operations';
2
+ import { ExportJobStatus as GqlExportJobStatus, ExportJobFilterInput as GqlExportJobFilterInput, ExportPaginationInput as GqlExportPaginationInput } from '../../generated/wspace-types';
3
+ import { ExportFormat, ExportJob, ExportJobStatus, ExportScope, ExportTemplate, ExportAvailableEntity, ExportFilter, PageInfo } from '../types';
4
+
5
+ /**
6
+ * Input for creating an export job
7
+ */
8
+ export interface CreateExportJobInput {
9
+ name: string;
10
+ description?: string;
11
+ exportScope?: ExportScope;
12
+ organizationId?: string;
13
+ entityTypes: string[];
14
+ format: ExportFormat;
15
+ filters?: Record<string, unknown>;
16
+ templateId?: string;
17
+ dateRangeStart?: string | null;
18
+ dateRangeEnd?: string | null;
19
+ }
20
+ /**
21
+ * Input for creating an export template
22
+ */
23
+ export interface CreateExportTemplateInput {
24
+ name: string;
25
+ description?: string;
26
+ entityTypes: string[];
27
+ format: ExportFormat;
28
+ }
29
+ /**
30
+ * Filter input for listing export jobs
31
+ */
32
+ export interface ExportJobFilterInput {
33
+ status?: ExportJobStatus[];
34
+ format?: ExportFormat;
35
+ entityTypes?: string[];
36
+ search?: string;
37
+ dateFrom?: string;
38
+ dateTo?: string;
39
+ }
40
+ /**
41
+ * Pagination input for export job list
42
+ */
43
+ export interface ExportPaginationInput {
44
+ first?: number;
45
+ after?: string;
46
+ last?: number;
47
+ before?: string;
48
+ }
49
+ /**
50
+ * Hook to fetch a paginated list of export jobs
51
+ */
52
+ export declare function useExportJobs(filter?: Partial<ExportFilter>, pagination?: ExportPaginationInput): {
53
+ data: ExportJob[];
54
+ totalCount: number;
55
+ pageInfo: PageInfo | null;
56
+ isLoading: boolean;
57
+ error: import('@apollo/client').ErrorLike | null;
58
+ refetch: (variables?: Partial<import('../../generated/wspace-types').Exact<{
59
+ filter?: import('../../generated/wspace-types').InputMaybe<GqlExportJobFilterInput>;
60
+ pagination?: import('../../generated/wspace-types').InputMaybe<GqlExportPaginationInput>;
61
+ context: import('../../generated/wspace-types').ContextInput;
62
+ }>> | undefined) => Promise<{
63
+ data: ListExportJobsQuery | undefined;
64
+ error?: import('@apollo/client').ErrorLike;
65
+ }>;
66
+ };
67
+ /**
68
+ * Hook to fetch a single export job by ID.
69
+ */
70
+ export declare function useExportJob(jobId: string | undefined): {
71
+ data: ExportJob | null;
72
+ isLoading: boolean;
73
+ error: import('@apollo/client').ErrorLike | null;
74
+ refetch: (variables?: Partial<import('../../generated/wspace-types').Exact<{
75
+ context?: import('../../generated/wspace-types').InputMaybe<import('../../generated/wspace-types').ContextInput>;
76
+ id: import('../../generated/wspace-types').Scalars["ID"]["input"];
77
+ }>> | undefined) => Promise<{
78
+ data: GetExportJobQuery | undefined;
79
+ error?: import('@apollo/client').ErrorLike;
80
+ }>;
81
+ };
82
+ /**
83
+ * Hook to subscribe to live progress updates for an export job.
84
+ */
85
+ export declare function useExportJobProgress(jobId: string | undefined): {
86
+ data: ExportJob | null;
87
+ isLoading: boolean;
88
+ error: import('@apollo/client').ErrorLike | null;
89
+ };
90
+ /**
91
+ * Hook to fetch available entity types for export in a workspace
92
+ */
93
+ export declare function useAvailableEntities(overrideWorkspaceId?: string): {
94
+ data: ExportAvailableEntity[];
95
+ totalCount: number;
96
+ pageInfo: PageInfo | null;
97
+ loadMore: () => Promise<void>;
98
+ error: import('@apollo/client').ErrorLike | null;
99
+ isLoading: boolean;
100
+ refetch: (variables?: Partial<import('../../generated/wspace-types').Exact<{
101
+ context: import('../../generated/wspace-types').ContextInput;
102
+ pagination?: import('../../generated/wspace-types').InputMaybe<GqlExportPaginationInput>;
103
+ }>> | undefined) => Promise<{
104
+ data: GetAvailableExportEntitiesQuery | undefined;
105
+ error?: import('@apollo/client').ErrorLike;
106
+ }>;
107
+ };
108
+ /**
109
+ * Hook to fetch all export templates for the current workspace
110
+ */
111
+ export declare function useExportTemplates(overrideWorkspaceId?: string): {
112
+ data: ExportTemplate[];
113
+ totalCount: number;
114
+ pageInfo: PageInfo | null;
115
+ loadMore: () => Promise<void>;
116
+ isLoading: boolean;
117
+ error: import('@apollo/client').ErrorLike | null;
118
+ refetch: (variables?: Partial<import('../../generated/wspace-types').Exact<{
119
+ context: import('../../generated/wspace-types').ContextInput;
120
+ pagination?: import('../../generated/wspace-types').InputMaybe<GqlExportPaginationInput>;
121
+ }>> | undefined) => Promise<{
122
+ data: ListExportTemplatesQuery | undefined;
123
+ error?: import('@apollo/client').ErrorLike;
124
+ }>;
125
+ };
126
+ /**
127
+ * Hook to fetch a single export template by ID
128
+ */
129
+ export declare function useExportTemplate(templateId: string | undefined): {
130
+ data: ExportTemplate | null;
131
+ isLoading: boolean;
132
+ error: import('@apollo/client').ErrorLike | null;
133
+ };
134
+ /**
135
+ * Hook to create a new export job
136
+ */
137
+ export declare function useCreateExportJob(): {
138
+ createJob: (input: CreateExportJobInput) => Promise<ExportJob>;
139
+ mutate: (input: CreateExportJobInput) => Promise<ExportJob>;
140
+ mutateAsync: (input: CreateExportJobInput) => Promise<ExportJob>;
141
+ loading: boolean;
142
+ isPending: boolean;
143
+ error: import('@apollo/client').ErrorLike | null;
144
+ };
145
+ /**
146
+ * Hook to cancel an export job
147
+ */
148
+ export declare function useCancelExportJob(): {
149
+ cancelJob: (id: string) => Promise<{
150
+ __typename?: "ExportJob";
151
+ id: string;
152
+ status: GqlExportJobStatus;
153
+ updatedAt: string;
154
+ }>;
155
+ mutate: (id: string) => Promise<{
156
+ __typename?: "ExportJob";
157
+ id: string;
158
+ status: GqlExportJobStatus;
159
+ updatedAt: string;
160
+ }>;
161
+ mutateAsync: (id: string) => Promise<{
162
+ __typename?: "ExportJob";
163
+ id: string;
164
+ status: GqlExportJobStatus;
165
+ updatedAt: string;
166
+ }>;
167
+ loading: boolean;
168
+ isPending: boolean;
169
+ error: import('@apollo/client').ErrorLike | null;
170
+ };
171
+ /**
172
+ * Hook to delete an export job
173
+ */
174
+ export declare function useDeleteExportJob(): {
175
+ deleteJob: (id: string) => Promise<boolean>;
176
+ mutate: (id: string) => Promise<boolean>;
177
+ mutateAsync: (id: string) => Promise<boolean>;
178
+ loading: boolean;
179
+ isPending: boolean;
180
+ error: import('@apollo/client').ErrorLike | null;
181
+ };
182
+ /**
183
+ * Hook to retry a failed export job
184
+ */
185
+ export declare function useRetryExportJob(): {
186
+ retryJob: (id: string) => Promise<ExportJob>;
187
+ loading: boolean;
188
+ isPending: boolean;
189
+ error: import('@apollo/client').ErrorLike | null;
190
+ };
191
+ /**
192
+ * Hook to create a new export template
193
+ */
194
+ export declare function useCreateExportTemplate(): {
195
+ createTemplate: (input: CreateExportTemplateInput) => Promise<ExportTemplate>;
196
+ loading: boolean;
197
+ isPending: boolean;
198
+ error: import('@apollo/client').ErrorLike | null;
199
+ };
200
+ /**
201
+ * Hook to delete an export template
202
+ */
203
+ export declare function useDeleteExportTemplate(): {
204
+ deleteTemplate: (id: string) => Promise<boolean>;
205
+ loading: boolean;
206
+ isPending: boolean;
207
+ error: import('@apollo/client').ErrorLike | null;
208
+ };
209
+ //# sourceMappingURL=useExportQueries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportQueries.d.ts","sourceRoot":"","sources":["../../../src/export/hooks/useExportQueries.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Export Microfrontend
3
+ *
4
+ * Provides data export functionality for workspaces including
5
+ * job management, scheduling, templates, and multi-format output.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * import { ExportRoot, type ExportRootProps } from '@burdenoff/micro-fe/export';
10
+ *
11
+ * function App() {
12
+ * const props: ExportRootProps = {
13
+ * basePath: '/export',
14
+ * navigate: (path) => router.push(path),
15
+ * currentUser: { id: '1', email: 'user@example.com' },
16
+ * workspaceId: 'ws-123',
17
+ * apiGatewayUrl: 'https://api.example.com',
18
+ * authToken: 'token',
19
+ * };
20
+ *
21
+ * return <ExportRoot {...props} />;
22
+ * }
23
+ * ```
24
+ */
25
+ export { ExportRoot } from './ExportRoot';
26
+ export type { ExportRootProps, ExportJob, ExportPart, ExportTemplate, ExportAvailableEntity, ExportFilter, ExportView, } from './types';
27
+ export { useExport } from './providers/ExportProvider';
28
+ export { useExportStore } from './store/exportStore';
29
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/export/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,SAAS,EACT,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,YAAY,EACZ,UAAU,GACX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function CreateExportPage(): import("react").JSX.Element;
2
+ //# sourceMappingURL=CreateExportPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateExportPage.d.ts","sourceRoot":"","sources":["../../../src/export/pages/CreateExportPage.tsx"],"names":[],"mappings":"AA6FA,wBAAgB,gBAAgB,gCA+0B/B"}