@burdenoff/microfe-healthybowl 2026.1201.6 → 2026.1202.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 (737) hide show
  1. package/dist/healthybowl/components/CreateFarmTaskButton.js +49 -49
  2. package/dist/healthybowl/components/DeliveryRouteMap.js +40 -42
  3. package/dist/healthybowl/components/FieldMap.js +277 -279
  4. package/dist/healthybowl/components/PlanExecutionPanel.js +0 -1
  5. package/dist/healthybowl/components/WeatherMap.js +116 -117
  6. package/dist/healthybowl/hooks/pageOperation.d.ts +26 -0
  7. package/dist/healthybowl/hooks/pageOperation.js +71 -0
  8. package/dist/healthybowl/hooks/useHealthyBowlData.d.ts +11 -0
  9. package/dist/healthybowl/hooks/useHealthyBowlData.js +1143 -1053
  10. package/dist/healthybowl/pages/GettingStartedPage.js +3 -4
  11. package/dist/healthybowl/pages/HomePage.js +11 -12
  12. package/dist/healthybowl/pages/agri-inputs/AgriInputsStorePage.js +156 -157
  13. package/dist/healthybowl/pages/ai/AiDecisionsPage.js +36 -37
  14. package/dist/healthybowl/pages/ai/AiHubPage.js +52 -53
  15. package/dist/healthybowl/pages/ai/FarmAttentionPage.js +47 -48
  16. package/dist/healthybowl/pages/analytics/AnalyticsDashboardPage.js +56 -66
  17. package/dist/healthybowl/pages/analytics/AnalyticsOverviewPage.js +11 -12
  18. package/dist/healthybowl/pages/analytics/ExportPage.js +7 -8
  19. package/dist/healthybowl/pages/analytics/InsightsPage.js +8 -9
  20. package/dist/healthybowl/pages/analytics/ReportsPage.js +35 -36
  21. package/dist/healthybowl/pages/catalog/PlantCatalogPage.js +10 -11
  22. package/dist/healthybowl/pages/catalog/PlantEntryDialog.js +0 -1
  23. package/dist/healthybowl/pages/compliance/CertificatesOfOriginPage.js +13 -14
  24. package/dist/healthybowl/pages/compliance/CertificationStandardDetailPage.js +293 -294
  25. package/dist/healthybowl/pages/compliance/ComplianceAlertsPage.js +10 -11
  26. package/dist/healthybowl/pages/compliance/ComplianceAuditsPage.js +41 -42
  27. package/dist/healthybowl/pages/compliance/ComplianceDocumentsPage.js +8 -9
  28. package/dist/healthybowl/pages/compliance/ComplianceOverviewPage.js +14 -15
  29. package/dist/healthybowl/pages/compliance/IcsGroupDetailPage.js +28 -29
  30. package/dist/healthybowl/pages/compliance/IcsGroupsPage.js +155 -156
  31. package/dist/healthybowl/pages/compliance/IcsGrowerDetailPage.js +15 -16
  32. package/dist/healthybowl/pages/compliance/IcsGrowerWizardPage.js +6 -7
  33. package/dist/healthybowl/pages/compliance/InspectionCalendarPage.js +76 -87
  34. package/dist/healthybowl/pages/compliance/OrganicCertificationPage.js +9 -10
  35. package/dist/healthybowl/pages/compliance/ResidueTestsPage.js +12 -13
  36. package/dist/healthybowl/pages/compliance/SubstanceRulesPage.js +12 -13
  37. package/dist/healthybowl/pages/consultant/ConsultantClientsPage.js +17 -18
  38. package/dist/healthybowl/pages/consultant/ConsultantDiagnosisPage.js +10 -11
  39. package/dist/healthybowl/pages/consultant/FarmerAdvisorsPage.js +76 -77
  40. package/dist/healthybowl/pages/contacts/ContactDetailPage.js +29 -30
  41. package/dist/healthybowl/pages/contacts/ContactFormModal.js +0 -1
  42. package/dist/healthybowl/pages/contacts/ContactsPage.js +130 -131
  43. package/dist/healthybowl/pages/contacts/CsvImportModal.js +0 -1
  44. package/dist/healthybowl/pages/contacts/RecordOrderModal.js +0 -1
  45. package/dist/healthybowl/pages/contacts/RecordPurchaseModal.js +0 -1
  46. package/dist/healthybowl/pages/contracts/ContractsPage.js +186 -187
  47. package/dist/healthybowl/pages/contracts/contract-forms/CreateContractModal.js +4 -5
  48. package/dist/healthybowl/pages/contracts/contract-forms/DeliveryActionModal.js +0 -1
  49. package/dist/healthybowl/pages/contracts/contract-forms/InviteFarmModal.js +0 -1
  50. package/dist/healthybowl/pages/contracts/contract-forms/RecordDeliveryModal.js +0 -1
  51. package/dist/healthybowl/pages/coop/AggregationLotBuilderPage.js +20 -21
  52. package/dist/healthybowl/pages/coop/CoopMemberDetailPage.js +19 -20
  53. package/dist/healthybowl/pages/coop/CoopOverviewPage.js +24 -25
  54. package/dist/healthybowl/pages/coop/coop-forms/CreateLotModal.js +0 -1
  55. package/dist/healthybowl/pages/coop/coop-forms/InviteMemberModal.js +0 -1
  56. package/dist/healthybowl/pages/coop/coop-forms/MarkSoldModal.js +0 -1
  57. package/dist/healthybowl/pages/coop/coop-forms/SettleLotModal.js +0 -1
  58. package/dist/healthybowl/pages/crops/CropDetailsPage.js +77 -78
  59. package/dist/healthybowl/pages/crops/CropFieldsPage.js +299 -300
  60. package/dist/healthybowl/pages/crops/CropHarvestPage.js +38 -39
  61. package/dist/healthybowl/pages/crops/CropPlanningPage.js +265 -266
  62. package/dist/healthybowl/pages/crops/CropsPage.js +14 -15
  63. package/dist/healthybowl/pages/crops/FieldDetailsPage.js +888 -889
  64. package/dist/healthybowl/pages/crops/HarvestDetailsPage.js +479 -480
  65. package/dist/healthybowl/pages/crops/PlanningDetailsPage.js +435 -436
  66. package/dist/healthybowl/pages/crops/PlantingCalendarPage.js +4 -5
  67. package/dist/healthybowl/pages/crops/PlantingPlanReportPage.js +5 -6
  68. package/dist/healthybowl/pages/crops/cropDetail/CropActivityLog.js +0 -1
  69. package/dist/healthybowl/pages/crops/cropDetail/CropAttentionCard.js +0 -1
  70. package/dist/healthybowl/pages/crops/cropDetail/CropEditModal.js +4 -5
  71. package/dist/healthybowl/pages/crops/cropDetail/CropHeader.js +7 -8
  72. package/dist/healthybowl/pages/crops/cropDetail/CropHealthChart.js +40 -48
  73. package/dist/healthybowl/pages/crops/cropDetail/CropSideCards.js +0 -1
  74. package/dist/healthybowl/pages/crops/list/CropFormDialog.js +132 -133
  75. package/dist/healthybowl/pages/crops/v3/CropPageV3.js +30 -31
  76. package/dist/healthybowl/pages/distribution/CsaPlanDetailPage.js +59 -60
  77. package/dist/healthybowl/pages/distribution/CsaPlanFormModal.js +0 -1
  78. package/dist/healthybowl/pages/distribution/CsaPlansPage.js +18 -19
  79. package/dist/healthybowl/pages/distribution/DeliveryRouteDetailPage.js +21 -22
  80. package/dist/healthybowl/pages/distribution/DeliveryRoutesPage.js +17 -18
  81. package/dist/healthybowl/pages/distribution/DistributionOverviewPage.js +18 -19
  82. package/dist/healthybowl/pages/distribution/EnrollMemberModal.js +0 -1
  83. package/dist/healthybowl/pages/distribution/PickupLocationFormModal.js +0 -1
  84. package/dist/healthybowl/pages/distribution/PickupLocationsPage.js +16 -17
  85. package/dist/healthybowl/pages/distribution/PickupManifestPage.js +12 -13
  86. package/dist/healthybowl/pages/distribution/WholesaleOrderFormModal.js +0 -1
  87. package/dist/healthybowl/pages/distribution/WholesaleOrdersPage.js +15 -16
  88. package/dist/healthybowl/pages/distribution/WholesalePriceTiersModal.js +0 -1
  89. package/dist/healthybowl/pages/distribution/v2/DistributionCsa.js +3 -4
  90. package/dist/healthybowl/pages/distribution/v2/DistributionManifest.js +0 -1
  91. package/dist/healthybowl/pages/distribution/v2/DistributionPickup.js +0 -1
  92. package/dist/healthybowl/pages/distribution/v2/DistributionRoutes.js +3 -4
  93. package/dist/healthybowl/pages/distribution/v2/DistributionWholesale.js +0 -1
  94. package/dist/healthybowl/pages/farm/FarmProfilePage.js +276 -277
  95. package/dist/healthybowl/pages/field-capture/ObservationLogPage.js +14 -15
  96. package/dist/healthybowl/pages/field-capture/SyncQueuePanel.js +0 -1
  97. package/dist/healthybowl/pages/field-capture/v2/PendingSyncList.js +0 -1
  98. package/dist/healthybowl/pages/fields/FieldMapPage.js +1195 -1198
  99. package/dist/healthybowl/pages/financial/AccountingIntegrationsPage.js +13 -14
  100. package/dist/healthybowl/pages/financial/BankReconciliationPage.js +21 -22
  101. package/dist/healthybowl/pages/financial/BudgetManagementPage.js +21 -22
  102. package/dist/healthybowl/pages/financial/ChartOfAccountsPage.js +16 -17
  103. package/dist/healthybowl/pages/financial/CostByCropPage.js +93 -102
  104. package/dist/healthybowl/pages/financial/FarmAccountingPage.js +24 -25
  105. package/dist/healthybowl/pages/financial/FinancialDashboardPage.js +5 -6
  106. package/dist/healthybowl/pages/financial/FinancialReportsPage.js +101 -109
  107. package/dist/healthybowl/pages/financial/FinancialStatementsPage.js +4 -5
  108. package/dist/healthybowl/pages/financial/FinancierAccessPage.js +103 -104
  109. package/dist/healthybowl/pages/financial/GeneralLedgerPage.js +10 -11
  110. package/dist/healthybowl/pages/financial/InvoiceManagementPage.js +52 -53
  111. package/dist/healthybowl/pages/financial/JournalEntryModal.js +0 -1
  112. package/dist/healthybowl/pages/financial/MachinerySpendPage.js +7 -8
  113. package/dist/healthybowl/pages/financial/ProfitLossPage.js +6 -7
  114. package/dist/healthybowl/pages/financial/TransactionsPage.js +22 -23
  115. package/dist/healthybowl/pages/financial/dashboard/FinancialLists.js +0 -1
  116. package/dist/healthybowl/pages/financial/dashboard/IncomeCostsChart.js +39 -47
  117. package/dist/healthybowl/pages/financial/dashboard/NeedsAttention.js +0 -1
  118. package/dist/healthybowl/pages/financial/v3/FinancialOverviewV3.js +6 -7
  119. package/dist/healthybowl/pages/financier/FinancierPage.js +22 -23
  120. package/dist/healthybowl/pages/financier/v2/FinancierV2.js +17 -18
  121. package/dist/healthybowl/pages/government-schemes/AccessibilitySettingsPage.js +0 -1
  122. package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js +40 -41
  123. package/dist/healthybowl/pages/government-schemes/CommunicationPage.js +112 -113
  124. package/dist/healthybowl/pages/government-schemes/GovernmentDashboardPage.js +23 -24
  125. package/dist/healthybowl/pages/government-schemes/SchemeAdminPage.js +347 -348
  126. package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js +74 -75
  127. package/dist/healthybowl/pages/government-schemes/SchemeDiscoveryPage.js +16 -17
  128. package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.js +212 -213
  129. package/dist/healthybowl/pages/government-schemes/TrainingProgramsPage.js +51 -52
  130. package/dist/healthybowl/pages/inputs-insurance/ClaimDetailPage.js +4 -5
  131. package/dist/healthybowl/pages/inputs-insurance/InputPlanFormModal.js +0 -1
  132. package/dist/healthybowl/pages/inputs-insurance/InputsInsuranceOverviewPage.js +158 -169
  133. package/dist/healthybowl/pages/inputs-insurance/LoanAccountingDetailPage.js +16 -17
  134. package/dist/healthybowl/pages/inputs-insurance/LoanFacilitationPage.js +14 -15
  135. package/dist/healthybowl/pages/inputs-insurance/PmfbyApplyPage.js +0 -1
  136. package/dist/healthybowl/pages/inputs-insurance/PolicyClaimsPage.js +13 -14
  137. package/dist/healthybowl/pages/irrigation/IrrigationPage.js +678 -685
  138. package/dist/healthybowl/pages/irrigation/v2/IrrigationV2.js +21 -22
  139. package/dist/healthybowl/pages/labour/CrewTimesheetPage.js +0 -1
  140. package/dist/healthybowl/pages/labour/LabourRosterPage.js +418 -419
  141. package/dist/healthybowl/pages/learn/LearnCatalogPage.js +11 -12
  142. package/dist/healthybowl/pages/learn/LearnCourseDetailPage.js +14 -15
  143. package/dist/healthybowl/pages/learn/LearnHomePage.js +8 -9
  144. package/dist/healthybowl/pages/learn/LearnLessonPage.js +14 -15
  145. package/dist/healthybowl/pages/livestock/AnimalDepthFormModal.js +0 -1
  146. package/dist/healthybowl/pages/livestock/AnimalDepthPage.js +10 -11
  147. package/dist/healthybowl/pages/livestock/AnimalDetailsPage.js +82 -83
  148. package/dist/healthybowl/pages/livestock/AnimalGroupModal.js +15 -16
  149. package/dist/healthybowl/pages/livestock/AnimalRegistryPage.js +12 -13
  150. package/dist/healthybowl/pages/livestock/BreedingManagementPage.js +491 -492
  151. package/dist/healthybowl/pages/livestock/FeedManagementPage.js +17 -18
  152. package/dist/healthybowl/pages/livestock/FertilityCard.js +111 -119
  153. package/dist/healthybowl/pages/livestock/GrazingPage.js +10 -11
  154. package/dist/healthybowl/pages/livestock/HealthRecordsPage.js +235 -236
  155. package/dist/healthybowl/pages/livestock/HerdDepthPage.js +14 -16
  156. package/dist/healthybowl/pages/livestock/HerdStatsCard.js +197 -204
  157. package/dist/healthybowl/pages/livestock/LivestockAnalyticsPage.js +0 -1
  158. package/dist/healthybowl/pages/livestock/LivestockDashboardPage.js +161 -162
  159. package/dist/healthybowl/pages/livestock/LivestockFeedCard.js +52 -58
  160. package/dist/healthybowl/pages/livestock/LivestockGrowthCard.js +52 -58
  161. package/dist/healthybowl/pages/livestock/LivestockImportModal.js +0 -1
  162. package/dist/healthybowl/pages/livestock/MedicationLibraryPage.js +12 -13
  163. package/dist/healthybowl/pages/livestock/PedigreeTree.js +0 -1
  164. package/dist/healthybowl/pages/livestock/ProductionTrackingPage.js +381 -382
  165. package/dist/healthybowl/pages/livestock/RecordWeightModal.js +0 -1
  166. package/dist/healthybowl/pages/livestock/VaccinationSchedulePage.js +19 -20
  167. package/dist/healthybowl/pages/livestock/WithdrawalAlertsPage.js +28 -29
  168. package/dist/healthybowl/pages/livestock/WithdrawalCalendarPage.js +5 -6
  169. package/dist/healthybowl/pages/livestock/animals/AnimalFormDialogs.js +0 -1
  170. package/dist/healthybowl/pages/livestock/grazing/EndGrazingMoveModal.js +4 -5
  171. package/dist/healthybowl/pages/livestock/grazing/RecordGrazingMoveModal.js +5 -6
  172. package/dist/healthybowl/pages/livestock/grazing/SetPaddockRestModal.js +0 -1
  173. package/dist/healthybowl/pages/livestock/v2/BreedingV2.js +12 -13
  174. package/dist/healthybowl/pages/livestock/v2/FeedV2.js +4 -5
  175. package/dist/healthybowl/pages/livestock/v2/GrazingV2.js +26 -27
  176. package/dist/healthybowl/pages/livestock/v2/HealthRecordsV2.js +13 -14
  177. package/dist/healthybowl/pages/livestock/v2/HerdRecordsV2.js +4 -5
  178. package/dist/healthybowl/pages/livestock/v2/LivestockOverviewV2.js +8 -9
  179. package/dist/healthybowl/pages/livestock/v2/ProductionV2.js +4 -5
  180. package/dist/healthybowl/pages/livestock/v2/WithdrawalV2.js +4 -5
  181. package/dist/healthybowl/pages/livestock/withdrawal/AnimalWithdrawalCard.js +0 -1
  182. package/dist/healthybowl/pages/livestock/withdrawal/LogTreatmentModal.js +0 -1
  183. package/dist/healthybowl/pages/market/MarketPricesPage.js +382 -390
  184. package/dist/healthybowl/pages/market/market-prices/AddWatchModal.js +0 -1
  185. package/dist/healthybowl/pages/market/market-prices/PriceAlertRuleModal.js +0 -1
  186. package/dist/healthybowl/pages/market/v2/MarketPricesV2.js +257 -265
  187. package/dist/healthybowl/pages/marketplace/AuctionsView.js +24 -25
  188. package/dist/healthybowl/pages/marketplace/CartPage.js +26 -27
  189. package/dist/healthybowl/pages/marketplace/MarketplacePage.js +428 -429
  190. package/dist/healthybowl/pages/marketplace/OrdersPage.js +19 -20
  191. package/dist/healthybowl/pages/marketplace/ProductDetailPage.js +14 -15
  192. package/dist/healthybowl/pages/marketplace/SharedMarketView.js +13 -14
  193. package/dist/healthybowl/pages/marketplace/ShipmentTrackingPanel.js +0 -1
  194. package/dist/healthybowl/pages/marketplace/WishlistPage.js +21 -22
  195. package/dist/healthybowl/pages/network/CohortsPage.js +152 -153
  196. package/dist/healthybowl/pages/network/CommunityPage.js +271 -272
  197. package/dist/healthybowl/pages/network/EventsPage.js +374 -375
  198. package/dist/healthybowl/pages/network/ExpertsPage.js +307 -308
  199. package/dist/healthybowl/pages/network/MentorsPage.js +514 -515
  200. package/dist/healthybowl/pages/network/NetworkOverviewPage.js +22 -23
  201. package/dist/healthybowl/pages/nursery/NurseryProvenancePage.js +124 -126
  202. package/dist/healthybowl/pages/pest-management/AiPestDetectionPage.js +209 -210
  203. package/dist/healthybowl/pages/pest-management/PestIssuesPage.js +185 -186
  204. package/dist/healthybowl/pages/pest-management/PestMonitoringPage.js +7 -8
  205. package/dist/healthybowl/pages/pest-management/PestOverviewPage.js +14 -15
  206. package/dist/healthybowl/pages/pest-management/TreatmentLibraryPage.js +13 -14
  207. package/dist/healthybowl/pages/production/ProductionBatchesPage.js +7 -8
  208. package/dist/healthybowl/pages/production/ProductionPlanningPage.js +12 -13
  209. package/dist/healthybowl/pages/production/ProductionSchedulePage.js +9 -10
  210. package/dist/healthybowl/pages/production/RecipeManagementPage.js +18 -19
  211. package/dist/healthybowl/pages/production/ValueAddedProductsPage.js +19 -20
  212. package/dist/healthybowl/pages/products/BatchesPage.js +278 -279
  213. package/dist/healthybowl/pages/products/InventoryPage.js +51 -52
  214. package/dist/healthybowl/pages/products/ProductsOverviewPage.js +14 -15
  215. package/dist/healthybowl/pages/products/QualityPage.js +24 -25
  216. package/dist/healthybowl/pages/reports-api/ReportsApiPage.js +13 -14
  217. package/dist/healthybowl/pages/satellite/CropHealthAlertsPage.js +5 -6
  218. package/dist/healthybowl/pages/satellite/NdviComparePanel.js +55 -62
  219. package/dist/healthybowl/pages/satellite/NdviHeatmapMap.js +57 -58
  220. package/dist/healthybowl/pages/satellite/SatelliteCropHealthPage.js +52 -53
  221. package/dist/healthybowl/pages/satellite/SatelliteFieldDetailPage.js +186 -194
  222. package/dist/healthybowl/pages/satellite/SatelliteSettingsPage.js +5 -6
  223. package/dist/healthybowl/pages/satellite/YieldReportPanel.js +59 -64
  224. package/dist/healthybowl/pages/satellite/YieldSimulationPanel.js +75 -84
  225. package/dist/healthybowl/pages/soil/FieldSensorsPage.js +114 -115
  226. package/dist/healthybowl/pages/soil/SoilDashboardPage.js +23 -24
  227. package/dist/healthybowl/pages/soil/SoilMonitoringPage.js +5 -6
  228. package/dist/healthybowl/pages/soil/SoilRecommendationsPage.js +15 -16
  229. package/dist/healthybowl/pages/soil/SoilTestsPage.js +12 -13
  230. package/dist/healthybowl/pages/soil/field-sensors/RegisterProbeModal.js +0 -1
  231. package/dist/healthybowl/pages/soil/field-sensors/SensorCharts.js +29 -38
  232. package/dist/healthybowl/pages/soil/field-sensors/ThresholdsModal.js +0 -1
  233. package/dist/healthybowl/pages/storage/PlaceLotModal.js +0 -1
  234. package/dist/healthybowl/pages/storage/RecordMovementModal.js +0 -1
  235. package/dist/healthybowl/pages/storage/StorageLocationFormModal.js +0 -1
  236. package/dist/healthybowl/pages/storage/StorageLotDetailPage.js +12 -13
  237. package/dist/healthybowl/pages/storage/StoragePage.js +8 -9
  238. package/dist/healthybowl/pages/suppliers/SuppliersPage.js +415 -416
  239. package/dist/healthybowl/pages/sustainability/CarbonCreditLedgerPage.js +14 -15
  240. package/dist/healthybowl/pages/sustainability/CarbonGhgPage.js +264 -265
  241. package/dist/healthybowl/pages/sustainability/EudrDueDiligencePage.js +10 -11
  242. package/dist/healthybowl/pages/sustainability/GenerateCreditWizardPage.js +8 -9
  243. package/dist/healthybowl/pages/sustainability/SoilCarbonPage.js +96 -97
  244. package/dist/healthybowl/pages/sustainability/SustainabilityOverviewPage.js +132 -133
  245. package/dist/healthybowl/pages/sustainability/components.js +39 -48
  246. package/dist/healthybowl/pages/tasks/JobCardPage.js +19 -20
  247. package/dist/healthybowl/pages/tasks/TasksPage.js +102 -103
  248. package/dist/healthybowl/pages/terrace/CareSchedulePage.js +13 -14
  249. package/dist/healthybowl/pages/terrace/CompostBatchModal.js +0 -1
  250. package/dist/healthybowl/pages/terrace/CompostInputsPage.js +238 -239
  251. package/dist/healthybowl/pages/terrace/GardenDashboardPage.js +14 -15
  252. package/dist/healthybowl/pages/terrace/GardenFormModal.js +0 -1
  253. package/dist/healthybowl/pages/terrace/GardenInputModal.js +0 -1
  254. package/dist/healthybowl/pages/terrace/GardenJournalPage.js +11 -12
  255. package/dist/healthybowl/pages/terrace/GrowSpaceFormModal.js +0 -1
  256. package/dist/healthybowl/pages/terrace/GrowSpacesPage.js +12 -13
  257. package/dist/healthybowl/pages/terrace/HarvestsPage.js +81 -82
  258. package/dist/healthybowl/pages/terrace/JournalEntryModal.js +0 -1
  259. package/dist/healthybowl/pages/terrace/LogHarvestModal.js +0 -1
  260. package/dist/healthybowl/pages/terrace/MyGardensPage.js +6 -7
  261. package/dist/healthybowl/pages/terrace/PlantingDetailPage.js +13 -14
  262. package/dist/healthybowl/pages/terrace/PlantingFormModal.js +6 -7
  263. package/dist/healthybowl/pages/terrace/PlantingsPage.js +14 -15
  264. package/dist/healthybowl/pages/terrace/WhatToGrowPage.js +85 -86
  265. package/dist/healthybowl/pages/traceability/BatchTrackingPage.js +243 -244
  266. package/dist/healthybowl/pages/traceability/PrintLabelDialog.js +0 -1
  267. package/dist/healthybowl/pages/traceability/QRCodesPage.js +214 -215
  268. package/dist/healthybowl/pages/traceability/SupplyChainPage.js +10 -11
  269. package/dist/healthybowl/pages/traceability/TraceLedgerPage.js +69 -70
  270. package/dist/healthybowl/pages/traceability/TracePortalSettingsPage.js +10 -11
  271. package/dist/healthybowl/pages/traceability/TraceScanActivityPage.js +4 -5
  272. package/dist/healthybowl/pages/traceability/TraceTrackingPage.js +10 -11
  273. package/dist/healthybowl/pages/traceability/UnifiedTraceBatchPage.js +4 -5
  274. package/dist/healthybowl/pages/wallet/CreditsWalletPage.js +19 -20
  275. package/dist/healthybowl/pages/weather/FrostRiskCalendarPage.js +6 -7
  276. package/dist/healthybowl/pages/weather/WeatherAlertHistoryPage.js +54 -55
  277. package/dist/healthybowl/pages/weather/WeatherAlertRulesPage.js +404 -405
  278. package/dist/healthybowl/pages/weather/WeatherAlertsPage.js +14 -15
  279. package/dist/healthybowl/pages/weather/WeatherAnomalyReportPage.js +129 -139
  280. package/dist/healthybowl/pages/weather/WeatherForecastPage.js +12 -13
  281. package/dist/healthybowl/pages/weather/WeatherHistoryPage.js +294 -304
  282. package/dist/healthybowl/pages/weather/WeatherOverviewPage.js +18 -19
  283. package/dist/healthybowl/pages/weather/WeatherSettingsPage.js +4 -5
  284. package/dist/healthybowl/pages/weather/overview/AlertCard.js +6 -7
  285. package/dist/healthybowl/pages/weather/overview/FarmAdvice.js +0 -1
  286. package/dist/healthybowl/pages/weather/overview/PlanWorkDialog.js +9 -10
  287. package/dist/healthybowl/pages/weather/overview/QuieterCards.js +0 -1
  288. package/dist/healthybowl/pages/weather/v2/WeatherOverviewV2.js +0 -1
  289. package/dist/healthybowl/pages/weather/v3/WeatherAlertsV3.js +28 -29
  290. package/dist/healthybowl/pages/weather/v3/WeatherOverviewV3.js +15 -16
  291. package/dist/healthybowl/utils/helpers.js +2 -2
  292. package/dist/index.js +10 -12
  293. package/package.json +6 -3
  294. package/dist/_virtual/_rolldown/runtime.js +0 -19
  295. package/dist/components/assistant/AssistantAutoSpeakToggle.js +0 -1
  296. package/dist/components/assistant/AssistantConversationList.js +0 -1
  297. package/dist/components/assistant/AssistantEmptyState.js +0 -1
  298. package/dist/components/assistant/AssistantHeader.js +0 -1
  299. package/dist/components/assistant/AssistantMarkdownRenderer.js +0 -2
  300. package/dist/components/assistant/AssistantMessageAttachments.js +0 -1
  301. package/dist/components/assistant/AssistantMessageItem.js +0 -1
  302. package/dist/components/assistant/AssistantMessageList.js +0 -1
  303. package/dist/components/assistant/AssistantMoreMenu.js +0 -1
  304. package/dist/components/assistant/AssistantSpeakButton.js +0 -1
  305. package/dist/components/assistant/AssistantSpeechProvider.js +0 -1
  306. package/dist/components/assistant/AssistantToolActivity.js +0 -1
  307. package/dist/components/assistant/composer/AssistantAttachmentButton.js +0 -1
  308. package/dist/components/assistant/composer/AssistantAttachmentChips.js +0 -1
  309. package/dist/components/assistant/composer/AssistantComposer.js +0 -1
  310. package/dist/components/assistant/composer/AssistantModeSelector.js +0 -1
  311. package/dist/components/assistant/composer/AssistantVoiceButton.js +0 -1
  312. package/dist/components/assistant/index.js +0 -19
  313. package/dist/healthybowl/components/ComingSoon.js +0 -6
  314. package/dist/healthybowl/components/index.js +0 -30
  315. package/dist/healthybowl/index.js +0 -12
  316. package/dist/healthybowl/utils/index.js +0 -10
  317. package/dist/node_modules/@burdenoff/planmagnet-fe-sdk/dist/index.js +0 -3767
  318. package/dist/node_modules/class-variance-authority/dist/index.js +0 -32
  319. package/dist/node_modules/clsx/dist/clsx.js +0 -17
  320. package/dist/node_modules/d3-array/dist/d3-array.js +0 -202
  321. package/dist/node_modules/d3-color/dist/d3-color.js +0 -386
  322. package/dist/node_modules/d3-format/dist/d3-format.js +0 -184
  323. package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +0 -183
  324. package/dist/node_modules/d3-path/dist/d3-path.js +0 -88
  325. package/dist/node_modules/d3-scale/dist/d3-scale.js +0 -620
  326. package/dist/node_modules/d3-shape/dist/d3-shape.js +0 -899
  327. package/dist/node_modules/d3-time/dist/d3-time.js +0 -239
  328. package/dist/node_modules/d3-time-format/dist/d3-time-format.js +0 -543
  329. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -5
  330. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -6
  331. package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -388
  332. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -42
  333. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -37
  334. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -7
  335. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -7
  336. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -10
  337. package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -22
  338. package/dist/node_modules/date-fns/addDays.js +0 -8
  339. package/dist/node_modules/date-fns/addMonths.js +0 -11
  340. package/dist/node_modules/date-fns/addWeeks.js +0 -6
  341. package/dist/node_modules/date-fns/constants.js +0 -5
  342. package/dist/node_modules/date-fns/constructFrom.js +0 -6
  343. package/dist/node_modules/date-fns/constructNow.js +0 -6
  344. package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -10
  345. package/dist/node_modules/date-fns/eachDayOfInterval.js +0 -14
  346. package/dist/node_modules/date-fns/endOfMonth.js +0 -7
  347. package/dist/node_modules/date-fns/endOfWeek.js +0 -8
  348. package/dist/node_modules/date-fns/format.js +0 -58
  349. package/dist/node_modules/date-fns/getDayOfYear.js +0 -9
  350. package/dist/node_modules/date-fns/getISOWeek.js +0 -10
  351. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -13
  352. package/dist/node_modules/date-fns/getWeek.js +0 -10
  353. package/dist/node_modules/date-fns/getWeekYear.js +0 -14
  354. package/dist/node_modules/date-fns/isDate.js +0 -5
  355. package/dist/node_modules/date-fns/isSameDay.js +0 -8
  356. package/dist/node_modules/date-fns/isSameMonth.js +0 -7
  357. package/dist/node_modules/date-fns/isSameWeek.js +0 -8
  358. package/dist/node_modules/date-fns/isToday.js +0 -8
  359. package/dist/node_modules/date-fns/isValid.js +0 -7
  360. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -8
  361. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -16
  362. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -21
  363. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -17
  364. package/dist/node_modules/date-fns/locale/ar/_lib/formatDistance.js +0 -98
  365. package/dist/node_modules/date-fns/locale/ar/_lib/formatLong.js +0 -31
  366. package/dist/node_modules/date-fns/locale/ar/_lib/formatRelative.js +0 -10
  367. package/dist/node_modules/date-fns/locale/ar/_lib/localize.js +0 -193
  368. package/dist/node_modules/date-fns/locale/ar/_lib/match.js +0 -132
  369. package/dist/node_modules/date-fns/locale/ar.js +0 -19
  370. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -68
  371. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -31
  372. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -10
  373. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -201
  374. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -123
  375. package/dist/node_modules/date-fns/locale/en-US.js +0 -19
  376. package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +0 -68
  377. package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +0 -31
  378. package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +0 -17
  379. package/dist/node_modules/date-fns/locale/es/_lib/localize.js +0 -193
  380. package/dist/node_modules/date-fns/locale/es/_lib/match.js +0 -128
  381. package/dist/node_modules/date-fns/locale/es.js +0 -19
  382. package/dist/node_modules/date-fns/locale/hi/_lib/formatDistance.js +0 -69
  383. package/dist/node_modules/date-fns/locale/hi/_lib/formatLong.js +0 -31
  384. package/dist/node_modules/date-fns/locale/hi/_lib/formatRelative.js +0 -10
  385. package/dist/node_modules/date-fns/locale/hi/_lib/localize.js +0 -231
  386. package/dist/node_modules/date-fns/locale/hi/_lib/match.js +0 -124
  387. package/dist/node_modules/date-fns/locale/hi.js +0 -19
  388. package/dist/node_modules/date-fns/locale/ta/_lib/formatDistance.js +0 -195
  389. package/dist/node_modules/date-fns/locale/ta/_lib/formatLong.js +0 -31
  390. package/dist/node_modules/date-fns/locale/ta/_lib/formatRelative.js +0 -10
  391. package/dist/node_modules/date-fns/locale/ta/_lib/localize.js +0 -193
  392. package/dist/node_modules/date-fns/locale/ta/_lib/match.js +0 -131
  393. package/dist/node_modules/date-fns/locale/ta.js +0 -19
  394. package/dist/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.js +0 -68
  395. package/dist/node_modules/date-fns/locale/zh-CN/_lib/formatLong.js +0 -31
  396. package/dist/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.js +0 -17
  397. package/dist/node_modules/date-fns/locale/zh-CN/_lib/localize.js +0 -202
  398. package/dist/node_modules/date-fns/locale/zh-CN/_lib/match.js +0 -109
  399. package/dist/node_modules/date-fns/locale/zh-CN.js +0 -19
  400. package/dist/node_modules/date-fns/parseISO.js +0 -116
  401. package/dist/node_modules/date-fns/startOfDay.js +0 -7
  402. package/dist/node_modules/date-fns/startOfISOWeek.js +0 -9
  403. package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -9
  404. package/dist/node_modules/date-fns/startOfMonth.js +0 -7
  405. package/dist/node_modules/date-fns/startOfWeek.js +0 -8
  406. package/dist/node_modules/date-fns/startOfWeekYear.js +0 -10
  407. package/dist/node_modules/date-fns/startOfYear.js +0 -7
  408. package/dist/node_modules/date-fns/subMonths.js +0 -6
  409. package/dist/node_modules/date-fns/toDate.js +0 -6
  410. package/dist/node_modules/decimal.js-light/decimal.js +0 -379
  411. package/dist/node_modules/dijkstrajs/dijkstra.js +0 -58
  412. package/dist/node_modules/eventemitter3/index.js +0 -92
  413. package/dist/node_modules/fast-equals/dist/es/index.js +0 -295
  414. package/dist/node_modules/leaflet/dist/leaflet-src.js +0 -4533
  415. package/dist/node_modules/lodash/_DataView.js +0 -9
  416. package/dist/node_modules/lodash/_Hash.js +0 -20
  417. package/dist/node_modules/lodash/_ListCache.js +0 -20
  418. package/dist/node_modules/lodash/_Map.js +0 -9
  419. package/dist/node_modules/lodash/_MapCache.js +0 -20
  420. package/dist/node_modules/lodash/_Promise.js +0 -9
  421. package/dist/node_modules/lodash/_Set.js +0 -9
  422. package/dist/node_modules/lodash/_SetCache.js +0 -15
  423. package/dist/node_modules/lodash/_Stack.js +0 -18
  424. package/dist/node_modules/lodash/_Symbol.js +0 -8
  425. package/dist/node_modules/lodash/_Uint8Array.js +0 -8
  426. package/dist/node_modules/lodash/_WeakMap.js +0 -9
  427. package/dist/node_modules/lodash/_apply.js +0 -16
  428. package/dist/node_modules/lodash/_arrayEvery.js +0 -11
  429. package/dist/node_modules/lodash/_arrayFilter.js +0 -14
  430. package/dist/node_modules/lodash/_arrayIncludes.js +0 -12
  431. package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -11
  432. package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -19
  433. package/dist/node_modules/lodash/_arrayMap.js +0 -11
  434. package/dist/node_modules/lodash/_arrayPush.js +0 -11
  435. package/dist/node_modules/lodash/_arraySome.js +0 -11
  436. package/dist/node_modules/lodash/_asciiToArray.js +0 -10
  437. package/dist/node_modules/lodash/_assocIndexOf.js +0 -13
  438. package/dist/node_modules/lodash/_baseAssignValue.js +0 -17
  439. package/dist/node_modules/lodash/_baseEach.js +0 -10
  440. package/dist/node_modules/lodash/_baseEvery.js +0 -15
  441. package/dist/node_modules/lodash/_baseExtremum.js +0 -16
  442. package/dist/node_modules/lodash/_baseFindIndex.js +0 -11
  443. package/dist/node_modules/lodash/_baseFlatten.js +0 -18
  444. package/dist/node_modules/lodash/_baseFor.js +0 -8
  445. package/dist/node_modules/lodash/_baseForOwn.js +0 -13
  446. package/dist/node_modules/lodash/_baseGet.js +0 -15
  447. package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -14
  448. package/dist/node_modules/lodash/_baseGetTag.js +0 -14
  449. package/dist/node_modules/lodash/_baseGt.js +0 -10
  450. package/dist/node_modules/lodash/_baseHasIn.js +0 -10
  451. package/dist/node_modules/lodash/_baseIndexOf.js +0 -14
  452. package/dist/node_modules/lodash/_baseIsArguments.js +0 -13
  453. package/dist/node_modules/lodash/_baseIsEqual.js +0 -13
  454. package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -34
  455. package/dist/node_modules/lodash/_baseIsMatch.js +0 -30
  456. package/dist/node_modules/lodash/_baseIsNaN.js +0 -10
  457. package/dist/node_modules/lodash/_baseIsNative.js +0 -15
  458. package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -15
  459. package/dist/node_modules/lodash/_baseIteratee.js +0 -16
  460. package/dist/node_modules/lodash/_baseKeys.js +0 -16
  461. package/dist/node_modules/lodash/_baseLt.js +0 -10
  462. package/dist/node_modules/lodash/_baseMap.js +0 -16
  463. package/dist/node_modules/lodash/_baseMatches.js +0 -17
  464. package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -21
  465. package/dist/node_modules/lodash/_baseOrderBy.js +0 -36
  466. package/dist/node_modules/lodash/_baseProperty.js +0 -12
  467. package/dist/node_modules/lodash/_basePropertyDeep.js +0 -14
  468. package/dist/node_modules/lodash/_baseRange.js +0 -12
  469. package/dist/node_modules/lodash/_baseRest.js +0 -14
  470. package/dist/node_modules/lodash/_baseSetToString.js +0 -18
  471. package/dist/node_modules/lodash/_baseSlice.js +0 -13
  472. package/dist/node_modules/lodash/_baseSome.js +0 -15
  473. package/dist/node_modules/lodash/_baseSortBy.js +0 -12
  474. package/dist/node_modules/lodash/_baseTimes.js +0 -11
  475. package/dist/node_modules/lodash/_baseToString.js +0 -19
  476. package/dist/node_modules/lodash/_baseTrim.js +0 -12
  477. package/dist/node_modules/lodash/_baseUnary.js +0 -12
  478. package/dist/node_modules/lodash/_baseUniq.js +0 -31
  479. package/dist/node_modules/lodash/_cacheHas.js +0 -10
  480. package/dist/node_modules/lodash/_castPath.js +0 -15
  481. package/dist/node_modules/lodash/_castSlice.js +0 -13
  482. package/dist/node_modules/lodash/_compareAscending.js +0 -17
  483. package/dist/node_modules/lodash/_compareMultiple.js +0 -16
  484. package/dist/node_modules/lodash/_coreJsData.js +0 -8
  485. package/dist/node_modules/lodash/_createBaseEach.js +0 -17
  486. package/dist/node_modules/lodash/_createBaseFor.js +0 -16
  487. package/dist/node_modules/lodash/_createCaseFirst.js +0 -19
  488. package/dist/node_modules/lodash/_createFind.js +0 -24
  489. package/dist/node_modules/lodash/_createRange.js +0 -16
  490. package/dist/node_modules/lodash/_createSet.js +0 -13
  491. package/dist/node_modules/lodash/_defineProperty.js +0 -14
  492. package/dist/node_modules/lodash/_equalArrays.js +0 -39
  493. package/dist/node_modules/lodash/_equalByTag.js +0 -39
  494. package/dist/node_modules/lodash/_equalObjects.js +0 -36
  495. package/dist/node_modules/lodash/_freeGlobal.js +0 -7
  496. package/dist/node_modules/lodash/_getAllKeys.js +0 -14
  497. package/dist/node_modules/lodash/_getMapData.js +0 -13
  498. package/dist/node_modules/lodash/_getMatchData.js +0 -21
  499. package/dist/node_modules/lodash/_getNative.js +0 -14
  500. package/dist/node_modules/lodash/_getPrototype.js +0 -8
  501. package/dist/node_modules/lodash/_getRawTag.js +0 -18
  502. package/dist/node_modules/lodash/_getSymbols.js +0 -14
  503. package/dist/node_modules/lodash/_getTag.js +0 -25
  504. package/dist/node_modules/lodash/_getValue.js +0 -10
  505. package/dist/node_modules/lodash/_hasPath.js +0 -23
  506. package/dist/node_modules/lodash/_hasUnicode.js +0 -11
  507. package/dist/node_modules/lodash/_hashClear.js +0 -12
  508. package/dist/node_modules/lodash/_hashDelete.js +0 -11
  509. package/dist/node_modules/lodash/_hashGet.js +0 -17
  510. package/dist/node_modules/lodash/_hashHas.js +0 -13
  511. package/dist/node_modules/lodash/_hashSet.js +0 -13
  512. package/dist/node_modules/lodash/_isFlattenable.js +0 -14
  513. package/dist/node_modules/lodash/_isIndex.js +0 -12
  514. package/dist/node_modules/lodash/_isIterateeCall.js +0 -17
  515. package/dist/node_modules/lodash/_isKey.js +0 -15
  516. package/dist/node_modules/lodash/_isKeyable.js +0 -11
  517. package/dist/node_modules/lodash/_isMasked.js +0 -15
  518. package/dist/node_modules/lodash/_isPrototype.js +0 -12
  519. package/dist/node_modules/lodash/_isStrictComparable.js +0 -12
  520. package/dist/node_modules/lodash/_listCacheClear.js +0 -10
  521. package/dist/node_modules/lodash/_listCacheDelete.js +0 -13
  522. package/dist/node_modules/lodash/_listCacheGet.js +0 -13
  523. package/dist/node_modules/lodash/_listCacheHas.js +0 -12
  524. package/dist/node_modules/lodash/_listCacheSet.js +0 -13
  525. package/dist/node_modules/lodash/_mapCacheClear.js +0 -18
  526. package/dist/node_modules/lodash/_mapCacheDelete.js +0 -13
  527. package/dist/node_modules/lodash/_mapCacheGet.js +0 -12
  528. package/dist/node_modules/lodash/_mapCacheHas.js +0 -12
  529. package/dist/node_modules/lodash/_mapCacheSet.js +0 -13
  530. package/dist/node_modules/lodash/_mapToArray.js +0 -13
  531. package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -12
  532. package/dist/node_modules/lodash/_memoizeCapped.js +0 -15
  533. package/dist/node_modules/lodash/_nativeCreate.js +0 -8
  534. package/dist/node_modules/lodash/_nativeKeys.js +0 -8
  535. package/dist/node_modules/lodash/_nodeUtil.js +0 -13
  536. package/dist/node_modules/lodash/_objectToString.js +0 -11
  537. package/dist/node_modules/lodash/_overArg.js +0 -12
  538. package/dist/node_modules/lodash/_overRest.js +0 -17
  539. package/dist/node_modules/lodash/_root.js +0 -9
  540. package/dist/node_modules/lodash/_setCacheAdd.js +0 -10
  541. package/dist/node_modules/lodash/_setCacheHas.js +0 -10
  542. package/dist/node_modules/lodash/_setToArray.js +0 -13
  543. package/dist/node_modules/lodash/_setToString.js +0 -10
  544. package/dist/node_modules/lodash/_shortOut.js +0 -18
  545. package/dist/node_modules/lodash/_stackClear.js +0 -12
  546. package/dist/node_modules/lodash/_stackDelete.js +0 -11
  547. package/dist/node_modules/lodash/_stackGet.js +0 -10
  548. package/dist/node_modules/lodash/_stackHas.js +0 -10
  549. package/dist/node_modules/lodash/_stackSet.js +0 -20
  550. package/dist/node_modules/lodash/_strictIndexOf.js +0 -11
  551. package/dist/node_modules/lodash/_stringToArray.js +0 -14
  552. package/dist/node_modules/lodash/_stringToPath.js +0 -14
  553. package/dist/node_modules/lodash/_toKey.js +0 -14
  554. package/dist/node_modules/lodash/_toSource.js +0 -19
  555. package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -12
  556. package/dist/node_modules/lodash/_unicodeToArray.js +0 -21
  557. package/dist/node_modules/lodash/constant.js +0 -12
  558. package/dist/node_modules/lodash/debounce.js +0 -54
  559. package/dist/node_modules/lodash/eq.js +0 -10
  560. package/dist/node_modules/lodash/every.js +0 -17
  561. package/dist/node_modules/lodash/find.js +0 -9
  562. package/dist/node_modules/lodash/findIndex.js +0 -17
  563. package/dist/node_modules/lodash/flatMap.js +0 -13
  564. package/dist/node_modules/lodash/get.js +0 -13
  565. package/dist/node_modules/lodash/hasIn.js +0 -13
  566. package/dist/node_modules/lodash/identity.js +0 -10
  567. package/dist/node_modules/lodash/isArguments.js +0 -14
  568. package/dist/node_modules/lodash/isArray.js +0 -7
  569. package/dist/node_modules/lodash/isArrayLike.js +0 -13
  570. package/dist/node_modules/lodash/isBoolean.js +0 -13
  571. package/dist/node_modules/lodash/isBuffer.js +0 -10
  572. package/dist/node_modules/lodash/isEqual.js +0 -12
  573. package/dist/node_modules/lodash/isFunction.js +0 -15
  574. package/dist/node_modules/lodash/isLength.js +0 -10
  575. package/dist/node_modules/lodash/isNaN.js +0 -12
  576. package/dist/node_modules/lodash/isNil.js +0 -10
  577. package/dist/node_modules/lodash/isNumber.js +0 -13
  578. package/dist/node_modules/lodash/isObject.js +0 -11
  579. package/dist/node_modules/lodash/isObjectLike.js +0 -10
  580. package/dist/node_modules/lodash/isPlainObject.js +0 -18
  581. package/dist/node_modules/lodash/isString.js +0 -14
  582. package/dist/node_modules/lodash/isSymbol.js +0 -13
  583. package/dist/node_modules/lodash/isTypedArray.js +0 -11
  584. package/dist/node_modules/lodash/keys.js +0 -14
  585. package/dist/node_modules/lodash/last.js +0 -11
  586. package/dist/node_modules/lodash/map.js +0 -15
  587. package/dist/node_modules/lodash/mapValues.js +0 -17
  588. package/dist/node_modules/lodash/max.js +0 -14
  589. package/dist/node_modules/lodash/maxBy.js +0 -14
  590. package/dist/node_modules/lodash/memoize.js +0 -19
  591. package/dist/node_modules/lodash/min.js +0 -14
  592. package/dist/node_modules/lodash/minBy.js +0 -14
  593. package/dist/node_modules/lodash/noop.js +0 -8
  594. package/dist/node_modules/lodash/now.js +0 -11
  595. package/dist/node_modules/lodash/property.js +0 -15
  596. package/dist/node_modules/lodash/range.js +0 -8
  597. package/dist/node_modules/lodash/some.js +0 -17
  598. package/dist/node_modules/lodash/sortBy.js +0 -16
  599. package/dist/node_modules/lodash/stubArray.js +0 -10
  600. package/dist/node_modules/lodash/stubFalse.js +0 -10
  601. package/dist/node_modules/lodash/throttle.js +0 -19
  602. package/dist/node_modules/lodash/toFinite.js +0 -12
  603. package/dist/node_modules/lodash/toInteger.js +0 -13
  604. package/dist/node_modules/lodash/toNumber.js +0 -23
  605. package/dist/node_modules/lodash/toString.js +0 -12
  606. package/dist/node_modules/lodash/uniqBy.js +0 -13
  607. package/dist/node_modules/lodash/upperFirst.js +0 -8
  608. package/dist/node_modules/object-assign/index.js +0 -38
  609. package/dist/node_modules/prop-types/checkPropTypes.js +0 -43
  610. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -46
  611. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -270
  612. package/dist/node_modules/prop-types/index.js +0 -13
  613. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -7
  614. package/dist/node_modules/prop-types/lib/has.js +0 -7
  615. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -81
  616. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -61
  617. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -9
  618. package/dist/node_modules/qrcode/lib/browser.js +0 -37
  619. package/dist/node_modules/qrcode/lib/can-promise.js +0 -9
  620. package/dist/node_modules/qrcode/lib/core/alignment-pattern.js +0 -18
  621. package/dist/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -25
  622. package/dist/node_modules/qrcode/lib/core/bit-buffer.js +0 -25
  623. package/dist/node_modules/qrcode/lib/core/bit-matrix.js +0 -20
  624. package/dist/node_modules/qrcode/lib/core/byte-data.js +0 -20
  625. package/dist/node_modules/qrcode/lib/core/error-correction-code.js +0 -347
  626. package/dist/node_modules/qrcode/lib/core/error-correction-level.js +0 -31
  627. package/dist/node_modules/qrcode/lib/core/finder-pattern.js +0 -16
  628. package/dist/node_modules/qrcode/lib/core/format-info.js +0 -13
  629. package/dist/node_modules/qrcode/lib/core/galois-field.js +0 -19
  630. package/dist/node_modules/qrcode/lib/core/kanji-data.js +0 -28
  631. package/dist/node_modules/qrcode/lib/core/mask-pattern.js +0 -81
  632. package/dist/node_modules/qrcode/lib/core/mode.js +0 -71
  633. package/dist/node_modules/qrcode/lib/core/numeric-data.js +0 -23
  634. package/dist/node_modules/qrcode/lib/core/polynomial.js +0 -27
  635. package/dist/node_modules/qrcode/lib/core/qrcode.js +0 -114
  636. package/dist/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -24
  637. package/dist/node_modules/qrcode/lib/core/regex.js +0 -18
  638. package/dist/node_modules/qrcode/lib/core/segments.js +0 -141
  639. package/dist/node_modules/qrcode/lib/core/utils.js +0 -67
  640. package/dist/node_modules/qrcode/lib/core/version-check.js +0 -9
  641. package/dist/node_modules/qrcode/lib/core/version.js +0 -57
  642. package/dist/node_modules/qrcode/lib/renderer/canvas.js +0 -29
  643. package/dist/node_modules/qrcode/lib/renderer/svg-tag.js +0 -28
  644. package/dist/node_modules/qrcode/lib/renderer/utils.js +0 -52
  645. package/dist/node_modules/react-is/cjs/react-is.development.js +0 -84
  646. package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -62
  647. package/dist/node_modules/react-is/index.js +0 -9
  648. package/dist/node_modules/react-smooth/es6/Animate.js +0 -364
  649. package/dist/node_modules/react-smooth/es6/AnimateManager.js +0 -68
  650. package/dist/node_modules/react-smooth/es6/configUpdate.js +0 -170
  651. package/dist/node_modules/react-smooth/es6/easing.js +0 -149
  652. package/dist/node_modules/react-smooth/es6/index.js +0 -6
  653. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +0 -11
  654. package/dist/node_modules/react-smooth/es6/util.js +0 -91
  655. package/dist/node_modules/recharts/es6/cartesian/Area.js +0 -432
  656. package/dist/node_modules/recharts/es6/cartesian/Bar.js +0 -384
  657. package/dist/node_modules/recharts/es6/cartesian/Brush.js +0 -496
  658. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +0 -329
  659. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +0 -302
  660. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +0 -240
  661. package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -470
  662. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +0 -170
  663. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +0 -175
  664. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +0 -251
  665. package/dist/node_modules/recharts/es6/cartesian/Scatter.js +0 -365
  666. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +0 -141
  667. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +0 -140
  668. package/dist/node_modules/recharts/es6/cartesian/ZAxis.js +0 -100
  669. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +0 -15
  670. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +0 -118
  671. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +0 -96
  672. package/dist/node_modules/recharts/es6/chart/AreaChart.js +0 -19
  673. package/dist/node_modules/recharts/es6/chart/BarChart.js +0 -21
  674. package/dist/node_modules/recharts/es6/chart/ComposedChart.js +0 -35
  675. package/dist/node_modules/recharts/es6/chart/LineChart.js +0 -19
  676. package/dist/node_modules/recharts/es6/chart/PieChart.js +0 -31
  677. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +0 -1244
  678. package/dist/node_modules/recharts/es6/component/Cell.js +0 -6
  679. package/dist/node_modules/recharts/es6/component/Cursor.js +0 -90
  680. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +0 -234
  681. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +0 -168
  682. package/dist/node_modules/recharts/es6/component/Label.js +0 -350
  683. package/dist/node_modules/recharts/es6/component/LabelList.js +0 -163
  684. package/dist/node_modules/recharts/es6/component/Legend.js +0 -235
  685. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +0 -184
  686. package/dist/node_modules/recharts/es6/component/Text.js +0 -220
  687. package/dist/node_modules/recharts/es6/component/Tooltip.js +0 -179
  688. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +0 -195
  689. package/dist/node_modules/recharts/es6/container/Layer.js +0 -37
  690. package/dist/node_modules/recharts/es6/container/Surface.js +0 -57
  691. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +0 -55
  692. package/dist/node_modules/recharts/es6/polar/Pie.js +0 -429
  693. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +0 -212
  694. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +0 -263
  695. package/dist/node_modules/recharts/es6/shape/Cross.js +0 -109
  696. package/dist/node_modules/recharts/es6/shape/Curve.js +0 -123
  697. package/dist/node_modules/recharts/es6/shape/Dot.js +0 -24
  698. package/dist/node_modules/recharts/es6/shape/Polygon.js +0 -109
  699. package/dist/node_modules/recharts/es6/shape/Rectangle.js +0 -202
  700. package/dist/node_modules/recharts/es6/shape/Sector.js +0 -189
  701. package/dist/node_modules/recharts/es6/shape/Symbols.js +0 -133
  702. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +0 -172
  703. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +0 -178
  704. package/dist/node_modules/recharts/es6/util/BarUtils.js +0 -109
  705. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +0 -231
  706. package/dist/node_modules/recharts/es6/util/ChartUtils.js +0 -555
  707. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +0 -67
  708. package/dist/node_modules/recharts/es6/util/DOMUtils.js +0 -105
  709. package/dist/node_modules/recharts/es6/util/DataUtils.js +0 -64
  710. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +0 -55
  711. package/dist/node_modules/recharts/es6/util/Events.js +0 -4
  712. package/dist/node_modules/recharts/es6/util/Global.js +0 -18
  713. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +0 -6
  714. package/dist/node_modules/recharts/es6/util/LogUtils.js +0 -14
  715. package/dist/node_modules/recharts/es6/util/PolarUtils.js +0 -195
  716. package/dist/node_modules/recharts/es6/util/ReactUtils.js +0 -134
  717. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +0 -178
  718. package/dist/node_modules/recharts/es6/util/ScatterUtils.js +0 -45
  719. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +0 -7
  720. package/dist/node_modules/recharts/es6/util/TickUtils.js +0 -29
  721. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -22
  722. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +0 -22
  723. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +0 -13
  724. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +0 -14
  725. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +0 -9
  726. package/dist/node_modules/recharts/es6/util/getLegendProps.js +0 -85
  727. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +0 -10
  728. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +0 -9
  729. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +0 -84
  730. package/dist/node_modules/recharts/es6/util/types.js +0 -40
  731. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +0 -129
  732. package/dist/node_modules/recharts-scale/es6/index.js +0 -1
  733. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +0 -29
  734. package/dist/node_modules/recharts-scale/es6/util/utils.js +0 -76
  735. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1776
  736. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +0 -10
  737. package/dist/node_modules/victory-vendor/es/d3-scale.js +0 -34
