@shipengine/elements 2.3.1 → 2.5.0
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/actions-menu.js +3 -12
- package/components.js +1 -1
- package/elements.js +1 -1
- package/hooks.js +1 -1
- package/index.js +1 -1
- package/package.json +5 -3
- package/src/components/actions-menu/actions-menu.d.ts +2 -1
- package/src/components/error-state/error-state.d.ts +6 -0
- package/src/{workflows/onboarding/components/account-registration-step/account-registration-step.styles.d.ts → components/error-state/error-state.styles.d.ts} +9 -5
- package/src/components/error-state/index.d.ts +1 -0
- package/src/components/field/create-field-controller.d.ts +2 -1
- package/src/components/field-label/field-label.d.ts +2 -1
- package/src/components/field-label/field-label.styles.d.ts +16 -0
- package/src/components/grid-controller/grid-controller.d.ts +20 -2
- package/src/components/grid-controller/grid-controller.styles.d.ts +18 -6
- package/src/components/grid-controller/grid-footer.d.ts +27 -0
- package/src/components/grid-controller/index.d.ts +2 -0
- package/src/components/grid-filters/grid-filters.d.ts +30 -0
- package/src/components/grid-filters/grid-filters.styles.d.ts +11 -0
- package/src/components/grid-filters/index.d.ts +2 -0
- package/src/components/grid-filters/shipment-id-filter-shema.d.ts +9 -0
- package/src/components/grid-filters/shipment-id-filter.d.ts +23 -0
- package/src/components/index.d.ts +2 -0
- package/src/components/templates/address-display/address-display.d.ts +2 -1
- package/src/components/templates/wallet-form/wallet-form.d.ts +1 -1
- package/src/components/warehouse-form/warehouse-form-schema.d.ts +4 -1
- package/src/components/warehouse-form/warehouse-form.d.ts +2 -1
- package/src/elements/label-layout/label-layout-element.d.ts +77 -22
- package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +68 -0
- package/src/elements/labels-grid/index.d.ts +1 -0
- package/src/elements/labels-grid/labels-grid.d.ts +132 -28
- package/src/elements/labels-grid/labels-grid.styles.d.ts +11 -0
- package/src/elements/manage-carriers/manage-carriers.d.ts +77 -22
- package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +99 -23
- package/src/elements/manage-funding/manage-funding-element.d.ts +77 -22
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +77 -22
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +77 -22
- package/src/elements/purchase-label/purchase-label.d.ts +88 -73
- package/src/elements/shipment-summary/shipment-summary.d.ts +84 -26
- package/src/elements/shipments-grid/hooks/use-shipments-grid.d.ts +161 -0
- package/src/elements/shipments-grid/shipments-grid.d.ts +161 -30
- package/src/elements/shipments-grid/shipments-grid.styles.d.ts +11 -0
- package/src/elements/theme-creator/theme-creator.d.ts +77 -22
- package/src/elements/transaction-history/transaction-history-element.d.ts +77 -22
- package/src/elements/unit-settings/unit-settings-element.d.ts +77 -22
- package/src/elements/vat-settings/vat-settings-element.d.ts +77 -22
- package/src/elements/void-label/void-label.d.ts +89 -33
- package/src/hooks/index.d.ts +1 -0
- package/src/hooks/use-get-service-name.d.ts +4 -0
- package/src/locales/en/index.d.ts +77 -22
- package/src/workflows/account-settings/account-settings.d.ts +77 -22
- package/src/workflows/carrier-services/carrier-services.d.ts +77 -22
- package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +77 -22
- package/src/workflows/label-workflow/label-workflow.d.ts +10 -29
- package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form-schema.d.ts +18 -18
- package/src/workflows/onboarding/components/confirmation-and-submission-step/confirmation-and-submission-step.d.ts +12 -0
- package/src/workflows/onboarding/components/confirmation-and-submission-step/index.d.ts +2 -0
- package/src/workflows/onboarding/components/confirmation-and-submission-step/use-confirmation-and-submission-step.d.ts +19 -0
- package/src/workflows/onboarding/components/funding-step/funding-step.d.ts +7 -0
- package/src/workflows/onboarding/components/funding-step/index.d.ts +1 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +1 -2
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.styles.d.ts +3 -0
- package/src/workflows/onboarding/components/ship-from-address-step/index.d.ts +0 -1
- package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +3 -2
- package/src/workflows/onboarding/components/step-header/step-header.d.ts +3 -2
- package/src/workflows/onboarding/components/{funding-and-carrier-connection-step/funding-and-carrier-connection-step.styles.d.ts → step-header/step-header.styles.d.ts} +5 -8
- package/src/workflows/onboarding/components/welcome-page/index.d.ts +1 -0
- package/src/workflows/onboarding/components/welcome-page/welcome-page.d.ts +4 -0
- package/src/workflows/onboarding/onboarding.d.ts +79 -26
- package/suspend-text.js +1 -1
- package/transaction-history-element.js +1 -1
- package/use-get-service-name.js +1 -0
- package/use-unit-settings.js +1 -1
- package/usePager.js +1 -0
- package/vat.js +1 -1
- package/wallet-form.js +1 -1
- package/workflows.js +1 -1
- package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +0 -13
- package/src/workflows/onboarding/components/account-registration-form/account-registration-form.d.ts +0 -4
- package/src/workflows/onboarding/components/account-registration-form/index.d.ts +0 -1
- package/src/workflows/onboarding/components/account-registration-step/account-registration-step.d.ts +0 -5
- package/src/workflows/onboarding/components/account-registration-step/index.d.ts +0 -2
- package/src/workflows/onboarding/components/account-registration-step/use-account-registration-step.d.ts +0 -7
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +0 -9
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/index.d.ts +0 -2
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +0 -25
- package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +0 -9
- package/story-notes.js +0 -1
|
@@ -117,7 +117,6 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
117
117
|
setup: {
|
|
118
118
|
title: string;
|
|
119
119
|
subtitle: string;
|
|
120
|
-
hiddenTermsSubtitle: string;
|
|
121
120
|
descriptionTitle: string;
|
|
122
121
|
description: string;
|
|
123
122
|
};
|
|
@@ -125,7 +124,6 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
125
124
|
title: string;
|
|
126
125
|
cardSubTitle: string;
|
|
127
126
|
addressSubTitle: string;
|
|
128
|
-
info: string;
|
|
129
127
|
};
|
|
130
128
|
vatSettings: {
|
|
131
129
|
title: string;
|
|
@@ -139,7 +137,6 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
139
137
|
title: string;
|
|
140
138
|
};
|
|
141
139
|
info: {
|
|
142
|
-
title: string;
|
|
143
140
|
description: string;
|
|
144
141
|
};
|
|
145
142
|
poBox: {
|
|
@@ -340,18 +337,15 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
340
337
|
};
|
|
341
338
|
onboarding: {
|
|
342
339
|
title: string;
|
|
343
|
-
|
|
344
|
-
accountRegistration: {
|
|
345
|
-
action: string;
|
|
340
|
+
confirmation: {
|
|
346
341
|
title: string;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
messageLine2: string;
|
|
342
|
+
warehouse: string;
|
|
343
|
+
billingAddress: string;
|
|
344
|
+
paymentMethod: string;
|
|
345
|
+
action: string;
|
|
352
346
|
};
|
|
353
347
|
stepLabel: {
|
|
354
|
-
|
|
348
|
+
confirmation: string;
|
|
355
349
|
termsAgreement: string;
|
|
356
350
|
shipFromAddress: string;
|
|
357
351
|
fundingAndCarrierConnection: string;
|
|
@@ -398,6 +392,14 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
398
392
|
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
399
393
|
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
400
394
|
};
|
|
395
|
+
tooltip: {
|
|
396
|
+
warehouse: string;
|
|
397
|
+
};
|
|
398
|
+
welcomePage: {
|
|
399
|
+
title: string;
|
|
400
|
+
message: string;
|
|
401
|
+
action: string;
|
|
402
|
+
};
|
|
401
403
|
};
|
|
402
404
|
"manage-warehouses": {
|
|
403
405
|
title: string;
|
|
@@ -506,32 +508,74 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
506
508
|
};
|
|
507
509
|
"list-shipments": {
|
|
508
510
|
title: string;
|
|
511
|
+
none: string;
|
|
509
512
|
headers: {
|
|
510
513
|
created: string;
|
|
511
|
-
|
|
514
|
+
modified: string;
|
|
515
|
+
shipping: string;
|
|
512
516
|
shipmentId: string;
|
|
513
|
-
|
|
514
|
-
|
|
517
|
+
parcels: string;
|
|
518
|
+
recipient: string;
|
|
519
|
+
status: string;
|
|
520
|
+
};
|
|
521
|
+
status: {
|
|
522
|
+
cancelled: string;
|
|
523
|
+
purchased: string;
|
|
524
|
+
readyToBuy: string;
|
|
525
|
+
processing: string;
|
|
515
526
|
};
|
|
516
527
|
actions: {
|
|
517
528
|
download: {
|
|
518
529
|
pdf: string;
|
|
519
530
|
};
|
|
520
531
|
};
|
|
532
|
+
emptyState: {
|
|
533
|
+
title: string;
|
|
534
|
+
subtitle: string;
|
|
535
|
+
filtersTitle: string;
|
|
536
|
+
filtersSubtitle: string;
|
|
537
|
+
viewAll: string;
|
|
538
|
+
};
|
|
539
|
+
errorMessages: {
|
|
540
|
+
title: string;
|
|
541
|
+
subtitle: string;
|
|
542
|
+
};
|
|
521
543
|
};
|
|
522
544
|
"list-labels": {
|
|
523
545
|
title: string;
|
|
524
546
|
headers: {
|
|
525
547
|
created: string;
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
548
|
+
shipmentId: string;
|
|
549
|
+
parcels: string;
|
|
550
|
+
recipient: string;
|
|
551
|
+
shipping: string;
|
|
552
|
+
shipDate: string;
|
|
553
|
+
status: string;
|
|
554
|
+
};
|
|
555
|
+
empty: {
|
|
556
|
+
title: string;
|
|
557
|
+
subtitle: string;
|
|
558
|
+
};
|
|
559
|
+
emptyWithFilters: {
|
|
560
|
+
title: string;
|
|
561
|
+
subtitle: string;
|
|
562
|
+
button: string;
|
|
563
|
+
};
|
|
564
|
+
status: {
|
|
565
|
+
voided: string;
|
|
566
|
+
error: string;
|
|
567
|
+
completed: string;
|
|
568
|
+
processing: string;
|
|
530
569
|
};
|
|
531
570
|
actions: {
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
571
|
+
title: string;
|
|
572
|
+
print: string;
|
|
573
|
+
void: string;
|
|
574
|
+
printForms: string;
|
|
575
|
+
};
|
|
576
|
+
errorMessages: {
|
|
577
|
+
title: string;
|
|
578
|
+
subtitle: string;
|
|
535
579
|
};
|
|
536
580
|
};
|
|
537
581
|
"connect-carrier": {
|
|
@@ -733,6 +777,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
733
777
|
emailIsRequired: string;
|
|
734
778
|
unknown: string;
|
|
735
779
|
noRatesAvailable: string;
|
|
780
|
+
refreshAndTryAgain: string;
|
|
736
781
|
};
|
|
737
782
|
errorTypes: {
|
|
738
783
|
accountStatus: string;
|
|
@@ -751,6 +796,13 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
751
796
|
"row-count_one": string;
|
|
752
797
|
"row-count_other": string;
|
|
753
798
|
rows: string;
|
|
799
|
+
clearAll: string;
|
|
800
|
+
shipmentId: string;
|
|
801
|
+
shipmentIdFilter: string;
|
|
802
|
+
apply: string;
|
|
803
|
+
clear: string;
|
|
804
|
+
search: string;
|
|
805
|
+
shipmentIdHint: string;
|
|
754
806
|
};
|
|
755
807
|
insuranceProviders: {
|
|
756
808
|
carrier: string;
|
|
@@ -826,6 +878,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
826
878
|
requiredList: string;
|
|
827
879
|
tooFewCharacters: string;
|
|
828
880
|
tooManyCharacters: string;
|
|
881
|
+
requiredShipmentId: string;
|
|
829
882
|
};
|
|
830
883
|
shippingPresets: {
|
|
831
884
|
apply: string;
|
|
@@ -839,6 +892,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
839
892
|
agreeToTerms: string;
|
|
840
893
|
carriersTitle: string;
|
|
841
894
|
fundingSourceTitle: string;
|
|
895
|
+
shipEngineTitle: string;
|
|
842
896
|
};
|
|
843
897
|
weight: {
|
|
844
898
|
ounces: string;
|
|
@@ -863,6 +917,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
863
917
|
printForms: string;
|
|
864
918
|
edit: string;
|
|
865
919
|
remove: string;
|
|
920
|
+
viewDetails: string;
|
|
866
921
|
};
|
|
867
922
|
};
|
|
868
923
|
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { LabelsGridProps } from "../";
|
|
3
|
+
import { IGridFilters } from "../../../components";
|
|
4
|
+
export declare const useLabelsGrid: ({ labelStatus, showShipmentIdFilter }: LabelsGridProps) => {
|
|
5
|
+
clearAllFilters: () => void;
|
|
6
|
+
filters: IGridFilters;
|
|
7
|
+
isAnyFilterActive: boolean;
|
|
8
|
+
isError: boolean;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
labels: {
|
|
11
|
+
serviceName: string | null | undefined;
|
|
12
|
+
alternativeIdentifiers?: string[] | undefined;
|
|
13
|
+
batchId: string;
|
|
14
|
+
carrierCode: string;
|
|
15
|
+
carrierId: string;
|
|
16
|
+
chargeEvent: import("@shipengine/react-api").LabelChargeEvent;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
displayScheme: import("@shipengine/react-api").LabelDisplayScheme;
|
|
19
|
+
formDownload: import("@shipengine/react-api").LinkedResource;
|
|
20
|
+
insuranceClaim: import("@shipengine/react-api").LinkedResource;
|
|
21
|
+
insuranceCost: import("@shipengine/react-api").Money;
|
|
22
|
+
isInternational: boolean;
|
|
23
|
+
isReturnLabel: boolean;
|
|
24
|
+
labelDownload: import("@shipengine/react-api").Download;
|
|
25
|
+
labelFormat: import("@shipengine/react-api").LabelFormat;
|
|
26
|
+
labelId: string;
|
|
27
|
+
labelImageId: string;
|
|
28
|
+
labelLayout: import("@shipengine/react-api").LabelLayout;
|
|
29
|
+
packageCode: string;
|
|
30
|
+
packages: import("@shipengine/react-api").ShipmentPackage[];
|
|
31
|
+
paperlessDownload: import("@shipengine/react-api").PaperlessDownload | null;
|
|
32
|
+
qrCodeDownload?: import("@shipengine/react-api").LinkedResource | undefined;
|
|
33
|
+
rateDetails: import("@shipengine/react-api").RateDetail[];
|
|
34
|
+
relayPoints: {
|
|
35
|
+
shipFrom: import("@shipengine/react-api").RelayPoint;
|
|
36
|
+
shipTo: import("@shipengine/react-api").RelayPoint;
|
|
37
|
+
};
|
|
38
|
+
requestedComparisonAmount?: import("@shipengine/react-api").Money | undefined;
|
|
39
|
+
rmaNumber: string;
|
|
40
|
+
serviceCode: string;
|
|
41
|
+
shipDate: string;
|
|
42
|
+
shipmentCost: import("@shipengine/react-api").Money;
|
|
43
|
+
shipmentId: string;
|
|
44
|
+
shippingRuleId: string | null;
|
|
45
|
+
shipTo: import("@shipengine/react-api").Address;
|
|
46
|
+
status: import("@shipengine/react-api").LabelStatus;
|
|
47
|
+
trackable: boolean;
|
|
48
|
+
trackingNumber: string;
|
|
49
|
+
trackingStatus: string;
|
|
50
|
+
trackingUrl: string;
|
|
51
|
+
voided: boolean;
|
|
52
|
+
voidedAt: string | null;
|
|
53
|
+
}[];
|
|
54
|
+
pageConfig: {
|
|
55
|
+
currentPage: number;
|
|
56
|
+
pagerProps: {
|
|
57
|
+
currentPage: number;
|
|
58
|
+
currentPageSize: number;
|
|
59
|
+
onPageSelect: (page: number) => void;
|
|
60
|
+
onPageSizeSelect: (pageSize: number) => void;
|
|
61
|
+
};
|
|
62
|
+
pagesAmount: number;
|
|
63
|
+
pageSize: number;
|
|
64
|
+
totalElements: number;
|
|
65
|
+
};
|
|
66
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<IGridFilters>>;
|
|
67
|
+
shouldShowFilters: boolean;
|
|
68
|
+
};
|
|
@@ -1,8 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SE } from "@shipengine/js-api";
|
|
3
|
+
export type LabelsGridProps = {
|
|
4
|
+
/**
|
|
5
|
+
* `labelStatus` is the status of the labels you wish to view.
|
|
6
|
+
* If no value is defined, all labels will be rendered.
|
|
7
|
+
*/
|
|
8
|
+
labelStatus?: SE.LabelStatus;
|
|
9
|
+
/**
|
|
10
|
+
* `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
|
|
11
|
+
* `Print Forms` button.
|
|
12
|
+
*/
|
|
13
|
+
onClickPrintForms?: () => void;
|
|
14
|
+
/**
|
|
15
|
+
* `onClickPrintLabel` is an optional callback function that will be invoked when the user clicks the
|
|
16
|
+
* `Print Label` button.
|
|
17
|
+
*/
|
|
18
|
+
onClickPrintLabel?: () => void;
|
|
19
|
+
/**
|
|
20
|
+
* `onViewDetails` is a callback function that controls the "View Details" action button and
|
|
21
|
+
* will be invoked when the user clicks on it.
|
|
22
|
+
*/
|
|
23
|
+
onClickViewDetails?: (label: SE.Label) => void;
|
|
24
|
+
/**
|
|
25
|
+
* `onClickVoidLabel` is a callback function that controls the display of `Void Label` button and
|
|
26
|
+
* will be invoked when the user clicks on it.
|
|
27
|
+
*/
|
|
28
|
+
onClickVoidLabel?: (label: SE.Label) => void;
|
|
29
|
+
/**
|
|
30
|
+
* `onRowClick` callback invoked when a row is clicked.
|
|
31
|
+
*/
|
|
32
|
+
onRowClick?: (label: SE.Label) => void;
|
|
33
|
+
/**
|
|
34
|
+
* `showShipmentIdFilter` controls the display of the shipmentId search filter
|
|
35
|
+
*/
|
|
36
|
+
showShipmentIdFilter?: boolean;
|
|
4
37
|
};
|
|
5
|
-
export declare const
|
|
38
|
+
export declare const Component: ({ labelStatus, showShipmentIdFilter, onClickPrintLabel, onClickVoidLabel, onClickPrintForms, onClickViewDetails, onRowClick, }: LabelsGridProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
39
|
+
export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
6
40
|
resources?: {
|
|
7
41
|
en: {
|
|
8
42
|
"wallet-history": {
|
|
@@ -119,7 +153,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
119
153
|
setup: {
|
|
120
154
|
title: string;
|
|
121
155
|
subtitle: string;
|
|
122
|
-
hiddenTermsSubtitle: string;
|
|
123
156
|
descriptionTitle: string;
|
|
124
157
|
description: string;
|
|
125
158
|
};
|
|
@@ -127,7 +160,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
127
160
|
title: string;
|
|
128
161
|
cardSubTitle: string;
|
|
129
162
|
addressSubTitle: string;
|
|
130
|
-
info: string;
|
|
131
163
|
};
|
|
132
164
|
vatSettings: {
|
|
133
165
|
title: string;
|
|
@@ -141,7 +173,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
141
173
|
title: string;
|
|
142
174
|
};
|
|
143
175
|
info: {
|
|
144
|
-
|
|
176
|
+
/**
|
|
177
|
+
* `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
|
|
178
|
+
* `Print Forms` button.
|
|
179
|
+
*/
|
|
145
180
|
description: string;
|
|
146
181
|
};
|
|
147
182
|
poBox: {
|
|
@@ -342,18 +377,15 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
342
377
|
};
|
|
343
378
|
onboarding: {
|
|
344
379
|
title: string;
|
|
345
|
-
|
|
346
|
-
accountRegistration: {
|
|
347
|
-
action: string;
|
|
380
|
+
confirmation: {
|
|
348
381
|
title: string;
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
messageLine2: string;
|
|
382
|
+
warehouse: string;
|
|
383
|
+
billingAddress: string;
|
|
384
|
+
paymentMethod: string;
|
|
385
|
+
action: string;
|
|
354
386
|
};
|
|
355
387
|
stepLabel: {
|
|
356
|
-
|
|
388
|
+
confirmation: string;
|
|
357
389
|
termsAgreement: string;
|
|
358
390
|
shipFromAddress: string;
|
|
359
391
|
fundingAndCarrierConnection: string;
|
|
@@ -366,6 +398,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
366
398
|
errors: {
|
|
367
399
|
noCarriers: {
|
|
368
400
|
title: string;
|
|
401
|
+
/**
|
|
402
|
+
* `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
|
|
403
|
+
* `Print Forms` button.
|
|
404
|
+
*/
|
|
369
405
|
subtitle: string;
|
|
370
406
|
};
|
|
371
407
|
};
|
|
@@ -375,7 +411,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
375
411
|
action: string;
|
|
376
412
|
};
|
|
377
413
|
termsAndAgreementLinkText: {
|
|
378
|
-
shipEngineToS: string;
|
|
414
|
+
shipEngineToS: string; /**
|
|
415
|
+
* `onViewDetails` is a callback function that controls the "View Details" action button and
|
|
416
|
+
* will be invoked when the user clicks on it.
|
|
417
|
+
*/
|
|
379
418
|
auctanePrivacyPolicy: string;
|
|
380
419
|
aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
|
|
381
420
|
"aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
|
|
@@ -400,6 +439,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
400
439
|
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
401
440
|
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
402
441
|
};
|
|
442
|
+
tooltip: {
|
|
443
|
+
warehouse: string;
|
|
444
|
+
};
|
|
445
|
+
welcomePage: {
|
|
446
|
+
title: string;
|
|
447
|
+
message: string;
|
|
448
|
+
action: string;
|
|
449
|
+
};
|
|
403
450
|
};
|
|
404
451
|
"manage-warehouses": {
|
|
405
452
|
title: string;
|
|
@@ -449,6 +496,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
449
496
|
amount: string;
|
|
450
497
|
};
|
|
451
498
|
minimumPurchaseAmount: string;
|
|
499
|
+
/**
|
|
500
|
+
* `onClickVoidLabel` is a callback function that controls the display of `Void Label` button and
|
|
501
|
+
* will be invoked when the user clicks on it.
|
|
502
|
+
*/
|
|
452
503
|
other: string;
|
|
453
504
|
};
|
|
454
505
|
fundAndPurchase: {
|
|
@@ -508,32 +559,74 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
508
559
|
};
|
|
509
560
|
"list-shipments": {
|
|
510
561
|
title: string;
|
|
562
|
+
none: string;
|
|
511
563
|
headers: {
|
|
512
564
|
created: string;
|
|
513
|
-
|
|
565
|
+
modified: string;
|
|
566
|
+
shipping: string;
|
|
514
567
|
shipmentId: string;
|
|
515
|
-
|
|
516
|
-
|
|
568
|
+
parcels: string;
|
|
569
|
+
recipient: string;
|
|
570
|
+
status: string;
|
|
571
|
+
};
|
|
572
|
+
status: {
|
|
573
|
+
cancelled: string;
|
|
574
|
+
purchased: string;
|
|
575
|
+
readyToBuy: string;
|
|
576
|
+
processing: string;
|
|
517
577
|
};
|
|
518
578
|
actions: {
|
|
519
579
|
download: {
|
|
520
580
|
pdf: string;
|
|
521
581
|
};
|
|
522
582
|
};
|
|
583
|
+
emptyState: {
|
|
584
|
+
title: string;
|
|
585
|
+
subtitle: string;
|
|
586
|
+
filtersTitle: string;
|
|
587
|
+
filtersSubtitle: string;
|
|
588
|
+
viewAll: string;
|
|
589
|
+
};
|
|
590
|
+
errorMessages: {
|
|
591
|
+
title: string;
|
|
592
|
+
subtitle: string;
|
|
593
|
+
};
|
|
523
594
|
};
|
|
524
595
|
"list-labels": {
|
|
525
596
|
title: string;
|
|
526
597
|
headers: {
|
|
527
598
|
created: string;
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
599
|
+
shipmentId: string;
|
|
600
|
+
parcels: string;
|
|
601
|
+
recipient: string;
|
|
602
|
+
shipping: string;
|
|
603
|
+
shipDate: string;
|
|
604
|
+
status: string;
|
|
605
|
+
};
|
|
606
|
+
empty: {
|
|
607
|
+
title: string;
|
|
608
|
+
subtitle: string;
|
|
609
|
+
};
|
|
610
|
+
emptyWithFilters: {
|
|
611
|
+
title: string;
|
|
612
|
+
subtitle: string;
|
|
613
|
+
button: string;
|
|
614
|
+
};
|
|
615
|
+
status: {
|
|
616
|
+
voided: string;
|
|
617
|
+
error: string;
|
|
618
|
+
completed: string;
|
|
619
|
+
processing: string;
|
|
532
620
|
};
|
|
533
621
|
actions: {
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
622
|
+
title: string;
|
|
623
|
+
print: string;
|
|
624
|
+
void: string;
|
|
625
|
+
printForms: string;
|
|
626
|
+
};
|
|
627
|
+
errorMessages: {
|
|
628
|
+
title: string;
|
|
629
|
+
subtitle: string;
|
|
537
630
|
};
|
|
538
631
|
};
|
|
539
632
|
"connect-carrier": {
|
|
@@ -735,6 +828,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
735
828
|
emailIsRequired: string;
|
|
736
829
|
unknown: string;
|
|
737
830
|
noRatesAvailable: string;
|
|
831
|
+
refreshAndTryAgain: string;
|
|
738
832
|
};
|
|
739
833
|
errorTypes: {
|
|
740
834
|
accountStatus: string;
|
|
@@ -753,6 +847,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
753
847
|
"row-count_one": string;
|
|
754
848
|
"row-count_other": string;
|
|
755
849
|
rows: string;
|
|
850
|
+
clearAll: string;
|
|
851
|
+
shipmentId: string;
|
|
852
|
+
shipmentIdFilter: string;
|
|
853
|
+
apply: string;
|
|
854
|
+
clear: string;
|
|
855
|
+
search: string;
|
|
856
|
+
shipmentIdHint: string;
|
|
756
857
|
};
|
|
757
858
|
insuranceProviders: {
|
|
758
859
|
carrier: string;
|
|
@@ -828,6 +929,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
828
929
|
requiredList: string;
|
|
829
930
|
tooFewCharacters: string;
|
|
830
931
|
tooManyCharacters: string;
|
|
932
|
+
requiredShipmentId: string;
|
|
831
933
|
};
|
|
832
934
|
shippingPresets: {
|
|
833
935
|
apply: string;
|
|
@@ -841,6 +943,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
841
943
|
agreeToTerms: string;
|
|
842
944
|
carriersTitle: string;
|
|
843
945
|
fundingSourceTitle: string;
|
|
946
|
+
shipEngineTitle: string;
|
|
844
947
|
};
|
|
845
948
|
weight: {
|
|
846
949
|
ounces: string;
|
|
@@ -865,6 +968,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
865
968
|
printForms: string;
|
|
866
969
|
edit: string;
|
|
867
970
|
remove: string;
|
|
971
|
+
viewDetails: string;
|
|
868
972
|
};
|
|
869
973
|
};
|
|
870
974
|
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
@@ -905,4 +1009,4 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
905
1009
|
};
|
|
906
1010
|
} | undefined;
|
|
907
1011
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
908
|
-
export
|
|
1012
|
+
export type ElementProps = React.ComponentProps<typeof Element>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
errorState: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
border?: string | undefined;
|
|
4
|
+
borderRadius?: string | undefined;
|
|
5
|
+
boxShadow?: string | undefined;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
};
|
|
8
|
+
tableParagraph: {
|
|
9
|
+
margin: number;
|
|
10
|
+
};
|
|
11
|
+
};
|