@burdenoff/microfe-theglobalfuel 2026.705.5 → 2026.709.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/README.md +3 -0
  2. package/dist/dev/main.d.ts +2 -0
  3. package/dist/dev/main.d.ts.map +1 -0
  4. package/dist/generated/global-operations.d.ts +2 -0
  5. package/dist/generated/global-operations.d.ts.map +1 -0
  6. package/dist/generated/global-types.d.ts +18199 -0
  7. package/dist/generated/global-types.d.ts.map +1 -0
  8. package/dist/generated/wspace-operations.d.ts +2 -0
  9. package/dist/generated/wspace-operations.d.ts.map +1 -0
  10. package/dist/generated/wspace-types.d.ts +43046 -0
  11. package/dist/generated/wspace-types.d.ts.map +1 -0
  12. package/dist/index.d.ts +2 -0
  13. package/dist/index.d.ts.map +1 -0
  14. package/dist/index.js +3 -1
  15. package/dist/theglobalfuel/TheGlobalFuelRoot.d.ts +5 -0
  16. package/dist/theglobalfuel/TheGlobalFuelRoot.d.ts.map +1 -0
  17. package/dist/theglobalfuel/TheGlobalFuelRoot.js +106 -104
  18. package/dist/theglobalfuel/TheGlobalFuelRoot.js.map +1 -1
  19. package/dist/theglobalfuel/TheGlobalFuelRoutes.d.ts +4 -0
  20. package/dist/theglobalfuel/TheGlobalFuelRoutes.d.ts.map +1 -0
  21. package/dist/theglobalfuel/TheGlobalFuelRoutes.js +60 -38
  22. package/dist/theglobalfuel/TheGlobalFuelRoutes.js.map +1 -1
  23. package/dist/theglobalfuel/components/DataTable.d.ts +30 -0
  24. package/dist/theglobalfuel/components/DataTable.d.ts.map +1 -0
  25. package/dist/theglobalfuel/components/DataTable.js.map +1 -1
  26. package/dist/theglobalfuel/components/EmptyState.d.ts +18 -0
  27. package/dist/theglobalfuel/components/EmptyState.d.ts.map +1 -0
  28. package/dist/theglobalfuel/components/EvidenceUpload.d.ts +14 -0
  29. package/dist/theglobalfuel/components/EvidenceUpload.d.ts.map +1 -0
  30. package/dist/theglobalfuel/components/FileLink.d.ts +15 -0
  31. package/dist/theglobalfuel/components/FileLink.d.ts.map +1 -0
  32. package/dist/theglobalfuel/components/FilterTabs.d.ts +18 -0
  33. package/dist/theglobalfuel/components/FilterTabs.d.ts.map +1 -0
  34. package/dist/theglobalfuel/components/MetricsCard.d.ts +23 -0
  35. package/dist/theglobalfuel/components/MetricsCard.d.ts.map +1 -0
  36. package/dist/theglobalfuel/components/MiniBar.d.ts +16 -0
  37. package/dist/theglobalfuel/components/MiniBar.d.ts.map +1 -0
  38. package/dist/theglobalfuel/components/PageLayout.d.ts +18 -0
  39. package/dist/theglobalfuel/components/PageLayout.d.ts.map +1 -0
  40. package/dist/theglobalfuel/components/PageLayout.js +2 -1
  41. package/dist/theglobalfuel/components/PageLayout.js.map +1 -1
  42. package/dist/theglobalfuel/components/Pagination.d.ts +22 -0
  43. package/dist/theglobalfuel/components/Pagination.d.ts.map +1 -0
  44. package/dist/theglobalfuel/components/StateViews.d.ts +24 -0
  45. package/dist/theglobalfuel/components/StateViews.d.ts.map +1 -0
  46. package/dist/theglobalfuel/components/StatusBadge.d.ts +9 -0
  47. package/dist/theglobalfuel/components/StatusBadge.d.ts.map +1 -0
  48. package/dist/theglobalfuel/components/Tabs.d.ts +17 -0
  49. package/dist/theglobalfuel/components/Tabs.d.ts.map +1 -0
  50. package/dist/theglobalfuel/components/TheDiscussion.d.ts +18 -0
  51. package/dist/theglobalfuel/components/TheDiscussion.d.ts.map +1 -0
  52. package/dist/theglobalfuel/components/TheTags.d.ts +17 -0
  53. package/dist/theglobalfuel/components/TheTags.d.ts.map +1 -0
  54. package/dist/theglobalfuel/components/WorldMap.d.ts +18 -0
  55. package/dist/theglobalfuel/components/WorldMap.d.ts.map +1 -0
  56. package/dist/theglobalfuel/components/WorldMap.js.map +1 -1
  57. package/dist/theglobalfuel/components/index.d.ts +21 -0
  58. package/dist/theglobalfuel/components/index.d.ts.map +1 -0
  59. package/dist/theglobalfuel/components/viz/AllocationBar.d.ts +21 -0
  60. package/dist/theglobalfuel/components/viz/AllocationBar.d.ts.map +1 -0
  61. package/dist/theglobalfuel/components/viz/AreaChart.d.ts +18 -0
  62. package/dist/theglobalfuel/components/viz/AreaChart.d.ts.map +1 -0
  63. package/dist/theglobalfuel/components/viz/AvatarStack.d.ts +13 -0
  64. package/dist/theglobalfuel/components/viz/AvatarStack.d.ts.map +1 -0
  65. package/dist/theglobalfuel/components/viz/BarChart.d.ts +17 -0
  66. package/dist/theglobalfuel/components/viz/BarChart.d.ts.map +1 -0
  67. package/dist/theglobalfuel/components/viz/CertificateCard.d.ts +14 -0
  68. package/dist/theglobalfuel/components/viz/CertificateCard.d.ts.map +1 -0
  69. package/dist/theglobalfuel/components/viz/DonutChart.d.ts +20 -0
  70. package/dist/theglobalfuel/components/viz/DonutChart.d.ts.map +1 -0
  71. package/dist/theglobalfuel/components/viz/HBarFunnel.d.ts +17 -0
  72. package/dist/theglobalfuel/components/viz/HBarFunnel.d.ts.map +1 -0
  73. package/dist/theglobalfuel/components/viz/Heatmap.d.ts +26 -0
  74. package/dist/theglobalfuel/components/viz/Heatmap.d.ts.map +1 -0
  75. package/dist/theglobalfuel/components/viz/KanbanBoard.d.ts +17 -0
  76. package/dist/theglobalfuel/components/viz/KanbanBoard.d.ts.map +1 -0
  77. package/dist/theglobalfuel/components/viz/LineChart.d.ts +20 -0
  78. package/dist/theglobalfuel/components/viz/LineChart.d.ts.map +1 -0
  79. package/dist/theglobalfuel/components/viz/OrgTree.d.ts +14 -0
  80. package/dist/theglobalfuel/components/viz/OrgTree.d.ts.map +1 -0
  81. package/dist/theglobalfuel/components/viz/PathSteps.d.ts +17 -0
  82. package/dist/theglobalfuel/components/viz/PathSteps.d.ts.map +1 -0
  83. package/dist/theglobalfuel/components/viz/ProgressRing.d.ts +20 -0
  84. package/dist/theglobalfuel/components/viz/ProgressRing.d.ts.map +1 -0
  85. package/dist/theglobalfuel/components/viz/RatingStars.d.ts +14 -0
  86. package/dist/theglobalfuel/components/viz/RatingStars.d.ts.map +1 -0
  87. package/dist/theglobalfuel/components/viz/SegmentedTabs.d.ts +26 -0
  88. package/dist/theglobalfuel/components/viz/SegmentedTabs.d.ts.map +1 -0
  89. package/dist/theglobalfuel/components/viz/SkillBar.d.ts +17 -0
  90. package/dist/theglobalfuel/components/viz/SkillBar.d.ts.map +1 -0
  91. package/dist/theglobalfuel/components/viz/Sparkline.d.ts +16 -0
  92. package/dist/theglobalfuel/components/viz/Sparkline.d.ts.map +1 -0
  93. package/dist/theglobalfuel/components/viz/StatCard.d.ts +22 -0
  94. package/dist/theglobalfuel/components/viz/StatCard.d.ts.map +1 -0
  95. package/dist/theglobalfuel/components/viz/StepProgress.d.ts +17 -0
  96. package/dist/theglobalfuel/components/viz/StepProgress.d.ts.map +1 -0
  97. package/dist/theglobalfuel/components/viz/Timeline.d.ts +21 -0
  98. package/dist/theglobalfuel/components/viz/Timeline.d.ts.map +1 -0
  99. package/dist/theglobalfuel/components/viz/index.d.ts +35 -0
  100. package/dist/theglobalfuel/components/viz/index.d.ts.map +1 -0
  101. package/dist/theglobalfuel/components/viz/lib/Avatar.d.ts +15 -0
  102. package/dist/theglobalfuel/components/viz/lib/Avatar.d.ts.map +1 -0
  103. package/dist/theglobalfuel/components/viz/lib/CartesianFrame.d.ts +44 -0
  104. package/dist/theglobalfuel/components/viz/lib/CartesianFrame.d.ts.map +1 -0
  105. package/dist/theglobalfuel/components/viz/lib/ResponsiveSvg.d.ts +27 -0
  106. package/dist/theglobalfuel/components/viz/lib/ResponsiveSvg.d.ts.map +1 -0
  107. package/dist/theglobalfuel/components/viz/lib/format.d.ts +10 -0
  108. package/dist/theglobalfuel/components/viz/lib/format.d.ts.map +1 -0
  109. package/dist/theglobalfuel/components/viz/lib/geometry.d.ts +41 -0
  110. package/dist/theglobalfuel/components/viz/lib/geometry.d.ts.map +1 -0
  111. package/dist/theglobalfuel/components/viz/lib/hooks.d.ts +18 -0
  112. package/dist/theglobalfuel/components/viz/lib/hooks.d.ts.map +1 -0
  113. package/dist/theglobalfuel/components/viz/lib/palette.d.ts +31 -0
  114. package/dist/theglobalfuel/components/viz/lib/palette.d.ts.map +1 -0
  115. package/dist/theglobalfuel/components/viz/lib/types.d.ts +27 -0
  116. package/dist/theglobalfuel/components/viz/lib/types.d.ts.map +1 -0
  117. package/dist/theglobalfuel/context/TheGlobalFuelContext.d.ts +16 -0
  118. package/dist/theglobalfuel/context/TheGlobalFuelContext.d.ts.map +1 -0
  119. package/dist/theglobalfuel/context/index.d.ts +6 -0
  120. package/dist/theglobalfuel/context/index.d.ts.map +1 -0
  121. package/dist/theglobalfuel/hooks/index.d.ts +15 -0
  122. package/dist/theglobalfuel/hooks/index.d.ts.map +1 -0
  123. package/dist/theglobalfuel/hooks/index.js +4 -0
  124. package/dist/theglobalfuel/hooks/useCursorPager.d.ts +26 -0
  125. package/dist/theglobalfuel/hooks/useCursorPager.d.ts.map +1 -0
  126. package/dist/theglobalfuel/hooks/useNotify.d.ts +23 -0
  127. package/dist/theglobalfuel/hooks/useNotify.d.ts.map +1 -0
  128. package/dist/theglobalfuel/hooks/useTheAnalytics.d.ts +38 -0
  129. package/dist/theglobalfuel/hooks/useTheAnalytics.d.ts.map +1 -0
  130. package/dist/theglobalfuel/hooks/useTheAnalytics.js +46 -0
  131. package/dist/theglobalfuel/hooks/useTheAnalytics.js.map +1 -0
  132. package/dist/theglobalfuel/hooks/useTheComments.d.ts +36 -0
  133. package/dist/theglobalfuel/hooks/useTheComments.d.ts.map +1 -0
  134. package/dist/theglobalfuel/hooks/useTheFiles.d.ts +47 -0
  135. package/dist/theglobalfuel/hooks/useTheFiles.d.ts.map +1 -0
  136. package/dist/theglobalfuel/hooks/useTheGlobalFuelApi.d.ts +79 -0
  137. package/dist/theglobalfuel/hooks/useTheGlobalFuelApi.d.ts.map +1 -0
  138. package/dist/theglobalfuel/hooks/useTheGlobalFuelApi.js +2 -9
  139. package/dist/theglobalfuel/hooks/useTheGlobalFuelApi.js.map +1 -1
  140. package/dist/theglobalfuel/hooks/useTheNativeControls.d.ts +20 -0
  141. package/dist/theglobalfuel/hooks/useTheNativeControls.d.ts.map +1 -0
  142. package/dist/theglobalfuel/hooks/useTheNativeControls.js +22 -0
  143. package/dist/theglobalfuel/hooks/useTheNativeControls.js.map +1 -0
  144. package/dist/theglobalfuel/hooks/useThePageView.d.ts +10 -0
  145. package/dist/theglobalfuel/hooks/useThePageView.d.ts.map +1 -0
  146. package/dist/theglobalfuel/hooks/useThePageView.js +13 -0
  147. package/dist/theglobalfuel/hooks/useThePageView.js.map +1 -0
  148. package/dist/theglobalfuel/hooks/useTheTags.d.ts +44 -0
  149. package/dist/theglobalfuel/hooks/useTheTags.d.ts.map +1 -0
  150. package/dist/theglobalfuel/hooks/useTheTranslation.d.ts +4 -0
  151. package/dist/theglobalfuel/hooks/useTheTranslation.d.ts.map +1 -0
  152. package/dist/theglobalfuel/hooks/useTheTranslation.js +12 -0
  153. package/dist/theglobalfuel/hooks/useTheTranslation.js.map +1 -0
  154. package/dist/theglobalfuel/index.d.ts +11 -0
  155. package/dist/theglobalfuel/index.d.ts.map +1 -0
  156. package/dist/theglobalfuel/index.js +2 -0
  157. package/dist/theglobalfuel/pages/assets/AssetDetailPage.d.ts +13 -0
  158. package/dist/theglobalfuel/pages/assets/AssetDetailPage.d.ts.map +1 -0
  159. package/dist/theglobalfuel/pages/assets/AssetDetailPage.js +395 -353
  160. package/dist/theglobalfuel/pages/assets/AssetDetailPage.js.map +1 -1
  161. package/dist/theglobalfuel/pages/assets/AssetsPage.d.ts +10 -0
  162. package/dist/theglobalfuel/pages/assets/AssetsPage.d.ts.map +1 -0
  163. package/dist/theglobalfuel/pages/assets/AssetsPage.js +152 -146
  164. package/dist/theglobalfuel/pages/assets/AssetsPage.js.map +1 -1
  165. package/dist/theglobalfuel/pages/compliance/CompliancePage.d.ts +11 -0
  166. package/dist/theglobalfuel/pages/compliance/CompliancePage.d.ts.map +1 -0
  167. package/dist/theglobalfuel/pages/compliance/CompliancePage.js +233 -229
  168. package/dist/theglobalfuel/pages/compliance/CompliancePage.js.map +1 -1
  169. package/dist/theglobalfuel/pages/contracts/ContractDetailPage.d.ts +9 -0
  170. package/dist/theglobalfuel/pages/contracts/ContractDetailPage.d.ts.map +1 -0
  171. package/dist/theglobalfuel/pages/contracts/ContractDetailPage.js +410 -389
  172. package/dist/theglobalfuel/pages/contracts/ContractDetailPage.js.map +1 -1
  173. package/dist/theglobalfuel/pages/contracts/ContractsPage.d.ts +8 -0
  174. package/dist/theglobalfuel/pages/contracts/ContractsPage.d.ts.map +1 -0
  175. package/dist/theglobalfuel/pages/contracts/ContractsPage.js +237 -231
  176. package/dist/theglobalfuel/pages/contracts/ContractsPage.js.map +1 -1
  177. package/dist/theglobalfuel/pages/dashboard/DashboardPage.d.ts +17 -0
  178. package/dist/theglobalfuel/pages/dashboard/DashboardPage.d.ts.map +1 -0
  179. package/dist/theglobalfuel/pages/dashboard/DashboardPage.js +255 -250
  180. package/dist/theglobalfuel/pages/dashboard/DashboardPage.js.map +1 -1
  181. package/dist/theglobalfuel/pages/emissions/EmissionsPage.d.ts +13 -0
  182. package/dist/theglobalfuel/pages/emissions/EmissionsPage.d.ts.map +1 -0
  183. package/dist/theglobalfuel/pages/emissions/EmissionsPage.js +154 -150
  184. package/dist/theglobalfuel/pages/emissions/EmissionsPage.js.map +1 -1
  185. package/dist/theglobalfuel/pages/inventory/InventoryPage.d.ts +11 -0
  186. package/dist/theglobalfuel/pages/inventory/InventoryPage.d.ts.map +1 -0
  187. package/dist/theglobalfuel/pages/inventory/InventoryPage.js +151 -147
  188. package/dist/theglobalfuel/pages/inventory/InventoryPage.js.map +1 -1
  189. package/dist/theglobalfuel/pages/production/ProductionPage.d.ts +11 -0
  190. package/dist/theglobalfuel/pages/production/ProductionPage.d.ts.map +1 -0
  191. package/dist/theglobalfuel/pages/production/ProductionPage.js +175 -171
  192. package/dist/theglobalfuel/pages/production/ProductionPage.js.map +1 -1
  193. package/dist/theglobalfuel/pages/provenance/ProvenancePage.d.ts +23 -0
  194. package/dist/theglobalfuel/pages/provenance/ProvenancePage.d.ts.map +1 -0
  195. package/dist/theglobalfuel/pages/provenance/ProvenancePage.js +153 -146
  196. package/dist/theglobalfuel/pages/provenance/ProvenancePage.js.map +1 -1
  197. package/dist/theglobalfuel/pages/reserves/ReservesPage.d.ts +10 -0
  198. package/dist/theglobalfuel/pages/reserves/ReservesPage.d.ts.map +1 -0
  199. package/dist/theglobalfuel/pages/reserves/ReservesPage.js +168 -164
  200. package/dist/theglobalfuel/pages/reserves/ReservesPage.js.map +1 -1
  201. package/dist/theglobalfuel/pages/shipments/ShipmentsPage.d.ts +11 -0
  202. package/dist/theglobalfuel/pages/shipments/ShipmentsPage.d.ts.map +1 -0
  203. package/dist/theglobalfuel/pages/shipments/ShipmentsPage.js +179 -175
  204. package/dist/theglobalfuel/pages/shipments/ShipmentsPage.js.map +1 -1
  205. package/dist/theglobalfuel/services/assistantApi.d.ts +25 -0
  206. package/dist/theglobalfuel/services/assistantApi.d.ts.map +1 -0
  207. package/dist/theglobalfuel/services/assistantApi.js +225 -0
  208. package/dist/theglobalfuel/services/assistantApi.js.map +1 -0
  209. package/dist/theglobalfuel/services/createSandboxAssistantTransport.d.ts +38 -0
  210. package/dist/theglobalfuel/services/createSandboxAssistantTransport.d.ts.map +1 -0
  211. package/dist/theglobalfuel/services/createSandboxAssistantTransport.js +120 -0
  212. package/dist/theglobalfuel/services/createSandboxAssistantTransport.js.map +1 -0
  213. package/dist/theglobalfuel/services/index.d.ts +7 -0
  214. package/dist/theglobalfuel/services/index.d.ts.map +1 -0
  215. package/dist/theglobalfuel/types/assistant.d.ts +65 -0
  216. package/dist/theglobalfuel/types/assistant.d.ts.map +1 -0
  217. package/dist/theglobalfuel/types/index.d.ts +376 -0
  218. package/dist/theglobalfuel/types/index.d.ts.map +1 -0
  219. package/dist/theglobalfuel/utils/cn.d.ts +4 -0
  220. package/dist/theglobalfuel/utils/cn.d.ts.map +1 -0
  221. package/dist/theglobalfuel/utils/formatters.d.ts +44 -0
  222. package/dist/theglobalfuel/utils/formatters.d.ts.map +1 -0
  223. package/dist/theglobalfuel/utils/i18n.d.ts +5 -0
  224. package/dist/theglobalfuel/utils/i18n.d.ts.map +1 -0
  225. package/dist/theglobalfuel/utils/i18n.js +15 -0
  226. package/dist/theglobalfuel/utils/i18n.js.map +1 -0
  227. package/dist/theglobalfuel/utils/index.d.ts +10 -0
  228. package/dist/theglobalfuel/utils/index.d.ts.map +1 -0
  229. package/dist/theglobalfuel/utils/navigation.d.ts +14 -0
  230. package/dist/theglobalfuel/utils/navigation.d.ts.map +1 -0
  231. package/dist/theglobalfuel/utils/pageContext.d.ts +26 -0
  232. package/dist/theglobalfuel/utils/pageContext.d.ts.map +1 -0
  233. package/dist/theglobalfuel/utils/pageContext.js +65 -0
  234. package/dist/theglobalfuel/utils/pageContext.js.map +1 -0
  235. package/dist/theglobalfuel/utils/transitions.d.ts +17 -0
  236. package/dist/theglobalfuel/utils/transitions.d.ts.map +1 -0
  237. package/package.json +5 -1
  238. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  239. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  240. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1716
  241. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
