@burdenoff/microfe-govcitizenhub 2026.720.2 → 2026.720.4

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 (544) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +1 -1
  2. package/dist/govcitizenhub/GovCitizenHubRoot.js.map +1 -1
  3. package/dist/govcitizenhub/GovCitizenHubRoutes.d.ts.map +1 -1
  4. package/dist/govcitizenhub/GovCitizenHubRoutes.js +96 -55
  5. package/dist/govcitizenhub/GovCitizenHubRoutes.js.map +1 -1
  6. package/dist/govcitizenhub/components/Avatar.js +1 -1
  7. package/dist/govcitizenhub/components/Avatar.js.map +1 -1
  8. package/dist/govcitizenhub/components/ConfirmDialog.js.map +1 -1
  9. package/dist/govcitizenhub/components/DocumentUploadField.js.map +1 -1
  10. package/dist/govcitizenhub/components/EmptyState.js.map +1 -1
  11. package/dist/govcitizenhub/components/FilterTabs.js.map +1 -1
  12. package/dist/govcitizenhub/components/GovCharts.js.map +1 -1
  13. package/dist/govcitizenhub/components/KeyValueList.js.map +1 -1
  14. package/dist/govcitizenhub/components/MetricsCard.js.map +1 -1
  15. package/dist/govcitizenhub/components/PageLayout.js.map +1 -1
  16. package/dist/govcitizenhub/components/Pagination.js.map +1 -1
  17. package/dist/govcitizenhub/components/SectionCard.js.map +1 -1
  18. package/dist/govcitizenhub/components/SlaBadge.js.map +1 -1
  19. package/dist/govcitizenhub/components/StateViews.js.map +1 -1
  20. package/dist/govcitizenhub/components/StatusBadge.js.map +1 -1
  21. package/dist/govcitizenhub/components/StatusStepper.js.map +1 -1
  22. package/dist/govcitizenhub/components/SummaryStrip.js.map +1 -1
  23. package/dist/govcitizenhub/components/TagInput.js.map +1 -1
  24. package/dist/govcitizenhub/components/Timeline.js.map +1 -1
  25. package/dist/govcitizenhub/components/mobile/BottomTabNav.d.ts +4 -0
  26. package/dist/govcitizenhub/components/mobile/BottomTabNav.d.ts.map +1 -0
  27. package/dist/govcitizenhub/components/mobile/BottomTabNav.js +59 -0
  28. package/dist/govcitizenhub/components/mobile/BottomTabNav.js.map +1 -0
  29. package/dist/govcitizenhub/components/mobile/MobileLayout.d.ts +6 -0
  30. package/dist/govcitizenhub/components/mobile/MobileLayout.d.ts.map +1 -0
  31. package/dist/govcitizenhub/components/mobile/MobileLayout.js +11 -0
  32. package/dist/govcitizenhub/components/mobile/MobileLayout.js.map +1 -0
  33. package/dist/govcitizenhub/components/mobile/index.d.ts +7 -0
  34. package/dist/govcitizenhub/components/mobile/index.d.ts.map +1 -0
  35. package/dist/govcitizenhub/components/mobile/index.js +2 -0
  36. package/dist/govcitizenhub/context/GovCitizenHubContext.js.map +1 -1
  37. package/dist/govcitizenhub/hooks/index.d.ts +1 -0
  38. package/dist/govcitizenhub/hooks/index.d.ts.map +1 -1
  39. package/dist/govcitizenhub/hooks/index.js +1 -0
  40. package/dist/govcitizenhub/hooks/useCursorPager.js.map +1 -1
  41. package/dist/govcitizenhub/hooks/useFiles.js.map +1 -1
  42. package/dist/govcitizenhub/hooks/useGovApi.js.map +1 -1
  43. package/dist/govcitizenhub/hooks/useIsMobileViewport.d.ts +13 -0
  44. package/dist/govcitizenhub/hooks/useIsMobileViewport.d.ts.map +1 -0
  45. package/dist/govcitizenhub/hooks/useIsMobileViewport.js +18 -0
  46. package/dist/govcitizenhub/hooks/useIsMobileViewport.js.map +1 -0
  47. package/dist/govcitizenhub/lib/graphql-cache.js.map +1 -1
  48. package/dist/govcitizenhub/lib/toast.js.map +1 -1
  49. package/dist/govcitizenhub/pages/DashboardPage.js +1 -1
  50. package/dist/govcitizenhub/pages/DashboardPage.js.map +1 -1
  51. package/dist/govcitizenhub/pages/agencies/AgenciesPage.js +5 -5
  52. package/dist/govcitizenhub/pages/agencies/AgenciesPage.js.map +1 -1
  53. package/dist/govcitizenhub/pages/agencies/AgencyFormDialog.js.map +1 -1
  54. package/dist/govcitizenhub/pages/applications/ApplicationDetailPage.js +265 -265
  55. package/dist/govcitizenhub/pages/applications/ApplicationDetailPage.js.map +1 -1
  56. package/dist/govcitizenhub/pages/applications/ApplicationsPage.js +21 -21
  57. package/dist/govcitizenhub/pages/applications/ApplicationsPage.js.map +1 -1
  58. package/dist/govcitizenhub/pages/applications/NewApplicationPage.js +1 -1
  59. package/dist/govcitizenhub/pages/applications/NewApplicationPage.js.map +1 -1
  60. package/dist/govcitizenhub/pages/documents/DocumentsPage.js +1 -1
  61. package/dist/govcitizenhub/pages/documents/DocumentsPage.js.map +1 -1
  62. package/dist/govcitizenhub/pages/grievances/GrievanceDetailPage.js +16 -16
  63. package/dist/govcitizenhub/pages/grievances/GrievanceDetailPage.js.map +1 -1
  64. package/dist/govcitizenhub/pages/grievances/GrievancesPage.js +5 -5
  65. package/dist/govcitizenhub/pages/grievances/GrievancesPage.js.map +1 -1
  66. package/dist/govcitizenhub/pages/mobile/MobileHomePage.d.ts +14 -0
  67. package/dist/govcitizenhub/pages/mobile/MobileHomePage.d.ts.map +1 -0
  68. package/dist/govcitizenhub/pages/mobile/MobileHomePage.js +140 -0
  69. package/dist/govcitizenhub/pages/mobile/MobileHomePage.js.map +1 -0
  70. package/dist/govcitizenhub/pages/mobile/MobileProfilePage.d.ts +14 -0
  71. package/dist/govcitizenhub/pages/mobile/MobileProfilePage.d.ts.map +1 -0
  72. package/dist/govcitizenhub/pages/mobile/MobileProfilePage.js +86 -0
  73. package/dist/govcitizenhub/pages/mobile/MobileProfilePage.js.map +1 -0
  74. package/dist/govcitizenhub/pages/mobile/MobileRequestsPage.d.ts +14 -0
  75. package/dist/govcitizenhub/pages/mobile/MobileRequestsPage.d.ts.map +1 -0
  76. package/dist/govcitizenhub/pages/mobile/MobileRequestsPage.js +88 -0
  77. package/dist/govcitizenhub/pages/mobile/MobileRequestsPage.js.map +1 -0
  78. package/dist/govcitizenhub/pages/payments/PaymentsPage.js +5 -5
  79. package/dist/govcitizenhub/pages/payments/PaymentsPage.js.map +1 -1
  80. package/dist/govcitizenhub/pages/permits/IssuePermitDialog.js.map +1 -1
  81. package/dist/govcitizenhub/pages/permits/PermitsPage.js +5 -5
  82. package/dist/govcitizenhub/pages/permits/PermitsPage.js.map +1 -1
  83. package/dist/govcitizenhub/pages/permits/VerifyPermitPage.js +1 -1
  84. package/dist/govcitizenhub/pages/permits/VerifyPermitPage.js.map +1 -1
  85. package/dist/govcitizenhub/pages/services/FormFieldBuilder.js.map +1 -1
  86. package/dist/govcitizenhub/pages/services/ServiceDetailPage.js +1 -1
  87. package/dist/govcitizenhub/pages/services/ServiceDetailPage.js.map +1 -1
  88. package/dist/govcitizenhub/pages/services/ServiceFormDialog.js.map +1 -1
  89. package/dist/govcitizenhub/pages/services/ServicesPage.d.ts.map +1 -1
  90. package/dist/govcitizenhub/pages/services/ServicesPage.js +86 -122
  91. package/dist/govcitizenhub/pages/services/ServicesPage.js.map +1 -1
  92. package/dist/govcitizenhub/utils/formatters.js.map +1 -1
  93. package/dist/govcitizenhub/utils/navigation.js.map +1 -1
  94. package/dist/govcitizenhub/utils/serviceCategoryMeta.d.ts +10 -0
  95. package/dist/govcitizenhub/utils/serviceCategoryMeta.d.ts.map +1 -0
  96. package/dist/govcitizenhub/utils/serviceCategoryMeta.js +44 -0
  97. package/dist/govcitizenhub/utils/serviceCategoryMeta.js.map +1 -0
  98. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  99. package/dist/node_modules/d3-array/src/ascending.js.map +1 -1
  100. package/dist/node_modules/d3-array/src/bisect.js.map +1 -1
  101. package/dist/node_modules/d3-array/src/bisector.js.map +1 -1
  102. package/dist/node_modules/d3-array/src/descending.js.map +1 -1
  103. package/dist/node_modules/d3-array/src/max.js.map +1 -1
  104. package/dist/node_modules/d3-array/src/min.js.map +1 -1
  105. package/dist/node_modules/d3-array/src/number.js.map +1 -1
  106. package/dist/node_modules/d3-array/src/quantile.js.map +1 -1
  107. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -1
  108. package/dist/node_modules/d3-array/src/range.js.map +1 -1
  109. package/dist/node_modules/d3-array/src/sort.js.map +1 -1
  110. package/dist/node_modules/d3-array/src/ticks.js.map +1 -1
  111. package/dist/node_modules/d3-color/src/color.js.map +1 -1
  112. package/dist/node_modules/d3-color/src/define.js.map +1 -1
  113. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -1
  114. package/dist/node_modules/d3-format/src/exponent.js.map +1 -1
  115. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -1
  116. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -1
  117. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -1
  118. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -1
  119. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -1
  120. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -1
  121. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -1
  122. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -1
  123. package/dist/node_modules/d3-format/src/identity.js.map +1 -1
  124. package/dist/node_modules/d3-format/src/locale.js.map +1 -1
  125. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -1
  126. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -1
  127. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -1
  128. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -1
  129. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -1
  130. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -1
  131. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -1
  132. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -1
  133. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -1
  134. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -1
  135. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -1
  136. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -1
  137. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -1
  138. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -1
  139. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -1
  140. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -1
  141. package/dist/node_modules/d3-path/src/path.js.map +1 -1
  142. package/dist/node_modules/d3-scale/src/band.js.map +1 -1
  143. package/dist/node_modules/d3-scale/src/constant.js.map +1 -1
  144. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -1
  145. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -1
  146. package/dist/node_modules/d3-scale/src/identity.js.map +1 -1
  147. package/dist/node_modules/d3-scale/src/init.js.map +1 -1
  148. package/dist/node_modules/d3-scale/src/linear.js.map +1 -1
  149. package/dist/node_modules/d3-scale/src/log.js.map +1 -1
  150. package/dist/node_modules/d3-scale/src/nice.js.map +1 -1
  151. package/dist/node_modules/d3-scale/src/number.js.map +1 -1
  152. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -1
  153. package/dist/node_modules/d3-scale/src/pow.js.map +1 -1
  154. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -1
  155. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -1
  156. package/dist/node_modules/d3-scale/src/radial.js.map +1 -1
  157. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -1
  158. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -1
  159. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -1
  160. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -1
  161. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -1
  162. package/dist/node_modules/d3-scale/src/time.js.map +1 -1
  163. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -1
  164. package/dist/node_modules/d3-shape/src/area.js.map +1 -1
  165. package/dist/node_modules/d3-shape/src/array.js.map +1 -1
  166. package/dist/node_modules/d3-shape/src/constant.js.map +1 -1
  167. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -1
  168. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -1
  169. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -1
  170. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -1
  171. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -1
  172. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -1
  173. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -1
  174. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -1
  175. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -1
  176. package/dist/node_modules/d3-shape/src/line.js.map +1 -1
  177. package/dist/node_modules/d3-shape/src/noop.js.map +1 -1
  178. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -1
  179. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -1
  180. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -1
  181. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -1
  182. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -1
  183. package/dist/node_modules/d3-shape/src/path.js.map +1 -1
  184. package/dist/node_modules/d3-shape/src/point.js.map +1 -1
  185. package/dist/node_modules/d3-shape/src/stack.js.map +1 -1
  186. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -1
  187. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -1
  188. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -1
  189. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -1
  190. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -1
  191. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -1
  192. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -1
  193. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -1
  194. package/dist/node_modules/d3-time/src/day.js.map +1 -1
  195. package/dist/node_modules/d3-time/src/hour.js.map +1 -1
  196. package/dist/node_modules/d3-time/src/interval.js.map +1 -1
  197. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -1
  198. package/dist/node_modules/d3-time/src/minute.js.map +1 -1
  199. package/dist/node_modules/d3-time/src/month.js.map +1 -1
  200. package/dist/node_modules/d3-time/src/second.js.map +1 -1
  201. package/dist/node_modules/d3-time/src/ticks.js.map +1 -1
  202. package/dist/node_modules/d3-time/src/week.js.map +1 -1
  203. package/dist/node_modules/d3-time/src/year.js.map +1 -1
  204. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -1
  205. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -1
  206. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
  207. package/dist/node_modules/eventemitter3/index.js.map +1 -1
  208. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
  209. package/dist/node_modules/internmap/src/index.js.map +1 -1
  210. package/dist/node_modules/lodash/_DataView.js.map +1 -1
  211. package/dist/node_modules/lodash/_Hash.js.map +1 -1
  212. package/dist/node_modules/lodash/_ListCache.js.map +1 -1
  213. package/dist/node_modules/lodash/_Map.js.map +1 -1
  214. package/dist/node_modules/lodash/_MapCache.js.map +1 -1
  215. package/dist/node_modules/lodash/_Promise.js.map +1 -1
  216. package/dist/node_modules/lodash/_Set.js.map +1 -1
  217. package/dist/node_modules/lodash/_SetCache.js.map +1 -1
  218. package/dist/node_modules/lodash/_Stack.js +2 -1
  219. package/dist/node_modules/lodash/_Stack.js.map +1 -1
  220. package/dist/node_modules/lodash/_Symbol.js.map +1 -1
  221. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
  222. package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
  223. package/dist/node_modules/lodash/_apply.js.map +1 -1
  224. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
  225. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
  226. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
  227. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
  228. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
  229. package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
  230. package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
  231. package/dist/node_modules/lodash/_arraySome.js.map +1 -1
  232. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
  233. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
  234. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
  235. package/dist/node_modules/lodash/_baseEach.js.map +1 -1
  236. package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
  237. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
  238. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
  239. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
  240. package/dist/node_modules/lodash/_baseFor.js.map +1 -1
  241. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
  242. package/dist/node_modules/lodash/_baseGet.js.map +1 -1
  243. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
  244. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
  245. package/dist/node_modules/lodash/_baseGt.js.map +1 -1
  246. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
  247. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
  248. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
  249. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
  250. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
  251. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
  252. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
  253. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
  254. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
  255. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
  256. package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
  257. package/dist/node_modules/lodash/_baseLt.js.map +1 -1
  258. package/dist/node_modules/lodash/_baseMap.js.map +1 -1
  259. package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
  260. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
  261. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
  262. package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
  263. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
  264. package/dist/node_modules/lodash/_baseRange.js.map +1 -1
  265. package/dist/node_modules/lodash/_baseRest.js.map +1 -1
  266. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
  267. package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
  268. package/dist/node_modules/lodash/_baseSome.js.map +1 -1
  269. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
  270. package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
  271. package/dist/node_modules/lodash/_baseToString.js.map +1 -1
  272. package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
  273. package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
  274. package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
  275. package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
  276. package/dist/node_modules/lodash/_castPath.js.map +1 -1
  277. package/dist/node_modules/lodash/_castSlice.js.map +1 -1
  278. package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
  279. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
  280. package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
  281. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
  282. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
  283. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
  284. package/dist/node_modules/lodash/_createFind.js.map +1 -1
  285. package/dist/node_modules/lodash/_createRange.js.map +1 -1
  286. package/dist/node_modules/lodash/_createSet.js.map +1 -1
  287. package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
  288. package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
  289. package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
  290. package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
  291. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
  292. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
  293. package/dist/node_modules/lodash/_getMapData.js.map +1 -1
  294. package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
  295. package/dist/node_modules/lodash/_getNative.js.map +1 -1
  296. package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
  297. package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
  298. package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
  299. package/dist/node_modules/lodash/_getTag.js.map +1 -1
  300. package/dist/node_modules/lodash/_getValue.js.map +1 -1
  301. package/dist/node_modules/lodash/_hasPath.js.map +1 -1
  302. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
  303. package/dist/node_modules/lodash/_hashClear.js.map +1 -1
  304. package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
  305. package/dist/node_modules/lodash/_hashGet.js.map +1 -1
  306. package/dist/node_modules/lodash/_hashHas.js.map +1 -1
  307. package/dist/node_modules/lodash/_hashSet.js.map +1 -1
  308. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
  309. package/dist/node_modules/lodash/_isIndex.js.map +1 -1
  310. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
  311. package/dist/node_modules/lodash/_isKey.js.map +1 -1
  312. package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
  313. package/dist/node_modules/lodash/_isMasked.js.map +1 -1
  314. package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
  315. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
  316. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
  317. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
  318. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
  319. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
  320. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
  321. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
  322. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
  323. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
  324. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
  325. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
  326. package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
  327. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
  328. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
  329. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
  330. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
  331. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
  332. package/dist/node_modules/lodash/_objectToString.js.map +1 -1
  333. package/dist/node_modules/lodash/_overArg.js.map +1 -1
  334. package/dist/node_modules/lodash/_overRest.js.map +1 -1
  335. package/dist/node_modules/lodash/_root.js.map +1 -1
  336. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
  337. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
  338. package/dist/node_modules/lodash/_setToArray.js.map +1 -1
  339. package/dist/node_modules/lodash/_setToString.js.map +1 -1
  340. package/dist/node_modules/lodash/_shortOut.js.map +1 -1
  341. package/dist/node_modules/lodash/_stackClear.js.map +1 -1
  342. package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
  343. package/dist/node_modules/lodash/_stackGet.js.map +1 -1
  344. package/dist/node_modules/lodash/_stackHas.js.map +1 -1
  345. package/dist/node_modules/lodash/_stackSet.js.map +1 -1
  346. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
  347. package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
  348. package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
  349. package/dist/node_modules/lodash/_toKey.js.map +1 -1
  350. package/dist/node_modules/lodash/_toSource.js.map +1 -1
  351. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
  352. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
  353. package/dist/node_modules/lodash/constant.js.map +1 -1
  354. package/dist/node_modules/lodash/debounce.js.map +1 -1
  355. package/dist/node_modules/lodash/eq.js.map +1 -1
  356. package/dist/node_modules/lodash/every.js.map +1 -1
  357. package/dist/node_modules/lodash/find.js.map +1 -1
  358. package/dist/node_modules/lodash/findIndex.js.map +1 -1
  359. package/dist/node_modules/lodash/flatMap.js.map +1 -1
  360. package/dist/node_modules/lodash/get.js.map +1 -1
  361. package/dist/node_modules/lodash/hasIn.js.map +1 -1
  362. package/dist/node_modules/lodash/identity.js.map +1 -1
  363. package/dist/node_modules/lodash/isArguments.js.map +1 -1
  364. package/dist/node_modules/lodash/isArray.js.map +1 -1
  365. package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
  366. package/dist/node_modules/lodash/isBoolean.js.map +1 -1
  367. package/dist/node_modules/lodash/isBuffer.js.map +1 -1
  368. package/dist/node_modules/lodash/isEqual.js.map +1 -1
  369. package/dist/node_modules/lodash/isFunction.js.map +1 -1
  370. package/dist/node_modules/lodash/isLength.js.map +1 -1
  371. package/dist/node_modules/lodash/isNaN.js.map +1 -1
  372. package/dist/node_modules/lodash/isNil.js.map +1 -1
  373. package/dist/node_modules/lodash/isNumber.js.map +1 -1
  374. package/dist/node_modules/lodash/isObject.js.map +1 -1
  375. package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
  376. package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
  377. package/dist/node_modules/lodash/isString.js.map +1 -1
  378. package/dist/node_modules/lodash/isSymbol.js.map +1 -1
  379. package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
  380. package/dist/node_modules/lodash/keys.js.map +1 -1
  381. package/dist/node_modules/lodash/last.js.map +1 -1
  382. package/dist/node_modules/lodash/map.js.map +1 -1
  383. package/dist/node_modules/lodash/mapValues.js.map +1 -1
  384. package/dist/node_modules/lodash/max.js.map +1 -1
  385. package/dist/node_modules/lodash/maxBy.js.map +1 -1
  386. package/dist/node_modules/lodash/memoize.js.map +1 -1
  387. package/dist/node_modules/lodash/min.js.map +1 -1
  388. package/dist/node_modules/lodash/minBy.js.map +1 -1
  389. package/dist/node_modules/lodash/noop.js.map +1 -1
  390. package/dist/node_modules/lodash/now.js.map +1 -1
  391. package/dist/node_modules/lodash/property.js.map +1 -1
  392. package/dist/node_modules/lodash/range.js.map +1 -1
  393. package/dist/node_modules/lodash/some.js.map +1 -1
  394. package/dist/node_modules/lodash/sortBy.js.map +1 -1
  395. package/dist/node_modules/lodash/stubArray.js.map +1 -1
  396. package/dist/node_modules/lodash/stubFalse.js.map +1 -1
  397. package/dist/node_modules/lodash/throttle.js.map +1 -1
  398. package/dist/node_modules/lodash/toFinite.js.map +1 -1
  399. package/dist/node_modules/lodash/toInteger.js.map +1 -1
  400. package/dist/node_modules/lodash/toNumber.js.map +1 -1
  401. package/dist/node_modules/lodash/toString.js.map +1 -1
  402. package/dist/node_modules/lodash/uniqBy.js.map +1 -1
  403. package/dist/node_modules/lodash/upperFirst.js.map +1 -1
  404. package/dist/node_modules/object-assign/index.js.map +1 -1
  405. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
  406. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
  407. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
  408. package/dist/node_modules/prop-types/index.js.map +1 -1
  409. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
  410. package/dist/node_modules/prop-types/lib/has.js.map +1 -1
  411. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  412. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  413. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
  414. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  415. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  416. package/dist/node_modules/react-is/index.js.map +1 -1
  417. package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
  418. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
  419. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
  420. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
  421. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
  422. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
  423. package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
  424. package/dist/node_modules/recharts/es6/cartesian/Area.js +13 -13
  425. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -1
  426. package/dist/node_modules/recharts/es6/cartesian/Bar.js +9 -9
  427. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
  428. package/dist/node_modules/recharts/es6/cartesian/Brush.js +12 -12
  429. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  430. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +7 -7
  431. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
  432. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +4 -4
  433. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
  434. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +3 -3
  435. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
  436. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +3 -3
  437. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
  438. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +4 -4
  439. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
  440. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +3 -3
  441. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
  442. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +3 -3
  443. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
  444. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
  445. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
  446. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -1
  447. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
  448. package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -1
  449. package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -1
  450. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +22 -22
  451. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
  452. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
  453. package/dist/node_modules/recharts/es6/component/Cursor.js +1 -1
  454. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
  455. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +11 -11
  456. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
  457. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +6 -6
  458. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
  459. package/dist/node_modules/recharts/es6/component/Label.js +14 -14
  460. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
  461. package/dist/node_modules/recharts/es6/component/LabelList.js +6 -6
  462. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
  463. package/dist/node_modules/recharts/es6/component/Legend.js +5 -5
  464. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
  465. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +3 -3
  466. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
  467. package/dist/node_modules/recharts/es6/component/Text.js +2 -2
  468. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
  469. package/dist/node_modules/recharts/es6/component/Tooltip.js +3 -3
  470. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
  471. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +2 -2
  472. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
  473. package/dist/node_modules/recharts/es6/container/Layer.js +2 -2
  474. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
  475. package/dist/node_modules/recharts/es6/container/Surface.js +2 -2
  476. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
  477. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +2 -2
  478. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
  479. package/dist/node_modules/recharts/es6/polar/Pie.js +13 -13
  480. package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -1
  481. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +8 -8
  482. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +1 -1
  483. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +6 -6
  484. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +1 -1
  485. package/dist/node_modules/recharts/es6/shape/Cross.js +1 -1
  486. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
  487. package/dist/node_modules/recharts/es6/shape/Curve.js +1 -1
  488. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
  489. package/dist/node_modules/recharts/es6/shape/Dot.js +1 -1
  490. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
  491. package/dist/node_modules/recharts/es6/shape/Polygon.js +4 -4
  492. package/dist/node_modules/recharts/es6/shape/Polygon.js.map +1 -1
  493. package/dist/node_modules/recharts/es6/shape/Rectangle.js +4 -4
  494. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
  495. package/dist/node_modules/recharts/es6/shape/Sector.js +1 -1
  496. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
  497. package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -1
  498. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
  499. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +4 -4
  500. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
  501. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +9 -9
  502. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
  503. package/dist/node_modules/recharts/es6/util/BarUtils.js +1 -1
  504. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
  505. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +1 -1
  506. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
  507. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
  508. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
  509. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
  510. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
  511. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
  512. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
  513. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
  514. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
  515. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
  516. package/dist/node_modules/recharts/es6/util/PolarUtils.js +1 -1
  517. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
  518. package/dist/node_modules/recharts/es6/util/ReactUtils.js +1 -1
  519. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
  520. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +1 -1
  521. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
  522. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
  523. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
  524. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
  525. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
  526. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
  527. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
  528. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
  529. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
  530. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
  531. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
  532. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
  533. package/dist/node_modules/recharts/es6/util/types.js +1 -1
  534. package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
  535. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
  536. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
  537. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
  538. package/dist/node_modules/sonner/dist/index.js.map +1 -1
  539. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
  540. package/dist/services/createSandboxAssistantTransport.js.map +1 -1
  541. package/dist/utils/pageContext.d.ts.map +1 -1
  542. package/dist/utils/pageContext.js +8 -1
  543. package/dist/utils/pageContext.js.map +1 -1
  544. package/package.json +2 -2
