@burdenoff/microfe-movethewheels 2026.1014.1 → 2026.1016.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.
- package/README.md +7 -0
- package/dist/components/EntityCombobox.js +80 -74
- package/dist/components/pending-pick/PendingPickHistory.js +47 -38
- package/dist/components/pending-pick/PickReviewPanel.js +317 -0
- package/dist/dev/main.d.ts +0 -1
- package/dist/generated/pending-pick-operations.d.ts +356 -0
- package/dist/index.d.ts +2 -4
- package/dist/movethewheels/MoveTheWheelsRoot.d.ts +0 -1
- package/dist/movethewheels/MoveTheWheelsRoutes.d.ts +1 -1
- package/dist/movethewheels/components/AssignmentSuggestions.d.ts +1 -2
- package/dist/movethewheels/components/CarbonFootprintPanel.d.ts +1 -1
- package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +1 -2
- package/dist/movethewheels/components/CustomerPicker.d.ts +1 -2
- package/dist/movethewheels/components/DataTable.d.ts +1 -2
- package/dist/movethewheels/components/DocumentsCard.d.ts +1 -2
- package/dist/movethewheels/components/EntityCombobox.d.ts +1 -1
- package/dist/movethewheels/components/FleetAlertsPanel.d.ts +1 -2
- package/dist/movethewheels/components/FormError.d.ts +1 -1
- package/dist/movethewheels/components/FreeTimeAgreementForm.d.ts +1 -2
- package/dist/movethewheels/components/GlassPanel.d.ts +1 -2
- package/dist/movethewheels/components/MetricCard.d.ts +3 -4
- package/dist/movethewheels/components/Notice.d.ts +1 -1
- package/dist/movethewheels/components/OrderItemRow.d.ts +1 -2
- package/dist/movethewheels/components/PageLayout.d.ts +5 -6
- package/dist/movethewheels/components/ProofOfDeliveryCard.d.ts +1 -1
- package/dist/movethewheels/components/ReturnInstructionForm.d.ts +1 -2
- package/dist/movethewheels/components/ReuseControls.d.ts +4 -5
- package/dist/movethewheels/components/ReusePermissionForm.d.ts +1 -2
- package/dist/movethewheels/components/ReuseProposalForm.d.ts +1 -2
- package/dist/movethewheels/components/ReuseSourceFields.d.ts +1 -2
- package/dist/movethewheels/components/ShippingQuoteResults.d.ts +1 -2
- package/dist/movethewheels/components/StatusBadge.d.ts +5 -6
- package/dist/movethewheels/components/StockActionDialogs.d.ts +3 -3
- package/dist/movethewheels/components/UpcomingDemandPanel.d.ts +1 -2
- package/dist/movethewheels/components/VehicleServiceCard.d.ts +1 -2
- package/dist/movethewheels/components/charts/ChartShell.d.ts +2 -3
- package/dist/movethewheels/components/charts/Sparkline.d.ts +1 -1
- package/dist/movethewheels/components/charts/StatusDonut.d.ts +1 -1
- package/dist/movethewheels/components/charts/TrendChart.d.ts +1 -1
- package/dist/movethewheels/components/charts/VolumeBar.d.ts +1 -1
- package/dist/movethewheels/components/consolidation/ConsolidationHistory.d.ts +3 -4
- package/dist/movethewheels/components/consolidation/ConsolidationLotEditor.d.ts +1 -2
- package/dist/movethewheels/components/consolidation/ConsolidationManifestWorkbench.d.ts +1 -2
- package/dist/movethewheels/components/consolidation/ConsolidationPlanForm.d.ts +1 -2
- package/dist/movethewheels/components/consolidation/ConsolidationPlanWorkbench.d.ts +1 -2
- package/dist/movethewheels/components/consolidation/ConsolidationReportForm.d.ts +1 -2
- package/dist/movethewheels/components/consolidation/ConsolidationReportsWorkbench.d.ts +1 -2
- package/dist/movethewheels/components/consolidation/ConsolidationSummary.d.ts +1 -2
- package/dist/movethewheels/components/consolidation/OriginalConsolidationHistory.d.ts +1 -2
- package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +1 -2
- package/dist/movethewheels/components/freight-cost/FreightFields.d.ts +3 -4
- package/dist/movethewheels/components/freight-cost/FreightFxEditor.d.ts +1 -2
- package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +1 -2
- package/dist/movethewheels/components/freight-cost/FreightLineEditor.d.ts +1 -2
- package/dist/movethewheels/components/freight-cost/FreightScopeEditor.d.ts +1 -2
- package/dist/movethewheels/components/freight-cost/FreightTotals.d.ts +1 -2
- package/dist/movethewheels/components/logistics-procedure/ProcedureDecisionForm.d.ts +2 -3
- package/dist/movethewheels/components/logistics-procedure/ProcedureFields.d.ts +3 -4
- package/dist/movethewheels/components/logistics-procedure/ProcedureHistory.d.ts +1 -2
- package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyForm.d.ts +1 -2
- package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.d.ts +1 -2
- package/dist/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.d.ts +1 -2
- package/dist/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.d.ts +1 -2
- package/dist/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.d.ts +1 -2
- package/dist/movethewheels/components/maps/LogisticsMap.d.ts +1 -2
- package/dist/movethewheels/components/maps/MapCanvas.d.ts +1 -2
- package/dist/movethewheels/components/maps/RouteMap.d.ts +1 -1
- package/dist/movethewheels/components/maps/TrackingMap.d.ts +1 -1
- package/dist/movethewheels/components/maps/leaflet-setup.d.ts +0 -1
- package/dist/movethewheels/components/pending-pick/PendingPickDraft.d.ts +1 -2
- package/dist/movethewheels/components/pending-pick/PendingPickHistory.d.ts +1 -1
- package/dist/movethewheels/components/pending-pick/PickCapture.d.ts +1 -2
- package/dist/movethewheels/components/pending-pick/PickLineSelection.d.ts +1 -2
- package/dist/movethewheels/components/pending-pick/PickReviewPanel.d.ts +4 -0
- package/dist/movethewheels/components/stock-binding/StockAssessmentDraft.d.ts +1 -2
- package/dist/movethewheels/components/stock-binding/StockAssessmentHistory.d.ts +1 -2
- package/dist/movethewheels/components/stock-binding/StockAssessmentSummary.d.ts +1 -2
- package/dist/movethewheels/components/stock-binding/StockFactForm.d.ts +1 -2
- package/dist/movethewheels/components/stock-observation/StockIssueForm.d.ts +1 -2
- package/dist/movethewheels/components/stock-observation/StockIssueHistory.d.ts +1 -2
- package/dist/movethewheels/components/stock-observation/StockIssueReadPanel.d.ts +1 -1
- package/dist/movethewheels/components/trip-utilization/TripReportForm.d.ts +1 -2
- package/dist/movethewheels/components/trip-utilization/TripReportHistory.d.ts +1 -2
- package/dist/movethewheels/components/trip-utilization/TripReportSummary.d.ts +1 -2
- package/dist/movethewheels/components/trip-utilization/TripSegmentFields.d.ts +1 -2
- package/dist/movethewheels/hooks/useAnalytics.d.ts +0 -1
- package/dist/movethewheels/hooks/useConsolidationAction.d.ts +0 -1
- package/dist/movethewheels/hooks/useContainerCondition.d.ts +0 -1
- package/dist/movethewheels/hooks/useContainerLifecycle.d.ts +0 -1
- package/dist/movethewheels/hooks/useCustomers.d.ts +0 -1
- package/dist/movethewheels/hooks/useEmptyReuseAction.d.ts +0 -1
- package/dist/movethewheels/hooks/useEpod.d.ts +0 -1
- package/dist/movethewheels/hooks/useFleet.d.ts +0 -1
- package/dist/movethewheels/hooks/useFreightRecoveryAction.d.ts +0 -1
- package/dist/movethewheels/hooks/useInventory.d.ts +0 -1
- package/dist/movethewheels/hooks/useOrders.d.ts +0 -1
- package/dist/movethewheels/hooks/useProcedureAction.d.ts +0 -1
- package/dist/movethewheels/hooks/useProcedureSelection.d.ts +0 -1
- package/dist/movethewheels/hooks/useReuseRecoveryAction.d.ts +0 -1
- package/dist/movethewheels/hooks/useRoutes.d.ts +0 -1
- package/dist/movethewheels/hooks/useShipmentStatusAuthority.d.ts +0 -1
- package/dist/movethewheels/hooks/useTracking.d.ts +0 -1
- package/dist/movethewheels/hooks/useTrackingEventQuality.d.ts +0 -1
- package/dist/movethewheels/pages/AIAssistantPage.d.ts +1 -1
- package/dist/movethewheels/pages/AnalyticsPage.d.ts +1 -1
- package/dist/movethewheels/pages/ConsolidationPage.d.ts +1 -1
- package/dist/movethewheels/pages/ContainerConditionPage.d.ts +1 -1
- package/dist/movethewheels/pages/ContainersPage.d.ts +1 -1
- package/dist/movethewheels/pages/CreateOrderPage.d.ts +1 -1
- package/dist/movethewheels/pages/CustomerDetailsPage.d.ts +1 -1
- package/dist/movethewheels/pages/CustomersPage.d.ts +1 -1
- package/dist/movethewheels/pages/DashboardPage.d.ts +1 -1
- package/dist/movethewheels/pages/DeliveryCapturePage.d.ts +1 -1
- package/dist/movethewheels/pages/DriverDetailsPage.d.ts +1 -1
- package/dist/movethewheels/pages/DriversPage.d.ts +1 -1
- package/dist/movethewheels/pages/EmptyReusePage.d.ts +1 -1
- package/dist/movethewheels/pages/FinancePage.d.ts +1 -1
- package/dist/movethewheels/pages/FleetPage.d.ts +1 -1
- package/dist/movethewheels/pages/FreeTimePage.d.ts +1 -1
- package/dist/movethewheels/pages/FreightEstimatePage.d.ts +1 -1
- package/dist/movethewheels/pages/ImportExportPage.d.ts +1 -1
- package/dist/movethewheels/pages/InventoryPage.d.ts +1 -1
- package/dist/movethewheels/pages/LiveTrackingPage.d.ts +1 -1
- package/dist/movethewheels/pages/LogisticsProceduresPage.d.ts +1 -1
- package/dist/movethewheels/pages/MarketplacePage.d.ts +1 -1
- package/dist/movethewheels/pages/MultiModalShipmentPage.d.ts +1 -1
- package/dist/movethewheels/pages/OrderDetailsPage.d.ts +1 -1
- package/dist/movethewheels/pages/OrdersListPage.d.ts +1 -1
- package/dist/movethewheels/pages/PendingPickPage.d.ts +1 -1
- package/dist/movethewheels/pages/ProductDetailsPage.d.ts +1 -1
- package/dist/movethewheels/pages/ProductsPage.d.ts +1 -1
- package/dist/movethewheels/pages/ReportsPage.d.ts +1 -1
- package/dist/movethewheels/pages/RouteDetailsPage.d.ts +1 -1
- package/dist/movethewheels/pages/RoutesPage.d.ts +1 -1
- package/dist/movethewheels/pages/SettingsPage.d.ts +1 -1
- package/dist/movethewheels/pages/ShipmentStatusAuthorityPage.d.ts +1 -1
- package/dist/movethewheels/pages/ShippingRatesPage.d.ts +1 -1
- package/dist/movethewheels/pages/StockBindingPage.d.ts +1 -1
- package/dist/movethewheels/pages/StockObservationsPage.d.ts +1 -1
- package/dist/movethewheels/pages/TrackingEventQualityPage.d.ts +1 -1
- package/dist/movethewheels/pages/TrackingPage.d.ts +1 -1
- package/dist/movethewheels/pages/TripUtilizationPage.d.ts +1 -1
- package/dist/movethewheels/pages/VehicleDetailsPage.d.ts +1 -1
- package/dist/movethewheels/pages/VehiclesPage.d.ts +1 -1
- package/dist/movethewheels/pages/WarehouseDetailsPage.d.ts +1 -1
- package/dist/movethewheels/pages/WarehousesPage.d.ts +1 -1
- package/dist/movethewheels/providers/MoveTheWheelsProvider.d.ts +0 -1
- package/dist/movethewheels/store/movethewheelsStore.d.ts +0 -1
- package/dist/movethewheels/types/index.d.ts +0 -1
- package/dist/movethewheels/utils/cn.d.ts +0 -1
- package/dist/movethewheels/utils/consolidationHistoryTarget.d.ts +0 -1
- package/dist/movethewheels/utils/consolidationInput.d.ts +0 -1
- package/dist/movethewheels/utils/consolidationLot.d.ts +0 -1
- package/dist/movethewheels/utils/consolidationPins.d.ts +0 -1
- package/dist/movethewheels/utils/consolidationRecovery.d.ts +0 -1
- package/dist/movethewheels/utils/consolidationReportHead.d.ts +0 -1
- package/dist/movethewheels/utils/formatters.d.ts +0 -1
- package/dist/movethewheels/utils/freightDraft.d.ts +0 -1
- package/dist/movethewheels/utils/freightRecovery.d.ts +0 -1
- package/dist/movethewheels/utils/mapMarkers.d.ts +0 -1
- package/dist/movethewheels/utils/orderValidation.d.ts +0 -1
- package/dist/movethewheels/utils/pendingPickDraft.d.ts +0 -1
- package/dist/movethewheels/utils/pickReviewAcknowledgement.d.ts +3 -0
- package/dist/movethewheels/utils/procedureInput.d.ts +0 -1
- package/dist/movethewheels/utils/procedureRecovery.d.ts +0 -1
- package/dist/movethewheels/utils/reuseForm.d.ts +0 -1
- package/dist/movethewheels/utils/reuseRecovery.d.ts +0 -1
- package/dist/movethewheels/utils/stockBindingForm.d.ts +0 -1
- package/dist/movethewheels/utils/stockObservationForm.d.ts +0 -1
- package/dist/movethewheels/utils/tripDraftContext.d.ts +0 -1
- package/dist/movethewheels/utils/tripUtilizationForm.d.ts +0 -1
- package/dist/services/createSandboxAssistantTransport.d.ts +2 -1
- package/dist/src/generated/pending-pick-operations.js +75 -6
- package/dist/stories/EntityCombobox.stories.d.ts +6 -0
- package/dist/stories/MetricCard.stories.d.ts +0 -1
- package/dist/stories/Notice.stories.d.ts +0 -1
- package/dist/stories/StatusBadge.stories.d.ts +0 -1
- package/dist/utils/pickReviewAcknowledgement.js +10 -0
- package/package.json +7 -5
- package/src/generated/pending-pick-operations.ts +239 -1
- package/src/movethewheels/components/EntityCombobox.tsx +8 -2
- package/src/movethewheels/components/pending-pick/PendingPickHistory.tsx +6 -0
- package/src/movethewheels/components/pending-pick/PickReviewPanel.tsx +326 -0
- package/src/movethewheels/utils/pickReviewAcknowledgement.ts +51 -0
- package/src/operations/pending-pick/pick-review.graphql +14 -0
- package/src/stories/EntityCombobox.stories.tsx +58 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
2
|
interface PageLayoutProps {
|
|
4
3
|
children: ReactNode;
|
|
5
4
|
/** Page title */
|
|
@@ -40,7 +39,7 @@ interface PageLayoutProps {
|
|
|
40
39
|
* - Animated entrance
|
|
41
40
|
* - Consistent header styling
|
|
42
41
|
*/
|
|
43
|
-
export declare function PageLayout({ children, title, subtitle, icon, headerActions, headerContent, maxWidth, showHeader, className, contentClassName, hero, titleAccent, }: PageLayoutProps): import(
|
|
42
|
+
export declare function PageLayout({ children, title, subtitle, icon, headerActions, headerContent, maxWidth, showHeader, className, contentClassName, hero, titleAccent, }: PageLayoutProps): import('react').JSX.Element;
|
|
44
43
|
/**
|
|
45
44
|
* PageSection - A section within a page with consistent spacing
|
|
46
45
|
*/
|
|
@@ -50,7 +49,7 @@ export declare function PageSection({ children, title, description, actions, cla
|
|
|
50
49
|
description?: string;
|
|
51
50
|
actions?: ReactNode;
|
|
52
51
|
className?: string;
|
|
53
|
-
}): import(
|
|
52
|
+
}): import('react').JSX.Element;
|
|
54
53
|
/**
|
|
55
54
|
* EmptyState - A consistent empty/zero state component.
|
|
56
55
|
*
|
|
@@ -68,13 +67,13 @@ export declare function EmptyState({ icon, title, description, action, className
|
|
|
68
67
|
className?: string;
|
|
69
68
|
/** Standard illustration name served by the host at /illustrations/<name>.webp. */
|
|
70
69
|
illustration?: string;
|
|
71
|
-
}): import(
|
|
70
|
+
}): import('react').JSX.Element;
|
|
72
71
|
/**
|
|
73
72
|
* LoadingState - A consistent loading state component
|
|
74
73
|
*/
|
|
75
74
|
export declare function LoadingState({ message }: {
|
|
76
75
|
message?: string;
|
|
77
|
-
}): import(
|
|
76
|
+
}): import('react').JSX.Element;
|
|
78
77
|
/**
|
|
79
78
|
* ErrorState - A consistent error state component
|
|
80
79
|
*/
|
|
@@ -82,5 +81,5 @@ export declare function ErrorState({ title, message, onRetry, }: {
|
|
|
82
81
|
title?: string;
|
|
83
82
|
message?: string;
|
|
84
83
|
onRetry?: () => void;
|
|
85
|
-
}): import(
|
|
84
|
+
}): import('react').JSX.Element;
|
|
86
85
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface ProofOfDeliveryCardProps {
|
|
2
2
|
deliveryJobId: string;
|
|
3
3
|
}
|
|
4
|
-
export declare function ProofOfDeliveryCard({ deliveryJobId }: ProofOfDeliveryCardProps): import(
|
|
4
|
+
export declare function ProofOfDeliveryCard({ deliveryJobId }: ProofOfDeliveryCardProps): import('react').JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { RecordMtwEmptyReturnInstructionInput, ReturnInstructionFieldsFragment } from '../../generated/empty-reuse-operations';
|
|
2
|
-
|
|
3
2
|
export type ReturnInstructionDraft = Omit<RecordMtwEmptyReturnInstructionInput, 'idempotencyKey' | 'expectedCycleVersion' | 'cycleId' | 'currentInstructionId'>;
|
|
4
3
|
export declare function ReturnInstructionForm({ current, busy, onSubmit, }: {
|
|
5
4
|
current?: ReturnInstructionFieldsFragment;
|
|
6
5
|
busy: boolean;
|
|
7
6
|
onSubmit: (input: ReturnInstructionDraft) => Promise<unknown>;
|
|
8
|
-
}): import(
|
|
7
|
+
}): import('react').JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
2
|
export declare const reuseCard = "space-y-4 rounded-xl border bg-bg-surface p-5";
|
|
4
3
|
export declare const reuseSelect = "mt-1 w-full rounded-md border bg-bg-surface p-2 text-sm";
|
|
5
4
|
export interface ReusePageInfo {
|
|
@@ -14,12 +13,12 @@ export declare function ReusePager({ page, offset, onChange, busy, }: {
|
|
|
14
13
|
offset: number;
|
|
15
14
|
onChange: (offset: number) => void;
|
|
16
15
|
busy: boolean;
|
|
17
|
-
}): import(
|
|
16
|
+
}): import('react').JSX.Element;
|
|
18
17
|
export declare function ReuseState({ loading, error, children, }: {
|
|
19
18
|
loading: boolean;
|
|
20
19
|
error: string | null;
|
|
21
20
|
children?: ReactNode;
|
|
22
|
-
}): import(
|
|
21
|
+
}): import('react').JSX.Element;
|
|
23
22
|
export declare function ReuseField({ label, name, value, type, required, maxLength, }: {
|
|
24
23
|
label: string;
|
|
25
24
|
name: string;
|
|
@@ -27,7 +26,7 @@ export declare function ReuseField({ label, name, value, type, required, maxLeng
|
|
|
27
26
|
type?: 'text' | 'number';
|
|
28
27
|
required?: boolean;
|
|
29
28
|
maxLength?: number;
|
|
30
|
-
}): import(
|
|
29
|
+
}): import('react').JSX.Element;
|
|
31
30
|
export declare function PinnedSelect({ label, name, value, onChange, options, required, disabled, }: {
|
|
32
31
|
label: string;
|
|
33
32
|
name?: string;
|
|
@@ -39,4 +38,4 @@ export declare function PinnedSelect({ label, name, value, onChange, options, re
|
|
|
39
38
|
}[];
|
|
40
39
|
required?: boolean;
|
|
41
40
|
disabled?: boolean;
|
|
42
|
-
}): import(
|
|
41
|
+
}): import('react').JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { RecordMtwEquipmentReuseApprovalInput, ReuseApprovalFieldsFragment } from '../../generated/empty-reuse-operations';
|
|
2
|
-
|
|
3
2
|
export type ReusePermissionDraft = Omit<RecordMtwEquipmentReuseApprovalInput, 'idempotencyKey' | 'proposalId' | 'expectedCycleVersion'>;
|
|
4
3
|
export declare function ReusePermissionForm({ approvals, ownerReference, busy, onSubmit, }: {
|
|
5
4
|
approvals: ReuseApprovalFieldsFragment[];
|
|
6
5
|
ownerReference: string;
|
|
7
6
|
busy: boolean;
|
|
8
7
|
onSubmit: (input: ReusePermissionDraft) => Promise<unknown>;
|
|
9
|
-
}): import(
|
|
8
|
+
}): import('react').JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReuseProposalFieldsFragment, ReturnInstructionFieldsFragment, RecordMtwReuseProposalInput } from '../../generated/empty-reuse-operations';
|
|
2
|
-
|
|
3
2
|
export type ReuseProposalDraft = Omit<RecordMtwReuseProposalInput, 'idempotencyKey' | 'expectedCycleVersion' | 'cycleId'>;
|
|
4
3
|
export declare function ReuseProposalForm({ cycleId, containerId, instruction, initial, busy, onSubmit, }: {
|
|
5
4
|
cycleId: string;
|
|
@@ -8,4 +7,4 @@ export declare function ReuseProposalForm({ cycleId, containerId, instruction, i
|
|
|
8
7
|
initial?: ReuseProposalFieldsFragment;
|
|
9
8
|
busy: boolean;
|
|
10
9
|
onSubmit: (input: ReuseProposalDraft) => Promise<unknown>;
|
|
11
|
-
}): import(
|
|
10
|
+
}): import('react').JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ReuseSourceFieldsFragment } from '../../generated/empty-reuse-operations';
|
|
2
2
|
import { SelectedEvidence } from './ContainerEvidencePicker';
|
|
3
|
-
|
|
4
3
|
export declare function ReuseSourceFields({ name, label, evidence, initial, }: {
|
|
5
4
|
name: string;
|
|
6
5
|
label: string;
|
|
7
6
|
evidence: SelectedEvidence[];
|
|
8
7
|
initial?: ReuseSourceFieldsFragment | null;
|
|
9
|
-
}): import(
|
|
8
|
+
}): import('react').JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ShippingQuoteResult } from '../hooks/useShippingCarriers';
|
|
2
|
-
|
|
3
2
|
interface ShippingQuoteResultsProps {
|
|
4
3
|
result: ShippingQuoteResult;
|
|
5
4
|
t: (key: string, fallback: string) => string;
|
|
6
5
|
}
|
|
7
|
-
export declare function ShippingQuoteResults({ result, t }: ShippingQuoteResultsProps): import(
|
|
6
|
+
export declare function ShippingQuoteResults({ result, t }: ShippingQuoteResultsProps): import('react').JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { VehicleType } from '../types';
|
|
2
|
-
|
|
3
2
|
type StatusType = 'order' | 'vehicle' | 'driver' | 'custom';
|
|
4
3
|
interface StatusBadgeProps {
|
|
5
4
|
status: string;
|
|
@@ -17,7 +16,7 @@ interface StatusBadgeProps {
|
|
|
17
16
|
/**
|
|
18
17
|
* StatusBadge - Displays status with appropriate colors
|
|
19
18
|
*/
|
|
20
|
-
export declare function StatusBadge({ status, type, customColors, label, size, showDot, className, }: StatusBadgeProps): import(
|
|
19
|
+
export declare function StatusBadge({ status, type, customColors, label, size, showDot, className, }: StatusBadgeProps): import('react').JSX.Element;
|
|
21
20
|
/**
|
|
22
21
|
* Priority Badge - Displays priority level
|
|
23
22
|
*/
|
|
@@ -25,7 +24,7 @@ export declare function PriorityBadge({ priority, size, className, }: {
|
|
|
25
24
|
priority: 'low' | 'normal' | 'high' | 'urgent';
|
|
26
25
|
size?: 'sm' | 'md' | 'lg';
|
|
27
26
|
className?: string;
|
|
28
|
-
}): import(
|
|
27
|
+
}): import('react').JSX.Element;
|
|
29
28
|
/**
|
|
30
29
|
* TypeBadge - Displays B2B/B2C type
|
|
31
30
|
*/
|
|
@@ -33,7 +32,7 @@ export declare function TypeBadge({ type, size, className, }: {
|
|
|
33
32
|
type: 'b2b' | 'b2c';
|
|
34
33
|
size?: 'sm' | 'md' | 'lg';
|
|
35
34
|
className?: string;
|
|
36
|
-
}): import(
|
|
35
|
+
}): import('react').JSX.Element;
|
|
37
36
|
/**
|
|
38
37
|
* PaymentStatusBadge - Displays payment status
|
|
39
38
|
*/
|
|
@@ -41,7 +40,7 @@ export declare function PaymentStatusBadge({ status, size, className, }: {
|
|
|
41
40
|
status: 'pending' | 'paid' | 'failed' | 'refunded';
|
|
42
41
|
size?: 'sm' | 'md' | 'lg';
|
|
43
42
|
className?: string;
|
|
44
|
-
}): import(
|
|
43
|
+
}): import('react').JSX.Element;
|
|
45
44
|
/**
|
|
46
45
|
* VehicleTypeBadge - Displays vehicle type
|
|
47
46
|
*/
|
|
@@ -49,5 +48,5 @@ export declare function VehicleTypeBadge({ type, size, className, }: {
|
|
|
49
48
|
type: VehicleType;
|
|
50
49
|
size?: 'sm' | 'md' | 'lg';
|
|
51
50
|
className?: string;
|
|
52
|
-
}): import(
|
|
51
|
+
}): import('react').JSX.Element;
|
|
53
52
|
export {};
|
|
@@ -14,11 +14,11 @@ interface DialogBaseProps {
|
|
|
14
14
|
/** Called after a successful write with a short human-readable summary. */
|
|
15
15
|
onDone: (message: string) => void;
|
|
16
16
|
}
|
|
17
|
-
export declare function ReceiveStockDialog({ open, onOpenChange, onDone }: DialogBaseProps): import(
|
|
17
|
+
export declare function ReceiveStockDialog({ open, onOpenChange, onDone }: DialogBaseProps): import('react').JSX.Element;
|
|
18
18
|
export declare function AdjustStockDialog({ line, open, onOpenChange, onDone, }: DialogBaseProps & {
|
|
19
19
|
line: StockLineTarget | null;
|
|
20
|
-
}): import(
|
|
20
|
+
}): import('react').JSX.Element;
|
|
21
21
|
export declare function TransferStockDialog({ line, open, onOpenChange, onDone, }: DialogBaseProps & {
|
|
22
22
|
line: StockLineTarget | null;
|
|
23
|
-
}): import(
|
|
23
|
+
}): import('react').JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ForecastPoint, ForecastVariance } from '../hooks/useDemandForecast';
|
|
2
|
-
|
|
3
2
|
interface UpcomingDemandPanelProps {
|
|
4
3
|
laneForecast: ForecastPoint[];
|
|
5
4
|
customerForecast: ForecastPoint[];
|
|
@@ -9,5 +8,5 @@ interface UpcomingDemandPanelProps {
|
|
|
9
8
|
error: Error | null;
|
|
10
9
|
onRetry: () => void;
|
|
11
10
|
}
|
|
12
|
-
export declare function UpcomingDemandPanel({ laneForecast, customerForecast, laneVariance, customerVariance, isLoading, error, onRetry, }: UpcomingDemandPanelProps): import(
|
|
11
|
+
export declare function UpcomingDemandPanel({ laneForecast, customerForecast, laneVariance, customerVariance, isLoading, error, onRetry, }: UpcomingDemandPanelProps): import('react').JSX.Element;
|
|
13
12
|
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { RecordVehicleServiceInput } from '../hooks/useFleetIntelligence';
|
|
2
2
|
import { Vehicle } from '../types';
|
|
3
|
-
|
|
4
3
|
interface VehicleServiceCardProps {
|
|
5
4
|
vehicle: Vehicle;
|
|
6
5
|
onRecord: (input: RecordVehicleServiceInput) => Promise<void>;
|
|
7
6
|
t: (key: string, fallback: string) => string;
|
|
8
7
|
}
|
|
9
|
-
export declare function VehicleServiceCard({ vehicle, onRecord, t }: VehicleServiceCardProps): import(
|
|
8
|
+
export declare function VehicleServiceCard({ vehicle, onRecord, t }: VehicleServiceCardProps): import('react').JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* Small on-brand empty state used by every chart when there is no data.
|
|
5
4
|
* Honest: we never fabricate a placeholder series.
|
|
@@ -8,7 +7,7 @@ export declare function ChartEmpty({ message, height, className, }: {
|
|
|
8
7
|
message?: string;
|
|
9
8
|
height?: number | string;
|
|
10
9
|
className?: string;
|
|
11
|
-
}): import(
|
|
10
|
+
}): import('react').JSX.Element;
|
|
12
11
|
interface ChartTooltipPayloadItem {
|
|
13
12
|
name?: string | number;
|
|
14
13
|
value?: string | number;
|
|
@@ -23,5 +22,5 @@ export declare function ChartTooltip({ active, payload, label, formatter, }: {
|
|
|
23
22
|
payload?: ChartTooltipPayloadItem[];
|
|
24
23
|
label?: ReactNode;
|
|
25
24
|
formatter?: (value: number | string, name: string) => ReactNode;
|
|
26
|
-
}): import(
|
|
25
|
+
}): import('react').JSX.Element | null;
|
|
27
26
|
export {};
|
|
@@ -18,5 +18,5 @@ interface SparklineProps {
|
|
|
18
18
|
* its container; renders nothing (an empty spacer) when there is no data so the
|
|
19
19
|
* card layout stays stable.
|
|
20
20
|
*/
|
|
21
|
-
export declare function Sparkline({ data, color, variant, height, width, className, strokeWidth, }: SparklineProps): import(
|
|
21
|
+
export declare function Sparkline({ data, color, variant, height, width, className, strokeWidth, }: SparklineProps): import('react').JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -19,5 +19,5 @@ interface StatusDonutProps {
|
|
|
19
19
|
* StatusDonut — donut chart with a centered total and a token-styled legend.
|
|
20
20
|
* Responsive; renders an honest empty state when every slice is zero/absent.
|
|
21
21
|
*/
|
|
22
|
-
export declare function StatusDonut({ data, height, className, centerLabel, centerSubLabel, showLegend, emptyMessage, valueFormatter, }: StatusDonutProps): import(
|
|
22
|
+
export declare function StatusDonut({ data, height, className, centerLabel, centerSubLabel, showLegend, emptyMessage, valueFormatter, }: StatusDonutProps): import('react').JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -25,5 +25,5 @@ interface TrendChartProps {
|
|
|
25
25
|
* TrendChart — multi-series area/line chart for trends over time. Fully
|
|
26
26
|
* responsive (ResponsiveContainer), token-colored, with an honest empty state.
|
|
27
27
|
*/
|
|
28
|
-
export declare function TrendChart({ data, series, xKey, variant, height, className, showLegend, showGrid, emptyMessage, valueFormatter, }: TrendChartProps): import(
|
|
28
|
+
export declare function TrendChart({ data, series, xKey, variant, height, className, showLegend, showGrid, emptyMessage, valueFormatter, }: TrendChartProps): import('react').JSX.Element;
|
|
29
29
|
export {};
|
|
@@ -18,5 +18,5 @@ interface VolumeBarProps {
|
|
|
18
18
|
* VolumeBar — grouped/stacked bar chart (e.g. weekly order volume, revenue by
|
|
19
19
|
* month). Responsive, token-colored, rounded bars, honest empty state.
|
|
20
20
|
*/
|
|
21
|
-
export declare function VolumeBar({ data, series, xKey, height, className, showLegend, stacked, emptyMessage, valueFormatter, }: VolumeBarProps): import(
|
|
21
|
+
export declare function VolumeBar({ data, series, xKey, height, className, showLegend, stacked, emptyMessage, valueFormatter, }: VolumeBarProps): import('react').JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ConsolidationObservationsQuery, ConsolidationManifestQuery, ConsolidationPlanQuery } from '../../../generated/consolidation-operations';
|
|
2
|
-
|
|
3
2
|
export declare function ConsolidationPlanHistory({ plan, }: {
|
|
4
3
|
plan: ConsolidationPlanQuery['mtwConsolidationPlan'];
|
|
5
|
-
}): import(
|
|
4
|
+
}): import('react').JSX.Element;
|
|
6
5
|
export declare function ConsolidationReportHistory({ rows, labels, }: {
|
|
7
6
|
rows: ConsolidationObservationsQuery['mtwConsolidationObservationPage']['items'];
|
|
8
7
|
labels: Record<string, string>;
|
|
9
|
-
}): import(
|
|
8
|
+
}): import('react').JSX.Element;
|
|
10
9
|
export declare function ConsolidationManifestHistory({ manifest, labels, }: {
|
|
11
10
|
manifest: ConsolidationManifestQuery['mtwConsolidationManifest'];
|
|
12
11
|
labels: Record<string, string>;
|
|
13
|
-
}): import(
|
|
12
|
+
}): import('react').JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MtwConsolidationLotInput } from '../../../generated/consolidation-operations';
|
|
2
|
-
|
|
3
2
|
export declare function ConsolidationLotEditor({ lot, onChange, }: {
|
|
4
3
|
lot: MtwConsolidationLotInput;
|
|
5
4
|
onChange: (lot: MtwConsolidationLotInput) => void;
|
|
6
|
-
}): import(
|
|
5
|
+
}): import('react').JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ConsolidationPlanQuery } from '../../../generated/consolidation-operations';
|
|
2
2
|
import { useConsolidationAction } from '../../hooks/useConsolidationAction';
|
|
3
|
-
|
|
4
3
|
export declare function ConsolidationManifestWorkbench({ plan, actions, labels, }: {
|
|
5
4
|
plan: ConsolidationPlanQuery['mtwConsolidationPlan'];
|
|
6
5
|
actions: ReturnType<typeof useConsolidationAction>;
|
|
7
6
|
labels: Record<string, string>;
|
|
8
|
-
}): import(
|
|
7
|
+
}): import('react').JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { SaveMtwConsolidationPlanInput } from '../../../generated/consolidation-operations';
|
|
2
|
-
|
|
3
2
|
export type ConsolidationPlanPin = Omit<SaveMtwConsolidationPlanInput, 'facts' | 'evidence' | 'idempotencyKey'>;
|
|
4
3
|
export declare function ConsolidationPlanForm({ pin, busy, onSave, }: {
|
|
5
4
|
pin: ConsolidationPlanPin;
|
|
6
5
|
busy: boolean;
|
|
7
6
|
onSave: (input: Omit<SaveMtwConsolidationPlanInput, 'idempotencyKey'>) => Promise<void>;
|
|
8
|
-
}): import(
|
|
7
|
+
}): import('react').JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { useConsolidationAction } from '../../hooks/useConsolidationAction';
|
|
2
|
-
|
|
3
2
|
export declare function ConsolidationPlanWorkbench({ actions, }: {
|
|
4
3
|
actions: ReturnType<typeof useConsolidationAction>;
|
|
5
|
-
}): import(
|
|
4
|
+
}): import('react').JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ConsolidationPlanQuery, RecordMtwConsolidationObservationInput } from '../../../generated/consolidation-operations';
|
|
2
|
-
|
|
3
2
|
export type ConsolidationReportPin = Omit<RecordMtwConsolidationObservationInput, 'reportedQuantity' | 'reportedObservedAt' | 'reason' | 'source' | 'evidence' | 'idempotencyKey'>;
|
|
4
3
|
export declare function ConsolidationReportForm({ pin, lot, busy, onSave, }: {
|
|
5
4
|
pin: ConsolidationReportPin;
|
|
6
5
|
lot: ConsolidationPlanQuery['mtwConsolidationPlan']['facts']['lots'][number];
|
|
7
6
|
busy: boolean;
|
|
8
7
|
onSave: (input: Omit<RecordMtwConsolidationObservationInput, 'idempotencyKey'>) => Promise<void>;
|
|
9
|
-
}): import(
|
|
8
|
+
}): import('react').JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ConsolidationPlanQuery } from '../../../generated/consolidation-operations';
|
|
2
2
|
import { useConsolidationAction } from '../../hooks/useConsolidationAction';
|
|
3
|
-
|
|
4
3
|
export declare function ConsolidationReportsWorkbench({ plan, actions, }: {
|
|
5
4
|
plan: ConsolidationPlanQuery['mtwConsolidationPlan'];
|
|
6
5
|
actions: ReturnType<typeof useConsolidationAction>;
|
|
7
|
-
}): import(
|
|
6
|
+
}): import('react').JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ConsolidationPreviewQuery } from '../../../generated/consolidation-operations';
|
|
2
|
-
|
|
3
2
|
export declare function ConsolidationSummary({ snapshot, labels, }: {
|
|
4
3
|
snapshot: ConsolidationPreviewQuery['previewMtwConsolidationManifest'];
|
|
5
4
|
labels: Record<string, string>;
|
|
6
|
-
}): import(
|
|
5
|
+
}): import('react').JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { OriginalConsolidationHistoryTarget } from '../../utils/consolidationHistoryTarget';
|
|
2
|
-
|
|
3
2
|
/** Read the retained request's history without changing its input, key or draft selections. */
|
|
4
3
|
export declare function OriginalConsolidationHistory({ target, revision, refresh, }: {
|
|
5
4
|
target: OriginalConsolidationHistoryTarget;
|
|
6
5
|
revision: number;
|
|
7
6
|
refresh: () => void;
|
|
8
|
-
}): import(
|
|
7
|
+
}): import('react').JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { MtwFreightFactsInput, PreviewFreightCostsQuery } from '../../../generated/freight-cost-operations';
|
|
2
2
|
import { SelectedEvidence } from '../ContainerEvidencePicker';
|
|
3
|
-
|
|
4
3
|
export declare function FreightDraftForm({ disabled, onPreview, onSave, }: {
|
|
5
4
|
disabled: boolean;
|
|
6
5
|
onPreview: (facts: MtwFreightFactsInput) => Promise<PreviewFreightCostsQuery['previewMtwFreightTotal']>;
|
|
7
6
|
onSave: (facts: MtwFreightFactsInput, evidence: SelectedEvidence[]) => Promise<void>;
|
|
8
|
-
}): import(
|
|
7
|
+
}): import('react').JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { MtwFreightCurrencyInput } from '../../../generated/freight-cost-operations';
|
|
3
|
-
|
|
4
3
|
export declare const freightInput = "mt-1 min-h-11 w-full rounded border p-2";
|
|
5
4
|
export declare function FreightText({ label, value, onChange, required, type, disabled, }: {
|
|
6
5
|
label: string;
|
|
@@ -9,15 +8,15 @@ export declare function FreightText({ label, value, onChange, required, type, di
|
|
|
9
8
|
required?: boolean;
|
|
10
9
|
type?: string;
|
|
11
10
|
disabled?: boolean;
|
|
12
|
-
}): import(
|
|
11
|
+
}): import('react').JSX.Element;
|
|
13
12
|
export declare function FreightSelect({ label, value, onChange, children, }: {
|
|
14
13
|
label: string;
|
|
15
14
|
value: string;
|
|
16
15
|
onChange: (value: string) => void;
|
|
17
16
|
children: ReactNode;
|
|
18
|
-
}): import(
|
|
17
|
+
}): import('react').JSX.Element;
|
|
19
18
|
export declare function FreightCurrency({ label, value, onChange, }: {
|
|
20
19
|
label: string;
|
|
21
20
|
value: MtwFreightCurrencyInput;
|
|
22
21
|
onChange: (value: MtwFreightCurrencyInput) => void;
|
|
23
|
-
}): import(
|
|
22
|
+
}): import('react').JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MtwFreightFactsInput } from '../../../generated/freight-cost-operations';
|
|
2
|
-
|
|
3
2
|
export declare function FreightFxEditor({ value, onChange, }: {
|
|
4
3
|
value: MtwFreightFactsInput['fx'];
|
|
5
4
|
onChange: (value: MtwFreightFactsInput['fx']) => void;
|
|
6
|
-
}): import(
|
|
5
|
+
}): import('react').JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { MtwFreightLineInput } from '../../../generated/freight-cost-operations';
|
|
2
|
-
|
|
3
2
|
export declare function FreightLineEditor({ line, others, onChange, onRemove, }: {
|
|
4
3
|
line: MtwFreightLineInput;
|
|
5
4
|
others: MtwFreightLineInput[];
|
|
6
5
|
onChange: (line: MtwFreightLineInput) => void;
|
|
7
6
|
onRemove: () => void;
|
|
8
|
-
}): import(
|
|
7
|
+
}): import('react').JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MtwFreightFactsInput } from '../../../generated/freight-cost-operations';
|
|
2
|
-
|
|
3
2
|
export declare function FreightScopeEditor({ value, onChange, }: {
|
|
4
3
|
value: MtwFreightFactsInput['requirements'];
|
|
5
4
|
onChange: (value: MtwFreightFactsInput['requirements']) => void;
|
|
6
|
-
}): import(
|
|
5
|
+
}): import('react').JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PreviewFreightCostsQuery, MtwFreightCurrencyInput } from '../../../generated/freight-cost-operations';
|
|
2
|
-
|
|
3
2
|
export declare function FreightTotals({ value, currency, }: {
|
|
4
3
|
value: PreviewFreightCostsQuery['previewMtwFreightTotal'];
|
|
5
4
|
currency: MtwFreightCurrencyInput | null | undefined;
|
|
6
|
-
}): import(
|
|
5
|
+
}): import('react').JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MtwProcedureStep, ProcedureStepsQuery, ProcedureDeviationsQuery } from '../../../generated/logistics-procedure-operations';
|
|
2
|
-
|
|
3
2
|
type Decision = ProcedureStepsQuery['mtwProcedureStepPage']['items'][number];
|
|
4
3
|
type Deviation = ProcedureDeviationsQuery['mtwProcedureDeviationPage']['items'][number];
|
|
5
4
|
export declare function ProcedureStepForm({ executionId, step, previous, busy, onSave, }: {
|
|
@@ -8,7 +7,7 @@ export declare function ProcedureStepForm({ executionId, step, previous, busy, o
|
|
|
8
7
|
previous: Decision | null;
|
|
9
8
|
busy: boolean;
|
|
10
9
|
onSave: (input: Record<string, unknown>) => Promise<void>;
|
|
11
|
-
}): import(
|
|
10
|
+
}): import('react').JSX.Element;
|
|
12
11
|
export declare function ProcedureDeviationForm({ executionId, issue, previous, busy, onSave, onRevoke, }: {
|
|
13
12
|
executionId: string;
|
|
14
13
|
issue: Decision;
|
|
@@ -16,5 +15,5 @@ export declare function ProcedureDeviationForm({ executionId, issue, previous, b
|
|
|
16
15
|
busy: boolean;
|
|
17
16
|
onSave: (input: Record<string, unknown>) => Promise<void>;
|
|
18
17
|
onRevoke: (input: Record<string, unknown>) => Promise<void>;
|
|
19
|
-
}): import(
|
|
18
|
+
}): import('react').JSX.Element;
|
|
20
19
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
2
|
export declare function ProcedureField({ label, value, onChange, type, maxLength, required, }: {
|
|
4
3
|
label: string;
|
|
5
4
|
value: string;
|
|
@@ -7,11 +6,11 @@ export declare function ProcedureField({ label, value, onChange, type, maxLength
|
|
|
7
6
|
type?: string;
|
|
8
7
|
maxLength?: number;
|
|
9
8
|
required?: boolean;
|
|
10
|
-
}): import(
|
|
9
|
+
}): import('react').JSX.Element;
|
|
11
10
|
export declare function ProcedureGroup({ title, children }: {
|
|
12
11
|
title: string;
|
|
13
12
|
children: ReactNode;
|
|
14
|
-
}): import(
|
|
13
|
+
}): import('react').JSX.Element;
|
|
15
14
|
export declare function ProcedureTime({ value }: {
|
|
16
15
|
value: string | null | undefined;
|
|
17
|
-
}): import(
|
|
16
|
+
}): import('react').JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ProcedureRunQuery, ProcedureStepsQuery, ProcedureDeviationsQuery } from '../../../generated/logistics-procedure-operations';
|
|
2
|
-
|
|
3
2
|
export declare function ProcedureHistory({ run, steps, deviations, }: {
|
|
4
3
|
run: ProcedureRunQuery['mtwProcedureExecution'];
|
|
5
4
|
steps: ProcedureStepsQuery['mtwProcedureStepPage']['items'];
|
|
6
5
|
deviations: ProcedureDeviationsQuery['mtwProcedureDeviationPage']['items'];
|
|
7
|
-
}): import(
|
|
6
|
+
}): import('react').JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ProcedurePolicyQuery } from '../../../generated/logistics-procedure-operations';
|
|
2
|
-
|
|
3
2
|
type Policy = ProcedurePolicyQuery['mtwProcedureVersion'];
|
|
4
3
|
export declare function ProcedurePolicyForm({ reference, previous, busy, onSave, }: {
|
|
5
4
|
reference: string;
|
|
6
5
|
previous: Policy | null;
|
|
7
6
|
busy: boolean;
|
|
8
7
|
onSave: (input: Record<string, unknown>) => Promise<void>;
|
|
9
|
-
}): import(
|
|
8
|
+
}): import('react').JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { useProcedureAction } from '../../hooks/useProcedureAction';
|
|
2
|
-
|
|
3
2
|
export declare function ProcedureRunWorkbench({ id, actions, }: {
|
|
4
3
|
id: string;
|
|
5
4
|
actions: ReturnType<typeof useProcedureAction>;
|
|
6
|
-
}): import(
|
|
5
|
+
}): import('react').JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useProcedureSelection } from '../../hooks/useProcedureSelection';
|
|
2
|
-
|
|
3
2
|
export declare function ProcedureSubjectPicker({ selection: s, busy, onChange, }: {
|
|
4
3
|
selection: ReturnType<typeof useProcedureSelection>;
|
|
5
4
|
busy: boolean;
|
|
6
5
|
onChange: () => void;
|
|
7
|
-
}): import(
|
|
6
|
+
}): import('react').JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MapMarkerStatus } from './leaflet-setup';
|
|
2
|
-
|
|
3
2
|
export interface LogisticsMarker {
|
|
4
3
|
id: string;
|
|
5
4
|
lat: number;
|
|
@@ -26,5 +25,5 @@ interface LogisticsMapProps {
|
|
|
26
25
|
* (0,0) or non-finite values are treated as "no location" and filtered out, so
|
|
27
26
|
* the map is never dumped in the ocean. Empty markers → honest empty state.
|
|
28
27
|
*/
|
|
29
|
-
export declare function LogisticsMap({ markers, routes, height, className, fitToMarkers, emptyMessage, }: LogisticsMapProps): import(
|
|
28
|
+
export declare function LogisticsMap({ markers, routes, height, className, fitToMarkers, emptyMessage, }: LogisticsMapProps): import('react').JSX.Element;
|
|
30
29
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
2
|
/** SSR/lazy safety: only mount Leaflet (which touches the DOM) after mount. */
|
|
4
3
|
export declare function useIsMounted(): boolean;
|
|
5
4
|
/**
|
|
@@ -28,5 +27,5 @@ interface MapCanvasProps {
|
|
|
28
27
|
* mount-safety, container sizing, rounded/overflow styling, tile layer, and
|
|
29
28
|
* auto-fit. Renders `emptyState` when there is nothing to plot.
|
|
30
29
|
*/
|
|
31
|
-
export declare function MapCanvas({ points, height, className, fitToMarkers, center, zoom, children, emptyState, }: MapCanvasProps): import(
|
|
30
|
+
export declare function MapCanvas({ points, height, className, fitToMarkers, center, zoom, children, emptyState, }: MapCanvasProps): import('react').JSX.Element;
|
|
32
31
|
export {};
|
|
@@ -16,5 +16,5 @@ interface RouteMapProps {
|
|
|
16
16
|
* RouteMap — numbered stop markers in sequence connected by a polyline. Filters
|
|
17
17
|
* out stops without a real coordinate and orders the line by `sequence`.
|
|
18
18
|
*/
|
|
19
|
-
export declare function RouteMap({ stops, height, className, routeColor, emptyMessage, }: RouteMapProps): import(
|
|
19
|
+
export declare function RouteMap({ stops, height, className, routeColor, emptyMessage, }: RouteMapProps): import('react').JSX.Element;
|
|
20
20
|
export {};
|