@@ -1,24 +1,28 @@
1
1
  import { useTheGlobalFuel as e } from "../../context/TheGlobalFuelContext.js";
2
2
  import { PageLayout as t } from "../../components/PageLayout.js";
3
- import { formatEnumLabel as n, formatPercent as r, formatRelativeTime as ee, formatVolume as te } from "../../utils/formatters.js";
4
- import { StatusBadge as ne } from "../../components/StatusBadge.js";
5
- import { DataTable as re } from "../../components/DataTable.js";
6
- import { ErrorView as ie, LoadingView as i } from "../../components/StateViews.js";
7
- import { EmptyState as ae } from "../../components/EmptyState.js";
3
+ import { formatEnumLabel as n, formatPercent as ee, formatRelativeTime as te, formatVolume as ne } from "../../utils/formatters.js";
4
+ import { StatusBadge as re } from "../../components/StatusBadge.js";
5
+ import { DataTable as r } from "../../components/DataTable.js";
6
+ import { ErrorView as i, LoadingView as a } from "../../components/StateViews.js";
7
+ import { EmptyState as o } from "../../components/EmptyState.js";
8
8
  import "../../context/index.js";
9
- import { useTheAssets as oe, useTheCreateAsset as a } from "../../hooks/useTheGlobalFuelApi.js";
10
- import { useCursorPager as o } from "../../hooks/useCursorPager.js";
11
- import { useNotify as s } from "../../hooks/useNotify.js";
9
+ import { useTheAssets as s, useTheCreateAsset as c } from "../../hooks/useTheGlobalFuelApi.js";
10
+ import { useCursorPager as l } from "../../hooks/useCursorPager.js";
11
+ import { useNotify as u } from "../../hooks/useNotify.js";
12
+ import { useTheAnalytics as d } from "../../hooks/useTheAnalytics.js";
13
+ import { useThePageView as f } from "../../hooks/useThePageView.js";
14
+ import { useTheNativeControls as ie } from "../../hooks/useTheNativeControls.js";
15
+ import { useTheTranslation as ae } from "../../hooks/useTheTranslation.js";
12
16
  import "../../hooks/index.js";