@@ -1,85 +1,85 @@
1
1
  import { useGovCitizenHub as e } from "../../context/GovCitizenHubContext.js";
2
+ import "../../context/index.js";
2
3
  import { PageLayout as t } from "../../components/PageLayout.js";
3
4
  import { formatCurrency as n, formatDate as r, formatDateTime as i, formatEnumLabel as a, formatRelativeTime as o } from "../../utils/formatters.js";
4
5
  import { StatusBadge as s } from "../../components/StatusBadge.js";
5
- import "../../context/index.js";
6
6
  import { useGovAddCaseNote as c, useGovApplication as l, useGovCreatePayment as u, useGovMarkPaymentPaid as d, useGovPayments as f, useGovRefundPayment as ee, useGovReviewDocument as te, useGovService as ne, useGovSubmitApplication as re, useGovTransitionApplication as ie, useGovUpdateApplication as ae } from "../../hooks/useGovApi.js";
7
7
  import "../../hooks/index.js";
8
8
  import { ErrorView as oe, LoadingView as se } from "../../components/StateViews.js";
9
- import { ConfirmDialog as ce } from "../../components/ConfirmDialog.js";
10
- import { describeError as p, notify as m } from "../../lib/toast.js";
11
- import { SlaBadge as le } from "../../components/SlaBadge.js";
12
- import { StatusStepper as ue } from "../../components/StatusStepper.js";
13
- import { Timeline as de, TimelineItem as fe } from "../../components/Timeline.js";
14
- import { SectionCard as h } from "../../components/SectionCard.js";
15
- import { KeyValueList as g } from "../../components/KeyValueList.js";
16
- import { AssigneeChip as _ } from "../../components/Avatar.js";
17
- import { DocumentUploadField as pe } from "../../components/DocumentUploadField.js";
18
- import { IssuePermitDialog as me } from "../permits/IssuePermitDialog.js";
19
- import { useEffect as v, useMemo as y, useState as b } from "react";
20
- import { BadgeCheck as he, Check as ge, CheckCircle2 as x, ChevronDown as _e, ClipboardList as ve, CreditCard as ye, Eye as be, FileText as xe, Gavel as S, HelpCircle as C, Lock as w, MessageSquare as T, PlayCircle as E, Plus as D, Route as Se, Send as Ce, UserPlus as we, X as Te, XCircle as O } from "lucide-react";
21
- import { useParams as Ee } from "react-router-dom";
22
- import { Fragment as De, jsx as k, jsxs as A } from "react/jsx-runtime";
23
- import { Button as j, DropdownMenu as Oe, DropdownMenuContent as ke, DropdownMenuItem as Ae, DropdownMenuTrigger as je, Input as M, Label as N, ResponsiveDialog as P, ResponsiveDialogContent as F, ResponsiveDialogDescription as I, ResponsiveDialogFooter as L, ResponsiveDialogHeader as R, ResponsiveDialogTitle as z, Select as Me, SelectContent as Ne, SelectItem as Pe, SelectTrigger as Fe, SelectValue as Ie, Textarea as Le } from "@burdenoff/fe-libs/ui";
9
+ import { SlaBadge as ce } from "../../components/SlaBadge.js";
10
+ import { AssigneeChip as p } from "../../components/Avatar.js";
11
+ import { ConfirmDialog as m } from "../../components/ConfirmDialog.js";
12
+ import { describeError as h, notify as g } from "../../lib/toast.js";
13
+ import { StatusStepper as le } from "../../components/StatusStepper.js";
14
+ import { Timeline as ue, TimelineItem as de } from "../../components/Timeline.js";
15
+ import { SectionCard as _ } from "../../components/SectionCard.js";
16
+ import { KeyValueList as v } from "../../components/KeyValueList.js";
17
+ import { DocumentUploadField as fe } from "../../components/DocumentUploadField.js";
18
+ import { IssuePermitDialog as pe } from "../permits/IssuePermitDialog.js";
19
+ import { useEffect as y, useMemo as b, useState as x } from "react";
20
+ import { BadgeCheck as me, Check as he, CheckCircle2 as S, ChevronDown as ge, ClipboardList as _e, CreditCard as ve, Eye as ye, FileText as be, Gavel as C, HelpCircle as w, Lock as T, MessageSquare as E, PlayCircle as D, Plus as O, Route as xe, Send as Se, UserPlus as Ce, X as we, XCircle as k } from "lucide-react";
21
+ import { useParams as Te } from "react-router-dom";
22
+ import { Fragment as Ee, jsx as A, jsxs as j } from "react/jsx-runtime";
23
+ import { Button as M, DropdownMenu as De, DropdownMenuContent as Oe, DropdownMenuItem as ke, DropdownMenuTrigger as Ae, Input as N, Label as P, ResponsiveDialog as F, ResponsiveDialogContent as I, ResponsiveDialogDescription as L, ResponsiveDialogFooter as R, ResponsiveDialogHeader as z, ResponsiveDialogTitle as B, Select as je, SelectContent as Me, SelectItem as Ne, SelectTrigger as Pe, SelectValue as Fe, Textarea as Ie } from "@burdenoff/fe-libs/ui";
24
24
  //#region src/govcitizenhub/pages/applications/ApplicationDetailPage.tsx
