@burdenoff/microfe-movethewheels 2026.801.1 → 2026.804.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,7 +88,8 @@ function g({ deliveryJobId: o }) {
88
88
  g.locationAccuracy != null && /* @__PURE__ */ m("span", {
89
89
  className: "text-text-secondary",
90
90
  children: [
91
- " (±",
91
+ " ",
92
+ "(±",
92
93
  Math.round(g.locationAccuracy),
93
94
  "m)"
94
95
  ]
@@ -1886,12 +1886,6 @@ export type AssignmentStatsResponse = {
1886
1886
  topTags: Array<TopTagUsage>;
1887
1887
  totalAssignments: Scalars['Int']['output'];
1888
1888
  };
1889
- export type AssistantInsights = {
1890
- __typename?: 'AssistantInsights';
1891
- answer: Scalars['String']['output'];
1892
- generatedAt: Scalars['DateTime']['output'];
1893
- question: Scalars['String']['output'];
1894
- };
1895
1889
  /** Input for attaching existing files to a comment */
1896
1890
  export type AttachExistingFilesToCommentInput = {
1897
1891
  commentId: Scalars['ID']['input'];
@@ -36242,7 +36236,6 @@ export type Query = {
36242
36236
  artifact?: Maybe<GeneratedArtifact>;
36243
36237
  asset?: Maybe<Asset>;
36244
36238
  assets: Array<Asset>;
36245
- assistantInsights: AssistantInsights;
36246
36239
  /** Get available tags for selection (from wspace-tags-svc) */
36247
36240
  availableNoteTags: Array<AvailableTag>;
36248
36241
  /** Get available tags for selection (from wspace-tags-svc) */
@@ -38268,13 +38261,6 @@ export type QueryArtifactArgs = {
38268
38261
  export type QueryAssetArgs = {
38269
38262
  id: Scalars['ID']['input'];
38270
38263
  };
38271
- /**
38272
- * Base Query type with placeholder field.
38273
- * Extended by individual query files.
38274
- */
38275
- export type QueryAssistantInsightsArgs = {
38276
- question: Scalars['String']['input'];
38277
- };
38278
38264
  /**
38279
38265
  * Base Query type with placeholder field.
38280
38266
  * Extended by individual query files.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-movethewheels",
3
- "version": "2026.801.1",
3
+ "version": "2026.804.1",
4
4
  "description": "Burdenoff MoveTheWheels Microfrontend - Logistics & Supply Chain Management Platform",
5
5
  "type": "module",
6
6
  "files": [
@@ -1997,13 +1997,6 @@ export type AssignmentStatsResponse = {
1997
1997
  totalAssignments: Scalars['Int']['output'];
1998
1998
  };
1999
1999
 
2000
- export type AssistantInsights = {
2001
- __typename?: 'AssistantInsights';
2002
- answer: Scalars['String']['output'];
2003
- generatedAt: Scalars['DateTime']['output'];
2004
- question: Scalars['String']['output'];
2005
- };
2006
-
2007
2000
  /** Input for attaching existing files to a comment */
2008
2001
  export type AttachExistingFilesToCommentInput = {
2009
2002
  commentId: Scalars['ID']['input'];
@@ -41142,7 +41135,6 @@ export type Query = {
41142
41135
  artifact?: Maybe<GeneratedArtifact>;
41143
41136
  asset?: Maybe<Asset>;
41144
41137
  assets: Array<Asset>;
41145
- assistantInsights: AssistantInsights;
41146
41138
  /** Get available tags for selection (from wspace-tags-svc) */
41147
41139
  availableNoteTags: Array<AvailableTag>;
41148
41140
  /** Get available tags for selection (from wspace-tags-svc) */
@@ -43252,15 +43244,6 @@ export type QueryAssetArgs = {
43252
43244
  };
43253
43245
 
43254
43246
 
43255
- /**
43256
- * Base Query type with placeholder field.
43257
- * Extended by individual query files.
43258
- */
43259
- export type QueryAssistantInsightsArgs = {
43260
- question: Scalars['String']['input'];
43261
- };
43262
-
43263
-
43264
43247
  /**
43265
43248
  * Base Query type with placeholder field.
43266
43249
  * Extended by individual query files.
@@ -77,7 +77,10 @@ export function ProofOfDeliveryCard({ deliveryJobId }: ProofOfDeliveryCardProps)
77
77
  <p className="font-medium">
78
78
  {epod.latitude.toFixed(5)}, {epod.longitude.toFixed(5)}
79
79
  {epod.locationAccuracy != null && (
80
- <span className="text-text-secondary"> (±{Math.round(epod.locationAccuracy)}m)</span>
80
+ <span className="text-text-secondary">
81
+ {' '}
82
+ (±{Math.round(epod.locationAccuracy)}m)
83
+ </span>
81
84
  )}
82
85
  </p>
83
86
  </div>
@@ -167,7 +167,9 @@ export function useEpod(deliveryJobId: string | undefined) {
167
167
  );
168
168
  setEpod(data.epod ? mapEpod(data.epod) : null);
169
169
  } catch (fetchError) {
170
- setError(fetchError instanceof Error ? fetchError : new Error('Failed to load proof of delivery'));
170
+ setError(
171
+ fetchError instanceof Error ? fetchError : new Error('Failed to load proof of delivery')
172
+ );
171
173
  setEpod(null);
172
174
  } finally {
173
175
  setIsLoading(false);
@@ -290,7 +292,9 @@ export function useCaptureEpod() {
290
292
  return mapEpod(data.captureEpod);
291
293
  } catch (captureError) {
292
294
  const err =
293
- captureError instanceof Error ? captureError : new Error('Failed to capture proof of delivery');
295
+ captureError instanceof Error
296
+ ? captureError
297
+ : new Error('Failed to capture proof of delivery');
294
298
  setError(err);
295
299
  throw err;
296
300
  } finally {
@@ -362,7 +366,10 @@ export function useEpodPhotoUpload() {
362
366
  setProgress(100);
363
367
  return { fileId: completed.completeUpload.fileId, fileName: file.name };
364
368
  } catch (uploadError) {
365
- const err = uploadError instanceof Error ? uploadError : new Error('The photo could not be uploaded.');
369
+ const err =
370
+ uploadError instanceof Error
371
+ ? uploadError
372
+ : new Error('The photo could not be uploaded.');
366
373
  setError(err);
367
374
  throw err;
368
375
  } finally {
@@ -27,7 +27,16 @@ import {
27
27
  Upload,
28
28
  } from 'lucide-react';
29
29
  import { PageLayout } from '../components/PageLayout';
30
- import { Button, Card, CardContent, CardHeader, CardTitle, Input, Label, Textarea } from '../components/ui';
30
+ import {
31
+ Button,
32
+ Card,
33
+ CardContent,
34
+ CardHeader,
35
+ CardTitle,
36
+ Input,
37
+ Label,
38
+ Textarea,
39
+ } from '../components/ui';
31
40
  import { SignaturePad, type SignaturePadHandle } from '../components/SignaturePad';
32
41
  import { FormError } from '../components/FormError';
33
42
  import { Notice, useNotice } from '../components/Notice';
@@ -85,10 +94,14 @@ function CaptureForm({
85
94
  }
86
95
 
87
96
  const signatureData =
88
- signatureType === 'typed' ? typedSignature.trim() : signaturePadRef.current?.toDataUrl() ?? null;
97
+ signatureType === 'typed'
98
+ ? typedSignature.trim()
99
+ : (signaturePadRef.current?.toDataUrl() ?? null);
89
100
  if (!signatureData) {
90
101
  setValidationError(
91
- signatureType === 'typed' ? 'Type the recipient full name as their signature.' : 'A signature is required.'
102
+ signatureType === 'typed'
103
+ ? 'Type the recipient full name as their signature.'
104
+ : 'A signature is required.'
92
105
  );
93
106
  return;
94
107
  }
@@ -253,7 +266,11 @@ export default function DeliveryCapturePage() {
253
266
  <Notice message={message} />
254
267
 
255
268
  {selectedJob ? (
256
- <CaptureForm job={selectedJob} onCaptured={handleCaptured} onCancel={() => setSelectedJob(null)} />
269
+ <CaptureForm
270
+ job={selectedJob}
271
+ onCaptured={handleCaptured}
272
+ onCancel={() => setSelectedJob(null)}
273
+ />
257
274
  ) : isLoading ? (
258
275
  <p className="text-text-secondary text-center py-8">Loading your deliveries…</p>
259
276
  ) : error ? (