13
- import { FilterTabs as c } from "../../components/FilterTabs.js";
14
- import { Pagination as l } from "../../components/Pagination.js";
17
+ import { FilterTabs as oe } from "../../components/FilterTabs.js";
18
+ import { Pagination as se } from "../../components/Pagination.js";
15
19
  import "../../components/index.js";
16
- import { useMemo as u, useState as d } from "react";
17
- import { Fuel as f, MapPin as p, Plus as m } from "lucide-react";
18
- import { Fragment as se, jsx as h, jsxs as g } from "react/jsx-runtime";
19
- import { Button as _, Input as v, Label as y, ResponsiveDialog as ce, ResponsiveDialogContent as b, ResponsiveDialogDescription as x, ResponsiveDialogFooter as S, ResponsiveDialogHeader as C, ResponsiveDialogTitle as w, Select as T, SelectContent as E, SelectItem as D, SelectTrigger as O, SelectValue as k } from "@burdenoff/fe-libs/ui";
20
+ import { useMemo as ce, useState as p } from "react";
21
+ import { Fuel as m, MapPin as le, Plus as h } from "lucide-react";
22
+ import { Fragment as ue, jsx as g, jsxs as _ } from "react/jsx-runtime";
23
+ import { Button as v, Input as y, Label as b, ResponsiveDialog as x, ResponsiveDialogContent as S, ResponsiveDialogDescription as C, ResponsiveDialogFooter as de, ResponsiveDialogHeader as fe, ResponsiveDialogTitle as pe, Select as w, SelectContent as T, SelectItem as E, SelectTrigger as D, SelectValue as O } from "@burdenoff/fe-libs/ui";
20
24
  //#region src/theglobalfuel/pages/assets/AssetsPage.tsx