25
- var Re = [
25
+ var Le = [
26
26
  "INTERNAL",
27
27
  "CITIZEN_MESSAGE",
28
28
  "INFO_REQUEST",
29
29
  "DECISION"
30
- ], B = {
30
+ ], V = {
31
31
  INTERNAL: {
32
32
  tone: "default",
33
- icon: w,
33
+ icon: T,
34
34
  label: "Internal"
35
35
  },
36
36
  CITIZEN_MESSAGE: {
37
37
  tone: "success",
38
- icon: T,
38
+ icon: E,
39
39
  label: "Citizen message"
40
40
  },
41
41
  INFO_REQUEST: {
42
42
  tone: "warning",
43
- icon: C,
43
+ icon: w,
44
44
  label: "Info request"
45
45
  },
46
46
  DECISION: {
47
47
  tone: "info",
48
- icon: S,
48
+ icon: C,
49
49
  label: "Decision"
50
50
  }
51
51
  };
52
- function V(e) {
52
+ function H(e) {
53
53
  if (!e) return;
54
54
  let t = [e.firstName, e.lastName].filter(Boolean).join(" ").trim();
55
55
  return e.name?.trim() || t || e.username?.trim() || e.email;
56
56
  }
57
- var H = (e) => e.slice(0, 8);
58
- function ze(e) {
57
+ var U = (e) => e.slice(0, 8);
58
+ function Re(e) {
59
59
  switch (e) {
60
60
  case "SUBMITTED": return [
61
61
  {
62
62
  status: "IN_REVIEW",
63
63
  label: "Start review",
64
- icon: E,
64
+ icon: D,
65
65
  reason: "none"
66
66
  },
67
67
  {
68
68
  status: "INFO_REQUESTED",
69
69
  label: "Request info",
70
- icon: C,
70
+ icon: w,
71
71
  reason: "required"
72
72
  },
73
73
  {
74
74
  status: "APPROVED",
75
75
  label: "Approve",
76
- icon: x,
76
+ icon: S,
77
77
  reason: "optional"
78
78
  },
79
79
  {
80
80
  status: "REJECTED",
81
81
  label: "Reject",
82
- icon: O,
82
+ icon: k,
83
83
  reason: "required",
84
84
  destructive: !0
85
85
  }
@@ -88,19 +88,19 @@ function ze(e) {
88
88
  {
89
89
  status: "INFO_REQUESTED",
90
90
  label: "Request info",
91
- icon: C,
91
+ icon: w,
92
92
  reason: "required"
93
93
  },
94
94
  {
95
95
  status: "APPROVED",
96
96
  label: "Approve",
97
- icon: x,
97
+ icon: S,
98
98
  reason: "optional"
99
99
  },
100
100
  {
101
101
  status: "REJECTED",
102
102
  label: "Reject",
103
- icon: O,
103
+ icon: k,
104
104
  reason: "required",
105
105
  destructive: !0
106
106
  }
@@ -109,19 +109,19 @@ function ze(e) {
109
109
  {
110
110
  status: "IN_REVIEW",
111
111
  label: "Resume review",
112
- icon: E,
112
+ icon: D,
113
113
  reason: "none"
114
114
  },
115
115
  {
116
116
  status: "APPROVED",
117
117
  label: "Approve",
118
- icon: x,
118
+ icon: S,
119
119
  reason: "optional"
120
120
  },
121
121
  {
122
122
  status: "REJECTED",
123
123
  label: "Reject",
124
- icon: O,
124
+ icon: k,
125
125
  reason: "required",
126
126
  destructive: !0
127
127
  }
@@ -129,7 +129,7 @@ function ze(e) {
129
129
  default: return [];
130
130
  }
131
131
  }
132
- function Be(e) {
132
+ function ze(e) {
133
133
  let t = e.status === "APPROVED" ? "Approved" : e.status === "REJECTED" ? "Rejected" : e.status === "WITHDRAWN" ? "Withdrawn" : "Decision";
134
134
  return {
135
135
  steps: [
@@ -164,182 +164,182 @@ function Be(e) {
164
164
  }[e.status]
165
165
  };
166
166
  }
167
- function Ve({ assignedToId: e, currentUser: t }) {
168
- return e ? t?.id && e === t.id ? /* @__PURE__ */ k(_, {
169
- name: V(t) ?? "You",
167
+ function Be({ assignedToId: e, currentUser: t }) {
168
+ return e ? t?.id && e === t.id ? /* @__PURE__ */ A(p, {
169
+ name: H(t) ?? "You",
170
170
  src: t.avatar,
171
171
  subtitle: "You"
172
- }) : /* @__PURE__ */ k(_, {
172
+ }) : /* @__PURE__ */ A(p, {
173
173
  name: "Assigned officer",
174
- subtitle: `#${H(e)}`
175
- }) : /* @__PURE__ */ k("span", {
174
+ subtitle: `#${U(e)}`
175
+ }) : /* @__PURE__ */ A("span", {
176
176
  className: "text-sm text-text-muted",
177
177
  children: "Unassigned"
178
178
  });
179
179
  }
180
- function U() {
181
- let { id: _ } = Ee(), { navigateTo: v, currentUser: x } = e(), { data: S, isLoading: C, isError: w, refetch: E } = l(_), { data: O } = ne(S?.serviceId), M = f({
182
- applicationId: _,
180
+ function W() {
181
+ let { id: p } = Te(), { navigateTo: y, currentUser: S } = e(), { data: C, isLoading: w, isError: T, refetch: D } = l(p), { data: k } = ne(C?.serviceId), N = f({
182
+ applicationId: p,
183
183
  pagination: { limit: 50 }
184
- }), P = re(), F = ie(), I = ae(), L = te(), R = c(), z = u(), V = d(), U = ee(), [W, G] = b(null), [K, q] = b(null), [J, Y] = b(""), [X, Ue] = b("INTERNAL"), [We, Z] = b(!1), [Ge, Q] = b(!1), Ke = y(() => S ? ze(S.status) : [], [S]), qe = y(() => S ? Be(S) : {
184
+ }), F = re(), I = ie(), L = ae(), R = te(), z = c(), B = u(), H = d(), W = ee(), [G, K] = x(null), [q, J] = x(null), [Y, X] = x(""), [Z, He] = x("INTERNAL"), [Ue, We] = x(!1), [Ge, Q] = x(!1), Ke = b(() => C ? Re(C.status) : [], [C]), qe = b(() => C ? ze(C) : {
185
185
  steps: [],
186
186
  current: 0
187
- }, [S]), Je = y(() => {
188
- let e = S?.formData;
187
+ }, [C]), Je = b(() => {
188
+ let e = C?.formData;
189
189
  return !e || typeof e != "object" || Array.isArray(e) ? [] : Object.entries(e).filter(([, e]) => e != null && String(e).trim() !== "");
190
- }, [S?.formData]), $ = y(() => S ? [...S.notes].sort((e, t) => new Date(e.createdAt).getTime() - new Date(t.createdAt).getTime()) : [], [S]);
191
- if (C) return /* @__PURE__ */ k(t, {
190
+ }, [C?.formData]), $ = b(() => C ? [...C.notes].sort((e, t) => new Date(e.createdAt).getTime() - new Date(t.createdAt).getTime()) : [], [C]);
191
+ if (w) return /* @__PURE__ */ A(t, {
192
192
  title: "Application",
193
193
  back: {
194
194
  label: "Applications",
195
- onClick: () => v("applications")
195
+ onClick: () => y("applications")
196
196
  },
197
- children: /* @__PURE__ */ k(se, { label: "Loading application…" })
197
+ children: /* @__PURE__ */ A(se, { label: "Loading application…" })
198
198
  });
199
- if (w || !S) return /* @__PURE__ */ k(t, {
199
+ if (T || !C) return /* @__PURE__ */ A(t, {
200
200
  title: "Application",
201
201
  back: {
202
202
  label: "Applications",
203
- onClick: () => v("applications")
203
+ onClick: () => y("applications")
204
204
  },
205
- children: /* @__PURE__ */ k(oe, {
205
+ children: /* @__PURE__ */ A(oe, {
206
206
  message: "We couldn't load this application.",
207
- onRetry: () => E()
207
+ onRetry: () => D()
208
208
  })
209
209
  });
210
210
  let Ye = async () => {
211
211
  try {
212
- await P.mutateAsync(S.id), m.success("Application submitted", S.reference);
212
+ await F.mutateAsync(C.id), g.success("Application submitted", C.reference);
213
213
  } catch (e) {
214
- m.error("Could not submit", p(e));
214
+ g.error("Could not submit", h(e));
215
215
  }
216
216
  }, Xe = async (e, t) => {
217
217
  try {
218
- await F.mutateAsync({
219
- id: S.id,
218
+ await I.mutateAsync({
219
+ id: C.id,
220
220
  status: e.status,
221
221
  reason: t.trim() || null
222
- }), m.success("Application updated", `Status is now ${a(e.status)}.`);
222
+ }), g.success("Application updated", `Status is now ${a(e.status)}.`);
223
223
  } catch (e) {
224
- m.error("Could not update the application", p(e));
224
+ g.error("Could not update the application", h(e));
225
225
  }
226
226
  }, Ze = async () => {
227
- if (x?.id) try {
228
- await I.mutateAsync({
229
- id: S.id,
230
- input: { assignedToId: x.id }
231
- }), m.success("Assigned to you");
227
+ if (S?.id) try {
228
+ await L.mutateAsync({
229
+ id: C.id,
230
+ input: { assignedToId: S.id }
231
+ }), g.success("Assigned to you");
232
232
  } catch (e) {
233
- m.error("Could not assign", p(e));
233
+ g.error("Could not assign", h(e));
234
234
  }
235
235
  }, Qe = async (e) => {
236
236
  try {
237
- await L.mutateAsync({
237
+ await R.mutateAsync({
238
238
  id: e.id,
239
239
  status: "ACCEPTED",
240
- applicationId: S.id
241
- }), m.success("Document accepted", e.name);
240
+ applicationId: C.id
241
+ }), g.success("Document accepted", e.name);
242
242
  } catch (e) {
243
- m.error("Could not accept document", p(e));
243
+ g.error("Could not accept document", h(e));
244
244
  }
245
245
  }, $e = async () => {
246
- if (J.trim()) try {
247
- await R.mutateAsync({
248
- applicationId: S.id,
249
- body: J.trim(),
250
- type: X
251
- }), Y(""), m.success("Note added");
246
+ if (Y.trim()) try {
247
+ await z.mutateAsync({
248
+ applicationId: C.id,
249
+ body: Y.trim(),
250
+ type: Z
251
+ }), X(""), g.success("Note added");
252
252
  } catch (e) {
253
- m.error("Could not add note", p(e));
253
+ g.error("Could not add note", h(e));
254
254
  }
255
- }, et = P.isPending || F.isPending || I.isPending, tt = !!(S.assignedToId && S.assignedToId === x?.id), nt = (e) => {
256
- e.reason === "none" ? Xe(e, "") : G(e);
255
+ }, et = F.isPending || I.isPending || L.isPending, tt = !!(C.assignedToId && C.assignedToId === S?.id), nt = (e) => {
256
+ e.reason === "none" ? Xe(e, "") : K(e);
257
257
  }, rt = [
258
258
  {
259
259
  label: "Filed",
260
- value: i(S.createdAt)
260
+ value: i(C.createdAt)
261
261
  },
262
262
  {
263
263
  label: "Submitted",
264
- value: S.submittedAt ? i(S.submittedAt) : "Not submitted"
264
+ value: C.submittedAt ? i(C.submittedAt) : "Not submitted"
265
265
  },
266
266
  {
267
267
  label: "Due date",
268
- value: S.dueDate ? /* @__PURE__ */ A("span", {
268
+ value: C.dueDate ? /* @__PURE__ */ j("span", {
269
269
  className: "flex flex-col items-end gap-1",
270
- children: [/* @__PURE__ */ k("span", { children: r(S.dueDate) }), /* @__PURE__ */ k(le, {
271
- dueDate: S.dueDate,
272
- status: S.status
270
+ children: [/* @__PURE__ */ A("span", { children: r(C.dueDate) }), /* @__PURE__ */ A(ce, {
271
+ dueDate: C.dueDate,
272
+ status: C.status
273
273
  })]
274
274
  }) : "—"
275
275
  },
276
276
  {
277
277
  label: "Decided",
278
- value: S.decidedAt ? i(S.decidedAt) : "—"
278
+ value: C.decidedAt ? i(C.decidedAt) : "—"
279
279
  },
280
280
  {
281
281
  label: "Assigned to",
282
- value: /* @__PURE__ */ k(Ve, {
283
- assignedToId: S.assignedToId,
284
- currentUser: x
282
+ value: /* @__PURE__ */ A(Be, {
283
+ assignedToId: C.assignedToId,
284
+ currentUser: S
285
285
  })
286
286
  }
287
287
  ];
288
- return /* @__PURE__ */ A(t, {
289
- title: /* @__PURE__ */ A("span", {
288
+ return /* @__PURE__ */ j(t, {
289
+ title: /* @__PURE__ */ j("span", {
290
290
  className: "flex flex-wrap items-center gap-x-3 gap-y-2",
291
291
  children: [
292
- /* @__PURE__ */ k("span", {
292
+ /* @__PURE__ */ A("span", {
293
293
  className: "text-text-primary",
294
- children: S.reference
294
+ children: C.reference
295
295
  }),
296
- O && /* @__PURE__ */ A("span", {
296
+ k && /* @__PURE__ */ j("span", {
297
297
  className: "text-lg font-normal text-text-secondary",
298
- children: ["· ", O.name]
298
+ children: ["· ", k.name]
299
299
  }),
300
- /* @__PURE__ */ k(s, {
301
- status: S.status,
300
+ /* @__PURE__ */ A(s, {
301
+ status: C.status,
302
302
  size: "md"
303
303
  }),
304
- /* @__PURE__ */ k(s, {
305
- status: S.priority,
304
+ /* @__PURE__ */ A(s, {
305
+ status: C.priority,
306
306
  size: "md"
307
307
  })
308
308
  ]
309
309
  }),
310
310
  back: {
311
311
  label: "Applications",
312
- onClick: () => v("applications")
312
+ onClick: () => y("applications")
313
313
  },
314
- actions: /* @__PURE__ */ A("div", {
314
+ actions: /* @__PURE__ */ j("div", {
315
315
  className: "flex flex-wrap items-center gap-2",
316
316
  children: [
317
- !tt && x?.id && /* @__PURE__ */ A(j, {
317
+ !tt && S?.id && /* @__PURE__ */ j(M, {
318
318
  variant: "outline",
319
319
  onClick: Ze,
320
- disabled: I.isPending,
321
- children: [/* @__PURE__ */ k(we, { className: "mr-1.5 h-4 w-4" }), " Assign to me"]
320
+ disabled: L.isPending,
321
+ children: [/* @__PURE__ */ A(Ce, { className: "mr-1.5 h-4 w-4" }), " Assign to me"]
322
322
  }),
323
- S.status === "DRAFT" && /* @__PURE__ */ A(j, {
323
+ C.status === "DRAFT" && /* @__PURE__ */ j(M, {
324
324
  onClick: Ye,
325
325
  disabled: et,
326
- children: [/* @__PURE__ */ k(Ce, { className: "mr-1.5 h-4 w-4" }), " Submit"]
326
+ children: [/* @__PURE__ */ A(Se, { className: "mr-1.5 h-4 w-4" }), " Submit"]
327
327
  }),
328
- Ke.length > 0 && /* @__PURE__ */ A(Oe, { children: [/* @__PURE__ */ A(je, {
328
+ Ke.length > 0 && /* @__PURE__ */ j(De, { children: [/* @__PURE__ */ j(Ae, {
329
329
  disabled: et,
330
330
  className: "inline-flex items-center gap-1.5 rounded-button bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text transition-opacity hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-focus disabled:opacity-50",
331
331
  "aria-label": "Advance status",
332
- children: ["Advance status ", /* @__PURE__ */ k(_e, { className: "size-4" })]
333
- }), /* @__PURE__ */ k(ke, {
332
+ children: ["Advance status ", /* @__PURE__ */ A(ge, { className: "size-4" })]
333
+ }), /* @__PURE__ */ A(Oe, {
334
334
  align: "end",
335
335
  className: "min-w-48",
336
336
  children: Ke.map((e) => {
337
337
  let t = e.icon;
338
- return /* @__PURE__ */ A(Ae, {
338
+ return /* @__PURE__ */ j(ke, {
339
339
  className: `gap-2 ${e.destructive ? "text-status-error-text focus:text-status-error-text" : ""}`,
340
340
  onSelect: () => nt(e),
341
341
  children: [
342
- /* @__PURE__ */ k(t, { className: "size-4" }),
342
+ /* @__PURE__ */ A(t, { className: "size-4" }),
343
343
  " ",
344
344
  e.label
345
345
  ]
@@ -349,35 +349,35 @@ function U() {
349
349
  ]
350
350
  }),
351
351
  children: [
352
- /* @__PURE__ */ k(h, {
352
+ /* @__PURE__ */ A(_, {
353
353
  title: "Progress",
354
- icon: /* @__PURE__ */ k(Se, {}),
354
+ icon: /* @__PURE__ */ A(xe, {}),
355
355
  className: "mb-4 border-border-seam",
356
- children: /* @__PURE__ */ k(ue, {
356
+ children: /* @__PURE__ */ A(le, {
357
357
  steps: qe.steps,
358
358
  current: qe.current
359
359
  })
360
360
  }),
361
- /* @__PURE__ */ A("div", {
361
+ /* @__PURE__ */ j("div", {
362
362
  className: "grid gap-4 lg:grid-cols-3",
363
- children: [/* @__PURE__ */ A("div", {
363
+ children: [/* @__PURE__ */ j("div", {
364
364
  className: "space-y-4 lg:col-span-2",
365
365
  children: [
366
- S.decisionReason && /* @__PURE__ */ A("div", {
366
+ C.decisionReason && /* @__PURE__ */ j("div", {
367
367
  className: "rounded-card border border-border-seam bg-bg-sunken px-4 py-3 text-sm text-text-secondary",
368
- children: [/* @__PURE__ */ k("span", {
368
+ children: [/* @__PURE__ */ A("span", {
369
369
  className: "font-medium text-text-primary",
370
370
  children: "Decision note: "
371
- }), S.decisionReason]
371
+ }), C.decisionReason]
372
372
  }),
373
- /* @__PURE__ */ k(h, {
373
+ /* @__PURE__ */ A(_, {
374
374
  title: "Submitted information",
375
- icon: /* @__PURE__ */ k(ve, {}),
375
+ icon: /* @__PURE__ */ A(_e, {}),
376
376
  className: "border-border-seam",
377
- children: Je.length === 0 ? /* @__PURE__ */ k("p", {
377
+ children: Je.length === 0 ? /* @__PURE__ */ A("p", {
378
378
  className: "text-sm text-text-secondary",
379
379
  children: "No form data was captured with this application."
380
- }) : /* @__PURE__ */ k(g, {
380
+ }) : /* @__PURE__ */ A(v, {
381
381
  columns: 2,
382
382
  variant: "stacked",
383
383
  items: Je.map(([e, t]) => ({
@@ -386,34 +386,34 @@ function U() {
386
386
  }))
387
387
  })
388
388
  }),
389
- /* @__PURE__ */ A(h, {
389
+ /* @__PURE__ */ j(_, {
390
390
  title: "Documents",
391
- icon: /* @__PURE__ */ k(xe, {}),
391
+ icon: /* @__PURE__ */ A(be, {}),
392
392
  className: "border-border-seam",
393
- actions: /* @__PURE__ */ A("span", {
393
+ actions: /* @__PURE__ */ j("span", {
394
394
  className: "text-xs text-text-muted tabular-nums",
395
- children: [S.documents.length, " attached"]
395
+ children: [C.documents.length, " attached"]
396
396
  }),
397
- children: [/* @__PURE__ */ k("div", {
397
+ children: [/* @__PURE__ */ A("div", {
398
398
  className: "space-y-2.5",
399
- children: S.documents.length === 0 ? /* @__PURE__ */ k("p", {
399
+ children: C.documents.length === 0 ? /* @__PURE__ */ A("p", {
400
400
  className: "text-sm text-text-secondary",
401
401
  children: "No documents attached yet."
402
- }) : S.documents.map((e) => /* @__PURE__ */ A("div", {
402
+ }) : C.documents.map((e) => /* @__PURE__ */ j("div", {
403
403
  className: "flex flex-wrap items-center justify-between gap-3 rounded-lg border border-border-seam bg-bg-surface px-3 py-2.5",
404
- children: [/* @__PURE__ */ A("div", {
404
+ children: [/* @__PURE__ */ j("div", {
405
405
  className: "flex min-w-0 items-center gap-3",
406
- children: [/* @__PURE__ */ k("span", {
406
+ children: [/* @__PURE__ */ A("span", {
407
407
  className: "inline-flex size-9 shrink-0 items-center justify-center rounded-lg bg-bg-sunken text-text-secondary",
408
- children: /* @__PURE__ */ k(xe, { className: "size-4" })
409
- }), /* @__PURE__ */ A("div", {
408
+ children: /* @__PURE__ */ A(be, { className: "size-4" })
409
+ }), /* @__PURE__ */ j("div", {
410
410
  className: "min-w-0",
411
411
  children: [
412
- /* @__PURE__ */ k("p", {
412
+ /* @__PURE__ */ A("p", {
413
413
  className: "truncate text-sm font-medium text-text-primary",
414
414
  children: e.name
415
415
  }),
416
- /* @__PURE__ */ A("p", {
416
+ /* @__PURE__ */ j("p", {
417
417
  className: "text-xs text-text-muted",
418
418
  children: [
419
419
  e.requirement ? `${e.requirement} · ` : "",
@@ -421,194 +421,194 @@ function U() {
421
421
  o(e.createdAt)
422
422
  ]
423
423
  }),
424
- e.status === "REJECTED" && e.rejectionReason && /* @__PURE__ */ A("p", {
424
+ e.status === "REJECTED" && e.rejectionReason && /* @__PURE__ */ j("p", {
425
425
  className: "mt-0.5 text-xs text-status-error-text",
426
426
  children: ["Rejected: ", e.rejectionReason]
427
427
  })
428
428
  ]
429
429
  })]
430
- }), /* @__PURE__ */ A("div", {
430
+ }), /* @__PURE__ */ j("div", {
431
431
  className: "flex items-center gap-2",
432
- children: [/* @__PURE__ */ k(s, { status: e.status }), e.status === "PENDING" && /* @__PURE__ */ A(De, { children: [/* @__PURE__ */ k(j, {
432
+ children: [/* @__PURE__ */ A(s, { status: e.status }), e.status === "PENDING" && /* @__PURE__ */ j(Ee, { children: [/* @__PURE__ */ A(M, {
433
433
  size: "sm",
434
434
  variant: "outline",
435
435
  onClick: () => Qe(e),
436
- disabled: L.isPending,
436
+ disabled: R.isPending,
437
437
  "aria-label": `Accept ${e.name}`,
438
- children: /* @__PURE__ */ k(ge, { className: "h-4 w-4" })
439
- }), /* @__PURE__ */ k(j, {
438
+ children: /* @__PURE__ */ A(he, { className: "h-4 w-4" })
439
+ }), /* @__PURE__ */ A(M, {
440
440
  size: "sm",
441
441
  variant: "outline",
442
- onClick: () => q(e),
443
- disabled: L.isPending,
442
+ onClick: () => J(e),
443
+ disabled: R.isPending,
444
444
  "aria-label": `Reject ${e.name}`,
445
- children: /* @__PURE__ */ k(Te, { className: "h-4 w-4" })
445
+ children: /* @__PURE__ */ A(we, { className: "h-4 w-4" })
446
446
  })] })]
447
447
  })]
448
448
  }, e.id))
449
- }), /* @__PURE__ */ A("div", {
449
+ }), /* @__PURE__ */ j("div", {
450
450
  className: "mt-4 border-t border-border-seam pt-4",
451
- children: [/* @__PURE__ */ k(pe, {
452
- applicationId: S.id,
453
- onAdded: () => E()
454
- }), O && O.requiredDocuments.length > 0 && /* @__PURE__ */ A("p", {
451
+ children: [/* @__PURE__ */ A(fe, {
452
+ applicationId: C.id,
453
+ onAdded: () => D()
454
+ }), k && k.requiredDocuments.length > 0 && /* @__PURE__ */ j("p", {
455
455
  className: "mt-2 text-xs text-text-muted",
456
- children: ["Required: ", O.requiredDocuments.join(", ")]
456
+ children: ["Required: ", k.requiredDocuments.join(", ")]
457
457
  })]
458
458
  })]
459
459
  }),
460
- /* @__PURE__ */ A(h, {
460
+ /* @__PURE__ */ j(_, {
461
461
  title: "Case notes",
462
- icon: /* @__PURE__ */ k(T, {}),
462
+ icon: /* @__PURE__ */ A(E, {}),
463
463
  className: "border-border-seam",
464
- actions: /* @__PURE__ */ A("span", {
464
+ actions: /* @__PURE__ */ j("span", {
465
465
  className: "text-xs text-text-muted tabular-nums",
466
466
  children: [
467
- S.notes.length,
467
+ C.notes.length,
468
468
  " ",
469
- S.notes.length === 1 ? "note" : "notes"
469
+ C.notes.length === 1 ? "note" : "notes"
470
470
  ]
471
471
  }),
472
- children: [$.length === 0 ? /* @__PURE__ */ k("p", {
472
+ children: [$.length === 0 ? /* @__PURE__ */ A("p", {
473
473
  className: "text-sm text-text-secondary",
474
474
  children: "No case notes yet."
475
- }) : /* @__PURE__ */ k(de, { children: $.map((e, t) => {
476
- let n = B[e.type], r = n.icon, a = x?.id && e.authorId === x.id ? "You" : `#${H(e.authorId)}`;
477
- return /* @__PURE__ */ k(fe, {
475
+ }) : /* @__PURE__ */ A(ue, { children: $.map((e, t) => {
476
+ let n = V[e.type], r = n.icon, a = S?.id && e.authorId === S.id ? "You" : `#${U(e.authorId)}`;
477
+ return /* @__PURE__ */ A(de, {
478
478
  tone: n.tone,
479
- icon: /* @__PURE__ */ k(r, {}),
479
+ icon: /* @__PURE__ */ A(r, {}),
480
480
  title: n.label,
481
481
  author: a,
482
482
  timestamp: i(e.createdAt),
483
483
  last: t === $.length - 1,
484
- children: /* @__PURE__ */ k("p", {
484
+ children: /* @__PURE__ */ A("p", {
485
485
  className: "whitespace-pre-wrap text-text-primary",
486
486
  children: e.body
487
487
  })
488
488
  }, e.id);
489
- }) }), /* @__PURE__ */ A("div", {
489
+ }) }), /* @__PURE__ */ j("div", {
490
490
  className: "mt-4 space-y-2 border-t border-border-seam pt-4",
491
- children: [/* @__PURE__ */ k(Le, {
492
- value: J,
493
- onChange: (e) => Y(e.target.value),
491
+ children: [/* @__PURE__ */ A(Ie, {
492
+ value: Y,
493
+ onChange: (e) => X(e.target.value),
494
494
  placeholder: "Add a case note…",
495
495
  rows: 2,
496
496
  "aria-label": "New case note"
497
- }), /* @__PURE__ */ A("div", {
497
+ }), /* @__PURE__ */ j("div", {
498
498
  className: "flex flex-wrap items-center justify-between gap-2",
499
- children: [/* @__PURE__ */ A("div", {
499
+ children: [/* @__PURE__ */ j("div", {
500
500
  className: "flex items-center gap-2",
501
- children: [/* @__PURE__ */ k(N, {
501
+ children: [/* @__PURE__ */ A(P, {
502
502
  htmlFor: "note-type",
503
503
  className: "text-xs text-text-muted",
504
504
  children: "Note type"
505
- }), /* @__PURE__ */ A(Me, {
506
- value: X,
507
- onValueChange: (e) => Ue(e),
508
- children: [/* @__PURE__ */ k(Fe, {
505
+ }), /* @__PURE__ */ j(je, {
506
+ value: Z,
507
+ onValueChange: (e) => He(e),
508
+ children: [/* @__PURE__ */ A(Pe, {
509
509
  id: "note-type",
510
510
  className: "w-44",
511
511
  "aria-label": "Note type",
512
- children: /* @__PURE__ */ k(Ie, {})
513
- }), /* @__PURE__ */ k(Ne, { children: Re.map((e) => /* @__PURE__ */ k(Pe, {
512
+ children: /* @__PURE__ */ A(Fe, {})
513
+ }), /* @__PURE__ */ A(Me, { children: Le.map((e) => /* @__PURE__ */ A(Ne, {
514
514
  value: e,
515
- children: B[e].label
515
+ children: V[e].label
516
516
  }, e)) })]
517
517
  })]
518
- }), /* @__PURE__ */ A(j, {
518
+ }), /* @__PURE__ */ j(M, {
519
519
  onClick: $e,
520
- disabled: !J.trim() || R.isPending,
521
- children: [/* @__PURE__ */ k(D, { className: "mr-1.5 h-4 w-4" }), " Add note"]
520
+ disabled: !Y.trim() || z.isPending,
521
+ children: [/* @__PURE__ */ A(O, { className: "mr-1.5 h-4 w-4" }), " Add note"]
522
522
  })]
523
523
  })]
524
524
  })]
525
525
  })
526
526
  ]
527
- }), /* @__PURE__ */ A("div", {
527
+ }), /* @__PURE__ */ j("div", {
528
528
  className: "space-y-4",
529
529
  children: [
530
- /* @__PURE__ */ k(h, {
530
+ /* @__PURE__ */ A(_, {
531
531
  title: "Case details",
532
- icon: /* @__PURE__ */ k(be, {}),
532
+ icon: /* @__PURE__ */ A(ye, {}),
533
533
  className: "border-border-seam",
534
- children: /* @__PURE__ */ k(g, { items: rt })
534
+ children: /* @__PURE__ */ A(v, { items: rt })
535
535
  }),
536
- /* @__PURE__ */ k(h, {
536
+ /* @__PURE__ */ A(_, {
537
537
  title: "Payments",
538
- icon: /* @__PURE__ */ k(ye, {}),
538
+ icon: /* @__PURE__ */ A(ve, {}),
539
539
  className: "border-border-seam",
540
- actions: /* @__PURE__ */ k(j, {
540
+ actions: /* @__PURE__ */ A(M, {
541
541
  size: "sm",
542
542
  variant: "outline",
543
- onClick: () => Z(!0),
543
+ onClick: () => We(!0),
544
544
  "aria-label": "Record payment",
545
- children: /* @__PURE__ */ k(D, { className: "h-4 w-4" })
545
+ children: /* @__PURE__ */ A(O, { className: "h-4 w-4" })
546
546
  }),
547
- children: /* @__PURE__ */ k("div", {
547
+ children: /* @__PURE__ */ A("div", {
548
548
  className: "space-y-2",
549
- children: M.data?.items.length ? M.data.items.map((e) => /* @__PURE__ */ A("div", {
549
+ children: N.data?.items.length ? N.data.items.map((e) => /* @__PURE__ */ j("div", {
550
550
  className: "rounded-lg border border-border-seam bg-bg-surface px-3 py-2.5",
551
551
  children: [
552
- /* @__PURE__ */ A("div", {
552
+ /* @__PURE__ */ j("div", {
553
553
  className: "flex items-center justify-between gap-2",
554
- children: [/* @__PURE__ */ k("span", {
554
+ children: [/* @__PURE__ */ A("span", {
555
555
  className: "font-medium text-text-primary tabular-nums",
556
556
  children: n(e.amount, e.currency)
557
- }), /* @__PURE__ */ k(s, { status: e.status })]
557
+ }), /* @__PURE__ */ A(s, { status: e.status })]
558
558
  }),
559
- e.receiptNumber && /* @__PURE__ */ A("p", {
559
+ e.receiptNumber && /* @__PURE__ */ j("p", {
560
560
  className: "mt-0.5 text-xs text-text-muted",
561
561
  children: ["Receipt ", e.receiptNumber]
562
562
  }),
563
- (e.status === "PENDING" || e.status === "PAID") && /* @__PURE__ */ A("div", {
563
+ (e.status === "PENDING" || e.status === "PAID") && /* @__PURE__ */ j("div", {
564
564
  className: "mt-2 flex gap-2",
565
- children: [e.status === "PENDING" && /* @__PURE__ */ k(j, {
565
+ children: [e.status === "PENDING" && /* @__PURE__ */ A(M, {
566
566
  size: "sm",
567
567
  variant: "outline",
568
- onClick: () => V.mutateAsync({ id: e.id }).then(() => m.success("Marked as paid")).catch((e) => m.error("Could not update", p(e))),
569
- disabled: V.isPending,
568
+ onClick: () => H.mutateAsync({ id: e.id }).then(() => g.success("Marked as paid")).catch((e) => g.error("Could not update", h(e))),
569
+ disabled: H.isPending,
570
570
  children: "Mark paid"
571
- }), e.status === "PAID" && /* @__PURE__ */ k(j, {
571
+ }), e.status === "PAID" && /* @__PURE__ */ A(M, {
572
572
  size: "sm",
573
573
  variant: "outline",
574
- onClick: () => U.mutateAsync(e.id).then(() => m.success("Refunded")).catch((e) => m.error("Could not refund", p(e))),
575
- disabled: U.isPending,
574
+ onClick: () => W.mutateAsync(e.id).then(() => g.success("Refunded")).catch((e) => g.error("Could not refund", h(e))),
575
+ disabled: W.isPending,
576
576
  children: "Refund"
577
577
  })]
578
578
  })
579
579
  ]
580
- }, e.id)) : /* @__PURE__ */ k("p", {
580
+ }, e.id)) : /* @__PURE__ */ A("p", {
581
581
  className: "text-sm text-text-secondary",
582
582
  children: "No payments recorded."
583
583
  })
584
584
  })
585
585
  }),
586
- /* @__PURE__ */ k(h, {
586
+ /* @__PURE__ */ A(_, {
587
587
  title: "Permits",
588
- icon: /* @__PURE__ */ k(he, {}),
588
+ icon: /* @__PURE__ */ A(me, {}),
589
589
  className: "border-border-seam",
590
- actions: /* @__PURE__ */ k(j, {
590
+ actions: /* @__PURE__ */ A(M, {
591
591
  size: "sm",
592
592
  variant: "outline",
593
593
  onClick: () => Q(!0),
594
594
  "aria-label": "Issue permit",
595
- children: /* @__PURE__ */ k(D, { className: "h-4 w-4" })
595
+ children: /* @__PURE__ */ A(O, { className: "h-4 w-4" })
596
596
  }),
597
- children: /* @__PURE__ */ k("div", {
597
+ children: /* @__PURE__ */ A("div", {
598
598
  className: "space-y-2",
599
- children: S.permits.length ? S.permits.map((e) => /* @__PURE__ */ A("div", {
599
+ children: C.permits.length ? C.permits.map((e) => /* @__PURE__ */ j("div", {
600
600
  className: "rounded-lg border border-border-seam bg-bg-surface px-3 py-2.5",
601
- children: [/* @__PURE__ */ A("div", {
601
+ children: [/* @__PURE__ */ j("div", {
602
602
  className: "flex items-center justify-between gap-2",
603
- children: [/* @__PURE__ */ k("span", {
603
+ children: [/* @__PURE__ */ A("span", {
604
604
  className: "truncate font-medium text-text-primary",
605
605
  children: e.title
606
- }), /* @__PURE__ */ k(s, { status: e.status })]
607
- }), /* @__PURE__ */ k("p", {
606
+ }), /* @__PURE__ */ A(s, { status: e.status })]
607
+ }), /* @__PURE__ */ A("p", {
608
608
  className: "mt-0.5 font-mono text-xs text-text-muted",
609
609
  children: e.verificationCode
610
610
  })]
611
- }, e.id)) : /* @__PURE__ */ k("p", {
611
+ }, e.id)) : /* @__PURE__ */ A("p", {
612
612
  className: "text-sm text-text-secondary",
613
613
  children: "No permit issued yet. Approve the application, then issue the permit here."
614
614
  })
@@ -617,26 +617,26 @@ function U() {
617
617
  ]
618
618
  })]
619
619
  }),
620
- W && /* @__PURE__ */ k(ce, {
621
- open: !!W,
622
- onOpenChange: (e) => e ? void 0 : G(null),
623
- title: `${W.label}?`,
624
- description: `This will move the application to ${a(W.status)}.`,
625
- confirmLabel: W.label,
626
- destructive: W.destructive,
620
+ G && /* @__PURE__ */ A(m, {
621
+ open: !!G,
622
+ onOpenChange: (e) => e ? void 0 : K(null),
623
+ title: `${G.label}?`,
624
+ description: `This will move the application to ${a(G.status)}.`,
625
+ confirmLabel: G.label,
626
+ destructive: G.destructive,
627
627
  reason: {
628
- label: W.status === "REJECTED" ? "Reason for rejection" : "Reason / note",
628
+ label: G.status === "REJECTED" ? "Reason for rejection" : "Reason / note",
629
629
  placeholder: "Explain the decision…",
630
- required: W.reason === "required"
630
+ required: G.reason === "required"
631
631
  },
632
632
  onConfirm: async (e) => {
633
- await Xe(W, e), G(null);
633
+ await Xe(G, e), K(null);
634
634
  }
635
635
  }),
636
- K && /* @__PURE__ */ k(ce, {
637
- open: !!K,
638
- onOpenChange: (e) => e ? void 0 : q(null),
639
- title: `Reject ${K.name}?`,
636
+ q && /* @__PURE__ */ A(m, {
637
+ open: !!q,
638
+ onOpenChange: (e) => e ? void 0 : J(null),
639
+ title: `Reject ${q.name}?`,
640
640
  confirmLabel: "Reject document",
641
641
  destructive: !0,
642
642
  reason: {
@@ -645,63 +645,63 @@ function U() {
645
645
  required: !0
646
646
  },
647
647
  onConfirm: async (e) => {
648
- await L.mutateAsync({
649
- id: K.id,
648
+ await R.mutateAsync({
649
+ id: q.id,
650
650
  status: "REJECTED",
651
651
  rejectionReason: e,
652
- applicationId: S.id
653
- }), m.success("Document rejected"), q(null);
652
+ applicationId: C.id
653
+ }), g.success("Document rejected"), J(null);
654
654
  }
655
655
  }),
656
- /* @__PURE__ */ k(He, {
657
- open: We,
658
- onOpenChange: Z,
659
- defaultAmount: O?.feeAmount ?? 0,
660
- defaultCurrency: O?.currency ?? "INR",
656
+ /* @__PURE__ */ A(Ve, {
657
+ open: Ue,
658
+ onOpenChange: We,
659
+ defaultAmount: k?.feeAmount ?? 0,
660
+ defaultCurrency: k?.currency ?? "INR",
661
661
  onSubmit: async ({ amount: e, currency: t, providerRef: n }) => {
662
- await z.mutateAsync({
663
- applicationId: S.id,
662
+ await B.mutateAsync({
663
+ applicationId: C.id,
664
664
  amount: e,
665
665
  currency: t,
666
666
  providerRef: n || null
667
- }), m.success("Payment recorded"), M.refetch();
667
+ }), g.success("Payment recorded"), N.refetch();
668
668
  }
669
669
  }),
670
- /* @__PURE__ */ k(me, {
670
+ /* @__PURE__ */ A(pe, {
671
671
  open: Ge,
672
672
  onOpenChange: Q,
673
- defaultServiceId: S.serviceId,
674
- defaultHolderId: S.citizenId,
675
- applicationId: S.id,
676
- onIssued: () => E()
673
+ defaultServiceId: C.serviceId,
674
+ defaultHolderId: C.citizenId,
675
+ applicationId: C.id,
676
+ onIssued: () => D()
677
677
  })
678
678
  ]
679
679
  });
680
680
  }
681
- function He({ open: e, onOpenChange: t, defaultAmount: n, defaultCurrency: r, onSubmit: i }) {
682
- let [a, o] = b(""), [s, c] = b(r), [l, u] = b(""), [d, f] = b(!1);
683
- return v(() => {
681
+ function Ve({ open: e, onOpenChange: t, defaultAmount: n, defaultCurrency: r, onSubmit: i }) {
682
+ let [a, o] = x(""), [s, c] = x(r), [l, u] = x(""), [d, f] = x(!1);
683
+ return y(() => {
684
684
  e && (o(n ? String(n) : ""), c(r || "INR"), u(""));
685
685
  }, [
686
686
  e,
687
687
  n,
688
688
  r
689
- ]), /* @__PURE__ */ k(P, {
689
+ ]), /* @__PURE__ */ A(F, {
690
690
  open: e,
691
691
  onOpenChange: (e) => d ? void 0 : t(e),
692
- children: /* @__PURE__ */ A(F, {
692
+ children: /* @__PURE__ */ j(I, {
693
693
  className: "sm:max-w-md",
694
694
  children: [
695
- /* @__PURE__ */ A(R, { children: [/* @__PURE__ */ k(z, { children: "Record a payment" }), /* @__PURE__ */ k(I, { children: "Log a fee payment against this application." })] }),
696
- /* @__PURE__ */ A("div", {
695
+ /* @__PURE__ */ j(z, { children: [/* @__PURE__ */ A(B, { children: "Record a payment" }), /* @__PURE__ */ A(L, { children: "Log a fee payment against this application." })] }),
696
+ /* @__PURE__ */ j("div", {
697
697
  className: "grid gap-4 py-2 sm:grid-cols-2",
698
698
  children: [
699
- /* @__PURE__ */ A("div", {
699
+ /* @__PURE__ */ j("div", {
700
700
  className: "grid gap-1.5",
701
- children: [/* @__PURE__ */ k(N, {
701
+ children: [/* @__PURE__ */ A(P, {
702
702
  htmlFor: "pay-amount",
703
703
  children: "Amount"
704
- }), /* @__PURE__ */ k(M, {
704
+ }), /* @__PURE__ */ A(N, {
705
705
  id: "pay-amount",
706
706
  type: "number",
707
707
  min: "0",
@@ -710,24 +710,24 @@ function He({ open: e, onOpenChange: t, defaultAmount: n, defaultCurrency: r, on
710
710
  onChange: (e) => o(e.target.value)
711
711
  })]
712
712
  }),
713
- /* @__PURE__ */ A("div", {
713
+ /* @__PURE__ */ j("div", {
714
714
  className: "grid gap-1.5",
715
- children: [/* @__PURE__ */ k(N, {
715
+ children: [/* @__PURE__ */ A(P, {
716
716
  htmlFor: "pay-currency",
717
717
  children: "Currency"
718
- }), /* @__PURE__ */ k(M, {
718
+ }), /* @__PURE__ */ A(N, {
719
719
  id: "pay-currency",
720
720
  value: s,
721
721
  maxLength: 3,
722
722
  onChange: (e) => c(e.target.value.toUpperCase())
723
723
  })]
724
724
  }),
725
- /* @__PURE__ */ A("div", {
725
+ /* @__PURE__ */ j("div", {
726
726
  className: "grid gap-1.5 sm:col-span-2",
727
- children: [/* @__PURE__ */ k(N, {
727
+ children: [/* @__PURE__ */ A(P, {
728
728
  htmlFor: "pay-ref",
729
729
  children: "Provider reference (optional)"
730
- }), /* @__PURE__ */ k(M, {
730
+ }), /* @__PURE__ */ A(N, {
731
731
  id: "pay-ref",
732
732
  value: l,
733
733
  onChange: (e) => u(e.target.value),
@@ -736,12 +736,12 @@ function He({ open: e, onOpenChange: t, defaultAmount: n, defaultCurrency: r, on
736
736
  })
737
737
  ]
738
738
  }),
739
- /* @__PURE__ */ A(L, { children: [/* @__PURE__ */ k(j, {
739
+ /* @__PURE__ */ j(R, { children: [/* @__PURE__ */ A(M, {
740
740
  variant: "outline",
741
741
  onClick: () => t(!1),
742
742
  disabled: d,
743
743
  children: "Cancel"
744
- }), /* @__PURE__ */ k(j, {
744
+ }), /* @__PURE__ */ A(M, {
745
745
  onClick: async () => {
746
746
  let e = Number(a || 0);
747
747
  if (!(e <= 0)) {
@@ -765,6 +765,6 @@ function He({ open: e, onOpenChange: t, defaultAmount: n, defaultCurrency: r, on
765
765
  });
766
766
  }
767
767
  //#endregion
768
- export { U as ApplicationDetailPage };
768
+ export { W as ApplicationDetailPage };
769
769
 
770
770
  //# sourceMappingURL=ApplicationDetailPage.js.map