@burdenoff/microfe-govcitizenhub 2026.705.4 → 2026.709.1

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 (135) hide show
  1. package/dist/dev/main.d.ts +2 -0
  2. package/dist/dev/main.d.ts.map +1 -0
  3. package/dist/generated/global-operations.d.ts +2 -0
  4. package/dist/generated/global-operations.d.ts.map +1 -0
  5. package/dist/generated/global-types.d.ts +18199 -0
  6. package/dist/generated/global-types.d.ts.map +1 -0
  7. package/dist/generated/wspace-operations.d.ts +2 -0
  8. package/dist/generated/wspace-operations.d.ts.map +1 -0
  9. package/dist/generated/wspace-types.d.ts +43046 -0
  10. package/dist/generated/wspace-types.d.ts.map +1 -0
  11. package/dist/govcitizenhub/GovCitizenHubRoot.d.ts +5 -0
  12. package/dist/govcitizenhub/GovCitizenHubRoot.d.ts.map +1 -0
  13. package/dist/govcitizenhub/GovCitizenHubRoutes.d.ts +4 -0
  14. package/dist/govcitizenhub/GovCitizenHubRoutes.d.ts.map +1 -0
  15. package/dist/govcitizenhub/GovCitizenHubRoutes.js +89 -40
  16. package/dist/govcitizenhub/GovCitizenHubRoutes.js.map +1 -1
  17. package/dist/govcitizenhub/components/Avatar.d.ts +25 -0
  18. package/dist/govcitizenhub/components/Avatar.d.ts.map +1 -0
  19. package/dist/govcitizenhub/components/ConfirmDialog.d.ts +25 -0
  20. package/dist/govcitizenhub/components/ConfirmDialog.d.ts.map +1 -0
  21. package/dist/govcitizenhub/components/DocumentUploadField.d.ts +24 -0
  22. package/dist/govcitizenhub/components/DocumentUploadField.d.ts.map +1 -0
  23. package/dist/govcitizenhub/components/EmptyState.d.ts +14 -0
  24. package/dist/govcitizenhub/components/EmptyState.d.ts.map +1 -0
  25. package/dist/govcitizenhub/components/FilterTabs.d.ts +24 -0
  26. package/dist/govcitizenhub/components/FilterTabs.d.ts.map +1 -0
  27. package/dist/govcitizenhub/components/GovCharts.d.ts +51 -0
  28. package/dist/govcitizenhub/components/GovCharts.d.ts.map +1 -0
  29. package/dist/govcitizenhub/components/KeyValueList.d.ts +17 -0
  30. package/dist/govcitizenhub/components/KeyValueList.d.ts.map +1 -0
  31. package/dist/govcitizenhub/components/MetricsCard.d.ts +32 -0
  32. package/dist/govcitizenhub/components/MetricsCard.d.ts.map +1 -0
  33. package/dist/govcitizenhub/components/PageLayout.d.ts +28 -0
  34. package/dist/govcitizenhub/components/PageLayout.d.ts.map +1 -0
  35. package/dist/govcitizenhub/components/Pagination.d.ts +20 -0
  36. package/dist/govcitizenhub/components/Pagination.d.ts.map +1 -0
  37. package/dist/govcitizenhub/components/SectionCard.d.ts +24 -0
  38. package/dist/govcitizenhub/components/SectionCard.d.ts.map +1 -0
  39. package/dist/govcitizenhub/components/SlaBadge.d.ts +14 -0
  40. package/dist/govcitizenhub/components/SlaBadge.d.ts.map +1 -0
  41. package/dist/govcitizenhub/components/StateViews.d.ts +24 -0
  42. package/dist/govcitizenhub/components/StateViews.d.ts.map +1 -0
  43. package/dist/govcitizenhub/components/StatusBadge.d.ts +13 -0
  44. package/dist/govcitizenhub/components/StatusBadge.d.ts.map +1 -0
  45. package/dist/govcitizenhub/components/StatusStepper.d.ts +21 -0
  46. package/dist/govcitizenhub/components/StatusStepper.d.ts.map +1 -0
  47. package/dist/govcitizenhub/components/SummaryStrip.d.ts +20 -0
  48. package/dist/govcitizenhub/components/SummaryStrip.d.ts.map +1 -0
  49. package/dist/govcitizenhub/components/TagInput.d.ts +18 -0
  50. package/dist/govcitizenhub/components/TagInput.d.ts.map +1 -0
  51. package/dist/govcitizenhub/components/Timeline.d.ts +29 -0
  52. package/dist/govcitizenhub/components/Timeline.d.ts.map +1 -0
  53. package/dist/govcitizenhub/components/index.d.ts +23 -0
  54. package/dist/govcitizenhub/components/index.d.ts.map +1 -0
  55. package/dist/govcitizenhub/context/GovCitizenHubContext.d.ts +16 -0
  56. package/dist/govcitizenhub/context/GovCitizenHubContext.d.ts.map +1 -0
  57. package/dist/govcitizenhub/context/index.d.ts +6 -0
  58. package/dist/govcitizenhub/context/index.d.ts.map +1 -0
  59. package/dist/govcitizenhub/hooks/index.d.ts +8 -0
  60. package/dist/govcitizenhub/hooks/index.d.ts.map +1 -0
  61. package/dist/govcitizenhub/hooks/useCursorPager.d.ts +19 -0
  62. package/dist/govcitizenhub/hooks/useCursorPager.d.ts.map +1 -0
  63. package/dist/govcitizenhub/hooks/useFiles.d.ts +36 -0
  64. package/dist/govcitizenhub/hooks/useFiles.d.ts.map +1 -0
  65. package/dist/govcitizenhub/hooks/useGovApi.d.ts +122 -0
  66. package/dist/govcitizenhub/hooks/useGovApi.d.ts.map +1 -0
  67. package/dist/govcitizenhub/index.d.ts +9 -0
  68. package/dist/govcitizenhub/index.d.ts.map +1 -0
  69. package/dist/govcitizenhub/index.js +1 -0
  70. package/dist/govcitizenhub/lib/graphql-cache.d.ts +15 -0
  71. package/dist/govcitizenhub/lib/graphql-cache.d.ts.map +1 -0
  72. package/dist/govcitizenhub/lib/toast.d.ts +19 -0
  73. package/dist/govcitizenhub/lib/toast.d.ts.map +1 -0
  74. package/dist/govcitizenhub/pages/DashboardPage.d.ts +13 -0
  75. package/dist/govcitizenhub/pages/DashboardPage.d.ts.map +1 -0
  76. package/dist/govcitizenhub/pages/agencies/AgenciesPage.d.ts +11 -0
  77. package/dist/govcitizenhub/pages/agencies/AgenciesPage.d.ts.map +1 -0
  78. package/dist/govcitizenhub/pages/agencies/AgencyFormDialog.d.ts +12 -0
  79. package/dist/govcitizenhub/pages/agencies/AgencyFormDialog.d.ts.map +1 -0
  80. package/dist/govcitizenhub/pages/applications/ApplicationDetailPage.d.ts +20 -0
  81. package/dist/govcitizenhub/pages/applications/ApplicationDetailPage.d.ts.map +1 -0
  82. package/dist/govcitizenhub/pages/applications/ApplicationsPage.d.ts +15 -0
  83. package/dist/govcitizenhub/pages/applications/ApplicationsPage.d.ts.map +1 -0
  84. package/dist/govcitizenhub/pages/applications/NewApplicationPage.d.ts +18 -0
  85. package/dist/govcitizenhub/pages/applications/NewApplicationPage.d.ts.map +1 -0
  86. package/dist/govcitizenhub/pages/documents/DocumentsPage.d.ts +12 -0
  87. package/dist/govcitizenhub/pages/documents/DocumentsPage.d.ts.map +1 -0
  88. package/dist/govcitizenhub/pages/grievances/GrievanceDetailPage.d.ts +12 -0
  89. package/dist/govcitizenhub/pages/grievances/GrievanceDetailPage.d.ts.map +1 -0
  90. package/dist/govcitizenhub/pages/grievances/GrievancesPage.d.ts +7 -0
  91. package/dist/govcitizenhub/pages/grievances/GrievancesPage.d.ts.map +1 -0
  92. package/dist/govcitizenhub/pages/payments/PaymentsPage.d.ts +13 -0
  93. package/dist/govcitizenhub/pages/payments/PaymentsPage.d.ts.map +1 -0
  94. package/dist/govcitizenhub/pages/permits/IssuePermitDialog.d.ts +24 -0
  95. package/dist/govcitizenhub/pages/permits/IssuePermitDialog.d.ts.map +1 -0
  96. package/dist/govcitizenhub/pages/permits/PermitsPage.d.ts +11 -0
  97. package/dist/govcitizenhub/pages/permits/PermitsPage.d.ts.map +1 -0
  98. package/dist/govcitizenhub/pages/permits/VerifyPermitPage.d.ts +11 -0
  99. package/dist/govcitizenhub/pages/permits/VerifyPermitPage.d.ts.map +1 -0
  100. package/dist/govcitizenhub/pages/services/FormFieldBuilder.d.ts +44 -0
  101. package/dist/govcitizenhub/pages/services/FormFieldBuilder.d.ts.map +1 -0
  102. package/dist/govcitizenhub/pages/services/ServiceDetailPage.d.ts +10 -0
  103. package/dist/govcitizenhub/pages/services/ServiceDetailPage.d.ts.map +1 -0
  104. package/dist/govcitizenhub/pages/services/ServiceFormDialog.d.ts +13 -0
  105. package/dist/govcitizenhub/pages/services/ServiceFormDialog.d.ts.map +1 -0
  106. package/dist/govcitizenhub/pages/services/ServicesPage.d.ts +13 -0
  107. package/dist/govcitizenhub/pages/services/ServicesPage.d.ts.map +1 -0
  108. package/dist/govcitizenhub/types/index.d.ts +339 -0
  109. package/dist/govcitizenhub/types/index.d.ts.map +1 -0
  110. package/dist/govcitizenhub/utils/cn.d.ts +2 -0
  111. package/dist/govcitizenhub/utils/cn.d.ts.map +1 -0
  112. package/dist/govcitizenhub/utils/formatters.d.ts +19 -0
  113. package/dist/govcitizenhub/utils/formatters.d.ts.map +1 -0
  114. package/dist/govcitizenhub/utils/navigation.d.ts +9 -0
  115. package/dist/govcitizenhub/utils/navigation.d.ts.map +1 -0
  116. package/dist/index.d.ts +2 -0
  117. package/dist/index.d.ts.map +1 -0
  118. package/dist/index.js +2 -1
  119. package/dist/services/assistantApi.d.ts +23 -0
  120. package/dist/services/assistantApi.d.ts.map +1 -0
  121. package/dist/services/assistantApi.js +243 -0
  122. package/dist/services/assistantApi.js.map +1 -0
  123. package/dist/services/createSandboxAssistantTransport.d.ts +29 -0
  124. package/dist/services/createSandboxAssistantTransport.d.ts.map +1 -0
  125. package/dist/services/createSandboxAssistantTransport.js +120 -0
  126. package/dist/services/createSandboxAssistantTransport.js.map +1 -0
  127. package/dist/services/index.d.ts +3 -0
  128. package/dist/services/index.d.ts.map +1 -0
  129. package/dist/types/assistant.d.ts +67 -0
  130. package/dist/types/assistant.d.ts.map +1 -0
  131. package/dist/utils/pageContext.d.ts +12 -0
  132. package/dist/utils/pageContext.d.ts.map +1 -0
  133. package/dist/utils/pageContext.js +49 -0
  134. package/dist/utils/pageContext.js.map +1 -0
  135. package/package.json +5 -1