@@ -1,18 +1,18 @@
1
- import { CreateTaskCore as e } from "../../node_modules/@burdenoff/planmagnet-fe-sdk/dist/index.js";
2
- import { Modal as t } from "./Modal.js";
3
- import { useHealthyBowl as n } from "../context/HealthyBowlContext.js";
4
- import { useDefaultTaskProject as r } from "../pages/tasks/useDefaultTaskProject.js";
5
- import { useCanManageTasks as i } from "../pages/tasks/useCanManageTasks.js";
6
- import { useToast as a } from "../hooks/useToast.js";
7
- import { useCallback as o, useEffect as s, useState as c } from "react";
8
- import { ClipboardList as l } from "lucide-react";
9
- import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
10
- import { Button as p } from "@burdenoff/fe-libs/ui";
11
- import { gql as m } from "@apollo/client";
12
- import { ApolloProvider as h, useMutation as g } from "@apollo/client/react";
13
- import { useSafeGatewayClient as _ } from "@burdenoff/fe-libs/shared/graphql";
1
+ import { Modal as e } from "./Modal.js";
2
+ import { useHealthyBowl as t } from "../context/HealthyBowlContext.js";
3
+ import { useDefaultTaskProject as n } from "../pages/tasks/useDefaultTaskProject.js";
4
+ import { useCanManageTasks as r } from "../pages/tasks/useCanManageTasks.js";
5
+ import { useToast as i } from "../hooks/useToast.js";
6
+ import { useCallback as a, useEffect as o, useState as s } from "react";
7
+ import { ClipboardList as c } from "lucide-react";
8
+ import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
9
+ import { Button as f } from "@burdenoff/fe-libs/ui";
10
+ import { gql as p } from "@apollo/client";
11
+ import { ApolloProvider as m, useMutation as h } from "@apollo/client/react";
12
+ import { useSafeGatewayClient as g } from "@burdenoff/fe-libs/shared/graphql";
13
+ import { CreateTaskCore as _ } from "@burdenoff/planmagnet-fe-sdk";
14
14
  // src/healthybowl/components/CreateFarmTaskButton.tsx