21
- var A = [
25
+ var k = [
22
26
  {
23
27
  value: "ALL",
24
28
  label: "All"
@@ -51,7 +55,7 @@ var A = [
51
55
  value: "RETIRED",
52
56
  label: "Retired"
53
57
  }
54
- ], j = [
58
+ ], A = [
55
59
  "OIL_FIELD",
56
60
  "GAS_FIELD",
57
61
  "WELL",
@@ -64,7 +68,7 @@ var A = [
64
68
  "WIND_FARM",
65
69
  "STORAGE_TERMINAL",
66
70
  "PIPELINE"
67
- ], M = [
71
+ ], j = [
68
72
  "CRUDE_OIL",
69
73
  "NATURAL_GAS",
70
74
  "LNG",
@@ -78,7 +82,7 @@ var A = [
78
82
  "GOLD",
79
83
  "LITHIUM",
80
84
  "RARE_EARTH"
81
- ], N = [
85
+ ], M = [
82
86
  "BARRELS",
83
87
  "CUBIC_METERS",
84
88
  "TONNES",
@@ -86,7 +90,7 @@ var A = [
86
90
  "MWH",
87
91
  "GJ",
88
92
  "MCF"
89
- ], P = 25, F = {
93
+ ], N = 25, P = {
90
94
  name: "",
91
95
  code: "",
92
96
  commodity: "CRUDE_OIL",
@@ -99,30 +103,31 @@ var A = [
99
103
  capacityUnit: "BARRELS",
100
104
  workingInterestPct: ""
101
105
  };
102
- function I() {
103
- let { navigateTo: I } = e(), L = s(), [R, z] = d("ALL"), [B, V] = d("ALL"), [H, le] = d("ALL"), U = o(), [W, G] = d(!1), [K, q] = d(F), [J, Y] = d(null), { data: X, isLoading: ue, isError: de, refetch: fe } = oe({
104
- status: R === "ALL" ? void 0 : R,
105
- commodity: B === "ALL" ? void 0 : B,
106
- kind: H === "ALL" ? void 0 : H,
106
+ function F() {
107
+ f("assets");
108
+ let F = ae(), { navigateTo: I } = e(), L = u(), { haptic: R } = ie(), { trackAssetCreateClicked: z, trackAssetCreated: B } = d(), [V, me] = p("ALL"), [H, he] = p("ALL"), [U, ge] = p("ALL"), W = l(), [_e, G] = p(!1), [K, q] = p(P), [J, Y] = p(null), { data: X, isLoading: ve, isError: ye, refetch: be } = s({
109
+ status: V === "ALL" ? void 0 : V,
110
+ commodity: H === "ALL" ? void 0 : H,
111
+ kind: U === "ALL" ? void 0 : U,
107
112
  pagination: {
108
- limit: P,
109
- offset: U.page * P
113
+ limit: N,
114
+ offset: W.page * N
110
115
  }
111
- }), Z = a(), Q = u(() => X?.items ?? [], [X]), pe = R !== "ALL" || B !== "ALL" || H !== "ALL", me = [
116
+ }), Z = c(), Q = ce(() => X?.items ?? [], [X]), xe = V !== "ALL" || H !== "ALL" || U !== "ALL", Se = [
112
117
  {
113
118
  key: "name",
114
119
  header: "Asset",
115
- render: (e) => /* @__PURE__ */ g("div", {
120
+ render: (e) => /* @__PURE__ */ _("div", {
116
121
  className: "flex items-center gap-3",
117
- children: [/* @__PURE__ */ h("span", {
122
+ children: [/* @__PURE__ */ g("span", {
118
123
  className: "grid size-9 shrink-0 place-items-center rounded-lg bg-bg-sunken text-text-secondary",
119
- children: /* @__PURE__ */ h(f, { className: "h-4 w-4" })
120
- }), /* @__PURE__ */ g("div", {
124
+ children: /* @__PURE__ */ g(m, { className: "h-4 w-4" })
125
+ }), /* @__PURE__ */ _("div", {
121
126
  className: "min-w-0",
122
- children: [/* @__PURE__ */ h("p", {
127
+ children: [/* @__PURE__ */ g("p", {
123
128
  className: "truncate font-semibold text-text-primary",
124
129
  children: e.name
125
- }), e.code && /* @__PURE__ */ h("p", {
130
+ }), e.code && /* @__PURE__ */ g("p", {
126
131
  className: "truncate text-xs text-text-tertiary",
127
132
  children: e.code
128
133
  })]
@@ -133,7 +138,7 @@ function I() {
133
138
  key: "kind",
134
139
  header: "Kind",
135
140
  hideOnMobile: !0,
136
- render: (e) => /* @__PURE__ */ h("span", {
141
+ render: (e) => /* @__PURE__ */ g("span", {
137
142
  className: "text-text-secondary",
138
143
  children: n(e.kind)
139
144
  })
@@ -142,7 +147,7 @@ function I() {
142
147
  key: "commodity",
143
148
  header: "Commodity",
144
149
  hideOnMobile: !0,
145
- render: (e) => /* @__PURE__ */ h("span", {
150
+ render: (e) => /* @__PURE__ */ g("span", {
146
151
  className: "text-text-secondary",
147
152
  children: n(e.commodity)
148
153
  })
@@ -150,7 +155,7 @@ function I() {
150
155
  {
151
156
  key: "status",
152
157
  header: "Status",
153
- render: (e) => /* @__PURE__ */ h(ne, { status: e.status })
158
+ render: (e) => /* @__PURE__ */ g(re, { status: e.status })
154
159
  },
155
160
  {
156
161
  key: "capacity",
@@ -158,10 +163,10 @@ function I() {
158
163
  align: "right",
159
164
  hideOnMobile: !0,
160
165
  sortValue: (e) => e.capacityPerDay,
161
- render: (e) => e.capacityPerDay > 0 ? /* @__PURE__ */ g("span", {
166
+ render: (e) => e.capacityPerDay > 0 ? /* @__PURE__ */ _("span", {
162
167
  className: "tabular-nums text-text-secondary",
163
- children: [te(e.capacityPerDay, e.capacityUnit), "/day"]
164
- }) : /* @__PURE__ */ h("span", {
168
+ children: [ne(e.capacityPerDay, e.capacityUnit), "/day"]
169
+ }) : /* @__PURE__ */ g("span", {
165
170
  className: "text-text-tertiary",
166
171
  children: "—"
167
172
  })
@@ -172,19 +177,19 @@ function I() {
172
177
  align: "right",
173
178
  hideOnMobile: !0,
174
179
  sortValue: (e) => e.workingInterestPct,
175
- render: (e) => /* @__PURE__ */ h("span", {
180
+ render: (e) => /* @__PURE__ */ g("span", {
176
181
  className: "tabular-nums text-text-secondary",
177
- children: r(e.workingInterestPct)
182
+ children: ee(e.workingInterestPct)
178
183
  })
179
184
  },
180
185
  {
181
186
  key: "location",
182
187
  header: "Location",
183
188
  hideOnMobile: !0,
184
- render: (e) => e.location ? /* @__PURE__ */ g("span", {
189
+ render: (e) => e.location ? /* @__PURE__ */ _("span", {
185
190
  className: "inline-flex items-center gap-1.5 text-text-secondary",
186
- children: [/* @__PURE__ */ h(p, { className: "h-3.5 w-3.5 shrink-0 text-text-tertiary" }), e.location]
187
- }) : /* @__PURE__ */ h("span", {
191
+ children: [/* @__PURE__ */ g(le, { className: "h-3.5 w-3.5 shrink-0 text-text-tertiary" }), e.location]
192
+ }) : /* @__PURE__ */ g("span", {
188
193
  className: "text-text-tertiary",
189
194
  children: "—"
190
195
  })
@@ -194,19 +199,19 @@ function I() {
194
199
  header: "Updated",
195
200
  align: "right",
196
201
  hideOnMobile: !0,
197
- render: (e) => /* @__PURE__ */ h("span", {
202
+ render: (e) => /* @__PURE__ */ g("span", {
198
203
  className: "text-text-tertiary",
199
- children: ee(e.updatedAt)
204
+ children: te(e.updatedAt)
200
205
  })
201
206
  }
202
207
  ], $ = () => {
203
- q(F), Y(null);
204
- }, he = async () => {
208
+ q(P), Y(null);
209
+ }, Ce = async () => {
205
210
  if (!K.name.trim()) {
206
211
  Y("Asset name is required.");
207
212
  return;
208
213
  }
209
- Y(null);
214
+ Y(null), R("light"), z();
210
215
  try {
211
216
  let e = await Z.mutateAsync({
212
217
  name: K.name.trim(),
@@ -221,112 +226,113 @@ function I() {
221
226
  capacityUnit: K.capacityUnit,
222
227
  workingInterestPct: K.workingInterestPct ? Number(K.workingInterestPct) : null
223
228
  });
224
- L.success("Asset created"), G(!1), $(), I(`assets/${e.id}`);
229
+ B(e.id), L.success("Asset created"), G(!1), $(), I(`assets/${e.id}`);
225
230
  } catch (e) {
226
231
  L.fromError(e), Y(e instanceof Error ? e.message : "Failed to create asset.");
227
232
  }
228
233
  };
229
- return /* @__PURE__ */ g(t, {
230
- title: "Assets",
231
- description: "Resource registry — fields, wells, mines, plants, terminals & pipelines across every commodity.",
232
- actions: /* @__PURE__ */ g(_, {
234
+ return /* @__PURE__ */ _(t, {
235
+ title: F("theglobalfuel.pages.assets.title", "Assets"),
236
+ description: F("theglobalfuel.pages.assets.description", "Resource registry — fields, wells, mines, plants, terminals & pipelines across every commodity."),
237
+ dataTour: "theglobalfuel-assets-page",
238
+ actions: /* @__PURE__ */ _(v, {
233
239
  onClick: () => G(!0),
234
- children: [/* @__PURE__ */ h(m, { className: "mr-1.5 h-4 w-4" }), " New asset"]
240
+ children: [/* @__PURE__ */ g(h, { className: "mr-1.5 h-4 w-4" }), " New asset"]
235
241
  }),
236
242
  children: [
237
- /* @__PURE__ */ g("div", {
243
+ /* @__PURE__ */ _("div", {
238
244
  className: "mb-5 flex flex-wrap items-center gap-3",
239
245
  children: [
240
- /* @__PURE__ */ h(c, {
241
- options: A,
242
- value: R,
246
+ /* @__PURE__ */ g(oe, {
247
+ options: k,
248
+ value: V,
243
249
  onChange: (e) => {
244
- z(e), U.reset();
250
+ me(e), W.reset();
245
251
  }
246
252
  }),
247
- /* @__PURE__ */ g(T, {
248
- value: B,
253
+ /* @__PURE__ */ _(w, {
254
+ value: H,
249
255
  onValueChange: (e) => {
250
- V(e), U.reset();
256
+ he(e), W.reset();
251
257
  },
252
- children: [/* @__PURE__ */ h(O, {
258
+ children: [/* @__PURE__ */ g(D, {
253
259
  className: "w-48",
254
260
  "aria-label": "Filter by commodity",
255
- children: /* @__PURE__ */ h(k, { placeholder: "All commodities" })
256
- }), /* @__PURE__ */ g(E, { children: [/* @__PURE__ */ h(D, {
261
+ children: /* @__PURE__ */ g(O, { placeholder: "All commodities" })
262
+ }), /* @__PURE__ */ _(T, { children: [/* @__PURE__ */ g(E, {
257
263
  value: "ALL",
258
264
  children: "All commodities"
259
- }), M.map((e) => /* @__PURE__ */ h(D, {
265
+ }), j.map((e) => /* @__PURE__ */ g(E, {
260
266
  value: e,
261
267
  children: n(e)
262
268
  }, e))] })]
263
269
  }),
264
- /* @__PURE__ */ g(T, {
265
- value: H,
270
+ /* @__PURE__ */ _(w, {
271
+ value: U,
266
272
  onValueChange: (e) => {
267
- le(e), U.reset();
273
+ ge(e), W.reset();
268
274
  },
269
- children: [/* @__PURE__ */ h(O, {
275
+ children: [/* @__PURE__ */ g(D, {
270
276
  className: "w-48",
271
277
  "aria-label": "Filter by kind",
272
- children: /* @__PURE__ */ h(k, { placeholder: "All kinds" })
273
- }), /* @__PURE__ */ g(E, { children: [/* @__PURE__ */ h(D, {
278
+ children: /* @__PURE__ */ g(O, { placeholder: "All kinds" })
279
+ }), /* @__PURE__ */ _(T, { children: [/* @__PURE__ */ g(E, {
274
280
  value: "ALL",
275
281
  children: "All kinds"
276
- }), j.map((e) => /* @__PURE__ */ h(D, {
282
+ }), A.map((e) => /* @__PURE__ */ g(E, {
277
283
  value: e,
278
284
  children: n(e)
279
285
  }, e))] })]
280
286
  })
281
287
  ]
282
288
  }),
283
- ue ? /* @__PURE__ */ h(i, { label: "Loading assets…" }) : de ? /* @__PURE__ */ h(ie, {
289
+ ve ? /* @__PURE__ */ g(a, { label: "Loading assets…" }) : ye ? /* @__PURE__ */ g(i, {
284
290
  message: "Couldn't load assets.",
285
- onRetry: () => fe()
286
- }) : Q.length === 0 ? /* @__PURE__ */ h(ae, {
291
+ onRetry: () => be()
292
+ }) : Q.length === 0 ? /* @__PURE__ */ g(o, {
287
293
  illustration: "empty-data",
288
- icon: /* @__PURE__ */ h(f, { className: "h-10 w-10" }),
294
+ icon: /* @__PURE__ */ g(m, { className: "h-10 w-10" }),
289
295
  title: "No assets yet",
290
- description: pe ? "No assets match these filters." : "Register your first resource asset to start tracking production, reserves & emissions.",
291
- action: /* @__PURE__ */ g(_, {
296
+ description: xe ? "No assets match these filters." : "Register your first resource asset to start tracking production, reserves & emissions.",
297
+ action: /* @__PURE__ */ _(v, {
292
298
  onClick: () => G(!0),
293
- children: [/* @__PURE__ */ h(m, { className: "mr-1.5 h-4 w-4" }), " New asset"]
299
+ children: [/* @__PURE__ */ g(h, { className: "mr-1.5 h-4 w-4" }), " New asset"]
294
300
  })
295
- }) : /* @__PURE__ */ g(se, { children: [/* @__PURE__ */ h(re, {
296
- columns: me,
301
+ }) : /* @__PURE__ */ _(ue, { children: [/* @__PURE__ */ g(r, {
302
+ columns: Se,
297
303
  rows: Q,
298
304
  rowKey: (e) => e.id,
299
305
  onRowClick: (e) => I(`assets/${e.id}`),
300
306
  rowLabel: (e) => `Open ${e.name}`
301
- }), /* @__PURE__ */ h(l, {
302
- page: U.page,
303
- pageSize: P,
307
+ }), /* @__PURE__ */ g(se, {
308
+ page: W.page,
309
+ pageSize: N,
304
310
  itemCount: Q.length,
305
311
  hasMore: X?.pageInfo?.hasMore ?? !1,
306
- onPageChange: U.onPageChange
312
+ onPageChange: W.onPageChange
307
313
  })] }),
308
- /* @__PURE__ */ h(ce, {
309
- open: W,
314
+ /* @__PURE__ */ g(x, {
315
+ open: _e,
310
316
  onOpenChange: (e) => {
311
317
  G(e), e || $();
312
318
  },
313
- children: /* @__PURE__ */ g(b, { children: [
314
- /* @__PURE__ */ g(C, { children: [/* @__PURE__ */ h(w, { children: "New asset" }), /* @__PURE__ */ h(x, { children: "Register a resource asset — a field, well, mine, plant, terminal or pipeline." })] }),
315
- /* @__PURE__ */ g("form", {
319
+ children: /* @__PURE__ */ _(S, { children: [
320
+ /* @__PURE__ */ _(fe, { children: [/* @__PURE__ */ g(pe, { children: "New asset" }), /* @__PURE__ */ g(C, { children: "Register a resource asset — a field, well, mine, plant, terminal or pipeline." })] }),
321
+ /* @__PURE__ */ _("form", {
316
322
  id: "createAssetForm",
317
323
  onSubmit: (e) => {
318
- e.preventDefault(), he();
324
+ e.preventDefault(), Ce();
319
325
  },
320
326
  className: "grid gap-4 py-2",
321
327
  children: [
322
- /* @__PURE__ */ g("div", {
328
+ /* @__PURE__ */ _("div", {
323
329
  className: "grid gap-2 sm:grid-cols-2",
324
- children: [/* @__PURE__ */ g("div", {
330
+ children: [/* @__PURE__ */ _("div", {
325
331
  className: "grid gap-1.5",
326
- children: [/* @__PURE__ */ h(y, {
332
+ children: [/* @__PURE__ */ g(b, {
327
333
  htmlFor: "assetName",
328
334
  children: "Name *"
329
- }), /* @__PURE__ */ h(v, {
335
+ }), /* @__PURE__ */ g(y, {
330
336
  id: "assetName",
331
337
  value: K.name,
332
338
  onChange: (e) => q({
@@ -335,12 +341,12 @@ function I() {
335
341
  }),
336
342
  placeholder: "Rumaila North Field"
337
343
  })]
338
- }), /* @__PURE__ */ g("div", {
344
+ }), /* @__PURE__ */ _("div", {
339
345
  className: "grid gap-1.5",
340
- children: [/* @__PURE__ */ h(y, {
346
+ children: [/* @__PURE__ */ g(b, {
341
347
  htmlFor: "assetCode",
342
348
  children: "Code"
343
- }), /* @__PURE__ */ h(v, {
349
+ }), /* @__PURE__ */ g(y, {
344
350
  id: "assetCode",
345
351
  value: K.code,
346
352
  onChange: (e) => q({
@@ -351,64 +357,64 @@ function I() {
351
357
  })]
352
358
  })]
353
359
  }),
354
- /* @__PURE__ */ g("div", {
360
+ /* @__PURE__ */ _("div", {
355
361
  className: "grid gap-2 sm:grid-cols-3",
356
362
  children: [
357
- /* @__PURE__ */ g("div", {
363
+ /* @__PURE__ */ _("div", {
358
364
  className: "grid gap-1.5",
359
- children: [/* @__PURE__ */ h(y, {
365
+ children: [/* @__PURE__ */ g(b, {
360
366
  htmlFor: "assetCommodity",
361
367
  children: "Commodity *"
362
- }), /* @__PURE__ */ g(T, {
368
+ }), /* @__PURE__ */ _(w, {
363
369
  value: K.commodity,
364
370
  onValueChange: (e) => q({
365
371
  ...K,
366
372
  commodity: e
367
373
  }),
368
- children: [/* @__PURE__ */ h(O, {
374
+ children: [/* @__PURE__ */ g(D, {
369
375
  id: "assetCommodity",
370
- children: /* @__PURE__ */ h(k, {})
371
- }), /* @__PURE__ */ h(E, { children: M.map((e) => /* @__PURE__ */ h(D, {
376
+ children: /* @__PURE__ */ g(O, {})
377
+ }), /* @__PURE__ */ g(T, { children: j.map((e) => /* @__PURE__ */ g(E, {
372
378
  value: e,
373
379
  children: n(e)
374
380
  }, e)) })]
375
381
  })]
376
382
  }),
377
- /* @__PURE__ */ g("div", {
383
+ /* @__PURE__ */ _("div", {
378
384
  className: "grid gap-1.5",
379
- children: [/* @__PURE__ */ h(y, {
385
+ children: [/* @__PURE__ */ g(b, {
380
386
  htmlFor: "assetKind",
381
387
  children: "Kind"
382
- }), /* @__PURE__ */ g(T, {
388
+ }), /* @__PURE__ */ _(w, {
383
389
  value: K.kind,
384
390
  onValueChange: (e) => q({
385
391
  ...K,
386
392
  kind: e
387
393
  }),
388
- children: [/* @__PURE__ */ h(O, {
394
+ children: [/* @__PURE__ */ g(D, {
389
395
  id: "assetKind",
390
- children: /* @__PURE__ */ h(k, {})
391
- }), /* @__PURE__ */ h(E, { children: j.map((e) => /* @__PURE__ */ h(D, {
396
+ children: /* @__PURE__ */ g(O, {})
397
+ }), /* @__PURE__ */ g(T, { children: A.map((e) => /* @__PURE__ */ g(E, {
392
398
  value: e,
393
399
  children: n(e)
394
400
  }, e)) })]
395
401
  })]
396
402
  }),
397
- /* @__PURE__ */ g("div", {
403
+ /* @__PURE__ */ _("div", {
398
404
  className: "grid gap-1.5",
399
- children: [/* @__PURE__ */ h(y, {
405
+ children: [/* @__PURE__ */ g(b, {
400
406
  htmlFor: "assetStatus",
401
407
  children: "Status"
402
- }), /* @__PURE__ */ g(T, {
408
+ }), /* @__PURE__ */ _(w, {
403
409
  value: K.status,
404
410
  onValueChange: (e) => q({
405
411
  ...K,
406
412
  status: e
407
413
  }),
408
- children: [/* @__PURE__ */ h(O, {
414
+ children: [/* @__PURE__ */ g(D, {
409
415
  id: "assetStatus",
410
- children: /* @__PURE__ */ h(k, {})
411
- }), /* @__PURE__ */ h(E, { children: A.filter((e) => e.value !== "ALL").map((e) => /* @__PURE__ */ h(D, {
416
+ children: /* @__PURE__ */ g(O, {})
417
+ }), /* @__PURE__ */ g(T, { children: k.filter((e) => e.value !== "ALL").map((e) => /* @__PURE__ */ g(E, {
412
418
  value: e.value,
413
419
  children: e.label
414
420
  }, e.value)) })]
@@ -416,12 +422,12 @@ function I() {
416
422
  })
417
423
  ]
418
424
  }),
419
- /* @__PURE__ */ g("div", {
425
+ /* @__PURE__ */ _("div", {
420
426
  className: "grid gap-1.5",
421
- children: [/* @__PURE__ */ h(y, {
427
+ children: [/* @__PURE__ */ g(b, {
422
428
  htmlFor: "assetLocation",
423
429
  children: "Location"
424
- }), /* @__PURE__ */ h(v, {
430
+ }), /* @__PURE__ */ g(y, {
425
431
  id: "assetLocation",
426
432
  value: K.location,
427
433
  onChange: (e) => q({
@@ -431,14 +437,14 @@ function I() {
431
437
  placeholder: "Basra, Iraq"
432
438
  })]
433
439
  }),
434
- /* @__PURE__ */ g("div", {
440
+ /* @__PURE__ */ _("div", {
435
441
  className: "grid gap-2 sm:grid-cols-2",
436
- children: [/* @__PURE__ */ g("div", {
442
+ children: [/* @__PURE__ */ _("div", {
437
443
  className: "grid gap-1.5",
438
- children: [/* @__PURE__ */ h(y, {
444
+ children: [/* @__PURE__ */ g(b, {
439
445
  htmlFor: "assetLat",
440
446
  children: "Latitude"
441
- }), /* @__PURE__ */ h(v, {
447
+ }), /* @__PURE__ */ g(y, {
442
448
  id: "assetLat",
443
449
  type: "number",
444
450
  step: "any",
@@ -449,12 +455,12 @@ function I() {
449
455
  }),
450
456
  placeholder: "30.5085"
451
457
  })]
452
- }), /* @__PURE__ */ g("div", {
458
+ }), /* @__PURE__ */ _("div", {
453
459
  className: "grid gap-1.5",
454
- children: [/* @__PURE__ */ h(y, {
460
+ children: [/* @__PURE__ */ g(b, {
455
461
  htmlFor: "assetLng",
456
462
  children: "Longitude"
457
- }), /* @__PURE__ */ h(v, {
463
+ }), /* @__PURE__ */ g(y, {
458
464
  id: "assetLng",
459
465
  type: "number",
460
466
  step: "any",
@@ -467,15 +473,15 @@ function I() {
467
473
  })]
468
474
  })]
469
475
  }),
470
- /* @__PURE__ */ g("div", {
476
+ /* @__PURE__ */ _("div", {
471
477
  className: "grid gap-2 sm:grid-cols-3",
472
478
  children: [
473
- /* @__PURE__ */ g("div", {
479
+ /* @__PURE__ */ _("div", {
474
480
  className: "grid gap-1.5 sm:col-span-1",
475
- children: [/* @__PURE__ */ h(y, {
481
+ children: [/* @__PURE__ */ g(b, {
476
482
  htmlFor: "assetCapacity",
477
483
  children: "Capacity / day"
478
- }), /* @__PURE__ */ h(v, {
484
+ }), /* @__PURE__ */ g(y, {
479
485
  id: "assetCapacity",
480
486
  type: "number",
481
487
  min: "0",
@@ -488,32 +494,32 @@ function I() {
488
494
  placeholder: "120000"
489
495
  })]
490
496
  }),
491
- /* @__PURE__ */ g("div", {
497
+ /* @__PURE__ */ _("div", {
492
498
  className: "grid gap-1.5",
493
- children: [/* @__PURE__ */ h(y, {
499
+ children: [/* @__PURE__ */ g(b, {
494
500
  htmlFor: "assetUnit",
495
501
  children: "Capacity unit"
496
- }), /* @__PURE__ */ g(T, {
502
+ }), /* @__PURE__ */ _(w, {
497
503
  value: K.capacityUnit,
498
504
  onValueChange: (e) => q({
499
505
  ...K,
500
506
  capacityUnit: e
501
507
  }),
502
- children: [/* @__PURE__ */ h(O, {
508
+ children: [/* @__PURE__ */ g(D, {
503
509
  id: "assetUnit",
504
- children: /* @__PURE__ */ h(k, {})
505
- }), /* @__PURE__ */ h(E, { children: N.map((e) => /* @__PURE__ */ h(D, {
510
+ children: /* @__PURE__ */ g(O, {})
511
+ }), /* @__PURE__ */ g(T, { children: M.map((e) => /* @__PURE__ */ g(E, {
506
512
  value: e,
507
513
  children: n(e)
508
514
  }, e)) })]
509
515
  })]
510
516
  }),
511
- /* @__PURE__ */ g("div", {
517
+ /* @__PURE__ */ _("div", {
512
518
  className: "grid gap-1.5",
513
- children: [/* @__PURE__ */ h(y, {
519
+ children: [/* @__PURE__ */ g(b, {
514
520
  htmlFor: "assetWi",
515
521
  children: "Working interest (%)"
516
- }), /* @__PURE__ */ h(v, {
522
+ }), /* @__PURE__ */ g(y, {
517
523
  id: "assetWi",
518
524
  type: "number",
519
525
  min: "0",
@@ -529,20 +535,20 @@ function I() {
529
535
  })
530
536
  ]
531
537
  }),
532
- J && /* @__PURE__ */ h("p", {
538
+ J && /* @__PURE__ */ g("p", {
533
539
  className: "text-sm text-status-error-text",
534
540
  children: J
535
541
  })
536
542
  ]
537
543
  }),
538
- /* @__PURE__ */ g(S, { children: [/* @__PURE__ */ h(_, {
544
+ /* @__PURE__ */ _(de, { children: [/* @__PURE__ */ g(v, {
539
545
  variant: "outline",
540
546
  type: "button",
541
547
  onClick: () => {
542
548
  G(!1), $();
543
549
  },
544
550
  children: "Cancel"
545
- }), /* @__PURE__ */ h(_, {
551
+ }), /* @__PURE__ */ g(v, {
546
552
  type: "submit",
547
553
  form: "createAssetForm",
548
554
  disabled: Z.isPending,
@@ -554,6 +560,6 @@ function I() {
554
560
  });
555
561
  }
556
562
  //#endregion
557
- export { I as AssetsPage };
563
+ export { F as AssetsPage };
558
564
 
559
565
  //# sourceMappingURL=AssetsPage.js.map