@@ -0,0 +1,24 @@
1
+ import { FC, ReactNode } from 'react';
2
+
3
+ interface LoadingViewProps {
4
+ label?: string;
5
+ className?: string;
6
+ }
7
+ export declare const LoadingView: FC<LoadingViewProps>;
8
+ interface ErrorViewProps {
9
+ title?: string;
10
+ message?: string;
11
+ onRetry?: () => void;
12
+ className?: string;
13
+ }
14
+ export declare const ErrorView: FC<ErrorViewProps>;
15
+ interface SectionProps {
16
+ title: string;
17
+ description?: string;
18
+ action?: ReactNode;
19
+ children: ReactNode;
20
+ className?: string;
21
+ }
22
+ export declare const Section: FC<SectionProps>;
23
+ export {};
24
+ //# sourceMappingURL=StateViews.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StateViews.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/components/StateViews.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3C,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAK5C,CAAC;AAEF,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA2BxC,CAAC;AAEF,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAWpC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+
3
+ interface StatusBadgeProps {
4
+ status: string;
5
+ className?: string;
6
+ /** Pill size. `sm` is the default compact chip; `md` suits headers. */
7
+ size?: 'sm' | 'md';
8
+ /** Force-show (or hide) the leading dot regardless of the status default. */
9
+ dot?: boolean;
10
+ }
11
+ export declare const StatusBadge: FC<StatusBadgeProps>;
12
+ export {};
13
+ //# sourceMappingURL=StatusBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/components/StatusBadge.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,6EAA6E;IAC7E,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AA+FD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA2B5C,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { FC } from 'react';
2
+
3
+ export interface StepperStep {
4
+ /** Stable key. */
5
+ key: string;
6
+ /** Step title (e.g. "Documents verified"). */
7
+ label: string;
8
+ /** Optional caption under the label (e.g. a date or "Pending"). */
9
+ caption?: string;
10
+ /** Force a state instead of deriving from position (e.g. 'alert' for action needed). */
11
+ state?: 'completed' | 'current' | 'upcoming' | 'alert';
12
+ }
13
+ export interface StatusStepperProps {
14
+ steps: StepperStep[];
15
+ /** Zero-based index of the active step. Earlier = completed, later = upcoming. */
16
+ current: number;
17
+ className?: string;
18
+ }
19
+ /** Horizontal-on-desktop, vertical-on-mobile status timeline. */
20
+ export declare const StatusStepper: FC<StatusStepperProps>;
21
+ //# sourceMappingURL=StatusStepper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusStepper.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/components/StatusStepper.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,MAAM,WAAW,WAAW;IAC1B,kBAAkB;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wFAAwF;IACxF,KAAK,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;CACxD;AAID,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,kFAAkF;IAClF,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAoCD,iEAAiE;AACjE,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyChD,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { FC, ReactNode } from 'react';
2
+
3
+ export type SummaryTone = 'default' | 'success' | 'warning' | 'error' | 'accent';
4
+ export interface SummaryStat {
5
+ label: ReactNode;
6
+ value: ReactNode;
7
+ /** Optional secondary line under the value (e.g. a count "(105)"). */
8
+ hint?: ReactNode;
9
+ icon?: ReactNode;
10
+ tone?: SummaryTone;
11
+ }
12
+ export interface SummaryStripProps {
13
+ stats: SummaryStat[];
14
+ /** Render inside a GlassCard shell (default). Set false for a bare inline strip. */
15
+ card?: boolean;
16
+ className?: string;
17
+ }
18
+ /** Compact inline stat strip for summary rows above tables/ledgers. */
19
+ export declare const SummaryStrip: FC<SummaryStripProps>;
20
+ //# sourceMappingURL=SummaryStrip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SummaryStrip.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/components/SummaryStrip.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3C,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AAkBjF,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,sEAAsE;IACtE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,oFAAoF;IACpF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA6BD,uEAAuE;AACvE,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAmB9C,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * TagInput — a lightweight chip-based tag editor.
3
+ * @module govcitizenhub/components
4
+ *
5
+ * Enter or comma commits a tag; Backspace on an empty field removes the last.
6
+ * Purely controlled — the parent owns the string[] value.
7
+ */
8
+ interface TagInputProps {
9
+ value: string[];
10
+ onChange: (tags: string[]) => void;
11
+ placeholder?: string;
12
+ max?: number;
13
+ className?: string;
14
+ id?: string;
15
+ }
16
+ export declare function TagInput({ value, onChange, placeholder, max, className, id, }: TagInputProps): import("react/jsx-runtime").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=TagInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagInput.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/components/TagInput.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,QAAQ,EACR,WAA0B,EAC1B,GAAQ,EACR,SAAS,EACT,EAAE,GACH,EAAE,aAAa,2CA4Df"}
@@ -0,0 +1,29 @@
1
+ import { FC, ReactNode } from 'react';
2
+
3
+ export type TimelineTone = 'default' | 'info' | 'success' | 'warning' | 'error' | 'accent';
4
+ export interface TimelineItemProps {
5
+ /** Colour-coded dot tone. */
6
+ tone?: TimelineTone;
7
+ /** Optional icon rendered inside the dot. */
8
+ icon?: ReactNode;
9
+ /** Event title / type label (e.g. "Info request", "Decision"). */
10
+ title: ReactNode;
11
+ /** Who created the event. */
12
+ author?: ReactNode;
13
+ /** When it happened (already-formatted string or node). */
14
+ timestamp?: ReactNode;
15
+ /** Event body. */
16
+ children?: ReactNode;
17
+ /** Set on the final item to stop the connecting rail. */
18
+ last?: boolean;
19
+ className?: string;
20
+ }
21
+ /** A single event row within a {@link Timeline}. */
22
+ export declare const TimelineItem: FC<TimelineItemProps>;
23
+ export interface TimelineProps {
24
+ children: ReactNode;
25
+ className?: string;
26
+ }
27
+ /** Vertical timeline wrapper. Render {@link TimelineItem} children inside. */
28
+ export declare const Timeline: FC<TimelineProps>;
29
+ //# sourceMappingURL=Timeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/components/Timeline.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3C,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AAqB3F,MAAM,WAAW,iBAAiB;IAChC,6BAA6B;IAC7B,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kEAAkE;IAClE,KAAK,EAAE,SAAS,CAAC;IACjB,6BAA6B;IAC7B,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,kBAAkB;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,yDAAyD;IACzD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oDAAoD;AACpD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAwC9C,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,8EAA8E;AAC9E,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAEtC,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Components index
3
+ * @module govcitizenhub/components
4
+ */
5
+ export { PageLayout, type Breadcrumb } from './PageLayout';
6
+ export { Pagination } from './Pagination';
7
+ export { StatusBadge } from './StatusBadge';
8
+ export { FilterTabs, type FilterOption } from './FilterTabs';
9
+ export { EmptyState } from './EmptyState';
10
+ export { LoadingView, ErrorView, Section } from './StateViews';
11
+ export { MetricsCard, StatCard, type MetricDelta } from './MetricsCard';
12
+ export { TagInput } from './TagInput';
13
+ export { DocumentUploadField } from './DocumentUploadField';
14
+ export { ConfirmDialog } from './ConfirmDialog';
15
+ export { GovAreaChart, GovDonutChart, GovBarChart, ChartLegend, CHART_SERIES_COLORS, type AreaPoint, type DonutSlice, type BarDatum, type ChartLegendItem, } from './GovCharts';
16
+ export { Avatar, AssigneeChip, type AvatarProps, type AssigneeChipProps, type AvatarSize, } from './Avatar';
17
+ export { SlaBadge, type SlaBadgeProps } from './SlaBadge';
18
+ export { StatusStepper, type StatusStepperProps, type StepperStep } from './StatusStepper';
19
+ export { Timeline, TimelineItem, type TimelineProps, type TimelineItemProps, type TimelineTone, } from './Timeline';
20
+ export { SectionCard, Panel, type SectionCardProps, type PanelProps } from './SectionCard';
21
+ export { KeyValueList, type KeyValueListProps, type KeyValueItem } from './KeyValueList';
22
+ export { SummaryStrip, type SummaryStripProps, type SummaryStat, type SummaryTone, } from './SummaryStrip';
23
+ //# source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tB,KAAK,YAAY,GAClB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzF,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,GACjB,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { GovCitizenHubRootProps } from '../types';
3
+
4
+ interface GovCitizenHubContextValue extends Omit<GovCitizenHubRootProps, 'registerNavItems' | 'registerFooterItems' | 'navigate'> {
5
+ isStandalone: boolean;
6
+ /** Shell's navigate function (only available in integrated mode). */
7
+ navigate?: (path: string) => void;
8
+ /** Navigate to a path relative to basePath. */
9
+ navigateTo: (relativePath: string) => void;
10
+ /** Get the full path for a relative path. */
11
+ getPath: (relativePath: string) => string;
12
+ }
13
+ export declare function useGovCitizenHub(): GovCitizenHubContextValue;
14
+ export declare const GovCitizenHubProvider: FC<PropsWithChildren<GovCitizenHubRootProps>>;
15
+ export {};
16
+ //# sourceMappingURL=GovCitizenHubContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GovCitizenHubContext.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/context/GovCitizenHubContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAGvD,UAAU,yBAA0B,SAAQ,IAAI,CAC9C,sBAAsB,EACtB,kBAAkB,GAAG,qBAAqB,GAAG,UAAU,CACxD;IACC,YAAY,EAAE,OAAO,CAAC;IACtB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,+CAA+C;IAC/C,UAAU,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,6CAA6C;IAC7C,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAID,wBAAgB,gBAAgB,IAAI,yBAAyB,CAM5D;AAqHD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,CAmB/E,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Context index
3
+ * @module govcitizenhub/context
4
+ */
5
+ export { GovCitizenHubProvider, useGovCitizenHub } from './GovCitizenHubContext';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/context/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Hooks index
3
+ * @module govcitizenhub/hooks
4
+ */
5
+ export * from './useGovApi';
6
+ export * from './useCursorPager';
7
+ export * from './useFiles';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/hooks/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * useCursorPager — forward/back cursor pagination for Gov* list connections.
3
+ * @module govcitizenhub/hooks
4
+ *
5
+ * The connection resolvers return `pageInfo { cursor, hasMore }`. This hook keeps
6
+ * a stack of the cursors that opened each visited page so Prev/Next are exact,
7
+ * and exposes a 0-indexed `page` for display. The first page sends NO cursor
8
+ * (the svc rejects an explicit `cursor: null`).
9
+ */
10
+ export interface CursorPager {
11
+ page: number;
12
+ cursor: string | undefined;
13
+ next: (endCursor: string | null | undefined) => void;
14
+ prev: () => void;
15
+ reset: () => void;
16
+ onPageChange: (targetPage: number, endCursor: string | null | undefined) => void;
17
+ }
18
+ export declare function useCursorPager(): CursorPager;
19
+ //# sourceMappingURL=useCursorPager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCursorPager.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/hooks/useCursorPager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IACrD,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;CAClF;AAED,wBAAgB,cAAc,IAAI,WAAW,CA4B5C"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * File hooks — documents & permit PDFs via wspace-files-svc (NO duplication).
3
+ * @module govcitizenhub/hooks
4
+ *
5
+ * GovCitizenHub never stores blobs. Documents/permits reference files owned by
6
+ * wspace-files-svc by id. Upload uses the SAME proven `graphqlFetch` transport
7
+ * as every other read/write in this MFE (the shell's workspace gateway + token),
8
+ * driving the wspace-files 3-step presigned flow directly:
9
+ * ensureFolderByPath -> initiateUpload -> HTTP PUT -> completeUpload
10
+ * Display resolves a file id to a presigned URL via `getFileDownloadUrl`.
11
+ *
12
+ * NOTE: we deliberately do NOT use the Apollo-based `uploadBlobToFiles` /
13
+ * `getWorkspaceClient()` helper here — this shell wires its data plane through
14
+ * `graphqlFetch`, not a global Apollo client, so `getWorkspaceClient()` returns
15
+ * an un-networked client and the upload silently no-ops. `graphqlFetch` is the
16
+ * transport the whole MFE already uses successfully.
17
+ */
18
+ export declare const FILE_FOLDERS: {
19
+ readonly documents: "/GovCitizenHub/Documents";
20
+ readonly permits: "/GovCitizenHub/Permits";
21
+ readonly grievances: "/GovCitizenHub/Grievances";
22
+ };
23
+ export interface UploadedFile {
24
+ id: string;
25
+ url: string;
26
+ name: string;
27
+ }
28
+ /**
29
+ * Upload a file to wspace-files-svc and return its id + a presigned URL. The
30
+ * caller persists the id (e.g. via `govAddDocument({ fileId })`); the URL is used
31
+ * for an immediate preview / download link.
32
+ */
33
+ export declare function uploadFileToFiles(file: File, folderPath: string): Promise<UploadedFile>;
34
+ /** Resolve a wspace-files-svc file id to a presigned download URL for display. */
35
+ export declare function useFileUrl(fileId?: string | null): import('@tanstack/react-query').UseQueryResult<string | null, Error>;
36
+ //# sourceMappingURL=useFiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFiles.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/hooks/useFiles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAUH,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AA2DD;;;;GAIG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAqE7F;AAED,kFAAkF;AAClF,wBAAgB,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,wEAqBhD"}
@@ -0,0 +1,122 @@
1
+ import { GovConnection, GovAgency, GovService, GovServiceCategory, GovServiceStatus, GovApplication, GovApplicationStatus, GovDocument, GovDocumentStatus, GovCaseNote, GovPermit, GovPermitStatus, GovPayment, GovPaymentStatus, GovGrievance, GovGrievanceStatus, GovCreateAgencyInput, GovUpdateAgencyInput, GovCreateServiceInput, GovUpdateServiceInput, GovCreateApplicationInput, GovUpdateApplicationInput, GovAddDocumentInput, GovAddCaseNoteInput, GovCreatePaymentInput, GovIssuePermitInput, GovReportGrievanceInput, GovUpdateGrievanceInput, GovDashboardSummary, PaginationInput } from '../types';
2
+
3
+ /**
4
+ * Reads `govDashboardSummary` — the svc-computed operations totals. These are
5
+ * authoritative (full-corpus counts, not a capped client-side window), so the
6
+ * dashboard tiles and status donut MUST source from here, never from a paged
7
+ * list's `items.length`.
8
+ */
9
+ export declare const useGovDashboardSummary: () => import('@tanstack/react-query').UseQueryResult<GovDashboardSummary, Error>;
10
+ export interface AgencyFilters {
11
+ isActive?: boolean;
12
+ pagination?: PaginationInput;
13
+ }
14
+ export declare const useGovAgencies: (filters?: AgencyFilters) => import('@tanstack/react-query').UseQueryResult<GovAgency[], Error>;
15
+ export declare const useGovAgency: (id: string | undefined) => import('@tanstack/react-query').UseQueryResult<GovAgency | null, Error>;
16
+ export declare const useGovCreateAgency: () => import('@tanstack/react-query').UseMutationResult<GovAgency, Error, GovCreateAgencyInput, unknown>;
17
+ export declare const useGovUpdateAgency: () => import('@tanstack/react-query').UseMutationResult<GovAgency, Error, {
18
+ id: string;
19
+ input: GovUpdateAgencyInput;
20
+ }, unknown>;
21
+ export declare const useGovArchiveAgency: () => import('@tanstack/react-query').UseMutationResult<boolean, Error, string, unknown>;
22
+ export interface ServiceFilters {
23
+ agencyId?: string;
24
+ category?: GovServiceCategory;
25
+ status?: GovServiceStatus;
26
+ pagination?: PaginationInput;
27
+ }
28
+ export declare const useGovServices: (filters?: ServiceFilters) => import('@tanstack/react-query').UseQueryResult<GovConnection<GovService>, Error>;
29
+ export declare const useGovService: (id: string | undefined) => import('@tanstack/react-query').UseQueryResult<GovService | null, Error>;
30
+ export declare const useGovCreateService: () => import('@tanstack/react-query').UseMutationResult<GovService, Error, GovCreateServiceInput, unknown>;
31
+ export declare const useGovUpdateService: () => import('@tanstack/react-query').UseMutationResult<GovService, Error, {
32
+ id: string;
33
+ input: GovUpdateServiceInput;
34
+ }, unknown>;
35
+ export declare const useGovTransitionService: () => import('@tanstack/react-query').UseMutationResult<GovService, Error, {
36
+ id: string;
37
+ status: GovServiceStatus;
38
+ }, unknown>;
39
+ export interface ApplicationFilters {
40
+ assignedToId?: string;
41
+ citizenId?: string;
42
+ serviceId?: string;
43
+ status?: GovApplicationStatus;
44
+ pagination?: PaginationInput;
45
+ }
46
+ export declare const useGovApplications: (filters?: ApplicationFilters) => import('@tanstack/react-query').UseQueryResult<GovConnection<GovApplication>, Error>;
47
+ export declare const useGovApplication: (id: string | undefined) => import('@tanstack/react-query').UseQueryResult<GovApplication | null, Error>;
48
+ export declare const useGovCreateApplication: () => import('@tanstack/react-query').UseMutationResult<GovApplication, Error, GovCreateApplicationInput, unknown>;
49
+ export declare const useGovUpdateApplication: () => import('@tanstack/react-query').UseMutationResult<GovApplication, Error, {
50
+ id: string;
51
+ input: GovUpdateApplicationInput;
52
+ }, unknown>;
53
+ export declare const useGovSubmitApplication: () => import('@tanstack/react-query').UseMutationResult<GovApplication, Error, string, unknown>;
54
+ export declare const useGovTransitionApplication: () => import('@tanstack/react-query').UseMutationResult<GovApplication, Error, {
55
+ id: string;
56
+ status: GovApplicationStatus;
57
+ reason?: string | null;
58
+ }, unknown>;
59
+ export declare const useGovAddDocument: () => import('@tanstack/react-query').UseMutationResult<GovDocument, Error, GovAddDocumentInput, unknown>;
60
+ export declare const useGovReviewDocument: () => import('@tanstack/react-query').UseMutationResult<GovDocument, Error, {
61
+ id: string;
62
+ status: GovDocumentStatus;
63
+ rejectionReason?: string | null;
64
+ applicationId?: string;
65
+ }, unknown>;
66
+ export declare const useGovAddCaseNote: () => import('@tanstack/react-query').UseMutationResult<GovCaseNote, Error, GovAddCaseNoteInput, unknown>;
67
+ export interface PaymentFilters {
68
+ applicationId?: string;
69
+ payerId?: string;
70
+ status?: GovPaymentStatus;
71
+ pagination?: PaginationInput;
72
+ }
73
+ export declare const useGovPayments: (filters?: PaymentFilters) => import('@tanstack/react-query').UseQueryResult<GovConnection<GovPayment>, Error>;
74
+ export declare const useGovCreatePayment: () => import('@tanstack/react-query').UseMutationResult<GovPayment, Error, GovCreatePaymentInput, unknown>;
75
+ export declare const useGovMarkPaymentPaid: () => import('@tanstack/react-query').UseMutationResult<GovPayment, Error, {
76
+ id: string;
77
+ providerRef?: string | null;
78
+ }, unknown>;
79
+ export declare const useGovRefundPayment: () => import('@tanstack/react-query').UseMutationResult<GovPayment, Error, string, unknown>;
80
+ export interface PermitFilters {
81
+ holderId?: string;
82
+ serviceId?: string;
83
+ status?: GovPermitStatus;
84
+ pagination?: PaginationInput;
85
+ }
86
+ /**
87
+ * `govListPermits` returns a bare ARRAY (not a connection), but now accepts an
88
+ * optional offset `pagination` arg (default page size 50). Callers page with
89
+ * `{ limit, offset }`; `hasMore` is inferred from a full-length page since the
90
+ * svc does not return a total.
91
+ */
92
+ export declare const useGovPermits: (filters?: PermitFilters) => import('@tanstack/react-query').UseQueryResult<GovPermit[], Error>;
93
+ export declare const useGovIssuePermit: () => import('@tanstack/react-query').UseMutationResult<GovPermit, Error, GovIssuePermitInput, unknown>;
94
+ export declare const useGovRevokePermit: () => import('@tanstack/react-query').UseMutationResult<GovPermit, Error, {
95
+ id: string;
96
+ reason?: string | null;
97
+ }, unknown>;
98
+ /**
99
+ * Public permit verification by printed code. `govVerifyPermit` is a PUBLIC field
100
+ * (no auth), but we keep the workspace-token transport for a consistent gateway
101
+ * path. `enabled` is false until a code is supplied so the query is manual.
102
+ */
103
+ export declare const useGovVerifyPermit: (verificationCode: string | undefined) => import('@tanstack/react-query').UseQueryResult<GovPermit | null, Error>;
104
+ export interface GrievanceFilters {
105
+ agencyId?: string;
106
+ reporterId?: string;
107
+ status?: GovGrievanceStatus;
108
+ pagination?: PaginationInput;
109
+ }
110
+ export declare const useGovGrievances: (filters?: GrievanceFilters) => import('@tanstack/react-query').UseQueryResult<GovConnection<GovGrievance>, Error>;
111
+ export declare const useGovGrievance: (id: string | undefined) => import('@tanstack/react-query').UseQueryResult<GovGrievance | null, Error>;
112
+ export declare const useGovReportGrievance: () => import('@tanstack/react-query').UseMutationResult<GovGrievance, Error, GovReportGrievanceInput, unknown>;
113
+ export declare const useGovUpdateGrievance: () => import('@tanstack/react-query').UseMutationResult<GovGrievance, Error, {
114
+ id: string;
115
+ input: GovUpdateGrievanceInput;
116
+ }, unknown>;
117
+ export declare const useGovTransitionGrievance: () => import('@tanstack/react-query').UseMutationResult<GovGrievance, Error, {
118
+ id: string;
119
+ status: GovGrievanceStatus;
120
+ resolution?: string | null;
121
+ }, unknown>;
122
+ //# sourceMappingURL=useGovApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGovApi.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/hooks/useGovApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,KAAK,EACV,aAAa,EACb,SAAS,EACT,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,EAChB,MAAM,UAAU,CAAC;AA2HlB;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,kFAwBlC,CAAC;AAMF,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,OAAO,C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gB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B;AAED,eAAO,MAAM,gBAAgB,GAAI,UAAS,gBAAqB,uFAuB9D,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,IAAI,MAAM,GAAG,SAAS,+EAgBrD,CAAC;AAEF,eAAO,MAAM,qBAAqB,gHAgBjC,CAAC;AAEF,eAAO,MAAM,qBAAqB;QAIC,MAAM;WAAS,uBAAuB;WAexE,CAAC;AAEF,eAAO,MAAM,yBAAyB;QAK5B,MAAM;YACF,kBAAkB;iBACb,MAAM,GAAG,IAAI;WAgB/B,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * GovCitizenHub Module Exports
3
+ * @module govcitizenhub
4
+ */
5
+ export { GovCitizenHubRoot } from './GovCitizenHubRoot';
6
+ export type { GovCitizenHubRootProps, NavItem, FooterItem } from './types';
7
+ export { GovCitizenHubProvider, useGovCitizenHub } from './context';
8
+ export { useSandboxAssistantTransport, type AssistantTransport, } from '../services/createSandboxAssistantTransport';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/govcitizenhub/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,YAAY,EAAE,sBAAsB,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG3E,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAGpE,OAAO,EACL,4BAA4B,EAC5B,KAAK,kBAAkB,GACxB,MAAM,6CAA6C,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import "./context/GovCitizenHubContext.js";
2
2
  import "./context/index.js";
3
3
  import "./GovCitizenHubRoot.js";
4
+ import "../services/createSandboxAssistantTransport.js";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * graphql-cache — invalidate fe-libs' imperative-fetch response cache after writes.
3
+ * @module govcitizenhub/lib
4
+ *
5
+ * `graphqlFetch` (from `@burdenoff/fe-libs/shared/graphql`) caches every RESOLVED
6
+ * `query` response for ~15s (keyed by operationName + variables) and de-dupes
7
+ * in-flight requests. A refetch issued right after a mutation — exactly what our
8
+ * React-Query `invalidateQueries` triggers — otherwise gets served the
9
+ * PRE-mutation response, so created/updated/deleted rows stay invisible until a
10
+ * full page reload. We clear the two globals fe-libs stores on `globalThis` to
11
+ * force every post-write read back onto the network.
12
+ */
13
+ /** Clear fe-libs' resolved-response cache and in-flight de-dupe map. */
14
+ export declare function clearGraphqlResponseCache(): void;
15
+ //# sourceMappingURL=graphql-cache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphql-cache.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/lib/graphql-cache.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAOH,wEAAwE;AACxE,wBAAgB,yBAAyB,IAAI,IAAI,CAIhD"}
@@ -0,0 +1,19 @@
1
+ import { toast } from 'sonner';
2
+
3
+ /**
4
+ * Module-wide toast API. sonner is a global singleton; the matching <Toaster>
5
+ * is owned by the HOST app shell. Every page/component surfaces feedback through
6
+ * these helpers instead of hand-rolling fixed-position toast markup, so
7
+ * success/error notifications stay consistent with the rest of the platform.
8
+ */
9
+ export declare const notify: {
10
+ success(message: string, description?: string): void;
11
+ info(message: string, description?: string): void;
12
+ warning(message: string, description?: string): void;
13
+ error(message: string, description?: string): void;
14
+ dismiss(id?: string | number): void;
15
+ };
16
+ /** Normalize an unknown thrown value into a human-readable message. */
17
+ export declare function describeError(error: unknown): string;
18
+ export { toast };
19
+ //# sourceMappingURL=toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/lib/toast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B;;;;;GAKG;AACH,eAAO,MAAM,MAAM;qBACA,MAAM,gBAAgB,MAAM,GAAG,IAAI;kBAGtC,MAAM,gBAAgB,MAAM,GAAG,IAAI;qBAGhC,MAAM,gBAAgB,MAAM,GAAG,IAAI;mBAGrC,MAAM,gBAAgB,MAAM,GAAG,IAAI;iBAGrC,MAAM,GAAG,MAAM,GAAG,IAAI;CAGpC,CAAC;AAEF,uEAAuE;AACvE,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAIpD;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * DashboardPage — the GovCitizenHub operations control center.
3
+ * @module govcitizenhub/pages
4
+ *
5
+ * The six metric tiles and the "Applications by status" donut read from
6
+ * `govDashboardSummary` — svc-computed, full-corpus AUTHORITATIVE counts, never
7
+ * a capped client-side window. The "Recent applications" area trend and the
8
+ * recent-activity list are the ONLY surfaces sourced from a paged read of the
9
+ * latest applications, and are labelled as a recent sample so they never imply
10
+ * a total.
11
+ */
12
+ export declare function DashboardPage(): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=DashboardPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardPage.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/pages/DashboardPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAgFH,wBAAgB,aAAa,4CAuR5B"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * AgenciesPage — manage the government agencies that own services.
3
+ * @module govcitizenhub/pages/agencies
4
+ *
5
+ * Reads `govListAgencies` (an ARRAY, not a connection) and offers full CRUD:
6
+ * create / edit via {@link AgencyFormDialog}, a quick active/inactive toggle
7
+ * (`govUpdateAgency`) and a confirm-guarded archive (`govArchiveAgency`). Each
8
+ * card shows its live services count via a page-local `govListServices` query.
9
+ */
10
+ export declare function AgenciesPage(): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=AgenciesPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgenciesPage.d.ts","sourceRoot":"","sources":["../../../../src/govcitizenhub/pages/agencies/AgenciesPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA4MH,wBAAgB,YAAY,4CAyK3B"}
@@ -0,0 +1,12 @@
1
+ import { GovAgency } from '../../types';
2
+
3
+ interface AgencyFormDialogProps {
4
+ open: boolean;
5
+ onOpenChange: (open: boolean) => void;
6
+ /** When provided, the dialog edits this agency; otherwise it creates one. */
7
+ agency?: GovAgency | null;
8
+ onSaved?: (agency: GovAgency) => void;
9
+ }
10
+ export declare function AgencyFormDialog({ open, onOpenChange, agency, onSaved }: AgencyFormDialogProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=AgencyFormDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgencyFormDialog.d.ts","sourceRoot":"","sources":["../../../../src/govcitizenhub/pages/agencies/AgencyFormDialog.tsx"],"names":[],"mappings":"AACA;;;;;;GAMG;AAsBH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,UAAU,qBAAqB;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,6EAA6E;IAC7E,MAAM,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAC;CACvC;AAED,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,qBAAqB,2CAqL9F"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * ApplicationDetailPage — the casework workspace for a single application.
3
+ * @module govcitizenhub/pages/applications
4
+ *
5
+ * Reads `govApplication(id)` (documents, notes, permits, formData) plus the
6
+ * owning service and this application's payments. Drives the full lifecycle:
7
+ * - a StatusStepper lifecycle header (Submitted → In review → Info requested →
8
+ * Approved/Rejected) that doubles as the citizen tracking view
9
+ * - transitions (submit / start review / request info / approve / reject) via an
10
+ * "Advance status" menu, with a reason prompt where the svc requires one
11
+ * - documents (real upload → govAddDocument, officer review → govReviewDocument)
12
+ * - the domain case-notes timeline (govAddCaseNote — colour-coded by note type)
13
+ * - payments (record / mark paid / refund) and permits (issue)
14
+ * - assignment (assign to me via govUpdateApplication)
15
+ *
16
+ * All data is real (no mocks); `User`/`File` are id-only stubs, so identity is
17
+ * only rendered for the signed-in officer — never a fabricated name.
18
+ */
19
+ export declare function ApplicationDetailPage(): import("react/jsx-runtime").JSX.Element;
20
+ //# sourceMappingURL=ApplicationDetailPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationDetailPage.d.ts","sourceRoot":"","sources":["../../../../src/govcitizenhub/pages/applications/ApplicationDetailPage.tsx"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;GAiBG;AAsOH,wBAAgB,qBAAqB,4CAymBpC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * ApplicationsPage — the casework queue (citizen filings + officer review).
3
+ * @module govcitizenhub/pages/applications
4
+ *
5
+ * Reads `govListApplications` filtered by status with cursor pagination, and joins
6
+ * `govListServices` for the service name column and `govDashboardSummary` for the
7
+ * authoritative per-status tab counts. Each row surfaces reference + filed date,
8
+ * service, a priority chip, an SLA badge computed from dueDate + status, the
9
+ * assigned officer (real identity only — self shows you, others show a neutral id
10
+ * chip, unassigned is explicit), and the status pill. A SummaryStrip above the
11
+ * list reports On-track / Due-soon / Overdue for the CURRENT page (honest window).
12
+ * Rows link to the casework workspace where the full lifecycle is managed.
13
+ */
14
+ export declare function ApplicationsPage(): import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=ApplicationsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationsPage.d.ts","sourceRoot":"","sources":["../../../../src/govcitizenhub/pages/applications/ApplicationsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAkNH,wBAAgB,gBAAgB,4CA4M/B"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * NewApplicationPage — start (and optionally submit) a citizen application.
3
+ * @module govcitizenhub/pages/applications
4
+ *
5
+ * Three-step wizard (Choose service → Fill form → Review & submit), tracked with
6
+ * the shared {@link StatusStepper}. The fill step renders the selected service's
7
+ * dynamic form derived from its `formSchema` JSON — the SAME array shape produced
8
+ * by the service builder (`FormFieldBuilder`): an array of
9
+ * `{ key, label, type, required, options? }` where `type` ∈
10
+ * text | textarea | number | date | select | file. Older/foreign schemas
11
+ * (`{ fields }` / json-schema `{ properties }`) are still accepted defensively.
12
+ *
13
+ * Values become `formData`; a `file` field uploads to wspace-files-svc and stores
14
+ * the returned file id. `govCreateApplication` files the draft; "Submit" chains
15
+ * `govSubmitApplication`. Nothing is mocked.
16
+ */
17
+ export declare function NewApplicationPage(): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=NewApplicationPage.d.ts.map