15
- var v = m`
15
+ var v = p`
16
16
  mutation HealthyBowlLinkWorkItem($input: PlanmagnetCreateWorkItemLinkInput!) {
17
17
  planmagnetLinkWorkItem(input: $input) {
18
18
  id
@@ -20,65 +20,65 @@ var v = m`
20
20
  }
21
21
  `;
22
22
  function y() {
23
- let e = _("workspace"), { workspaceId: t } = n(), { canManage: r } = i(t);
24
- return !!e && r;
23
+ let e = g("workspace"), { workspaceId: n } = t(), { canManage: i } = r(n);
24
+ return !!e && i;
25
25
  }
26
- var b = ({ entityType: e, entityId: n, entityLabel: r, open: i, onOpenChange: a }) => {
27
- let o = _("workspace");
28
- return o ? /* @__PURE__ */ d(t, {
26
+ var b = ({ entityType: t, entityId: n, entityLabel: r, open: i, onOpenChange: a }) => {
27
+ let o = g("workspace");
28
+ return o ? /* @__PURE__ */ u(e, {
29
29
  open: i,
30
30
  onClose: () => a(!1),
31
31
  title: "Create Farm Task",
32
32
  description: `Create a task linked to ${r}.`,
33
- icon: l,
34
- children: /* @__PURE__ */ d(h, {
33
+ icon: c,
34
+ children: /* @__PURE__ */ u(m, {
35
35
  client: o,
36
- children: /* @__PURE__ */ d(S, {
36
+ children: /* @__PURE__ */ u(S, {
37
37
  client: o,
38
- entityType: e,
38
+ entityType: t,
39
39
  entityId: n,
40
40
  entityLabel: r,
41
41
  onDone: () => a(!1)
42
42
  })
43
43
  })
44
44
  }) : null;
45
- }, x = ({ entityType: e, entityId: t, entityLabel: n, label: r = "Create Task", variant: i = "outline", size: a, iconOnly: o, title: s, className: m, icon: h }) => {
46
- let g = y(), [_, v] = c(!1);
47
- return g ? /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ f(p, {
45
+ }, x = ({ entityType: e, entityId: t, entityLabel: n, label: r = "Create Task", variant: i = "outline", size: a, iconOnly: o, title: p, className: m, icon: h }) => {
46
+ let g = y(), [_, v] = s(!1);
47
+ return g ? /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ d(f, {
48
48
  variant: i,
49
49
  size: a,
50
50
  onClick: () => v(!0),
51
51
  className: m,
52
- title: s ?? (o ? r : void 0),
53
- "aria-label": o ? s ?? r : void 0,
54
- children: [h ?? /* @__PURE__ */ d(l, {
52
+ title: p ?? (o ? r : void 0),
53
+ "aria-label": o ? p ?? r : void 0,
54
+ children: [h ?? /* @__PURE__ */ u(c, {
55
55
  className: "size-4",
56
56
  "aria-hidden": "true"
57
57
  }), !o && r]
58
- }), /* @__PURE__ */ d(b, {
58
+ }), /* @__PURE__ */ u(b, {
59
59
  entityType: e,
60
60
  entityId: t,
61
61
  entityLabel: n,
62
62
  open: _,
63
63
  onOpenChange: v
64
64
  })] }) : null;
65
- }, S = ({ client: t, entityType: i, entityId: c, entityLabel: l, onDone: u }) => {
66
- let { workspaceId: p, currentUser: m } = n(), { projectId: h, loading: _, error: y, ensureProject: b } = r(t, p, m?.id);
67
- s(() => {
65
+ }, S = ({ client: e, entityType: r, entityId: s, entityLabel: c, onDone: l }) => {
66
+ let { workspaceId: f, currentUser: p } = t(), { projectId: m, loading: g, error: y, ensureProject: b } = n(e, f, p?.id);
67
+ o(() => {
68
68
  b();
69
69
  }, [b]);
70
- let [x] = g(v), { toast: S } = a(), C = o(async (e) => {
70
+ let [x] = h(v), { toast: S } = i(), C = a(async (e) => {
71
71
  try {
72
72
  await x({ variables: { input: {
73
73
  workItemId: e.id,
74
74
  sourceProduct: "healthybowl",
75
- entityType: i,
76
- entityId: c,
77
- displayNameSnapshot: l,
75
+ entityType: r,
76
+ entityId: s,
77
+ displayNameSnapshot: c,
78
78
  deepLinkSnapshot: window.location.pathname + window.location.search
79
79
  } } }), S({
80
80
  title: "Task created",
81
- description: `Linked to ${l}.`,
81
+ description: `Linked to ${c}.`,
82
82
  variant: "success"
83
83
  });
84
84
  } catch {
@@ -88,26 +88,26 @@ var b = ({ entityType: e, entityId: n, entityLabel: r, open: i, onOpenChange: a
88
88
  variant: "warning"
89
89
  });
90
90
  }
91
- u();
91
+ l();
92
92
  }, [
93
93
  x,
94
- i,
94
+ r,
95
+ s,
95
96
  c,
96
- l,
97
97
  S,
98
- u
98
+ l
99
99
  ]);
100
- return y ? /* @__PURE__ */ f("p", {
100
+ return y ? /* @__PURE__ */ d("p", {
101
101
  className: "text-sm text-destructive",
102
102
  children: ["Couldn't prepare the task project: ", y.message]
103
- }) : _ || !h ? /* @__PURE__ */ d("p", {
103
+ }) : g || !m ? /* @__PURE__ */ u("p", {
104
104
  className: "text-sm text-muted-foreground",
105
105
  children: "Preparing…"
106
- }) : /* @__PURE__ */ d(e, {
107
- workspaceId: p,
108
- projectId: h,
106
+ }) : /* @__PURE__ */ u(_, {
107
+ workspaceId: f,
108
+ projectId: m,
109
109
  hideHeader: !0,
110
- defaultValues: { title: `${l}: ` },
110
+ defaultValues: { title: `${c}: ` },
111
111
  hiddenFields: [
112
112
  "type",
113
113
  "storyPoints",
@@ -115,7 +115,7 @@ var b = ({ entityType: e, entityId: n, entityLabel: r, open: i, onOpenChange: a
115
115
  ],
116
116
  submitLabel: "Create & link",
117
117
  onCreated: C,
118
- onCancel: u
118
+ onCancel: l
119
119
  });
120
120
  };
121
121
  export { x as CreateFarmTaskButton, b as CreateFarmTaskDialog, y as useCanCreateFarmTask };
@@ -1,65 +1,63 @@
1
- import { __toESM as e } from "../../_virtual/_rolldown/runtime.js";
2
- import { require_leaflet_src as t } from "../../node_modules/leaflet/dist/leaflet-src.js";
3
- import { ensureLeafletCss as n } from "../utils/leaflet.js";
4
- import { useEffect as r, useRef as i } from "react";
5
- import { useI18n as a } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
6
- import { jsx as o } from "react/jsx-runtime";
1
+ import { ensureLeafletCss as e } from "../utils/leaflet.js";
2
+ import { useEffect as t, useRef as n } from "react";
3
+ import { useI18n as r } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
4
+ import { jsx as i } from "react/jsx-runtime";
5
+ import a from "leaflet";
7
6
  // src/healthybowl/components/DeliveryRouteMap.tsx
8
- var s = /* @__PURE__ */ e(t(), 1);
9
- function c(e, t) {
7
+ function o(e, t) {
10
8
  return typeof document > "u" ? t : getComputedStyle(document.documentElement).getPropertyValue(e).trim() || t;
11
9
  }
12
- var l = (e, t) => typeof e == "number" && typeof t == "number" && Number.isFinite(e) && Number.isFinite(t) && e >= -90 && e <= 90 && t >= -180 && t <= 180 && (e !== 0 || t !== 0);
13
- function u(e) {
10
+ var s = (e, t) => typeof e == "number" && typeof t == "number" && Number.isFinite(e) && Number.isFinite(t) && e >= -90 && e <= 90 && t >= -180 && t <= 180 && (e !== 0 || t !== 0);
11
+ function c(e) {
14
12
  switch (e) {
15
- case "DELIVERED": return c("--color-status-success-text", "#16a34a");
16
- case "ARRIVED": return c("--color-status-warning-text", "#d97706");
17
- case "FAILED": return c("--color-status-error-text", "#dc2626");
18
- default: return c("--color-text-secondary", "#64748b");
13
+ case "DELIVERED": return o("--color-status-success-text", "#16a34a");
14
+ case "ARRIVED": return o("--color-status-warning-text", "#d97706");
15
+ case "FAILED": return o("--color-status-error-text", "#dc2626");
16
+ default: return o("--color-text-secondary", "#64748b");
19
17
  }
20
18
  }
21
- var d = ({ stops: e, startLat: t, startLng: d, onStopClick: f }) => {
22
- let { t: p } = a(), m = i(null), h = i(null), g = i(f);
23
- return r(() => {
19
+ var l = ({ stops: l, startLat: u, startLng: d, onStopClick: f }) => {
20
+ let { t: p } = r(), m = n(null), h = n(null), g = n(f);
21
+ return t(() => {
24
22
  g.current = f;
25
- }, [f]), r(() => {
26
- let r = m.current;
27
- if (!r) return;
28
- n();
29
- let i = [...e].filter((e) => l(e.lat, e.lng)).sort((e, t) => e.sequence - t.sequence), a = l(t, d), o = [];
30
- a && o.push([t, d]);
31
- for (let e of i) o.push([e.lat, e.lng]);
32
- let f = s.default.map(r, {
33
- center: o[0] ?? [20, 78],
34
- zoom: o[0] ? 11 : 4,
23
+ }, [f]), t(() => {
24
+ let t = m.current;
25
+ if (!t) return;
26
+ e();
27
+ let n = [...l].filter((e) => s(e.lat, e.lng)).sort((e, t) => e.sequence - t.sequence), r = s(u, d), i = [];
28
+ r && i.push([u, d]);
29
+ for (let e of n) i.push([e.lat, e.lng]);
30
+ let f = a.map(t, {
31
+ center: i[0] ?? [20, 78],
32
+ zoom: i[0] ? 11 : 4,
35
33
  scrollWheelZoom: !0
36
34
  });
37
- h.current = f, s.default.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
35
+ h.current = f, a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
38
36
  attribution: "© OpenStreetMap contributors",
39
37
  maxZoom: 19
40
- }).addTo(f), s.default.control.scale({ imperial: !1 }).addTo(f);
41
- let _ = c("--color-action-primary-bg", "#16a34a"), v = c("--color-action-primary-bg", "#16a34a");
42
- o.length >= 2 && s.default.polyline(o, {
38
+ }).addTo(f), a.control.scale({ imperial: !1 }).addTo(f);
39
+ let _ = o("--color-action-primary-bg", "#16a34a"), v = o("--color-action-primary-bg", "#16a34a");
40
+ i.length >= 2 && a.polyline(i, {
43
41
  color: _,
44
42
  weight: 3,
45
43
  opacity: .75,
46
44
  dashArray: "6 6"
47
45
  }).addTo(f);
48
- let y = (e, t, n) => s.default.divIcon({
46
+ let y = (e, t, n) => a.divIcon({
49
47
  className: "hb-route-marker",
50
48
  html: `<div style="width:${n}px;height:${n}px;border-radius:50%;background:${t};color:#fff;border:2px solid #fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;box-shadow:0 1px 4px rgba(0,0,0,.4)">${e}</div>`,
51
49
  iconSize: [n, n],
52
50
  iconAnchor: [n / 2, n / 2]
53
51
  });
54
- if (a) {
52
+ if (r) {
55
53
  let e = document.createElement("span");
56
- e.textContent = p("healthybowl.distribution.routeMap.start", "Start / depot"), s.default.marker([t, d], { icon: y("•", v, 24) }).addTo(f).bindPopup(e);
54
+ e.textContent = p("healthybowl.distribution.routeMap.start", "Start / depot"), a.marker([u, d], { icon: y("•", v, 24) }).addTo(f).bindPopup(e);
57
55
  }
58
- if (i.forEach((e) => {
56
+ if (n.forEach((e) => {
59
57
  let t = document.createElement("span");
60
- t.textContent = `${e.sequence}. ${e.label}`, s.default.marker([e.lat, e.lng], { icon: y(String(e.sequence), u(e.status), 26) }).addTo(f).bindPopup(t).on("click", () => g.current?.(e.id));
61
- }), o.length >= 1) try {
62
- f.fitBounds(s.default.latLngBounds(o), {
58
+ t.textContent = `${e.sequence}. ${e.label}`, a.marker([e.lat, e.lng], { icon: y(String(e.sequence), c(e.status), 26) }).addTo(f).bindPopup(t).on("click", () => g.current?.(e.id));
59
+ }), i.length >= 1) try {
60
+ f.fitBounds(a.latLngBounds(i), {
63
61
  padding: [32, 32],
64
62
  maxZoom: 15
65
63
  });
@@ -68,13 +66,13 @@ var d = ({ stops: e, startLat: t, startLng: d, onStopClick: f }) => {
68
66
  f.remove(), h.current = null;
69
67
  };
70
68
  }, [
71
- e,
72
- t,
69
+ l,
70
+ u,
73
71
  d,
74
72
  p
75
- ]), /* @__PURE__ */ o("div", {
73
+ ]), /* @__PURE__ */ i("div", {
76
74
  ref: m,
77
75
  className: "h-[60vh] max-h-[480px] w-full overflow-hidden rounded-md border border-border-subtle bg-bg-sunken"
78
76
  });
79
77
  };
80
- export { d as DeliveryRouteMap };
78
+ export { l as DeliveryRouteMap };